From fa67cbf18bc43ff8cda34b91acdb43feb1214777 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Fri, 20 Jul 2018 12:22:33 -0500 Subject: Remove SuperSU Change-Id: I2ca7580bbde5a8903b9ba5c1513ddba887e8d49e --- twrp-functions.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'twrp-functions.cpp') diff --git a/twrp-functions.cpp b/twrp-functions.cpp index 11e745b38..c9aef2007 100644 --- a/twrp-functions.cpp +++ b/twrp-functions.cpp @@ -771,14 +771,6 @@ int TWFunc::write_to_file(const string& fn, const string& line) { return -1; } -bool TWFunc::Install_SuperSU(void) { - if (!PartitionManager.Mount_By_Path("/system", true)) - return false; - - check_and_run_script("/supersu/install-supersu.sh", "SuperSU"); - return true; -} - bool TWFunc::Try_Decrypting_Backup(string Restore_Path, string Password) { DIR* d; -- cgit v1.2.3