device_phh_treble/phh-securize.sh

18 lines
336 B
Bash
Raw Normal View History

#!/system/bin/sh
mount -o remount,rw /
mount -o remount,rw /system
remount
touch /system/phh/secure
umount -l /system/xbin/su
rm /system/xbin/su
rm /system/bin/phh-su
rm /system/etc/init/su.rc
2019-08-21 22:45:27 +00:00
rm /system/bin/phh-securize.sh
rm -Rf /system/{app,priv-app}/me.phh.superuser/
mount -o remount,ro /
mount -o remount,ro /system
sync
reboot