-------------------------------------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