j7elte: Add system properties
authorDario Trombello <dariotr@outlook.de>
Thu, 21 May 2020 21:13:13 +0000 (23:13 +0200)
committerDario Trombello <dariotr@outlook.de>
Sun, 24 May 2020 19:06:34 +0000 (21:06 +0200)
device.mk
system_prop.mk [new file with mode: 0644]

index 69b600491bf078e86517d83b6a8d768252a6aea1..99c745765a23fe1ce54d3ad8ce941f2b6a70fcc5 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -38,6 +38,9 @@ PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/configs/gps/gps.conf:system/etc/gps.conf \
     $(LOCAL_PATH)/configs/gps/gps.xml:system/etc/gps.xml
 
+# Properties
+-include $(LOCAL_PATH)/system_prop.mk
+
 # Radio
 PRODUCT_PACKAGES += \
     libprotobuf-cpp-full \
diff --git a/system_prop.mk b/system_prop.mk
new file mode 100644 (file)
index 0000000..0749ffe
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright (C) 2017-2020 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.
+
+# Audio
+PRODUCT_PROPERTY_OVERRIDES += \
+    audio_hal.disable_two_mic=true
+
+# Display
+PRODUCT_PROPERTY_OVERRIDES += \
+    ro.sf.lcd_density=320
+
+# Radio
+PRODUCT_PROPERTY_OVERRIDES += \
+    persist.radio.sib16_support=0 \
+    rild.libpath=/system/lib/libsec-ril.so \
+    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 \
+    ro.use_data_netmgrd=false \
+    ro.telephony.get_imsi_from_sim=true \
+    ro.ril.force_eri_from_xml=true