device_phh_treble/phh-securize.sh
2020-02-23 21:12:17 +02:00

19 lines
360 B
Bash

#!/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
rm /system/bin/phh-securize.sh
rm -Rf /system/{app,priv-app}/me.phh.superuser/
rm -Rf /data/su || true
mount -o remount,ro /
mount -o remount,ro /system
sync
reboot