fix build

This commit is contained in:
Valera1978 2019-03-29 14:22:53 +03:00
parent dd6d1dcad8
commit afe78a8748
3 changed files with 88 additions and 71 deletions

View File

@ -112,6 +112,9 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.vibrator@1.0-impl android.hardware.vibrator@1.0-impl
# Vendor properties
-include $(LOCAL_PATH)/system_prop.mk
# Wifi # Wifi
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libnetcmdiface \ libnetcmdiface \

View File

@ -1,71 +0,0 @@
# Art
dalvik.vm.dex2oat-swap=false
# Audio
af.fast_track_multiplier=1
audio.deep_buffer.media=true
audio.offload.buffer.size.kb=32
audio.offload.pcm.16bit.enable=true
audio.offload.pcm.24bit.enable=true
audio.offload.video=true
persist.vendor.audio.fluence.speaker=true
persist.vendor.audio.fluence.voicecall=true
persist.vendor.audio.fluence.voicerec=false
ro.vendor.audio.sdk.fluencetype=fluence
vendor.audio.offload.multiple.enabled=false
vendor.audio_hal.period_size=192
vendor.dedicated.device.for.voip=true
vendor.voice.path.for.pcm.voip=false
# Camera
camera2.portability.force_api=1
# Dalvik heap
dalvik.vm.heapstartsize=16m
dalvik.vm.heapgrowthlimit=192m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=2m
dalvik.vm.heapmaxfree=8m
# Display
ro.hdcp2.rx=tz
ro.qualcomm.cabl=1
ro.secwvk=144
ro.sf.lcd_density=320
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
persist.media.treble_omx=false
# 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.qan_resp_strings=6
ro.telephony.default_network=9
telephony.lteOnGsmDevice=1
# 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
# Tethering
net.tethering.noprovisioning=true
# WiFi
wifi.interface=wlan0

85
system_prop.mk Executable file
View File

@ -0,0 +1,85 @@
# Art
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat-swap=false
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1 \
audio.deep_buffer.media=true \
audio.offload.buffer.size.kb=32 \
audio.offload.pcm.16bit.enable=true \
audio.offload.pcm.24bit.enable=true \
audio.offload.video=true \
persist.vendor.audio.fluence.speaker=true \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.voicerec=false \
ro.vendor.audio.sdk.fluencetype=fluence \
vendor.audio.offload.multiple.enabled=false \
vendor.audio_hal.period_size=192 \
vendor.dedicated.device.for.voip=true \
vendor.voice.path.for.pcm.voip=false
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
camera2.portability.force_api=1
# Dalvik heap
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=16m \
dalvik.vm.heapgrowthlimit=192m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.75 \
dalvik.vm.heapminfree=2m \
dalvik.vm.heapmaxfree=8m
# Display
PRODUCT_PROPERTY_OVERRIDES += \
ro.hdcp2.rx=tz \
ro.qualcomm.cabl=1 \
ro.secwvk=144 \
ro.sf.lcd_density=320 \
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 += \
persist.media.treble_omx=false
# 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.qan_resp_strings=6
PRODUCT_PROPERTY_OVERRIDES += \
ro.telephony.default_network=9 \
telephony.lteOnGsmDevice=1
# 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
# Tethering
PRODUCT_PROPERTY_OVERRIDES += \
net.tethering.noprovisioning=true
# WiFi
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0