summaryrefslogtreecommitdiffstats
path: root/twrp.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-12-10 23:17:55 +0100
committerDees Troy <dees_troy@teamw.in>2014-12-18 21:17:26 +0100
commite3e8829e40a45dbf4787c7f5c812822ecfef6bc4 (patch)
treee1b4c98653678ca80ad87d3ca19b222994b49081 /twrp.cpp
parentFix adb sideload page on 1440x2560 layout (diff)
downloadandroid_bootable_recovery-e3e8829e40a45dbf4787c7f5c812822ecfef6bc4.tar
android_bootable_recovery-e3e8829e40a45dbf4787c7f5c812822ecfef6bc4.tar.gz
android_bootable_recovery-e3e8829e40a45dbf4787c7f5c812822ecfef6bc4.tar.bz2
android_bootable_recovery-e3e8829e40a45dbf4787c7f5c812822ecfef6bc4.tar.lz
android_bootable_recovery-e3e8829e40a45dbf4787c7f5c812822ecfef6bc4.tar.xz
android_bootable_recovery-e3e8829e40a45dbf4787c7f5c812822ecfef6bc4.tar.zst
android_bootable_recovery-e3e8829e40a45dbf4787c7f5c812822ecfef6bc4.zip
Diffstat (limited to 'twrp.cpp')
-rw-r--r--twrp.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/twrp.cpp b/twrp.cpp
index f76ab641d..24a56f18b 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -346,10 +346,6 @@ int main(int argc, char **argv) {
if (gui_startPage("installsu") != 0) {
LOGERR("Failed to start SuperSU install page.\n");
}
- } else if (TWFunc::Check_su_Perms() > 0) {
- // su perms are set incorrectly
- LOGINFO("Root permissions appear to be lost... fixing. (This will always happen on 4.3+ ROMs with SELinux.\n");
- TWFunc::Fix_su_Perms();
}
sync();
PartitionManager.UnMount_By_Path("/system", false);