a5xelte: add system properties
authorDanny Wood <danwood76@gmail.com>
Thu, 25 Apr 2019 15:36:21 +0000 (16:36 +0100)
committerJan Altensen <info@stricted.net>
Mon, 12 Aug 2019 07:12:22 +0000 (09:12 +0200)
Change-Id: Icd3d6309f932ebade2fd661d7f940a8effdf941d

device.mk
system_prop.mk [new file with mode: 0644]

index c8c9aa5494eb5e1672ae55160753a5539ed29750..eca5718d48a0753af2d0ca80dab95c089d8f93b8 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -66,6 +66,9 @@ PRODUCT_PACKAGES += \
 PRODUCT_COPY_FILES += \
     device/samsung/universal7580-common/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc
 
+# Properties
+-include $(LOCAL_PATH)/system_prop.mk
+
 # Inherit from universal7580-common
 $(call inherit-product, device/samsung/universal7580-common/device-common.mk)
 
diff --git a/system_prop.mk b/system_prop.mk
new file mode 100644 (file)
index 0000000..0e4012c
--- /dev/null
@@ -0,0 +1,38 @@
+#
+# Copyright (C) 2018 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.
+#
+
+# Display
+PRODUCT_PROPERTY_OVERRIDES += \
+    ro.sf.lcd_density=480
+
+# Radio
+PRODUCT_PROPERTY_OVERRIDES += \
+    telephony.lteOnCdmaDevice=0 \
+    persist.radio.sib16_support=0 \
+    rild.libpath=/system/lib/libsec-ril.so \
+    rild.libargs=-d /dev/ttyS0 \
+    ro.ril.telephony.mqanelements=6 \
+    ro.telephony.default_network=9 \
+    ro.use_data_netmgrd=false \
+    persist.data.netmgrd.qos.enable=false \
+    ro.ril.hsxpa=1 \
+    ro.ril.gprsclass=10 \
+    ro.smps.enable=true \
+    persist.data.netmgrd.qos.enable=false \
+    ro.use_data_netmgrd=false \
+    ro.telephony.get_imsi_from_sim=true \
+    ro.ril.force_eri_from_xml=true
+