summaryrefslogtreecommitdiffstats
path: root/config/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config/common.mk')
-rw-r--r--config/common.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/common.mk b/config/common.mk
index cf9db005..613bc791 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -1,6 +1,7 @@
PRODUCT_BRAND ?= replicant
--include vendor/replicant-priv/keys.mk
+-include vendor/replicant-security/security.mk
+
SUPERUSER_EMBEDDED := true
SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser
@@ -24,6 +25,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
ifneq ($(TARGET_BUILD_VARIANT),eng)
# Enable ADB authentication
ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1
+# Allow ADB root access
+ADDITIONAL_DEFAULT_PROPERTIES += persist.sys.root_access=3
endif
# Copy over the changelog to the device