Use system-provided remount command, and remove properly superuser app
This commit is contained in:
parent
9f9ede3158
commit
ad57918dbc
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
mount -o remount,rw /
|
mount -o remount,rw /
|
||||||
mount -o remount,rw /system
|
mount -o remount,rw /system
|
||||||
|
remount
|
||||||
|
|
||||||
touch /system/phh/secure
|
touch /system/phh/secure
|
||||||
umount -l /system/xbin/su
|
umount -l /system/xbin/su
|
||||||
@ -9,7 +10,7 @@ rm /system/xbin/su
|
|||||||
rm /system/bin/phh-su
|
rm /system/bin/phh-su
|
||||||
rm /system/etc/init/su.rc
|
rm /system/etc/init/su.rc
|
||||||
rm /system/bin/phh-securize.sh
|
rm /system/bin/phh-securize.sh
|
||||||
rm -Rf /system/bin/me.phh.superuser/
|
rm -Rf /system/{app,priv-app}/me.phh.superuser/
|
||||||
mount -o remount,ro /
|
mount -o remount,ro /
|
||||||
mount -o remount,ro /system
|
mount -o remount,ro /system
|
||||||
sync
|
sync
|
||||||
|
Loading…
Reference in New Issue
Block a user