-
Notifications
You must be signed in to change notification settings - Fork 8
/
system_prop.mk
87 lines (71 loc) · 2.06 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
#
# system.prop for v1awifi
#
# Memory Optimizations
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.qti.am.reschedule_service=true \
ro.vendor.qti.sys.fw.use_trim_settings=true \
ro.vendor.qti.sys.fw.trim_empty_percent=50 \
ro.vendor.qti.sys.fw.trim_cache_percent=100 \
ro.vendor.qti.sys.fw.empty_app_percent=25
# Dalvik/Art
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=8m \
dalvik.vm.heapgrowthlimit=192m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.75 \
dalvik.vm.heapminfree=512k \
dalvik.vm.heapmaxfree=8m
# Dex2oat optimizations
PRODUCT_PROPERTY_OVERRIDES += \
ro.sys.fw.dex2oat_thread_count=4
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat-filter=speed \
dalvik.vm.dex2oat-swap=false
# Legacy stagefright media
PRODUCT_PROPERTY_OVERRIDES += \
media.stagefright.legacyencoder=true \
media.stagefright.less-secure=true
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
camera.disable_treble=true
# Media
PRODUCT_PROPERTY_OVERRIDES += \
ro.sapa.jack.master=alsa \
ro.hdcp2.rx=tz \
persist.bluetooth.disableabsvol=true \
persist.media.treble_omx=false
# GPU producer to CPU consumer not supported
PRODUCT_PROPERTY_OVERRIDES += \
ro.bq.gpu_to_cpu_unsupported=1
# OpenGL
PRODUCT_PROPERTY_OVERRIDES += \
debug.hwui.use_buffer_age=false
# Graphics
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=196609 \
debug.hwc.skip_dma_types=0,2 \
debug.hwc.force_gpu=1 \
debug.sf.enable_hwc_vds=1 \
debug.sf.latch_unsignaled=1
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=320 \
lockscreen.rot_override=true
# Disable more Codec2.0 components
PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.ccodec=0
# Randomly from stock
PRODUCT_PROPERTY_OVERRIDES += \
ro.ril.gprsclass=10 \
ro.ril.hsxpa=1 \
ro.sec.fle.encryption=true \
ro.secwvk=220
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.media_vol_steps=30
# sdcardfs
PRODUCT_PROPERTY_OVERRIDES += \
ro.sys.sdcardfs=true
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
ro.radio.noril=yes