This repository has been archived by the owner on Nov 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
product_prop.mk
122 lines (102 loc) · 3.3 KB
/
product_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
# Adb
ifeq ($(TARGET_BUILD_VARIANT),eng)
# /vendor/default.prop is force-setting ro.adb.secure=1
# Get rid of that by overriding it on eng builds
PRODUCT_PRODUCT_PROPERTIES += \
ro.secure=0 \
ro.adb.secure=0
endif
# Audio
PRODUCT_PRODUCT_PROPERTIES += \
ro.config.vc_call_vol_steps=7 \
ro.config.media_vol_steps=25
# Bluetooth
PRODUCT_PRODUCT_PROPERTIES += \
vendor.bluetooth.soc=cherokee
# Blurs
PRODUCT_PRODUCT_PROPERTIES += \
ro.surface_flinger.supports_background_blur=1 \
persist.sys.sf.disable_blurs=1
# Camera
PRODUCT_PRODUCT_PROPERTIES += \
persist.camera.HAL3.enabled=1 \
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.google.camera \
vendor.camera.aux.packageblacklist=org.telegram.messenger,com.microsoft.teams,com.discord
# Charger
PRODUCT_PRODUCT_PROPERTIES += \
ro.charger.enable_suspend=true
# CNE
PRODUCT_PRODUCT_PROPERTIES += \
persist.vendor.cne.feature=1
# Data Modules
PRODUCT_PRODUCT_PROPERTIES += \
persist.vendor.data.mode=concurrent
# Display
PRODUCT_PRODUCT_PROPERTIES += \
ro.sf.lcd_density=440
# Dex2oat
PRODUCT_PRODUCT_PROPERTIES += \
dalvik.vm.dex2oat64.enabled=true \
dalvik.vm.image-dex2oat-filter=quicken \
dalvik.vm.image-dex2oat-threads=8 \
dalvik.vm.image-dex2oat-cpu-set=0,1,2,3,4,5,6,7 \
dalvik.vm.dex2oat-filter=quicken \
dalvik.vm.dex2oat-threads=8 \
dalvik.vm.dex2oat-cpu-set=0,1,2,3,4,5,6,7 \
dalvik.vm.boot-dex2oat-threads=8 \
dalvik.vm.boot-dex2oat-cpu-set=0,1,2,3,4,5,6,7
# FM
PRODUCT_PRODUCT_PROPERTIES += \
ro.vendor.fm.use_audio_session=true
# Fwk detect
PRODUCT_PRODUCT_PROPERTIES += \
ro.vendor.qti.va_aosp.support=1
# Graphics
PRODUCT_PRODUCT_PROPERTIES += \
debug.sf.enable_hwc_vds=1 \
debug.sf.disable_backpressure=1 \
debug.sf.latch_unsignaled=1 \
debug.sf.use_phase_offsets_as_durations=1 \
debug.sf.late.sf.duration=10500000 \
debug.sf.late.app.duration=20500000 \
debug.sf.early.sf.duration=21000000 \
debug.sf.early.app.duration=16500000 \
debug.sf.earlyGl.sf.duration=13500000 \
debug.sf.earlyGl.app.duration=21000000 \
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
# LMKD
PRODUCT_PRODUCT_PROPERTIES += \
ro.config.low_ram=false \
ro.lmk.log_stats=true
# Media
PRODUCT_PRODUCT_PROPERTIES += \
media.settings.xml=/system/etc/media_profiles_vendor.xml
# Netflix
PRODUCT_PRODUCT_PROPERTIES += \
ro.netflix.bsp_rev=Q670-14477-1
# Privapp permissions whitelisting
PRODUCT_PRODUCT_PROPERTIES += \
ro.control_privapp_permissions=log
# RIL
PRODUCT_PRODUCT_PROPERTIES += \
ro.telephony.default_network=22,20 \
persist.radio.add_power_save=1 \
persist.vendor.radio.atfwd.start=false \
persist.vendor.radio.lte_vrte_ltd=1 \
persist.vendor.radio.cs_srv_type=1 \
persist.vendor.radio.rat_on=combine \
persist.vendor.radio.force_on_dc=true \
persist.vendor.radio.redir_party_num=1 \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1 \
persist.dbg.wfc_avail_ovr=1
# SSR
PRODUCT_PRODUCT_PROPERTIES += \
persist.vendor.ssr.enable_ramdumps=0 \
persist.vendor.ssr.restart_level=ALL_ENABLE
# WFD
PRODUCT_PRODUCT_PROPERTIES += \
persist.hwc.enable_vds=1
# Zygote
PRODUCT_PRODUCT_PROPERTIES += \
persist.device_config.runtime_native.usap_pool_enabled=true