-
Notifications
You must be signed in to change notification settings - Fork 0
/
device-props.mk
123 lines (116 loc) · 4.2 KB
/
device-props.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
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.camera.cfa.thres.front=0 \
persist.camera.cfa.thres.rear=200 \
persist.camera.sat.fallback.dist=28 \
persist.camera.sat.fallback.dist.d=5 \
persist.camera.sat.fallback.luxindex=230 \
persist.camera.sat.fallback.lux.d=50 \
persist.vendor.camera.multicam.hwsync=TRUE \
persist.vendor.camera.multicam.fpsmatch=TRUE \
persist.vendor.camera.enableAdvanceFeatures=0x3E7 \
persist.vendor.camera.multicam.framesync=1 \
persist.vendor.camera.multicam=TRUE
# IMS
PRODUCT_PROPERTY_OVERRIDES += \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1 \
persist.dbg.ims_volte_enable=1 \
persist.radio.aosp_usr_pref_sel=true \
persist.vendor.radio.rat_on=combine \
persist.vendor.radio.data_ltd_sys_ind=1 \
persist.vendor.radio.data_con_rprt=1 \
persist.radio.calls.on.ims=1 \
persist.dbg.wfc_avail_ovr=1 \
persist.vendor.ims.disableUserAgent=0
# Disable sensors debug
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.debug.sensors.hal=0
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.qc.sdk.audio.ssr=false \
ro.qc.sdk.audio.fluencetype=none \
persist.audio.fluence.voicecall=true \
persist.audio.fluence.voicerec=false \
persist.audio.fluence.speaker=true \
use.voice.path.for.pcm.voip=true \
tunnel.audio.encode=true
# Display
PRODUCT_PROPERTY_OVERRIDES += \
ro.display.type=oled \
persist.debug.force_burn_in=true \
vendor.livedisplay.enable_sdm_dm=true \
ro.hardware.vulkan=adreno \
ro.hardware.egl=adreno
# Surfaceflinger
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.early_phase_offset_ns=1500000 \
debug.sf.early_app_phase_offset_ns=1500000 \
debug.sf.early_gl_phase_offset_ns=3000000 \
debug.sf.early_gl_app_phase_offset_ns=15000000 \
debug.sf.enable_gl_backpressure=1 \
ro.surface_flinger.use_smart_90_for_video=true \
ro.surface_flinger.wcg_composition_dataspace=143261696 \
ro.surface_flinger.has_wide_color_display=true \
ro.surface_flinger.use_color_management=true \
ro.surface_flinger.has_HDR_display=true \
ro.surface_flinger.protected_contents=true \
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
# ro.surface_flinger.vsync_event_phase_offset_ns=2000000 \
# ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000 \
PRODUCT_PROPERTY_OVERRIDES += \
vendor.power.pasr.enabled=true \
vendor.gatekeeper.disable_spu=true \
persist.sys.sf.native_mode=true
# Bunch of props from MIUI need to review
PRODUCT_PROPERTY_OVERRIDES += \
ro.colorpick_adjust=true \
ro.malloc.impl=jemalloc \
persist.displayfeature.dc_backlight.threshold=610 \
persist.displayfeature.dc_backlight.enable=false \
persist.fod.modified.dc_status=false \
sdm.debug.disable_inline_rotator=1 \
sdm.debug.disable_inline_rotator_secure=1 \
vendor.perf.gestureflingboost.enable=true \
sys.displayfeature_hidl=true \
sys.displayfeature.hbm.enable=true \
vendor.display.enable_default_color_mode=1 \
ro.vendor.qti.sys.fw.bservice_limit=5 \
ro.vendor.qti.sys.fw.bservice_age=5000 \
ro.cutoff_voltage_mv=3400 \
persist.chg.max_volt_mv=9000 \
sdm.drop_skewed_vsync=1 \
persist.sys.force_sw_gles=1 \
ro.kernel.qemu.gles=0 \
persist.debug.coresight.config=stm-events \
config.disable_rtt=true \
ro.nfc.port=I2C \
audio.offload.gapless.enabled=true \
sys.qca1530=detect \
audio.offload.buffer.size.kb=32 \
av.offload.enable=true \
persist.fuse_sdcard=true \
ro.bluetooth.emb_wp_mode=false \
ro.bluetooth.wipower=false \
ro.wlan.vendor=qcom \
ro.wlan.chip=39xx \
ro.wlan.mimo=1 \
media.stagefright.enable-player=true \
media.stagefright.enable-http=true \
media.stagefright.enable-aac=true \
media.stagefright.enable-qcp=true \
media.stagefright.enable-fma2dp=true \
media.stagefright.enable-scan=true \
mmp.enable.3g2=true \
media.aac_51_output_enabled=true \
mm.enable.smoothstreaming=true \
vendor.mm.enable.qcom_parser=13631487 \
persist.mm.enable.prefetch=true \
qcom.hw.aac.encoder=true \
persist.radio.VT_CAM_INTERFACE=1 \
dev.pm.dyn_samplingrate=1 \
persist.sys.strictmode.disable=true \
persist.radio.dynamic_sar=false \
persist.radio.NO_STAPA=1 \
persist.radio.VT_HYBRID_ENABLE=1 \
persist.radio.modem_dynamic_sar_state=close