Page 1 of 9 123 ... LastLast
Results 1 to 10 of 86

Thread: [KERNEL] KaliNethunterLollipopKernel

  1. #1
    Member
    Join Date
    Mar 2013
    Posts
    47

    [KERNEL] ElementalX-N5-Nethunter Kernel

    -------------------------------------closed------------------------------
    Last edited by discipuloosho; 2016-03-01 at 06:32 PM.

  2. #2
    NetHunter Master
    Join Date
    Sep 2014
    Posts
    176
    Hey discipuloosho,

    Great work! Have you tried it out yet? Did you use franco's kernel (I saw you thanked him) as a base? I also made a Nexus 5 (L) kernel and was testing it out. I'm curious about your experience with your kernel.

  3. #3
    Member
    Join Date
    Mar 2013
    Posts
    47
    hi binky, i thank franciscoFranco because drivers/usb/otg/msm_otg.c file is his (with your y_cable patch). Everything else i think it works well. The problems are that kali-nethunter files ( bootkali, killkali, etc...) don't works, no chroot, /data/local/busybox permissions problem, blabla... then i can't probe my kernel with kali. What do you think? I do not know why the scripts does not have permissions to execute anything. Permissions fix in updater-script for lollipop compatibility?
    Last edited by discipuloosho; 2014-11-15 at 11:28 PM.

  4. #4
    NetHunter Master
    Join Date
    Sep 2014
    Posts
    176
    It's because selinux is set to enforcement.

    We can use the modified ramdisk from here: https://github.com/Android-L-Porting...rhead-L-Rebase

    to disable selinux. Init.rc has to be modified with:

    Code:
    setenforce 0
    We need to change the installer to either flash a boot.img or modify the ramdisk in its place. I've been having issues modifying init.rc but I need more time to play around with it.

    * edit *

    Just flashed the kernel with setenforce 0 and still getting enforcing issues. You can see them with logcat:


    W/sh ( 3008): type=1400 audit(0.0:35): avc: denied { execute } for name="busybox" dev="mmcblk0p28" ino=671748 scontext=u:r:install_recovery:s0 tcontext=ubject_r:system_data_file:s0 tclass=file

    * edit 2 *

    I take it back it is working (permissive). I can access chroot now but getting error:

    ERROR: ld.so: object '/system/lib/libsigchain.so' from LD_PRELOAD cannot be preloaded: ignored.
    Last edited by binkybear; 2014-11-15 at 02:14 PM.

  5. #5
    Member
    Join Date
    Mar 2013
    Posts
    47
    In ramdisk init.environ.rc file appears this:

    Code:
    export LD_PRELOAD libsigchain.so
    Can this have something to do?

  6. #6
    NetHunter Master
    Join Date
    Sep 2014
    Posts
    176
    Yep, I believe it does.

    I removed it and that get's rid of error msgs and I can now put phone in monitor mode.

    However, testing wifite just keeps scanning. I am going to reflash from the beginning and see if I can get different results. I was modifying the ramdisk a lot.

  7. #7
    Member
    Join Date
    Mar 2013
    Posts
    47
    Ok, wifite and chroot works well

    What role will this library , right?

    ***edit***

    In my github you have folder with all ramdisk and boot files for directly to flash, if you want use it
    Last edited by discipuloosho; 2014-11-15 at 11:52 PM.

  8. #8
    NetHunter Master
    Join Date
    Sep 2014
    Posts
    176
    https://github.com/offensive-securit...hunter/pull/98 <-- we can leave it in the ramdisk and unset it in bootkali/killkali

  9. #9
    Junior Member
    Join Date
    Nov 2014
    Posts
    6
    hows it coming guys?? Any progress on the Lollipop release??

  10. #10
    Member
    Join Date
    Mar 2013
    Posts
    47
    Binkybear, Android 5.0 has problem with /dev/hidg* for hid-keyboard. Look out issue: https://github.com/pelya/android-key...dget/issues/16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •