-
Notifications
You must be signed in to change notification settings - Fork 15
/
system_prop.mk
79 lines (69 loc) · 2.13 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
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1 \
audio_hal.force_voice_config=wide
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
ro.bt.bdaddr_path="/efs/bluetooth/bt_addr"
# Bluetooth workaround:
# The new CAF code defaults to MCT HAL, but we
# need the old H4 HAL for our Broadcom WiFi.
PRODUCT_PROPERTY_OVERRIDES += \
qcom.bluetooth.soc=rome
# Dalvik/Art
PRODUCT_PROPERTY_OVERRIDES += \
ro.sys.fw.dex2oat_thread_count=4 \
dalvik.vm.heapstartsize=8m \
dalvik.vm.heapgrowthlimit=256m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.75 \
dalvik.vm.heapminfree=2m \
dalvik.vm.heapmaxfree=8m
# Graphics
PRODUCT_PROPERTY_OVERRIDES += \
ro.bq.gpu_to_cpu_unsupported=1 \
ro.opengles.version=196610 \
ro.sf.lcd_density=560 \
debug.hwc.force_gpu=1
# Hwc - not used on cm/aosp
PRODUCT_PROPERTY_OVERRIDES += \
debug.hwc.winupdate=1
# Hwui
PRODUCT_PROPERTY_OVERRIDES += \
ro.hwui.texture_cache_size=88 \
ro.hwui.layer_cache_size=58 \
ro.hwui.path_cache_size=16 \
ro.hwui.texture_cache_flushrate=0.4 \
ro.hwui.shape_cache_size=4 \
ro.hwui.gradient_cache_size=2 \
ro.hwui.drop_shadow_cache_size=6 \
ro.hwui.r_buffer_cache_size=8 \
ro.hwui.text_small_cache_width=1024 \
ro.hwui.text_small_cache_height=1024 \
ro.hwui.text_large_cache_width=4096 \
ro.hwui.text_large_cache_height=2048 \
ro.hwui.fbo_cache_size=16
# Network
# Define default initial receive window size in segments.
PRODUCT_PROPERTY_OVERRIDES += \
net.tcp.default_init_rwnd=60
# Nfc
PRODUCT_PROPERTY_OVERRIDES += \
ro.nfc.port="I2C" \
ro.nfc.sec_hal=true
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.add_power_save=1 \
persist.radio.apm_sim_not_pwdn=1 \
rild.libpath=/system/lib64/libsec-ril.so \
rild.libpath2=/system/lib64/libsec-ril-dsds.so \
ro.telephony.default_network=9 \
ro.telephony.ril_class=SlteRIL \
ro.ril.gprsclass=10 \
ro.ril.hsxpa=1 \
ro.ril.telephony.mqanelements=6 \
telephony.lteOnGsmDevice=1 \
telephony.lteOnCdmaDevice=0
# Wifi
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0