diff --git a/Android.mk b/Android.mk index b51637ba..6880ed2c 100644 --- a/Android.mk +++ b/Android.mk @@ -156,7 +156,6 @@ ifeq ($(TW_OEM_BUILD),true) LOCAL_CFLAGS += -DTW_OEM_BUILD BOARD_HAS_NO_REAL_SDCARD := true TW_USE_TOOLBOX := true - TW_EXCLUDE_SUPERSU := true TW_EXCLUDE_MTP := true endif @@ -430,18 +429,6 @@ ifeq ($(TW_INCLUDE_DUMLOCK), true) htcdumlock htcdumlocksys flash_imagesys dump_imagesys libbmlutils.so \ libflashutils.so libmmcutils.so libmtdutils.so HTCDumlock.apk endif -ifneq ($(TW_EXCLUDE_SUPERSU), true) - LOCAL_ADDITIONAL_DEPENDENCIES += \ - install-recovery.sh 99SuperSUDaemon Superuser.apk - ifeq ($(TARGET_ARCH), arm) - LOCAL_ADDITIONAL_DEPENDENCIES += \ - chattr.pie libsupol.so suarm supolicy - endif - ifeq ($(TARGET_ARCH), arm64) - LOCAL_ADDITIONAL_DEPENDENCIES += \ - libsupol.soarm64 suarm64 supolicyarm64 - endif -endif ifeq ($(TW_INCLUDE_FB2PNG), true) LOCAL_ADDITIONAL_DEPENDENCIES += fb2png endif diff --git a/gui/action.cpp b/gui/action.cpp index 3d497ca5..fb05d77b 100644 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -1607,8 +1607,7 @@ int GUIAction::installsu(std::string arg __unused) if (simulate) { simulate_progress_bar(); } else { - if (!TWFunc::Install_SuperSU()) - op_status = 1; + LOGERR("Installing SuperSU was deprecated from TWRP.\n"); } operation_end(op_status); diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml index f460e6fe..5bbfe902 100644 --- a/gui/theme/common/landscape.xml +++ b/gui/theme/common/landscape.xml @@ -2737,7 +2737,7 @@ @@ -4726,51 +4726,6 @@ - -