From 127ac8a44e93b6966adc32860f4c5fad211585ec Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Thu, 15 Aug 2013 00:15:07 +0100 Subject: [PATCH] Add a default root access mode. Instead of relying on the Settings app code to assume a default, actually set one Change-Id: I2054bc0a793a79f7d26bc1bee23e097585a3b8c4 --- config/common.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/common.mk b/config/common.mk index 4773dada..22be0b7d 100644 --- a/config/common.mk +++ b/config/common.mk @@ -71,7 +71,8 @@ PRODUCT_PROPERTY_OVERRIDES += \ ro.com.android.dataroaming=false PRODUCT_PROPERTY_OVERRIDES += \ - ro.build.selinux=1 + ro.build.selinux=1 \ + persist.sys.root_access=1 ifneq ($(TARGET_BUILD_VARIANT),eng) # Enable ADB authentication