FerryAr / lhroot

Linux Chroot Installer & Bootscript Magisk Module.
GNU General Public License v3.0
190 stars 20 forks source link

Module not detected #34

Closed Chuanhuan closed 11 months ago

Chuanhuan commented 12 months ago

I root my android 13 tablet with magisk delta and got an error message. There is no problem with creating chroot container by using third party script. However, I just can't use lhroot. Can someone help me?

:/data/data/com.termux/files/home/Ubuntu-chroot-scripts # lhroot
Module not detected!
1|:/data/data/com.termux/files/home/Ubuntu-chroot-scripts # which lhroot
/system/bin/lhroot
arunas-smala commented 11 months ago

same here..

Chuanhuan commented 11 months ago

Ok, I thought I was the only one who had this issue.

I did find a temporary solution after I looked at the raw code. Just download roofs and extract in /data/roofname. Then bootlinux to the folder. I'm not sure this is safe or not but it works really well on my manjaro.

arunas-smala commented 11 months ago

I also found a solution looking at source code. I changed /sbin/.magisk to /debug_ramdisk/.magisk in lhroot.sh file, first unzipped, changed this line, zipped again and uploaded to Magisk