From d225890532825ce338078c337e3bba28223bf6cc Mon Sep 17 00:00:00 2001 From: osm0sis Date: Wed, 15 Jan 2020 11:49:40 -0400 Subject: Backend: don't attempt to unmount /system_root when booted - work around booted flashing apps like FKM/EXKM which make /system busy to keep it from being unmounted but can't do the same with /system_root which can lead to sketchy behavior --- META-INF/com/google/android/update-binary | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 0dd5955..670bb2b 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -61,10 +61,10 @@ umount_all() { umount_apex; $bb umount /system; $bb umount -l /system; - fi; - if [ -e /system_root ]; then - $bb umount /system_root; - $bb umount -l /system_root; + if [ -e /system_root ]; then + $bb umount /system_root; + $bb umount -l /system_root; + fi; fi; umount /vendor; umount -l /vendor; -- cgit v1.2.3