I will checkout this fix.@TheHitMan
Another suggestion: in order to exit cleanly and leave the system partition properly unmounted it would be better to use the following in unmount_all function:
instead of the current:Code:... else if mountpoint /system; then umount /system; fi if mountpoint /system_root; then umount /system_root; fi umount $VENDOR fi
The single umount of the current script doesn't take into account that the on_SAR function may mount both /system_root and /systemCode:... else umount $SYSTEM_MOUNT umount $VENDOR fi
Sent from my OnePlus3T using XDA Labs
Thanks