forked from Pridjes/device_xiaomi_whyred
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vendor_prop.mk
334 lines (289 loc) · 10.1 KB
/
vendor_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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.job_delay=true \
persist.sys.mcd_config_file=/system/etc/mcd_default.conf \
persist.sys.perf.debug=true \
persist.sys.whetstone.level=2 \
drm.service.enabled=true \
dalvik.vm.heapgrowthlimit=256m \
dalvik.vm.heapstartsize=8m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.75 \
dalvik.vm.heapminfree=512k \
dalvik.vm.heapmaxfree=8m \
video.disable.ubwc=1 \
persist.radio.multisim.config=dsds \
persist.vendor.qcomsysd.enabled=1 \
ro.com.android.dataroaming=true \
ro.vendor.extension_library=libqti-perfd-client.so \
persist.radio.apm_sim_not_pwdn=1 \
persist.vendor.radio.sib16_support=1 \
persist.vendor.radio.custom_ecc=1 \
persist.vendor.radio.rat_on=combine \
persist.radio.schd.cache=3500 \
sys.vendor.shutdown.waittime=500 \
ro.build.shutdown_timeout=0 \
ro.frp.pst=/dev/block/bootdevice/by-name/frp \
ro.opengles.version=196610 \
ro.qualcomm.cabl=0 \
qcom.bluetooth.soc=cherokee \
af.fast_track_multiplier=1 \
vendor.audio_hal.period_size=192 \
ro.vendor.audio.sdk.fluencetype=fluence \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.voicerec=false \
persist.vendor.audio.fluence.speaker=true \
vendor.audio.tunnel.encode=false \
persist.vendor.audio.ras.enabled=false \
vendor.audio.offload.buffer.size.kb=64 \
audio.offload.min.duration.secs=30 \
audio.offload.video=true \
vendor.audio.offload.track.enable=true \
audio.deep_buffer.media=true \
vendor.voice.path.for.pcm.voip=true \
vendor.audio.offload.multiaac.enable=true \
vendor.audio.dolby.ds2.enabled=false \
vendor.audio.dolby.ds2.hardbypass=false \
vendor.audio.offload.multiple.enabled=false \
vendor.audio.offload.passthrough=false \
ro.vendor.audio.sdk.ssr=false \
ro.config.media_vol_steps=25 \
vendor.audio.offload.gapless.enabled=true \
vendor.audio.safx.pbe.enabled=true \
vendor.audio.parser.ip.buffer.size=262144 \
vendor.audio.flac.sw.decoder.24bit=true \
persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac \
ro.af.client_heap_size_kbyte=7168 \
vendor.audio.use.sw.alac.decoder=true \
vendor.audio.use.sw.ape.decoder=true \
vendor.audio.hw.aac.encoder=true \
vendor.fm.a2dp.conc.disabled=true \
vendor.audio.noisy.broadcast.delay=600 \
persist.vendor.audio.hifi.int_codec=true \
vendor.audio.offload.pstimeout.secs=3 \
audio.adm.buffering.ms=6 \
ro.vendor.sensors.facing=false \
ro.vendor.sensors.cmc=false \
ro.vendor.sdk.sensors.gestures=false \
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="" \
ril.subscription.types=NV,RUIM \
DEVICE_PROVISIONED=1 \
rild.libpath=/system/vendor/lib64/libril-qc-qmi-1.so \
ro.telephony.default_network=22,20
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.enable_hwc_vds=1 \
debug.sf.hw=1 \
debug.sf.latch_unsignaled=1 \
debug.gralloc.enable_fb_ubwc=1 \
dev.pm.dyn_samplingrate=1
#
# system props for the cne module
#
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.cne.feature=1
#
# system props for the dpm module
#
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.dpm.feature=1
#system props for the MM modules
PRODUCT_PROPERTY_OVERRIDES += \
media.stagefright.enable-player=true \
media.stagefright.enable-http=true \
media.stagefright.enable-aac=true \
media.stagefright.enable-qcp=true \
media.stagefright.enable-scan=true \
mmp.enable.3g2=true \
media.aac_51_output_enabled=true \
mm.enable.smoothstreaming=true \
mm.enable.qcom_parser=13631471 \
persist.mm.enable.prefetch=true \
vidc.enc.dcvs.extra-buff-count=2
#
# system props for the data modules
#
PRODUCT_PROPERTY_OVERRIDES += \
ro.use_data_netmgrd=true \
persist.data.netmgrd.qos.enable=true \
persist.data.mode=concurrent
# system property for maximum number of HFP client connections
PRODUCT_PROPERTY_OVERRIDES += \
bt.max.hfpclient.connections=1
#
# System props for telephony
# System prop to turn on CdmaLTEPhone always
PRODUCT_PROPERTY_OVERRIDES += \
telephony.lteOnCdmaDevice=1
#Simulate sdcard on /data/media
PRODUCT_PROPERTY_OVERRIDES += \
persist.fuse_sdcard=true
#system prop for RmNet Data
PRODUCT_PROPERTY_OVERRIDES += \
persist.rmnet.data.enable=true \
persist.data.wda.enable=true \
persist.data.df.dl_mode=5 \
persist.data.df.ul_mode=5 \
persist.data.df.agg.dl_pkt=10 \
persist.data.df.agg.dl_size=4096 \
persist.data.df.mux_count=8 \
persist.data.df.iwlan_mux=9 \
persist.data.df.dev_name=rmnet_usb0
#property for vendor specific library
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.at_library=libqti-at.so
#min/max cpu in core control
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.qti.core_ctl_min_cpu=2 \
ro.vendor.qti.core_ctl_max_cpu=4
#property to enable VDS WFD solution
PRODUCT_PROPERTY_OVERRIDES += \
persist.hwc.enable_vds=1
#Increase cached app limit
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.qti.sys.fw.bg_apps_limit=60
#Settings to enable sensors
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.sensors.dev_ori=false \
ro.vendor.sensors.pmd=true \
ro.vendor.sensors.sta_detect=true \
ro.vendor.sensors.mot_detect=true
#Expose aux camera for below packages
PRODUCT_PROPERTY_OVERRIDES += \
camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.qualcomm.qti.qmmi \
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.qualcomm.qti.qmmi
#disable UBWC for camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.camera.preview.ubwc=0 \
persist.camera.stats.test=0 \
persist.camera.depth.focus.cb=0 \
persist.camera.isp.clock.optmz=0 \
persist.camera.hist.high=20 \
persist.camera.hist.drc=1.2 \
persist.camera.linkpreview=0 \
persist.camera.isp.turbo=1
#exif info for camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.exif.make=Xiaomi \
persist.sys.exif.model=RedmiNote5
#properties for camera front flash lux
PRODUCT_PROPERTY_OVERRIDES += \
persist.flash.low.lux=390 \
persist.flash.light.lux=340 \
persist.imx376_ofilm.low.lux=310 \
persist.imx376_ofilm.light.lux=280 \
persist.imx376_sunny.low.lux=310 \
persist.imx376_sunny.light.lux=280 \
persist.ov13855_sunny.low.lux=385 \
persist.ov13855_sunny.light.lux=370 \
persist.s5k3l8_ofilm.low.lux=379 \
persist.s5k3l8_ofilm.light.lux=367
# MiuiCamera
PRODUCT_PROPERTY_OVERRIDES += \
camera.shutter_sound.blacklist=com.android.camera
#
# PROPERTIES FOR IMS
#
PRODUCT_PROPERTY_OVERRIDES += \
persist.dbg.ims_volte_enable=1 \
persist.radio.videopause.mode=1 \
persist.data.iwlan.enable=true \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1 \
persist.radio.VT_HYBRID_ENABLE=1
#For RIJL netwrok video call
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.NO_STAPA=1
# Enable manual network selection function and distinguish 2G/3G/4G
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.rat_on=combine
# the level of data wiping under PRESET mode
PRODUCT_PROPERTY_OVERRIDES += \
persist.regional.wipedata.level=all
# enable mbn file update for SIMTrigger
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.sw_mbn_update=0 \
persist.radio.hw_mbn_update=0
# enable SIMTrigger silence mode feature
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.trigger.silence=true
# flag to distinguish the open market to Operator
PRODUCT_PROPERTY_OVERRIDES += \
persist.device.type=omt
# flag for activating mbn or not,default is true.
PRODUCT_PROPERTY_OVERRIDES += \
persist.activate_mbn.enabled=false \
ro.regionalization.support=true
PRODUCT_PROPERTY_OVERRIDES += \
persist.demo.hdmirotationlock=false
#property to enable narrow search range for video encoding
PRODUCT_PROPERTY_OVERRIDES += \
vidc.enc.target_support_bframe=1 \
vendor.vidc.enc.disable_bframes=1 \
vendor.vidc.dec.enable.downscalar=1
# enable PQ feature by default
PRODUCT_PROPERTY_OVERRIDES += \
vendor.vidc.enc.disable.pq=false
#system props for time-services
PRODUCT_PROPERTY_OVERRIDES += \
persist.timed.enable=true \
persist.delta_time.enable=true
#force disable Bluetooth AAC by default
PRODUCT_PROPERTY_OVERRIDES += \
persist.bt.a2dp.aac_disable=true
# ad
PRODUCT_PROPERTY_OVERRIDES += \
ro.qcom.ad=1 \
ro.qcom.ad.calib.data=/system/etc/calib.cfg \
ro.qcom.ad.sensortype=2
#system prop for wipower support
PRODUCT_PROPERTY_OVERRIDES += \
ro.bluetooth.emb_wp_mode=true \
ro.bluetooth.wipower=true
#
# system property determining camera HAL to be used for a Video call
#
# 1 is camera1
# 2 or anything else is camera2
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.VT_CAM_INTERFACE=2
#Enable stm-events
PRODUCT_PROPERTY_OVERRIDES += \
persist.debug.coresight.config=stm-events
#Bringup properties
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.atfwd.start=true
#set maximum supported adapter voltage
PRODUCT_PROPERTY_OVERRIDES += \
persist.chg.max_volt_mv=9000
#add for dirac algo tsx 9/12
PRODUCT_PROPERTY_OVERRIDES += \
persist.dirac.acs.controller=qem \
persist.dirac.acs.storeSettings=1 \
persist.dirac.acs.ignore_error=1
#Property to enable display default color mode
PRODUCT_PROPERTY_OVERRIDES += \
vendor.display.enable_default_color_mode=0
#Disable Skip Validate
PRODUCT_PROPERTY_OVERRIDES += \
sdm.debug.disable_skip_validate=1 \
debug.sf.recomputecrop=0
#iwaln vowifi corresponding
PRODUCT_PROPERTY_OVERRIDES += \
persist.data.iwlan.enable=true
#system property determining camera to be used for a Video call
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.qti.telephony.vt_cam_interface=1
#enable snapshot
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.radio.snapshot_enabled=1 \
persist.vendor.radio.snapshot_timer=5
#Ignore the wrong IWLAN report when UE in W/G mode.
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.data_con_rprt=1