forked from 8890dev/android_device_samsung_hero-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
system_prop.mk
98 lines (86 loc) · 2.79 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
#
# Copyright (C) 2017 Fernando Von Arx <[email protected]>
# Copyright (C) 2017 Jesse Chan <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# 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
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
camera2.portability.force_api=1
# Dalvik/Art
PRODUCT_PROPERTY_OVERRIDES += \
ro.sys.fw.dex2oat_thread_count=4 \
dalvik.vm.image-dex2oat-filter=speed \
dalvik.vm.dex2oat-filter=speed \
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=196609 \
ro.sf.lcd_density=560
# 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=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.sec_hal=true \
ro.nfc.port="I2C"
# Wifi
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
rild.libpath=/system/lib64/libsec-ril.so \
rild.libargs=-d /dev/ttyS0 \
ro.telephony.ril_class=heroRIL \
telephony.lteOnGsmDevice=1 \
ro.telephony.default_network=9 \
ro.use_data_netmgrd=false \
persist.data.netmgrd.qos.enable=false \
ro.ril.hsxpa=1 \
ro.ril.gprsclass=10 \