klte-common: Convert system_prop.mk to property file
Change-Id: Iea7a502eb0ddfa619b314800aa3c386e18c88928
This commit is contained in:
parent
ccb9bf10e5
commit
1d8a6bce95
4 changed files with 71 additions and 85 deletions
|
@ -77,6 +77,9 @@ BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
|||
TARGET_POWERHAL_SET_INTERACTIVE_EXT := $(LOCAL_PATH)/power/power_ext.c
|
||||
TARGET_POWERHAL_VARIANT := qcom
|
||||
|
||||
# Properties
|
||||
TARGET_SYSTEM_PROP += device/samsung/klte-common/system.prop
|
||||
|
||||
# Radio
|
||||
BOARD_RIL_CLASS := ../../../device/samsung/klte-common/ril
|
||||
|
||||
|
|
3
klte.mk
3
klte.mk
|
@ -23,9 +23,6 @@ $(call inherit-product-if-exists, frameworks/native/build/phone-xxhdpi-2048-hwui
|
|||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
||||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
|
||||
|
||||
# System properties
|
||||
-include $(LOCAL_PATH)/system_prop.mk
|
||||
|
||||
# Boot animation
|
||||
TARGET_SCREEN_HEIGHT := 1920
|
||||
TARGET_SCREEN_WIDTH := 1080
|
||||
|
|
68
system.prop
Normal file
68
system.prop
Normal file
|
@ -0,0 +1,68 @@
|
|||
# Art
|
||||
dalvik.vm.dex2oat-swap=false
|
||||
|
||||
# Audio
|
||||
af.fast_track_multiplier=1
|
||||
audio_hal.period_size=192
|
||||
audio.offload.video=true
|
||||
persist.audio.fluence.speaker=true
|
||||
persist.audio.fluence.voicecall=true
|
||||
persist.audio.fluence.voicerec=false
|
||||
ro.qc.sdk.audio.fluencetype=fluence
|
||||
use.voice.path.for.pcm.voip=false
|
||||
use.dedicated.device.for.voip=true
|
||||
audio.deep_buffer.media=true
|
||||
audio.offload.pcm.16bit.enable=true
|
||||
audio.offload.pcm.24bit.enable=true
|
||||
audio.offload.multiple.enabled=false
|
||||
audio.offload.buffer.size.kb=32
|
||||
|
||||
# Camera
|
||||
camera2.portability.force_api=1
|
||||
|
||||
# Display
|
||||
ro.hdcp2.rx=tz
|
||||
ro.qualcomm.cabl=1
|
||||
ro.secwvk=144
|
||||
ro.sf.lcd_density=480
|
||||
debug.hwui.use_buffer_age=false
|
||||
|
||||
# GPS
|
||||
persist.gps.qc_nlp_in_use=0
|
||||
ro.gps.agps_provider=1
|
||||
ro.qc.sdk.izat.premium_enabled=0
|
||||
ro.qc.sdk.izat.service_mask=0x0
|
||||
|
||||
# Media
|
||||
media.stagefright.legacyencoder=true
|
||||
media.stagefright.less-secure=true
|
||||
|
||||
# NFC
|
||||
ro.nfc.port=I2C
|
||||
|
||||
# Perf
|
||||
ro.vendor.extension_library=/vendor/lib/libqti-perfd-client.so
|
||||
|
||||
# Radio
|
||||
persist.data.netmgrd.qos.enable=true
|
||||
persist.data.qmi.adb_logmask=0
|
||||
persist.radio.add_power_save=1
|
||||
rild.libpath=/system/vendor/lib/libsec-ril.so
|
||||
ro.telephony.mms_data_profile=5
|
||||
ro.ril.telephony.mqanelements=6
|
||||
ro.telephony.ril_class=KlteRIL
|
||||
|
||||
# Ril sends only one RIL_UNSOL_CALL_RING, so set call_ring.multiple to false
|
||||
ro.telephony.call_ring.multiple=0
|
||||
|
||||
# Sensors
|
||||
debug.sensors=1
|
||||
|
||||
# Storage
|
||||
ro.sys.sdcardfs=true
|
||||
|
||||
# Tethering
|
||||
net.tethering.noprovisioning=true
|
||||
|
||||
# WiFi
|
||||
wifi.interface=wlan0
|
|
@ -1,82 +0,0 @@
|
|||
# Art
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
dalvik.vm.dex2oat-swap=false
|
||||
|
||||
# Audio
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
af.fast_track_multiplier=1 \
|
||||
audio_hal.period_size=192 \
|
||||
audio.offload.video=true \
|
||||
persist.audio.fluence.speaker=true \
|
||||
persist.audio.fluence.voicecall=true \
|
||||
persist.audio.fluence.voicerec=false \
|
||||
ro.qc.sdk.audio.fluencetype=fluence \
|
||||
use.voice.path.for.pcm.voip=false \
|
||||
use.dedicated.device.for.voip=true \
|
||||
audio.deep_buffer.media=true \
|
||||
audio.offload.pcm.16bit.enable=true \
|
||||
audio.offload.pcm.24bit.enable=true \
|
||||
audio.offload.multiple.enabled=false \
|
||||
audio.offload.buffer.size.kb=32
|
||||
|
||||
# Camera
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
camera2.portability.force_api=1
|
||||
|
||||
# Display
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.hdcp2.rx=tz \
|
||||
ro.qualcomm.cabl=1 \
|
||||
ro.secwvk=144 \
|
||||
ro.sf.lcd_density=480 \
|
||||
debug.hwui.use_buffer_age=false
|
||||
|
||||
# GPS
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.gps.qc_nlp_in_use=0 \
|
||||
ro.gps.agps_provider=1 \
|
||||
ro.qc.sdk.izat.premium_enabled=0 \
|
||||
ro.qc.sdk.izat.service_mask=0x0
|
||||
|
||||
# Media
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
media.stagefright.legacyencoder=true \
|
||||
media.stagefright.less-secure=true
|
||||
|
||||
# NFC
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.nfc.port=I2C
|
||||
|
||||
# Perf
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.vendor.extension_library=/vendor/lib/libqti-perfd-client.so
|
||||
|
||||
# Radio
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.data.netmgrd.qos.enable=true \
|
||||
persist.data.qmi.adb_logmask=0 \
|
||||
persist.radio.add_power_save=1 \
|
||||
rild.libpath=/system/vendor/lib/libsec-ril.so \
|
||||
ro.telephony.mms_data_profile=5 \
|
||||
ro.ril.telephony.mqanelements=6 \
|
||||
ro.telephony.ril_class=KlteRIL
|
||||
|
||||
# Ril sends only one RIL_UNSOL_CALL_RING, so set call_ring.multiple to false
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.telephony.call_ring.multiple=0
|
||||
|
||||
# Sensors
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
debug.sensors=1
|
||||
|
||||
# Storage
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.sys.sdcardfs=true
|
||||
|
||||
# Tethering
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
net.tethering.noprovisioning=true
|
||||
|
||||
# WiFi
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
wifi.interface=wlan0
|
Loading…
Reference in a new issue