diff --git a/Android.mk b/Android.mk index 5cabc33..50b0de6 100644 --- a/Android.mk +++ b/Android.mk @@ -26,7 +26,7 @@ LOCAL_MODULE := recovery LOCAL_FORCE_STATIC_EXECUTABLE := true -RECOVERY_VERSION := ClockworkMod Recovery v1.8.1.6 +RECOVERY_VERSION := ClockworkMod Recovery v1.8.1.7 LOCAL_CFLAGS := -DRECOVERY_VERSION="$(RECOVERY_VERSION)" RECOVERY_API_VERSION := 2 LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION) @@ -96,6 +96,14 @@ LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin LOCAL_SRC_FILES := mkfstab.sh include $(BUILD_PREBUILT) +include $(CLEAR_VARS) +LOCAL_MODULE := killrecovery.sh +LOCAL_MODULE_TAGS := eng +LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES +LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin +LOCAL_SRC_FILES := killrecovery.sh +include $(BUILD_PREBUILT) + include $(commands_recovery_local_path)/amend/Android.mk include $(commands_recovery_local_path)/minui/Android.mk include $(commands_recovery_local_path)/minzip/Android.mk diff --git a/killrecovery.sh b/killrecovery.sh new file mode 100755 index 0000000..a0ede44 --- /dev/null +++ b/killrecovery.sh @@ -0,0 +1,4 @@ +#!/sbin/sh +mkdir -p /sd-ext +kill $(ps | grep /sbin/adbd) +kill $(ps | grep /sbin/recovery)