From 12371f36480dcf4a968c7e13b1bbaba8b8773f99 Mon Sep 17 00:00:00 2001 From: Dario Trombello Date: Thu, 21 May 2020 23:13:13 +0200 Subject: [PATCH] j7elte: Add system properties --- device.mk | 3 +++ system_prop.mk | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 system_prop.mk diff --git a/device.mk b/device.mk index 69b6004..99c7457 100644 --- 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 index 0000000..0749ffe --- /dev/null +++ b/system_prop.mk @@ -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 -- 2.20.1