forked from LineageOS/android_device_google_yellowstone
-
Notifications
You must be signed in to change notification settings - Fork 2
/
system_prop.mk
93 lines (79 loc) · 2.5 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
# Copyright (C) 2019 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License
### System Properties for yellowstone
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.config.persist_cal_path=/persist \
persist.config.calibration_fac=/sdcard/config/calibration.xml
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
ro.bt.bdaddr_path=/persist/bt_mac.txt
# Display
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.override_null_lcd_density=1 \
ro.sf.lcd_density=320
# DRM
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# GL
# Use glcomposer as the default compositor
# Don't preload OpenGL in Zygote, the Tegra drivers do not like it
PRODUCT_PROPERTY_OVERRIDES += \
persist.tegra.compositor=glcomposer \
ro.opengles.version=196610 \
ro.zygote.disable_gl_preload=true
# lmkd
PRODUCT_PRODUCT_PROPERTIES += \
ro.lmk.low=1001 \
ro.lmk.medium=800 \
ro.lmk.critical=0 \
ro.lmk.critical_upgrade=false \
ro.lmk.upgrade_pressure=100 \
ro.lmk.downgrade_pressure=100 \
ro.lmk.kill_heaviest_task=true \
ro.lmk.kill_timeout_ms=100 \
ro.lmk.use_minfree_levels=true
# LTE, CDMA, GSM/WCDMA
PRODUCT_PROPERTY_OVERRIDES += \
keyguard.no_require_sim=true \
persist.ril.forceairplanemode=0 \
ro.telephony.default_cdma_sub=0 \
ro.telephony.default_network=9 \
telephony.lteOnCdmaDevice=1
# NVMM
PRODUCT_PROPERTY_OVERRIDES += \
persist.tegra.nvmmlite=1
# OMX
PRODUCT_PROPERTY_OVERRIDES += \
persist.media.treble_omx=false
# Senors
PRODUCT_PROPERTY_OVERRIDES += \
persist.sensorhubd.update=1
# USB
PRODUCT_PROPERTY_OVERRIDES += \
ro.nv.usb.pid.mtp.adb=4D02 \
ro.nv.usb.pid.mtp=4D01 \
ro.nv.usb.pid.ptp.adb=4D06 \
ro.nv.usb.pid.ptp=4D05 \
ro.nv.usb.pid.rndis.adb=4D04 \
ro.nv.usb.pid.rndis=4D03 \
ro.nv.usb.vid=18d1
# Vendor SPL
PRODUCT_PROPERTY_OVERRIDES += \
ro.lineage.build.vendor_security_patch=2014-09-30
# Wi-Fi
PRODUCT_PROPERTY_OVERRIDES += \
ap.interface=wlan0 \
persist.wlan.ti.calibrated=0 \
wifi.interface=wlan0