-
Notifications
You must be signed in to change notification settings - Fork 8
/
system_prop.mk
131 lines (110 loc) · 3.3 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
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
ro.bt.bdaddr_path=/efs/bluetooth/bt_addr
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
camera2.portability.force_api=1
# Dalvik
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat-swap=false \
dalvik.vm.dex2oat-cpu-set=0,1,2,3 \
dalvik.vm.dex2oat-threads=4 \
dalvik.vm.dex2oat-filter=speed
# fastbootd
PRODUCT_PROPERTY_OVERRIDES += \
ro.fastbootd.available=true
# GPS
PRODUCT_PROPERTY_OVERRIDES += \
persist.gps.qc_nlp_in_use=1 \
ro.gps.agps_provider=1
# Graphics
PRODUCT_PROPERTY_OVERRIDES += \
debug.composition.type=c2d \
debug.hwui.use_buffer_age=false \
debug.sf.latch_unsignaled=1 \
ro.opengles.version=196608 \
debug.renderengine.backend=threaded \
debug.sf.hw=1 \
debug.mdpcomp.logs=0 \
debug.sf.disable_backpressure=1 \
ro.zygote.disable_gl_preload=true \
qemu.sf.lcd_density=400 \
debug.cpurend.vsync=false
# Media
PRODUCT_PROPERTY_OVERRIDES += \
audio.offload.disable=1 \
debug.stagefright.ccodec=0 \
persist.vendor.audio.fluence.speaker=true \
persist.vendor.audio.fluence.voicecall=true \
ro.vendor.audio.sdk.fluencetype=fluence \
vendor.dedicated.device.for.voip=true \
vendor.voice.path.for.pcm.voip=true
# Qualcomm Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so
# Recovery
PRODUCT_PROPERTY_OVERRIDES += \
ro.recovery.skip_ev_rel_input=true
# RIL
PRODUCT_PROPERTY_OVERRIDES += \
vendor.rild.libpath=/system/vendor/lib/libril-qc-qmi-1.so \
ro.com.android.mobiledata=false \
persist.radio.add_power_save=1 \
persist.radio.apm_sim_not_pwdn=1 \
persist.radio.no_wait_for_card=1 \
ro.telephony.iwlan_operation_mode=legacy
# Wifi
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0
# BPF
PRODUCT_PROPERTY_OVERRIDES += \
ro.kernel.ebpf.supported=false
# Charger
PRODUCT_PRODUCT_PROPERTIES += \
ro.charger.enable_suspend=true
# Dalvik
PRODUCT_PRODUCT_PROPERTIES += \
dalvik.vm.heapstartsize=8m \
dalvik.vm.heapgrowthlimit=128m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.75 \
dalvik.vm.heapminfree=2m \
dalvik.vm.heapmaxfree=8m
##### Optlos
# Volume
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.media_vol_steps=45
# unified RIL
PRODUCT_PROPERTY_OVERRIDES += \
persist.data.netmgrd.qos.enable=false \
persist.qcril.disable_retry=true \
persist.telephony.oosisdc=false \
ro.use_data_netmgrd=true \
ril.subscription.types=NV,RUIM
# Vendor security patch level
PRODUCT_PROPERTY_OVERRIDES += \
ro.lineage.build.vendor_security_patch=2017-08-01
# Debug
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.debuggable=1 \
persist.service.adb.enable=1 \
persist.sys.usb.config=adb \
service.adb.root=1
# VNDK
PRODUCT_PROPERTY_OVERRIDES += \
ro.vndk.version=current
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.binary_xml=false
# Zygote
PRODUCT_PROPERTY_OVERRIDES += \
persist.device_config.runtime_native.usap_pool_enabled=true
# tmp
# Dex
# PRODUCT_PROPERTY_OVERRIDES += \
# pm.dexopt.install=quicken \
# dalvik.vm.dex2oat-filter=quicken \
# dalvik.vm.image-dex2oat-threads=4 \
# dalvik.vm.image-dex2oat-filter=quicken \
# dalvik.vm.usejitprofiles=false \
# pm.dexopt.bg-dexopt=speed-profile \
# pm.dexopt.ab-ota=speed