Update SuperSU for 4.3 SELinux, 2.6.1.0

Change-Id: Ib7f882db8a8c61d1156c03468208205124132b6c
This commit is contained in:
Dees_Troy
2013-08-30 01:53:54 +00:00
parent e3850a3fa6
commit a7939bbdc8
7 changed files with 102 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
#!/system/bin/sh
/system/xbin/daemonsu --auto-daemon &
+18
View File
@@ -234,6 +234,24 @@ ifneq ($(TW_EXCLUDE_SUPERSU), true)
LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)
#install-recovery.sh
include $(CLEAR_VARS)
LOCAL_MODULE := install-recovery.sh
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/supersu
LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)
#99SuperSUDaemon
include $(CLEAR_VARS)
LOCAL_MODULE := 99SuperSUDaemon
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/supersu
LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)
#SuperSU special installer APK
include $(CLEAR_VARS)
LOCAL_MODULE := Superuser.apk
BIN
View File
Binary file not shown.
+19
View File
@@ -0,0 +1,19 @@
#!/system/bin/sh
# If you're implementing this in a custom kernel/firmware,
# I suggest you use a different script name, and add a service
# to launch it from init.rc
# Launches SuperSU in daemon mode only on Android 4.3+.
# Nothing will happen on 4.2.x or older.
# If you want to force loading the daemon, use "--daemon" instead
/system/xbin/daemonsu --auto-daemon &
# Some apps like to run stuff from this script as well, but the
# installer will have done "chattr +i" on this file to prevent
# accidental modification and deletion. In your code, just search
# this file for "install-recovery-2.sh", and if present, write
# there instead.
/system/etc/install-recovery-2.sh
BIN
View File
Binary file not shown.