-
Notifications
You must be signed in to change notification settings - Fork 2
/
props.mk
127 lines (106 loc) · 3.59 KB
/
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
124
125
126
127
# ART
PRODUCT_PRODUCT_PROPERTIES += \
dalvik.vm.dex2oat-filter=speed-profile \
dalvik.vm.image-dex2oat-filter=speed-profile
# Bluetooth
PRODUCT_PRODUCT_PROPERTIES += \
persist.bt.enableAptXHD=true \
persist.vendor.bt.a2dp.aac_whitelist=false \
persist.vendor.btstack.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aptxadaptive-aac-ldac \
persist.vendor.btstack.enable.splita2dp=true \
persist.vendor.btstack.enable.twsplus=true \
persist.vendor.btstack.enable.twsplussho=true \
persist.service.btui.use_aptx=1 \
ro.bluetooth.library_name=libbluetooth_qti.so \
vendor.bluetooth.soc=cherokee
# Charger
PRODUCT_PRODUCT_PROPERTIES += \
ro.charger.enable_suspend=true
# CPU
PRODUCT_PRODUCT_PROPERTIES += \
ro.bionic.cpu_variant=cortex-a73 \
ro.bionic.2nd_cpu_variant=cortex-a73 \
dalvik.vm.isa.arm64.variant=cortex-a73 \
dalvik.vm.isa.arm.variant=cortex-a73
# Dex2oat
PRODUCT_PRODUCT_PROPERTIES += \
dalvik.vm.dex2oat64.enabled=true
# Disable Rescue Party
PRODUCT_PRODUCT_PROPERTIES += \
persist.sys.disable_rescue=true \
persist.device_config.configuration.disable_rescue_party=true
# DRM
PRODUCT_PRODUCT_PROPERTIES += \
drm.service.enabled=true
# FUSE Passthrough
PRODUCT_PRODUCT_PROPERTIES += \
persist.sys.fuse.passthrough.enable=true
# Graphics
PRODUCT_PRODUCT_PROPERTIES += \
ro.surface_flinger.max_virtual_display_dimension=4096 \
debug.cpurend.vsync=false \
vendor.display.disable_offline_rotator=1 \
debug.sf.latch_unsignaled=1 \
vendor.display.disable_rotator_downscale=1 \
debug.renderengine.backend=skiaglthreaded \
debug.hwui.renderer=skiagl \
renderthread.skia.reduceopstasksplitting=true \
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
# GO
PRODUCT_PRODUCT_PROPERTIES +=
ro.config.low_ram=false \
ro.lmk.kill_heaviest_task=false \
ro.lmk.kill_timeout_ms= \
ro.lmk.log_stats=false \
ro.lmk.use_minfree_levels=false
# IMS
PRODUCT_PRODUCT_PROPERTIES += \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1 \
persist.dbg.wfc_avail_ovr=1
# IORap
PRODUCT_PRODUCT_PROPERTIES += \
ro.iorapd.enable=true \
iorapd.perfetto.enable=true \
iorapd.readahead.enable=true \
persist.device_config.runtime_native_boot.iorap_perfetto_enable=true \
persist.device_config.runtime_native_boot.iorap_readahead_enable=true
# Kill off IMS logspam with fire
PRODUCT_PRODUCT_PROPERTIES += \
persist.vendor.ims.disableADBLogs=1 \
persist.vendor.ims.disableDebugLogs=1 \
persist.vendor.ims.disableIMSLogs=1 \
persist.vendor.ims.disableQXDMLogs=1
# Media
PRODUCT_PRODUCT_PROPERTIES += \
vendor.audio.offload.buffer.size.kb=256
# Netflix custom property
PRODUCT_PRODUCT_PROPERTIES += \
ro.netflix.bsp_rev=Q6115-31409-1
# RCS
PRODUCT_PRODUCT_PROPERTIES += \
persist.rcs.supported=1
# Shutdown
PRODUCT_PRODUCT_PROPERTIES += \
ro.build.shutdown_timeout=2
# System
PRODUCT_PRODUCT_PROPERTIES += \
tombstoned.max_tombstone_count=50 \
persist.sys.binary_xml=false
# Transcoding related property.
PRODUCT_PRODUCT_PROPERTIES += \
debug.media.transcoding.codec_max_operating_rate_720P=60 \
debug.media.transcoding.codec_max_operating_rate_1080P=60
# WFD
PRODUCT_PRODUCT_PROPERTIES += \
debug.sf.enable_hwc_vds=1 \
media.wfd.max_resolution=6 \
persist.debug.wfd.enable=1
# ZRAM
PRODUCT_PRODUCT_PROPERTIES += \
ro.zram.mark_idle_delay_mins=60 \
ro.zram.first_wb_delay_mins=1440 \
ro.zram.periodic_wb_delay_hours=24
# Zygote preforking
PRODUCT_PRODUCT_PROPERTIES += \
persist.device_config.runtime_native.usap_pool_enabled=true