-
Notifications
You must be signed in to change notification settings - Fork 1
/
device_prop.mk
93 lines (84 loc) · 2.83 KB
/
device_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
#
# Copyright (C) 2018 The Xiaomi-SDM660 Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This file sets variables that control the way modules are built
# thorughout the system. It should not be used to conditionally
# disable makefiles (the proper mechanism to control what gets
# included in a build is to use PRODUCT_PACKAGES in a product
# definition file).
#
# Adaptive Display
PRODUCT_PROPERTY_OVERRIDES += \
ro.qcom.ad=1 \
ro.qcom.ad.calib.data=/system/etc/calib.cfg \
ro.qcom.ad.sensortype=2
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.voicerec=false \
persist.vendor.audio.fluence.speaker=true \
vendor.audio.adm.buffering.ms=6 \
vendor.audio.offload.track.enable=false
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.bokeh.switch.lux=290 \
persist.camera.auxswitch.threshold=330 \
persist.camera.imglib.usefdlite=1 \
persist.camera.depth.focus.cb=0 \
persist.camera.expose.aux=1 \
persist.camera.isp.clock.optmz=0 \
persist.camera.isp.turbo=1 \
persist.camera.linkpreview=0 \
persist.camera.mainswitch.threshold=419 \
persist.camera.set.afd=4 \
persist.camera.stats.test=0 \
persist.flash.low.lux=390 \
persist.flash.light.lux=340 \
persist.imx376_sunny.low.lux=310 \
persist.imx376_sunny.light.lux=280 \
persist.imx376_ofilm.low.lux=310 \
persist.imx376_ofilm.light.lux=280 \
persist.sys.exif.make=Xiaomi \
persist.sys.exif.model=MI 6X \
persist.radio.VT_CAM_INTERFACE=2 \
ro.eyecare.brightness.threshold=3 \
ro.eyecare.brightness.level=8 \
ro.hist.brightness.threshold=5 \
persist.vendor.camera.multicam.hwsync=TRUE \
persist.vendor.camera.multicam.fpsmatch=TRUE \
persist.vendor.camera.multicam.framesync=1 \
persist.vendor.camera.enableAdvanceFeatures=0x347
# Dual SIM
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.multisim.config=dsds
# Media
PRODUCT_PROPERTY_OVERRIDES += \
vendor.mm.enable.qcom_parser=13631471
# Paper mode
PRODUCT_PROPERTY_OVERRIDES += \
sys.jdi_nt36672_offset=9 \
sys.jdi_nt36672_length=45 \
sys.paper_mode_max_level=32 \
sys.tianma_nt36672_offset=12 \
sys.tianma_nt36672_length=46
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.iwlan.enable=true \
persist.vendor.radio.data_con_rprt=1
# Vibration
PRODUCT_PROPERTY_OVERRIDES += \
sys.haptic.down.normal=5,15 \
sys.haptic.down.strong=0,20 \
sys.haptic.down.weak=9,11