From 8f5c3287a722b6e3e804c1a3aee703c2e33a0145 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Mon, 12 Dec 2016 15:58:19 -0400 Subject: [PATCH] Backend: actually fix Nougat toybox mount a la 0ab42ee3ecb4c85a991e9da262c64ed38f69fa74 - sigh.. option order also matters --- 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 6c6ba68..a828727 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -61,10 +61,10 @@ fi; if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.initd)" == 1 ]; then ui_print "Creating init.d..."; ui_print " "; - mount -o remount,rw -t auto /system; + mount -o rw,remount -t auto /system; mkdir /system/etc/init.d; set_perm_recursive 0 0 0755 0755 /system/etc/init.d; - mount -o remount,ro -t auto /system; + mount -o ro,remount -t auto /system; fi; ui_print "Installing kernel..."; @@ -82,10 +82,10 @@ fi; if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.modules)" == 1 ]; then ui_print " "; ui_print "Pushing modules..."; - mount -o remount,rw -t auto /system; + mount -o rw,remount -t auto /system; cp -rf /tmp/anykernel/modules/* /system/lib/modules/; set_perm_recursive 0 0 0755 0644 /system/lib/modules; - mount -o remount,ro -t auto /system; + mount -o ro,remount -t auto /system; fi; if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.cleanup)" == 1 ]; then