-
Notifications
You must be signed in to change notification settings - Fork 0
/
product_prop.mk
49 lines (41 loc) · 1.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
# Blur
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.sf.disable_blurs=1 \
ro.surface_flinger.supports_background_blur=1
# Always use GPU for screen compositing
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.disable_hwc_overlays=1
# Dex2oat
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat64.enabled=true
# DRM
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# Graphics
PRODUCT_PRODUCT_PROPERTIES += \
debug.hwui.renderer=skiagl \
ro.surface_flinger.max_frame_buffer_acquired_buffers=3 \
debug.sf.latch_unsignaled=1 \
ro.surface_flinger.has_wide_color_display=false \
ro.hardware.egl=adreno \
ro.hardware.vulkan=adreno
# Media
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.media_vol_steps=25 \
ro.config.vc_call_vol_steps=11 \
vendor.audio.offload.buffer.size.kb=256
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.media_vol_default=10 \
ro.config.media_vol_steps=15 \
ro.config.vc_call_vol_steps=6
# Power-saving props
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.use_data_netmgrd=true \
ro.vold.umsdirtyratio=20 \
ro.ril.disable.power.collapse=0 \
power.saving.mode=1 \
pm.sleep_mode=1
# Disable Rescue Party
PRODUCT_PRODUCT_PROPERTIES += \
persist.sys.disable_rescue=true \
persist.device_config.configuration.disable_rescue_party=true