Android Lollipop breaks Kali chroot [UPDATE]

http://www.memegasms.com/media/created/vhyfxm.jpg

Chainfire, who I’m sure you know of if you’re into rooting Android devices, has pushed out an update 11/26/2014 and now the Kali chroot environment works! Keep in mind, I still have this installed: http://forum.xda-developers.com/google-nexus-5/development/fix-bypassing-pie-security-check-t2797731.

However, the chroot environment is not quite perfect yet (nor has it necessarily been). I am receiving this error when issuing commands in the environment: ERROR: ld.so: object ‘/system/lib/libsigchain.so’ from LD_PRELOAD cannot be preloaded: ignored. I have added this following line to the kali shell script located at /sdcard/kali/kali, ‘export LD_PRELOAD=/system/lib/libsigchain.so‘, however this does not fix the issue. I would appreciate any words of wisdom/solutions if anyone has any.

#Update 11/30/2014

To not see the LD_PRELOAD error, all you need to do is add this to your .bashrc file:

unset LD_PRELOAD;

6 thoughts on “Android Lollipop breaks Kali chroot [UPDATE]”

  1. but where this .bashrc file located…? which program did you use? Linux deploy or complete Linux installer for installing kali Linux in your 64 bit android.

    I am looking for running Linux in my k3 note (64 bit, lollipop) by using complete Linux installer, but sadly I reached at the LD preload error. what exactly I need to do? for over coming this error….

    thank you

  2. but where this .bashrc file located…? which program did you use? Linux deploy or complete Linux installer for installing kali Linux in your 64 bit android.

    Please see:
    https://www.kali.org/tutorials/kali-linux-android-linux-deploy/

    .bashrc should be located in the home directory of ‘root’ ergo: /root/.bashrc

    I am looking for running Linux in my k3 note (64 bit, lollipop) by using complete Linux installer, but sadly I reached at the LD preload error. what exactly I need to do? for over coming this error….


    To not see the LD_PRELOAD error, all you need to do is add this to your .bashrc file:
    unset LD_PRELOAD;

  3. About the .bashrc file, what is it needed for? In my frustrated rage, I deleted it and made a new file that seems to work pretty (that just solves the LD_PRELOAD error), but I have an uneasy feeling that I broke something major. Should I get the original .bashrc file back, or is it unimportant for system stability?

  4. Yeah, its me again. I just restarted my phone and I seem to have broken Kali.

    Sorry for bothering

  5. Your style is very unique in comparison to other folks I have read stuff from.

    Many thanks for posting when you have the opportunity, Guess I will just book mark this site.

Leave a Reply

Your email address will not be published. Required fields are marked *