Scripts fixes and improvements

- ensure all scripts use $NVBASE $MAGISKBIN $POSTFSDATAD and $SERVICED where appropriate
- simplify new grep_cmdline() using xargs and more sed
- show correct active sepolicy $RULESDIR on devices with no encryption
- add support for Android 12 .capex (compressed apex) files
This commit is contained in:
osm0sis
2021-11-17 22:53:33 -04:00
committed by John Wu
parent fef44bd24f
commit 68ac409bfd
3 changed files with 28 additions and 23 deletions

View File

@@ -91,7 +91,7 @@ restore_imgs() {
}
post_ota() {
cd /data/adb
cd $NVBASE
cp -f $1 bootctl
rm -f $1
chmod 755 bootctl