forked from Suicide-Squirrel/android_device_lge_g4-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
system_prop.mk
181 lines (161 loc) · 5.53 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.audio.sdk.fluencetype=fluencepro \
persist.vendor.audio.fluence.audiorec=false \
persist.vendor.audio.fluence.speaker=false \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.voicecomm=true \
persist.vendor.audio.fluence.voicerec=false \
persist.speaker.prot.enable=true \
ro.config.vc_call_vol_steps=7 \
persist.vendor.audio.calfile0=/etc/acdbdata/Bluetooth_cal.acdb \
persist.vendor.audio.calfile1=/etc/acdbdata/General_cal.acdb \
persist.vendor.audio.calfile2=/etc/acdbdata/Global_cal.acdb \
persist.vendor.audio.calfile3=/etc/acdbdata/Handset_cal.acdb \
persist.vendor.audio.calfile4=/etc/acdbdata/Hdmi_cal.acdb \
persist.vendor.audio.calfile5=/etc/acdbdata/Headset_cal.acdb \
persist.vendor.audio.calfile6=/etc/acdbdata/Speaker_cal.acdb \
persist.spkr.cal.duration=0 \
ro.qc.sdk.audio.ssr=false \
persist.audio.ssr.3mic=true \
av.offload.enable=false \
audio.offload.buffer.size.kb=32 \
audio.offload.pcm.16bit.enable=false \
audio.offload.gapless.enabled=false \
audio.offload.passthrough=false \
audio.offload.pcm.24bit.enable=true \
audio.offload.multiple.enabled=false \
audio.deep_buffer.media=true \
tunnel.audio.encode=false \
use.dedicated.device.for.voip=true \
af.fast_track_multiplier=1 \
audio_hal.period_size=192 \
ro.audio.flinger_standbytime_ms=300 \
use.voice.path.for.pcm.voip=false \
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
bluetooth.chip.vendor=brcm \
qcom.bluetooth.soc=rome \
ro.bt.bdaddr_path="/data/misc/bluetooth/bdaddr" \
persist.bt.enableAptXHD=true
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
ro.qc.sdk.camera.facialproc=false \
ro.qc.sdk.gestures.camera=false \
camera2.portability.force_api=1 \
ro.factorytest=0
# DRM
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# Dalvik
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=8m \
dalvik.vm.heapgrowthlimit=256m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.50 \
dalvik.vm.heapminfree=1m \
dalvik.vm.heapmaxfree=8m
# Dexopt (try not to use big cores during dexopt)
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.boot-dex2oat-threads=4 \
dalvik.vm.dex2oat-threads=2 \
dalvik.vm.image-dex2oat-threads=4
# Display
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=560 \
qemu.hw.mainkeys=0 \
ro.qualcomm.cabl=2
# Properties to improve rendering
debug.enable.sglscale=1 \
debug.egl.hw=1 \
debug.sf.hw=1 \
debug.sf.disable_hwc=0 \
debug.sf.recomputecrop=0 \
debug.sf.disable_backpressure=1 \
debug.sf.latch_unsignaled=1 \
persist.hwc.ptor.enable=true \
debug.cpurend.vsync=false
# MSM8992 HAL settings
# 196610 is decimal for 0x30002 to report major/minor versions as 3/2
PRODUCT_PROPERTY_OVERRIDES += \
debug.composition.type=c2d \
debug.mdpcomp.logs=0 \
persist.debug.wfd.enable=1 \
persist.demo.hdmirotationlock=false \
persist.hwc.enable_vds=1 \
persist.hwc.mdpcomp.enable=true \
persist.mdpcomp.4k2kSplit=1 \
persist.mdpcomp_perfhint=50 \
persist.metadata_dynfps.disable=true \
persist.sys.wfd.virtual=0 \
ro.opengles.version=196610
# FIFO: enable scheduling for UI and Render threads by default
PRODUCT_PROPERTY_OVERRIDES += \
sys.use_fifo_ui=1
# FRP
PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst=/dev/block/bootdevice/by-name/persistent
# 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
# Media
PRODUCT_PROPERTY_OVERRIDES += \
persist.media.treble_omx=false \
mm.enable.qcom_parser=3379827 \
mm.enable.smoothstreaming=true \
media.aac_51_output_enabled=true \
vidc.debug.level=1 \
vidc.debug.perf.mode=2 \
vidc.enc.dcvs.extra-buff-count=2 \
persist.camera.cpp.duplication=false \
ro.config.avoid_gfx_accel=true
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
persist.timed.enable=true \
ro.qualcomm.cabl=2 \
ro.qualcomm.perf.cores_online=2 \
ro.vendor.extension_library=libqti-perfd-client.so \
persist.dpm.feature=1 \
ro.min_freq_0=384000 \
ro.min_freq_4=384000
# RIL
PRODUCT_PROPERTY_OVERRIDES += \
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so \
ril.subscription.types=NV,RUIM \
persist.data.mode=concurrent \
persist.data.netmgrd.qos.enable=true \
persist.data.qmi.adb_logmask=0 \
persist.qcril.disable_retry=true \
persist.radio.apm_sim_not_pwdn=1 \
persist.radio.custom_ecc=1 \
persist.radio.sib16_support=1 \
ro.data.large_tcp_window_size=true \
ro.use_data_netmgrd=true \
ro.telephony.default_network=12 \
ro.ril.svlte1x=false \
ro.ril.svdo=false \
persist.radio.add_power_save=1 \
persist.telephony.oosisdc=false
# Security patch level
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.build.security_patch=2017-07-01
# Sensors
PRODUCT_PROPERTY_OVERRIDES += \
ro.qc.sdk.sensors.gestures=true \
persist.debug.sensors.hal=e \
debug.qualcomm.sns.daemon=e \
debug.qualcomm.sns.hal=e \
debug.qualcomm.sns.libsensor1=e
# Storage
PRODUCT_PROPERTY_OVERRIDES += \
ro.sys.sdcardfs=true
# Fix graphical glitches on skiagl
PRODUCT_PROPERTY_OVERRIDES += \
debug.hwui.renderer=opengl
# OTA server
PRODUCT_PROPERTY_OVERRIDES += \
lineage.updater.uri=http://sfxota.binbash.rocks:8009/lineage/16.0/api/v1/{device}/{type}/{incr}