forked from LineageOS/android_device_samsung_gts2-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
system_prop.mk
78 lines (64 loc) · 1.93 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
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1
# 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 += \
dalvik.vm.heapstartsize=8m \
dalvik.vm.heapgrowthlimit=192m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.75 \
dalvik.vm.heapminfree=512k \
dalvik.vm.heapmaxfree=8m
# Display
PRODUCT_PROPERTY_OVERRIDES += \
ro.bq.gpu_to_cpu_unsupported=1 \
ro.opengles.version=196610 \
ro.sf.lcd_density=320
# Hwc - not used on cm/aosp
PRODUCT_PROPERTY_OVERRIDES += \
debug.hwc.winupdate=1 \
debug.hwc.otf=1
# Hwui
PRODUCT_PROPERTY_OVERRIDES += \
ro.hwui.texture_cache_size=96 \
ro.hwui.layer_cache_size=64 \
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
# Display Properties
PRODUCT_PROPERTY_OVERRIDES += \
ro.bq.gpu_to_cpu_unsupported=1 \
ro.opengles.version=196610 \
ro.sf.lcd_density=320
# Hwc - not used on cm/aosp
PRODUCT_PROPERTY_OVERRIDES += \
debug.hwc.winupdate=1 \
debug.hwc.otf=1
# 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"
# WiFi
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0
# By default rotate lockscreen so user switch is possible
PRODUCT_PROPERTY_OVERRIDES += \
lockscreen.rot_override=true