From 6ef6635ad3d5e8f6440e9ac2b67f1db8589e77b5 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Thu, 21 Feb 2013 08:26:57 -0600 Subject: Check for root and root perms and offer to install/fix Also fix sort order for file selector by date and file sizes Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114 --- prebuilt/Android.mk | 20 ++++++++++++++++++++ prebuilt/Superuser.apk | Bin 0 -> 28674 bytes prebuilt/su | Bin 0 -> 96144 bytes 3 files changed, 20 insertions(+) create mode 100644 prebuilt/Superuser.apk create mode 100755 prebuilt/su (limited to 'prebuilt') diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index 5e78b349f..f0c2c264a 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -185,3 +185,23 @@ ifeq ($(TW_INCLUDE_DUMLOCK), true) LOCAL_SRC_FILES := $(LOCAL_MODULE) include $(BUILD_PREBUILT) endif + +ifneq ($(TW_EXCLUDE_SUPERSU), true) + #su binary + include $(CLEAR_VARS) + LOCAL_MODULE := su + LOCAL_MODULE_TAGS := eng + LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES + LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/supersu + LOCAL_SRC_FILES := $(LOCAL_MODULE) + include $(BUILD_PREBUILT) + + #SuperSU special installer APK + include $(CLEAR_VARS) + LOCAL_MODULE := Superuser.apk + LOCAL_MODULE_TAGS := eng + LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES + LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/supersu + LOCAL_SRC_FILES := $(LOCAL_MODULE) + include $(BUILD_PREBUILT) +endif \ No newline at end of file diff --git a/prebuilt/Superuser.apk b/prebuilt/Superuser.apk new file mode 100644 index 000000000..99eb7d2a1 Binary files /dev/null and b/prebuilt/Superuser.apk differ diff --git a/prebuilt/su b/prebuilt/su new file mode 100755 index 000000000..1b6974b2e Binary files /dev/null and b/prebuilt/su differ -- cgit v1.2.3