-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsystem_prop.mk
84 lines (72 loc) · 2.28 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
#
# System Properties for Oppo MSM8939
#
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
qcom.bluetooth.soc=smd \
ro.bluetooth.hfp.ver=1.7 \
ro.qualcomm.bt.hci_transport=smd
PRODUCT_PROPERTY_OVERRIDES += \
ro.bluetooth.dun=true \
ro.bluetooth.sap=true \
ro.qualcomm.bluetooth.ftp=true \
ro.qualcomm.bluetooth.hfp=true \
ro.qualcomm.bluetooth.hsp=true \
ro.qualcomm.bluetooth.map=true \
ro.qualcomm.bluetooth.nap=true \
ro.qualcomm.bluetooth.opp=true \
ro.qualcomm.bluetooth.pbap=true
# Display
#
# OpenGLES:
# 196609 is decimal for 0x30001 to report major/minor versions as 3/1
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=196609 \
persist.hwc.mdpcomp.enable=true \
debug.composition.type=c2d \
debug.sf.gpu_comp_tiling=1 \
sys.hwc.gpu_perf_mode=1
PRODUCT_PROPERTY_OVERRIDES += \
ro.qc.sdk.audio.ssr=false \
ro.qc.sdk.audio.fluencetype=fluence \
persist.audio.fluence.voicecall=true \
persist.audio.fluence.voicerec=true \
persist.audio.fluence.speaker=false \
tunnel.audio.encode=false \
audio.deep_buffer.media=true \
audio.offload.buffer.size.kb=64 \
audio.offload.min.duration.secs=30 \
av.offload.enable=true \
use.voice.path.for.pcm.voip=true \
audio.offload.gapless.enabled=true \
voice.playback.conc.disabled=true \
voice.record.conc.disabled=true \
voice.voip.conc.disabled=true
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
media.stagefright.legacyencoder=true \
media.stagefright.less-secure=true \
persist.camera.cpp.duplication=false
# Reduce client buffer size for fast audio output tracks
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1
# Low latency audio buffer size in frames
PRODUCT_PROPERTY_OVERRIDES += \
audio_hal.period_size=192
# RIL
PRODUCT_PROPERTY_OVERRIDES += \
ro.telephony.call_ring.multiple=false \
persist.radio.force_on_dc=true \
persist.radio.apm_sim_not_pwdn=1 \
persist.radio.sib16_support=1
# WIFI
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0
# QC vendor extension
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# Disable QMI logspam
PRODUCT_PROPERTY_OVERRIDES += \
persist.data.qmi.adb_logmask=0