-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsystem_prop.mk
134 lines (114 loc) · 3.37 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#
# System Properties for G2
#
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1 \
audio_hal.period_size=192 \
persist.audio.dualmic.config=endfire \
use.voice.path.for.pcm.voip=true \
ro.config.vc_call_vol_steps=12
PRODUCT_PROPERTY_OVERRIDES += \
persist.audio.fluence.audiorec=false \
persist.audio.fluence.speaker=false \
persist.audio.fluence.voicecall=true \
persist.audio.fluence.voicerec=false \
ro.qc.sdk.audio.fluencetype=fluence
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
bluetooth.chip.vendor=brcm \
persist.service.bdroid.a2dp_con=0 \
persist.service.bdroid.scms_t=0 \
ro.bt.bdaddr_path=/data/misc/bdaddr
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
camera2.portability.force_api=1 \
media.stagefright.legacyencoder=true \
media.stagefright.less-secure=true
# Display
PRODUCT_PROPERTY_OVERRIDES += \
persist.hwc.mdpcomp.enable=true \
ro.opengles.version=196608 \
ro.sf.lcd_density=480
# DRM
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# GPS
PRODUCT_PROPERTY_OVERRIDES += \
persist.gps.qc_nlp_in_use=0 \
ro.gps.agps_provider=1
# Media/offload
# TODO: Re-enable when it works
PRODUCT_PROPERTY_OVERRIDES += \
audio.offload.disable=true
PRODUCT_PROPERTY_OVERRIDES += \
audio.offload.buffer.size.kb=32 \
audio.offload.gapless.enabled=true \
audio.offload.pcm.16bit.enable=true \
audio.offload.pcm.24bit.enable=true \
audio.offload.video=true \
av.streaming.offload.enable=true
PRODUCT_PROPERTY_OVERRIDES += \
media.aac_51_output_enabled=true
# NFC
PRODUCT_PROPERTY_OVERRIDES += \
nfc.app_log_level=2 \
nfc.enable_protocol_log=0
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=/vendor/lib/libqti-perfd-client.so
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.custom_ecc=1
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.apm_sim_not_pwdn=1 \
ro.telephony.call_ring.multiple=0
PRODUCT_PROPERTY_OVERRIDES += \
persist.data.qmi.adb_logmask=0 \
PRODUCT_PROPERTY_OVERRIDES += \
rild.libpath=/vendor/lib/libril-qc-qmi-1.so \
ro.ril.telephony.mqanelements=5
# Sensors
PRODUCT_PROPERTY_OVERRIDES += \
ro.qti.sdk.sensors.gestures=true \
ro.qti.sensors.amd=true \
ro.qti.sensors.game_rv=true \
ro.qti.sensors.georv=true \
ro.qti.sensors.pam=true \
ro.qti.sensors.pedometer=true \
ro.qti.sensors.rmd=true \
ro.qti.sensors.smd=true \
ro.qti.sensors.step_counter=true \
ro.qti.sensors.step_detector=true \
ro.qti.sensors.tilt_detector=true \
ro.qti.sensors.cmc=false \
ro.qti.sensors.facing=false \
ro.qti.sensors.gtap=false \
ro.qti.sensors.tap=false \
ro.qti.sensors.tilt=false \
ro.qti.sensors.vmd=false \
ro.qti.sensors.wu=false
# 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 += \
debug.qualcomm.sns.hal=e \
debug.qualcomm.sns.daemon=e \
debug.qualcomm.sns.libsensor1=e \
persist.debug.sensors.hal=e \
persist.debug.ar.hal=e \
persist.sys.ssr.enable_debug=0
# Storage
PRODUCT_PROPERTY_OVERRIDES += \
ro.sys.sdcardfs=true
# Wifi
PRODUCT_PROPERTY_OVERRIDES += \
ro.data.large_tcp_window_size=true \
wifi.interface=wlan0