Closed RchrdAriza closed 8 months ago
~I got same error on Samsung A30s, Android 11~
I got same error on Poco m2 Android 11
I managed to solve it following the tip of a user in #34 First I unzipped the module, changed /sbin/.magisk to /debug_ramdisk/.magisk in lhroot.sh file, zipped it again and uploaded it to Magisk.
Edit: For some reason, this solution stopped working on my Samsung A30s, Android 11. Idk why. 🤷🏻
I managed to solve it following the tip of a user in #34 First I unzipped the module, changed /sbin/.magisk to /debug_ramdisk/.magisk in lhroot.sh file, zipped it again and uploaded it to Magisk.
Did you change both? Or just the first match? By the way, I found this file in system/bin/lhroot.sh after extracting the zip
I changed both
I changed both
Thanks, I'll try
Thank you very much, it worked 🙌🏻
i changed it to:
# Magisk Mod Directory [ -d "/data/adb/" ] && MOUNTPATH="/data/adb/modules" || MOUNTPATH="$(find /dev -mindepth 2 -maxdepth 2 -type d -name ".magisk")/modules" MODDIR="$MOUNTPATH/$ID"
and it works perfectly (Magisk 27.0, lhroot 2.2.0)
Phone: Samsung Galaxy A21s Android 12