-------------------------------------closed------------------------------
Printable View
-------------------------------------closed------------------------------
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.
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?
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:
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.Code:setenforce 0
* 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=u:object_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.
In ramdisk init.environ.rc file appears this:
Can this have something to do?Code:export LD_PRELOAD libsigchain.so
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.
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 :)
https://github.com/offensive-securit...hunter/pull/98 <-- we can leave it in the ramdisk and unset it in bootkali/killkali
hows it coming guys?? Any progress on the Lollipop release??
Binkybear, Android 5.0 has problem with /dev/hidg* for hid-keyboard. Look out issue: https://github.com/pelya/android-key...dget/issues/16
@s3v3nh4cks - once it's ready we will announce it, there's no point in bumping threads with "is it ready yet".
Exist one problem with dev/hidg* (virtuals keyboard and mouse) when plug via usb nethunter device on windows, kernel crash :( and i can't find the solution.
*************EDIT*********************
@binkybear , setenforce 1 must be removed from killkali file, exist problems with su command after killkali is executed.
************EDIT 2 ********************
For virtual keyboard and mouse ( /dev/hidg* ) work sucesfully must be turn on MTP or PTP transfers usb modes.
discipulossho - I will remove the setenforce 1. Thanks.
should I flash nethunter after flashing this kernel
This kernel is for lollipop so unless you are a developer or are comfortable with building your own nethunter I would advise to wait.
Hello again boys, I am very happy because we have the best kernel made for nexus 5: ElementalX-N5 kernel, and NOW for our Kali Nethunter Nexus 5. This kernel works 2956800Hz (3 Ghz) per core, futher performance improvements (battery saving, undervolting, stable on overclock, and more) ..... that is, the best hammerhead kernel. Links in the first post. :)
May i ask how to flash the custom kernel together with nethunter because i'm not used to flash a kernel seperately (I use Nexus-Root-Toolkit usually). And also everything in the README on github just explains how to build and compile a new kernel. Would it be enough to just install the flashable with TWRP? And should i do that before or after the installation of Nethunter 1.0.2?
*********UPDATED**************
The flashable zip file and source links in first post.
Ok, thanks. I assume that i have to flash the kernel after Nethunter because NH has its own kernel which is installed together with NH, right?
Hello! And you can compile rom?
*********** IMPORTANT*********
This kernel require to be installed in flashable zip via TWRP.
***********KERNEL READY********
Links in the first post
OK, thanks for your work. I really appreciate what you and binkybear do and wait for the .zip!
So it is ready?! :D :D
I have now 5.0.1 on my nexus 5 now i can install in twrp
first this: kali_linux_nethunter_nexus5.zip
and after the new kernel for L --> http://d-h.st/k68X
And done i have nethunter again on my nexus 5 with Android L? :)
And if the answer is yes all things is working or the kernel have bugs?
Oh nice! :-) I try it if i have a little free time :-)
Thank you for hard and awesome work!! :-)
Thanks for the zip, i installed everything and so far all features seem to work. But everytime i open the terminal i get "ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD
cannot be preloaded: ignored." This error occurs very often but does not seem to be important.
I got error :/
So my steps:
Install 5.0.1
root+twrp with NRT
copy nethunter image and the new kernel to phone
Reboot to twrp --> install nethunter image and install the new kernel -->reboot
i opened Kali launcher and the first Launch Kali Shell in Terminal and the error what i got:
"Loaded Kali shell
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot
be preloaded: ignored.
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot
be preloaded: ignored.
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot
be preloaded: ignored.
root@kali:~#"
what i made bad what is your good install steps?
oh and when i installed ElementalX kernel i just uncheck the fast charge option all the other settings are default
I download from here the nexus 5 version yesterday : http://www.offensive-security.com/ka...nter-download/
where can i find newer version?
The last NH image must be downloaded from github project page via linux https://github.com/offensive-securit...-nethunter.git
sry but how can i download it to my nexus 5? if i download the zip i got kali-nethunter-master.zip but i need just nethunter for my nexus 5 can you please write step by step what i need to do?
If you are building from the development branch of github you shouldn't encounter this error.
I recently received the same error..
big thx for the hint. after compiling the development branch everything seems to be working again.