From a12f6568bd358287bfff81ab0436142ae0da2067 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Fri, 14 Aug 2015 23:10:37 +0200 Subject: Preserve previous install-recovery.sh script evaluation --- root-vi7.sh | 7 +------ 1 file changed, 1 insertion(+), 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() { chcon $4 $2 } -bckp() { - cp -p $1 $1.bckp -} - mkdir -p /system/app/SuperSU cp_chmod_chcon $SU_DIR/common/Superuser.apk /system/app/SuperSU/SuperSU.apk 0644 u:object_r:system_file:s0 cp_chmod_chcon $SU_DIR/common/install-recovery.sh /system/etc/install-recovery.sh 0755 u:object_r:toolbox_exec:s0 -bckp /system/bin/install-recovery.sh -rm /system/bin/install-recovery.sh +mv /system/bin/install-recovery.sh /system/bin/install-recovery-2.sh ln -s /system/etc/install-recovery.sh /system/bin/install-recovery.sh mkdir -p /system/bin/.ext -- cgit v1.2.3