hiphi: props: Import initial properties

Co-authored-by: sekaiacg <sekaiacg@gmail.com>
Co-authored-by: brigudav <brigudav@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
This commit is contained in:
Ash Blake 2021-04-24 12:41:45 +02:00 committed by 7Soldier
parent bfb4010ef6
commit b20bc0953f
2 changed files with 20 additions and 0 deletions

View file

@ -74,6 +74,9 @@ BOARD_MOTOROLA_DYNAMIC_PARTITIONS_SIZE := 9122611200 # TODO: Fix hardcoded value
# Platform
TARGET_BOARD_PLATFORM := taro
# Properties
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
# Recovery
TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888
TARGET_RECOVERY_DEVICE_DIRS += $(DEVICE_PATH)

17
system.prop Normal file
View file

@ -0,0 +1,17 @@
# ADB
ro.adb.secure=0
# Battery Property
ro.charger.enable_suspend=1
# Crypto
ro.crypto.allow_encrypt_override=true
ro.crypto.dm_default_key.options_format.version=2
ro.crypto.volume.filenames_mode=aes-256-cts
ro.crypto.volume.metadata.method=dm-default-key
# Gatekeeper
vendor.gatekeeper.disable_spu=true
# MTP
vendor.usb.use_ffs_mtp=1