summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2013-02-25 11:51:50 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2013-02-25 11:51:57 +0700
commitb849847a63d37641646a9c3f04ada6a16eeef62a (patch)
tree24f7c1997e93bfc3115b18b39ee5a4786b6441f3
parent90e13bc8a703d1f7807cee7b1d11f399e8d494b4 (diff)
downloadbuild-b849847a63d37641646a9c3f04ada6a16eeef62a.zip
build-b849847a63d37641646a9c3f04ada6a16eeef62a.tar.gz
build-b849847a63d37641646a9c3f04ada6a16eeef62a.tar.bz2
build: recovery: disable ro.adb.secure
We have no way of authorizing adb in recovery and this locks the user/developer out of adb Change-Id: I7df53e05a9e605bec525e22ff6aae069a85a593f
-rw-r--r--core/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 5544895..5a7a583 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -735,6 +735,7 @@ $(TARGET_RECOVERY_ROOT_TIMESTAMP): $(INTERNAL_RECOVERY_FILES) \
> $(TARGET_RECOVERY_ROOT_OUT)/default.prop
@echo -e ${CL_YLW}"Modifying default.prop"${CL_RST}
$(SED_INPLACE) 's/ro.build.date.utc=.*/ro.build.date.utc=0/g' $(TARGET_RECOVERY_ROOT_OUT)/default.prop
+ $(SED_INPLACE) 's/ro.adb.secure=1/ro.adb.secure=0/g' $(TARGET_RECOVERY_ROOT_OUT)/default.prop
@echo -e ${CL_CYN}"----- Made recovery filesystem --------"$(TARGET_RECOVERY_ROOT_OUT)${CL_RST}
@touch $(TARGET_RECOVERY_ROOT_TIMESTAMP)