This repository has been archived by the owner on Apr 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
device_prop.mk
95 lines (89 loc) · 3.42 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
94
95
#
# 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.sensortype=2
# 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.vendor.bokeh.switch.lux=290 \
persist.vendor.camera.auxswitch.threshold=330 \
persist.vendor.camera.awb.sync=2 \
persist.vendor.camera.depth.focus.cb=0 \
persist.vendor.camera.display.lmax=1280x720 \
persist.vendor.camera.display.umax=1920x1080 \
persist.vendor.camera.enableAdvanceFeatures=0x347 \
persist.vendor.camera.exif.make=Xiaomi \
persist.vendor.camera.expose.aux=1 \
persist.vendor.camera.fdvideo=1 \
persist.vendor.camera.imglib.usefdlite=1 \
persist.vendor.camera.isp.clock.optmz=0 \
persist.vendor.camera.isp.turbo=1 \
persist.vendor.camera.linkpreview=0 \
persist.vendor.camera.mfnrframenum=8 \
persist.vendor.camera.mainswitch.threshold=419 \
persist.vendor.camera.multicam=TRUE \
persist.vendor.camera.multicam.hwsync=TRUE \
persist.vendor.camera.multicam.fpsmatch=TRUE \
persist.vendor.camera.multicam.framesync=1 \
persist.vendor.camera.preview.ubwc=0 \
persist.vendor.camera.stats.test=0 \
persist.vendor.imx376_sunny.low.lux=290 \
persist.vendor.imx376_sunny.light.lux= 275 \
persist.vendor.imx376_ofilm.low.lux=290 \
persist.vendor.imx376_ofilm.light.lux=275 \
persist.vendor.ov13855_sunny.low.lux=385 \
persist.vendor.ov13855_sunny.light.lux=370 \
persist.vendor.s5k3l8_ofilm.low.lux=379 \
persist.vendor.s5k3l8_ofilm.light.lux=367 \
ro.eyecare.brightness.threshold=3 \
ro.eyecare.brightness.level=8 \
ro.hist.brightness.threshold=5 \
vidc.enc.dcvs.extra-buff-count=2 \
# Dual SIM
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.multisim.config=dsds
# DPI
PRODUCT_PROPERTY_OVERRIDES += \
vendor.display.lcd_density=480
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.iwlan.enable=true \
persist.vendor.radio.data_con_rprt=1