summaryrefslogtreecommitdiffstats
path: root/twrp-functions.cpp
diff options
context:
space:
mode:
authorjt1134 <jt1134@gmail.com>2013-02-23 06:26:10 +0100
committerDees_Troy <dees_troy@teamw.in>2013-02-27 19:50:44 +0100
commit113ee7344526132d33349f2c8cae111a6517a733 (patch)
tree8b011e8fce65dcce9df8a84bf84b4cfff6af60cf /twrp-functions.cpp
parentMerge "use libblkid to get filesystem type we can now use libblkid to detect exfat" into twrp2.4 (diff)
downloadandroid_bootable_recovery-113ee7344526132d33349f2c8cae111a6517a733.tar
android_bootable_recovery-113ee7344526132d33349f2c8cae111a6517a733.tar.gz
android_bootable_recovery-113ee7344526132d33349f2c8cae111a6517a733.tar.bz2
android_bootable_recovery-113ee7344526132d33349f2c8cae111a6517a733.tar.lz
android_bootable_recovery-113ee7344526132d33349f2c8cae111a6517a733.tar.xz
android_bootable_recovery-113ee7344526132d33349f2c8cae111a6517a733.tar.zst
android_bootable_recovery-113ee7344526132d33349f2c8cae111a6517a733.zip
Diffstat (limited to '')
-rw-r--r--twrp-functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index d1f9e3dbd..a90be5a6d 100644
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -716,11 +716,11 @@ bool TWFunc::Install_SuperSU(void) {
if (!PartitionManager.Mount_By_Path("/system", true))
return false;
- if (copy_file("/res/supersu/su", "/system/xbin/su", 0755) != 0) {
+ if (copy_file("/supersu/su", "/system/xbin/su", 0755) != 0) {
LOGE("Failed to copy su binary to /system/bin\n");
return false;
}
- if (copy_file("/res/supersu/Superuser.apk", "/system/app/Superuser.apk", 0644) != 0) {
+ if (copy_file("/supersu/Superuser.apk", "/system/app/Superuser.apk", 0644) != 0) {
LOGE("Failed to copy Superuser app to /system/app\n");
return false;
}