aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--root-vi7.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/root-vi7.sh b/root-vi7.sh
index 8bb5e61..abe18c4 100644
--- a/root-vi7.sh
+++ b/root-vi7.sh
@@ -26,17 +26,12 @@ cp_chmod_chcon() {
26 chcon $4 $2 26 chcon $4 $2
27} 27}
28 28
29bckp() {
30 cp -p $1 $1.bckp
31}
32
33mkdir -p /system/app/SuperSU 29mkdir -p /system/app/SuperSU
34cp_chmod_chcon $SU_DIR/common/Superuser.apk /system/app/SuperSU/SuperSU.apk 0644 u:object_r:system_file:s0 30cp_chmod_chcon $SU_DIR/common/Superuser.apk /system/app/SuperSU/SuperSU.apk 0644 u:object_r:system_file:s0
35 31
36cp_chmod_chcon $SU_DIR/common/install-recovery.sh /system/etc/install-recovery.sh 0755 u:object_r:toolbox_exec:s0 32cp_chmod_chcon $SU_DIR/common/install-recovery.sh /system/etc/install-recovery.sh 0755 u:object_r:toolbox_exec:s0
37 33
38bckp /system/bin/install-recovery.sh 34mv /system/bin/install-recovery.sh /system/bin/install-recovery-2.sh
39rm /system/bin/install-recovery.sh
40ln -s /system/etc/install-recovery.sh /system/bin/install-recovery.sh 35ln -s /system/etc/install-recovery.sh /system/bin/install-recovery.sh
41 36
42mkdir -p /system/bin/.ext 37mkdir -p /system/bin/.ext