AK3+Backend: fix systemless modules on multi-partition setups
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -367,7 +367,7 @@ do_modules() {
|
||||
if [ "$(file_getprop anykernel.sh do.systemless)" == 1 ]; then
|
||||
cd $AKHOME/modules;
|
||||
ui_print " " "Creating kernel helper Magisk module...";
|
||||
if [ -d /data/adb/magisk -a -f $AKHOME/split_img/.magisk ]; then
|
||||
if [ -d /data/adb/magisk -a -f $AKHOME/magisk_patched ]; then
|
||||
umask=$(umask);
|
||||
umask 022;
|
||||
moddir=/data/adb/modules/ak3-helper;
|
||||
|
||||
@@ -663,6 +663,7 @@ reset_ak() {
|
||||
[ -f $i ] && rm -f $home/$(basename $i);
|
||||
done;
|
||||
fi;
|
||||
[ -f $split_img/.magisk ] && touch $home/magisk_patched;
|
||||
[ -d $split_img ] && rm -rf $ramdisk;
|
||||
rm -rf $bootimg $split_img $home/*-new* $home/*-files/current;
|
||||
|
||||
|
||||
Reference in new issue
Block a user