From 7cd850f4156c8316944b703df2e347b0bccdf75e Mon Sep 17 00:00:00 2001 From: Stricted Date: Mon, 1 Oct 2018 10:32:21 +0200 Subject: [PATCH] s5neolte: add system properties Change-Id: Idd1c4be84cbf154e1189331190418e67c176d77d --- device.mk | 3 +++ system_prop.mk | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 system_prop.mk diff --git a/device.mk b/device.mk index c2d7b10..b79d6c1 100644 --- a/device.mk +++ b/device.mk @@ -56,6 +56,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 index 0000000..6fdfb62 --- /dev/null +++ b/system_prop.mk @@ -0,0 +1,37 @@ +# +# 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 -- 2.20.1