Skip to content

Commit d648e56

Browse files
committed
changes permanent rooting method
1 parent 132bb0c commit d648e56

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

files/SuperSu/ccs-auditd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/system/bin/sh
2+
3+
# device.db¤ò/system/etc/device.db¤Ë
4+
# unlock_security_module¤ò/system/bin/unlock_security_module¤ËÃÖ¤¯ÁÛÄê
5+
6+
cp /system/etc/device.db /data/local/tmp/device.db
7+
chmod 666 /data/local/tmp/device.db
8+
unlock_security_module
9+
rm /data/local/tmp/device.db

files/SuperSu/install_su.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ if [ ! -f /sdcard/ccs-auditd_org ] ; then
88
$bb cp /system/bin/ccs-auditd /sdcard/ccs-auditd_org
99
fi
1010
$bb rm /system/bin/ccs-auditd
11-
$bb cp /data/local/tmp/unlock_security_module /system/bin/ccs-auditd
11+
$bb cp /data/local/tmp/unlock_security_module /system/bin/unlock_security_module
12+
$bb cp /data/local/tmp/device.db /system/etc/device.db
13+
$bb cp /data/local/tmp/SuperSu/ccs-auditd /system/bin/ccs-auditd
14+
chmod 755 /system/bin/unlock_security_module
1215
chmod 755 /system/bin/ccs-auditd
1316

14-
1517
$bb mount -o remount,ro /system
1618

1719

0 commit comments

Comments
 (0)