forked from dotOS-Devices/device_xiaomi_sweet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduct_prop.mk
55 lines (47 loc) · 1.6 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
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,org.lineageos.snap,com.android.camera2 \
media.settings.xml=/vendor/etc/media_profiles_vendor.xml
#DPI
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=440
# Graphics
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.disable_backpressure=1 \
debug.sf.enable_hwc_vds=1 \
ro.surface_flinger.max_frame_buffer_acquired_buffers=3 \
vendor.display.disable_metadata_dynamic_fps=1
# LMKD
PRODUCT_PRODUCT_PROPERTIES += \
ro.config.low_ram=false \
ro.lmk.log_stats=true
# Audio
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.a2dp_offload.supported=false \
persist.bluetooth.a2dp_offload.disabled=true \
persist.bluetooth.bluetooth_audio_hal.disabled=true \
persist.vendor.qcom.bluetooth.enable.splita2d=false \
vendor.audio.feature.a2dp_offload.enable = false
# Media
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.media_vol_default=10 \
ro.config.media_vol_steps=15 \
ro.config.vc_call_vol_default=7 \
ro.config.vc_call_vol_steps=11
# Priv-app permission
PRODUCT_PRODUCT_PROPERTIES += \
ro.control_privapp_permissions=log
# RIL
PRODUCT_PROPERTY_OVERRIDES += \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1 \
persist.dbg.wfc_avail_ovr=1 \
persist.vendor.radio.enable_temp_dds=true \
persist.vendor.radio.report_codec=1 \
persist.vendor.ims.disableADBLogs=1 \
persist.vendor.ims.disableDebugLogs=1 \
persist.vendor.ims.disableIMSLogs=1 \
persist.vendor.ims.disableQXDMLogs=1
# SurfaceFlinger brightness tweak
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.force_light_brightness=1