-
Notifications
You must be signed in to change notification settings - Fork 8
/
system_prop.mk
91 lines (79 loc) · 2.78 KB
/
system_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
# Camera
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
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
# Dex2oat
PRODUCT_SYSTEM_DEFAULT_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
# GBoard
PRODUCT_PROPERTY_OVERRIDES += \
ro.com.google.ime.kb_pad_port_b=1
# IMS
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1 \
persist.dbg.wfc_avail_ovr=1
# Iorap
PRODUCT_PROPERTY_OVERRIDES += \
iorapd.perfetto.enable=true \
iorapd.readahead.enable=true
ro.iorapd.enable=true
# Memory Management
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.fha_enable=true \
ro.sys.fw.bg_apps_limit=32 \
ro.config.dha_cached_max=16 \
ro.config.dha_empty_max=42 \
ro.config.dha_empty_init=32 \
ro.config.dha_lmk_scale=0.545 \
ro.config.dha_th_rate=2.3 \
ro.config.sdha_apps_bg_max=64 \
ro.config.sdha_apps_bg_min=8
# NFC
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.sys.nfc.disPowerSave=1 \
persist.sys.nfc.default=on \
persist.sys.nfc.aid_overflow=true \
ro.product.cuptsm=OPPO|ESE|01|02 \
persist.sys.nfc.antenna_area=bottom
# OMX
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
debug.stagefright.omx_default_rank.sw-audio=1 \
debug.stagefright.omx_default_rank=0 \
debug.stagefright.ccodec=0
# Performance
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.mtk_perf_simple_start_win=1 \
ro.mtk_perf_fast_start_win=1 \
ro.mtk_perf_response_time=1
# Surfaceflinger
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
debug.sf.disable_hwc_vds=1 \
debug.sf.latch_unsignaled=1 \
debug.cpurend.vsync=false \
ro.surface_flinger.has_HDR_display=true \
ro.surface_flinger.has_wide_color_display=true \
ro.surface_flinger.max_frame_buffer_acquired_buffers=3 \
ro.surface_flinger.running_without_sync_framework=true \
ro.surface_flinger.vsync_event_phase_offset_ns=2000000 \
ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000
# ZRAM
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.zram.mark_idle_delay_mins=60 \
ro.zram.first_wb_delay_mins=1440 \
ro.zram.periodic_wb_delay_hours=24
# Blur
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.surface_flinger.supports_background_blur=1 \
ro.sf.blurs_are_expensive=1
# Priv-app permission
PRODUCT_PRODUCT_PROPERTIES += \
ro.control_privapp_permissions=log