Replicant security

Change-Id: I723872b277c6acec971d6ff13ce95ad7ea27590e
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
This commit is contained in:
Paul Kocialkowski 2014-01-18 18:55:31 +01:00
parent 8d161673ca
commit b69d640228
2 changed files with 15 additions and 12 deletions

View File

@ -1,6 +1,7 @@
PRODUCT_BRAND ?= replicant PRODUCT_BRAND ?= replicant
-include vendor/replicant-priv/keys.mk -include vendor/replicant-security/security.mk
SUPERUSER_EMBEDDED := true SUPERUSER_EMBEDDED := true
SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser
@ -24,6 +25,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
ifneq ($(TARGET_BUILD_VARIANT),eng) ifneq ($(TARGET_BUILD_VARIANT),eng)
# Enable ADB authentication # Enable ADB authentication
ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1 ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1
# Allow ADB root access
ADDITIONAL_DEFAULT_PROPERTIES += persist.sys.root_access=3
endif endif
# Copy over the changelog to the device # Copy over the changelog to the device

22
targets
View File

@ -1,11 +1,11 @@
replicant_crespo-eng replicant_crespo-userdebug
replicant_galaxysmtd-eng replicant_galaxysmtd-userdebug
replicant_i9100-eng replicant_i9100-userdebug
replicant_n7000-eng replicant_n7000-userdebug
replicant_maguro-eng replicant_maguro-userdebug
replicant_p5100-eng replicant_p5100-userdebug
replicant_p5110-eng replicant_p5110-userdebug
replicant_p3100-eng replicant_p3100-userdebug
replicant_p3110-eng replicant_p3110-userdebug
replicant_i9300-eng replicant_i9300-userdebug
replicant_n7100-eng replicant_n7100-userdebug