Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b849847a authored by Pawit Pornkitprasan's avatar Pawit Pornkitprasan
Browse files

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
parent 90e13bc8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)