-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsystem_prop.mk
135 lines (115 loc) · 3.64 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# Art
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat-flags=--no-watch-dog
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
audio.offload.buffer.size.kb=64 \
audio.offload.gapless.enabled=true \
audio.offload.min.duration.secs=30 \
tunnel.audio.encode=false \
av.offload.enable=false \
use.voice.path.for.pcm.voip=true \
persist.audio.calfile0=/etc/acdbdata/Bluetooth_cal.acdb \
persist.audio.calfile1=/etc/acdbdata/General_cal.acdb \
persist.audio.calfile2=/etc/acdbdata/Global_cal.acdb \
persist.audio.calfile3=/etc/acdbdata/Handset_cal.acdb \
persist.audio.calfile4=/etc/acdbdata/Hdmi_cal.acdb \
persist.audio.calfile5=/etc/acdbdata/Headset_cal.acdb \
persist.audio.calfile6=/etc/acdbdata/Speaker_cal.acdb
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.media.treble_omx=false \
camera2.portability.force_api=1 \
media.stagefright.legacyencoder=true \
media.stagefright.less-secure=true
# CNE
PRODUCT_PROPERTY_OVERRIDES += \
persist.cne.feature=1
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
qcom.bluetooth.soc=smd \
bluetooth.hfp.client=1
# Display
PRODUCT_PROPERTY_OVERRIDES += \
debug.enable.sglscale=1 \
persist.hwc.mdpcomp.enable=true \
ro.opengles.version=196610 \
ro.qualcomm.cabl=2 \
debug.hwui.use_buffer_age=false
# DPM
PRODUCT_PROPERTY_OVERRIDES += \
persist.dpm.feature=3
# GPS
PRODUCT_PROPERTY_OVERRIDES += \
persist.gps.qc_nlp_in_use=1 \
persist.loc.nlp_name=com.qualcomm.services.location \
ro.gps.agps_provider=1 \
ro.qc.sdk.izat.premium_enabled=0 \
ro.qc.sdk.izat.service_mask=0x0
# Media
PRODUCT_PROPERTY_OVERRIDES += \
mm.enable.qcom_parser=3183219 \
mm.enable.smoothstreaming=true \
media.aac_51_output_enabled=true
# NITZ
PRODUCT_PROPERTY_OVERRIDES += \
persist.rild.nitz_plmn="" \
persist.rild.nitz_long_ons_0="" \
persist.rild.nitz_long_ons_1="" \
persist.rild.nitz_long_ons_2="" \
persist.rild.nitz_long_ons_3="" \
persist.rild.nitz_short_ons_0="" \
persist.rild.nitz_short_ons_1="" \
persist.rild.nitz_short_ons_2="" \
persist.rild.nitz_short_ons_3=""
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.min_freq_0=800000 \
ro.vendor.extension_library=libqti-perfd-client.so
# QMI
PRODUCT_PROPERTY_OVERRIDES += \
persist.data.netmgrd.qos.enable=false \
persist.data.qmi.adb_logmask=0 \
persist.qcril.disable_retry=true \
rild.libpath=/vendor/lib/libril-qc-qmi-1.so \
ro.use_data_netmgrd=true
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
persist.data.netmgrd.qos.enable=false \
persist.radio.apm_sim_not_pwdn=1 \
ro.use_data_netmgrd=true \
rild.libpath=/vendor/lib/libril-qc-qmi-1.so \
telephony.lteOnGsmDevice=1 \
DEVICE_PROVISIONED=1 \
rild.libargs=-d/dev/smd0 \
ril.subscription.types=NV,RUIM \
ro.telephony.default_network=9
# Set max background services
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.max_starting_bg=8
# Time
PRODUCT_PROPERTY_OVERRIDES += \
persist.timed.enable=true
PRODUCT_PROPERTY_OVERRIDES += \
debug.qualcomm.sns.hal=1 \
debug.qualcomm.sns.daemon=1 \
debug.qualcomm.sns.libsensor1=1 \
persist.debug.sensors.hal=1 \
persist.debug.ar.hal=1
# Properties
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=1 \
vidc.enc.narrow.searchrange=1
# WiFi Display
# PRODUCT_PROPERTY_OVERRIDES += \
# persist.debug.wfd.enable=1 \
# persist.sys.wfd.virtual=0
#SDCard
PRODUCT_PROPERTY_OVERRIDES += \
ro.sys.sdcardfs=false
# Settings properties
PRODUCT_PROPERTY_OVERRIDES += \
ro.settings.doze.hide.preference=true
# HWADDRS
PRODUCT_PROPERTY_OVERRIDES += \
ro.bt.bdaddr_path="/data/misc/bluetooth/bdaddr"