-
Notifications
You must be signed in to change notification settings - Fork 8
/
system_prop.mk
112 lines (97 loc) · 3.13 KB
/
system_prop.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#
# System Properties for HTC One M9 (hima)
#
# MTP and USB-OTG
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp \
persist.sys.isUsbOtgEnabled=true
# HTC RIL
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
rild.libpath=/system/lib64/libhtc_rilhook.so
# QC RIL (disabled for now, using prebuilt libril)
#PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
# rild.libpath=/vendor/lib64/libril-qc-qmi-1.so
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
mm.enable.smoothstreaming=true \
mm.enable.qcom_parser=3314291 \
audio.offload.buffer.size.kb=1024 \
av.offload.enable=true \
av.streaming.offload.enable=true \
use.voice.path.for.pcm.voip=true \
audio.offload.multiple.enabled=true \
audio.offload.gapless.enabled=true \
media.aac_51_output_enabled=true \
audio.offload.pcm.16bit.enable=false \
audio.offload.pcm.24bit.enable=true
# fluencetype can be "fluence" or "fluencepro" or "none"
PRODUCT_PROPERTY_OVERRIDES += \
ro.qc.sdk.audio.fluencetype=fluence \
ro.qc.sdk.audio.ssr=false
PRODUCT_PROPERTY_OVERRIDES += \
persist.audio.fluence.voicecall=true \
persist.audio.fluence.voicerec=false \
persist.audio.fluence.speaker=true
# System props for Dolby
PRODUCT_PROPERTY_OVERRIDES += \
dmid=-1286820014 \
audio.ds1.metainfo.key=273
# Display
#
# OpenGLES:
# 196608 is decimal for 0x30000 to report major/minor versions as 3/0
# 196609 is decimal for 0x30001 to report major/minor versions as 3/1
# Set to 3.0 (even though the blobs support 3.1) to maintain compatibility
# with third party applications that do not support 3.1
PRODUCT_PROPERTY_OVERRIDES += \
persist.hwc.mdpcomp.enable=true \
ro.opengles.version=196608 \
ro.sf.lcd_density=480
# GPS
PRODUCT_PROPERTY_OVERRIDES += \
persist.gps.qc_nlp_in_use=1 \
persist.loc.nlp_name=com.qualcomm.services.location \
ro.gps.agps_provider=1 \
ro.qc.sdk.izat.premium_enabled=0 \
ro.qc.sdk.izat.service_mask=0x0
# NITZ
PRODUCT_PROPERTY_OVERRIDES += \
persist.rild.nitz_plmn="" \
persist.rild.nitz_long_ons_0="" \
persist.rild.nitz_long_ons_1="" \
persist.rild.nitz_long_ons_2="" \
persist.rild.nitz_long_ons_3="" \
persist.rild.nitz_short_ons_0="" \
persist.rild.nitz_short_ons_1="" \
persist.rild.nitz_short_ons_2="" \
persist.rild.nitz_short_ons_3=""
# Qualcomm
PRODUCT_PROPERTY_OVERRIDES += \
persist.timed.enable=true \
ro.qualcomm.cabl=0 \
ro.vendor.extension_library=libqti-perfd-client.so
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.apm_sim_not_pwdn=1
# persist.radio.add_power_save=1
PRODUCT_PROPERTY_OVERRIDES += \
persist.data.netmgrd.qos.enable=false \
ro.use_data_netmgrd=true
# Recovery
PRODUCT_PROPERTY_OVERRIDES += \
ro.cwm.forbid_format=/boot,/firmware,/persist
# Sensor debugging
# Valid settings (and presumably what they mean):
# 0 - off
# 1 - all the things
# V or v - verbose
# D or d - debug
# E or e - errors
# W or w - warnings
# I or i - info
#
PRODUCT_PROPERTY_OVERRIDES += \
persist.debug.sensors.hal=e \
debug.qualcomm.sns.daemon=e \
debug.qualcomm.sns.hal=e \
debug.qualcomm.sns.libsensor1=e