Android Lollipop breaks Kali chroot [UPDATE]

by on Nov.28, 2014, under Posts

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 Comments for this entry

  • shiva

    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

  • zitstif

    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;

  • Mweya

    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?

  • Mweya

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

    Sorry for bothering

  • zitstif

    Mweya, honestly you’ll want to look into making a new kali.img file. Kali.nogui.armel.zitstif.chroot. 482013 is out of date and Kali Linux 2.0 is out. Pertaining to the .bashrc file look at this:

    https://superuser.com/questions/49289/what-is-the-bashrc-file

  • android

    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

Please leave these two fields as-is:

Protected by Invisible Defender.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!