-
Notifications
You must be signed in to change notification settings - Fork 3
/
vendor_prop.mk
144 lines (124 loc) · 4.28 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
PRODUCT_PROPERTY_OVERRIDES += \
lockscreen.rot_override=true
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1 \
audio.deep_buffer.media=true \
audio.offload.min.duration.secs=30 \
audio.offload.video=false \
persist.vendor.audio.fluence.speaker=false \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.voicerec=false \
persist.vendor.audio.hw.binder.size_kbyte=1024 \
ro.af.client_heap_size_kbyte=7168 \
ro.vendor.audio.sdk.fluencetype=fluence \
vendor.audio_hal.period_size=192 \
vendor.audio.hw.aac.encoder=true \
vendor.audio.offload.buffer.size.kb=64 \
vendor.audio.offload.gapless.enabled=true \
vendor.audio.offload.multiaac.enable=true \
vendor.audio.offload.multiple.enabled=false \
vendor.audio.offload.passthrough=false \
vendor.audio.offload.track.enable=true \
vendor.audio.parser.ip.buffer.size=262144 \
vendor.audio.playback.mch.downsample=true \
vendor.audio.safx.pbe.enabled=true \
vendor.voice.path.for.pcm.voip=true
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
vendor.bluetooth.soc=smd \
vendor.qcom.bluetooth.soc=smd
#Blur
PRODUCT_PRODUCT_PROPERTIES += \
ro.sf.blurs_are_expensive=1 \
ro.surface_flinger.supports_background_blur=1 \
debug.sf.disable_backpressure=1 \
persist.sys.sf.disable_blurs=1
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.display.umax=1920x1080 \
persist.vendor.camera.display.lmax=1280x720 \
camera.lowpower.record.enable=1 \
vidc.enc.dcvs.extra-buff-count=2 \
persist.camera.gyro.disable=1
# CNE
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.cne.feature=1
# Display
PRODUCT_PROPERTY_OVERRIDES += \
debug.gralloc.enable_fb_ubwc=1 \
debug.sf.enable_hwc_vds=1 \
setprop vendor.opengles.version=196608 \
setprop persist.graphics.vulkan.disable=true \
ro.vendor.display.cabl=0 \
ro.sf.lcd_density=213 \
ro.sf.hwc_set_default_colormode=true
# DRM
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=1
# Factory reset protection
PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst=/dev/block/platform/soc/7824900.sdhci/by-name/config
# GPS
PRODUCT_PROPERTY_OVERRIDES += \
ro.gps.agps_provider=1
# Graphics
PRODUCT_PROPERTY_OVERRIDES += \
debug.egl.hw=0 \
debug.hwui.use_buffer_age=false \
vendor.gralloc.enable_fb_ubwc=1 \
debug.sf.hw=0 \
debug.sf.latch_unsignaled=1 \
debug.sf.recomputecrop=0 \
dev.pm.dyn_samplingrate=1 \
persist.demo.hdmirotationlock=false \
persist.hwc.enable_vds=1 \
persist.sys.wfd.virtual=0 \
sdm.debug.disable_rotator_split=1 \
vendor.display.disable_skip_validate=1 \
sdm.perf_hint_window=50
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true \
ro.surface_flinger.max_frame_buffer_acquired_buffers=3 \
ro.surface_flinger.max_virtual_display_dimension=4096 \
ro.surface_flinger.use_color_management=true
# Media
PRODUCT_PROPERTY_OVERRIDES += \
media.stagefright.audio.sink=280 \
media.stagefright.thumbnail.prefer_hw_codecs=true \
vendor.vidc.dec.downscalar_width=1920 \
vendor.vidc.dec.downscalar_height=1088 \
vendor.vidc.disable.split.mode=1 \
vendor.vidc.enc.disable_bframes=1 \
vendor.vidc.enc.disable_pframes=1 \
vendor.vidc.enc.disable.pq=true \
vendor.vidc.enc.narrow.searchrange=1 \
vendor.video.disable.ubwc=1
# Memory optimizations
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.qti.sys.fw.bservice_enable=true
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
vendor.rild.libpath=/vendor/lib64/libril-qc-qmi-1.so \
persist.radio.apm_sim_not_pwdn=1 \
persist.radio.multisim.config=dsds \
ro.telephony.call_ring.multiple=false \
persist.vendor.radio.custom_ecc=1 \
persist.vendor.radio.rat_on=combine \
persist.vendor.radio.sib16_support=1 \
persist.vendor.data.mode=concurrent
# Time services
PRODUCT_PROPERTY_OVERRIDES += \
persist.delta_time.enable=true
# Time services
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.delta_time.enable=true
# Usb
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.usb.config.extra=none
# WiFi
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0