-
Notifications
You must be signed in to change notification settings - Fork 3
/
system_prop.mk
107 lines (91 loc) · 2.83 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
#
# System Properties for HTC M9
#
# MTP and USB-OTG
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp \
persist.sys.isUsbOtgEnabled=true
# QC RIL
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
audio.offload.pcm.16bit.enable=false \
audio.offload.pcm.24bit.enable=true \
audio.offload.buffer.size.kb=32 \
audio.offload.gapless.enabled=false \
audio.offload.multiple.enabled=false \
audio.offload.pcm.enable=true \
media.aac_51_output_enabled=true
PRODUCT_PROPERTY_OVERRIDES += \
av.offload.enable=false \
av.streaming.offload.enable=false
PRODUCT_PROPERTY_OVERRIDES += \
mm.enable.smoothstreaming=true
##fluencetype can be "fluence" or "fluencepro" or "none"
PRODUCT_PROPERTY_OVERRIDES += \
ro.qc.sdk.audio.fluencetype=none \
ro.qc.sdk.audio.ssr=false
PRODUCT_PROPERTY_OVERRIDES += \
persist.audio.fluence.voicecall=true \
persist.audio.fluence.voicerec=false \
persist.audio.fluence.speaker=true
PRODUCT_PROPERTY_OVERRIDES += \
use.voice.path.for.pcm.voip=true
# 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
PRODUCT_PROPERTY_OVERRIDES += \
persist.hwc.mdpcomp.enable=true \
ro.opengles.version=196609 \
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.add_power_save=1 \
persist.radio.apm_sim_not_pwdn=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