mirror of
https://github.com/team-infusion-developers/android_device_samsung_gts210velte.git
synced 2024-11-07 06:19:15 +00:00
gts210velte: Initial RIL support
This commit is contained in:
parent
86ebea2ad0
commit
9a9606d2d5
8 changed files with 96 additions and 9 deletions
14
device.mk
14
device.mk
|
@ -20,11 +20,25 @@ $(call inherit-product-if-exists, vendor/samsung/gts210velte/gts210velte-vendor.
|
||||||
# Overlay
|
# Overlay
|
||||||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
||||||
|
|
||||||
|
# Permissions
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \
|
||||||
|
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml
|
||||||
|
|
||||||
# Audio configuration
|
# Audio configuration
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml \
|
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml \
|
||||||
$(LOCAL_PATH)/audio/mixer_paths_wcd9330.xml:system/etc/mixer_paths_wcd9330.xml
|
$(LOCAL_PATH)/audio/mixer_paths_wcd9330.xml:system/etc/mixer_paths_wcd9330.xml
|
||||||
|
|
||||||
|
# Device init scripts
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
init.target.rc
|
||||||
|
|
||||||
|
# Radio
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
librmnetctl \
|
||||||
|
libshims_rild_socket
|
||||||
|
|
||||||
# Vibrator
|
# Vibrator
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.vibrator@1.0-impl
|
android.hardware.vibrator@1.0-impl
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
# Inherit from those products. Most specific first.
|
# Inherit from those products. Most specific first.
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||||
|
|
||||||
# Inherit from gts210velte device
|
# Inherit from gts210velte device
|
||||||
$(call inherit-product, device/samsung/gts210velte/device.mk)
|
$(call inherit-product, device/samsung/gts210velte/device.mk)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
$(call inherit-product, device/samsung/gts210velte/full_gts210velte.mk)
|
$(call inherit-product, device/samsung/gts210velte/full_gts210velte.mk)
|
||||||
|
|
||||||
# Inherit some common Lineage stuff.
|
# Inherit some common Lineage stuff.
|
||||||
$(call inherit-product, vendor/lineage/config/common_full_tablet_wifionly.mk)
|
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||||
|
|
||||||
PRODUCT_NAME := lineage_gts210velte
|
PRODUCT_NAME := lineage_gts210velte
|
||||||
PRODUCT_BRAND := samsung
|
PRODUCT_BRAND := samsung
|
||||||
|
|
|
@ -18,12 +18,6 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
<!-- This device is not "voice capable"; it's data-only. -->
|
|
||||||
<bool name="config_voice_capable">false</bool>
|
|
||||||
|
|
||||||
<!-- This device does not allow sms service. -->
|
|
||||||
<bool name="config_sms_capable">false</bool>
|
|
||||||
|
|
||||||
<!-- If this is true, the screen will fade off. -->
|
<!-- If this is true, the screen will fade off. -->
|
||||||
<bool name="config_animateScreenLights">true</bool>
|
<bool name="config_animateScreenLights">true</bool>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,26 @@
|
||||||
|
# Radio
|
||||||
|
bin/netmgrd:vendor/bin/netmgrd
|
||||||
|
bin/qmuxd:vendor/bin/qmuxd
|
||||||
|
bin/radish:vendor/bin/radish
|
||||||
|
etc/data/netmgr_config.xml|fb65247a5c492d7152a36bf4fb381804649dd384
|
||||||
|
etc/data/qmi_config.xml|af9655ffd4c108d4061a79aadf620b9b44f24f26
|
||||||
|
lib64/libfloatingfeature.so
|
||||||
|
lib64/libsec-ril.so|4998b35a903ad972527d578ed6df7040698f5c92
|
||||||
|
lib/libfloatingfeature.so
|
||||||
|
lib/libsec-ril.so
|
||||||
|
vendor/lib64/libcneapiclient.so|2cad1813fcf903b1aa45b33f4997b1c495925367
|
||||||
|
vendor/lib64/libconfigdb.so
|
||||||
|
vendor/lib64/libnetmgr.so
|
||||||
|
vendor/lib64/libprotobuf-cpp-N.so|3f29ae846766006db33cf5186a08eb8b22823eba
|
||||||
|
vendor/lib64/libril-qcril-hook-oem.so
|
||||||
|
vendor/lib64/libsystem_health_mon.so
|
||||||
|
vendor/lib64/libxml.so
|
||||||
|
vendor/lib/libconfigdb.so
|
||||||
|
vendor/lib/libnetmgr.so
|
||||||
|
vendor/lib/libril-qcril-hook-oem.so
|
||||||
|
vendor/lib/libsystem_health_mon.so
|
||||||
|
vendor/lib/libxml.so
|
||||||
|
|
||||||
# Sensors
|
# Sensors
|
||||||
lib64/hw/sensors.msm8952.so
|
lib64/hw/sensors.msm8952.so
|
||||||
vendor/lib64/libsensor1.so
|
vendor/lib64/libsensor1.so
|
||||||
|
|
11
rootdir/Android.mk
Normal file
11
rootdir/Android.mk
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
LOCAL_PATH:= $(call my-dir)
|
||||||
|
|
||||||
|
# Device init scripts
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE := init.target.rc
|
||||||
|
LOCAL_MODULE_TAGS := optional eng
|
||||||
|
LOCAL_MODULE_CLASS := ETC
|
||||||
|
LOCAL_SRC_FILES := etc/init.target.rc
|
||||||
|
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
|
||||||
|
include $(BUILD_PREBUILT)
|
37
rootdir/etc/init.target.rc
Normal file
37
rootdir/etc/init.target.rc
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
# * Redistributions of source code must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
# * Redistributions in binary form must reproduce the above
|
||||||
|
# copyright notice, this list of conditions and the following
|
||||||
|
# disclaimer in the documentation and/or other materials provided
|
||||||
|
# with the distribution.
|
||||||
|
# * Neither the name of The Linux Foundation nor the names of its
|
||||||
|
# contributors may be used to endorse or promote products derived
|
||||||
|
# from this software without specific prior written permission.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||||
|
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||||
|
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||||
|
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||||
|
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||||
|
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||||
|
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
# QMUX must be in multiple groups to support external process connections
|
||||||
|
service qmuxd /vendor/bin/qmuxd
|
||||||
|
class main
|
||||||
|
user root
|
||||||
|
group radio audio bluetooth gps oem_2950 wakelock
|
||||||
|
|
||||||
|
service netmgrd /vendor/bin/netmgrd
|
||||||
|
class main
|
||||||
|
group wakelock
|
10
system.prop
10
system.prop
|
@ -13,4 +13,12 @@ ro.qualcomm.bluetooth.pbap=true
|
||||||
ro.sf.hwrotation=270
|
ro.sf.hwrotation=270
|
||||||
|
|
||||||
# Radio
|
# Radio
|
||||||
ro.radio.noril=yes
|
persist.data.netmgrd.qos.enable=true
|
||||||
|
persist.data.qmi.adb_logmask=0
|
||||||
|
persist.radio.add_power_save=1
|
||||||
|
rild.libpath=/system/lib64/libsec-ril.so
|
||||||
|
ro.telephony.mms_data_profile=5
|
||||||
|
ro.ril.telephony.qan_resp_strings=6
|
||||||
|
|
||||||
|
# Ril sends only one RIL_UNSOL_CALL_RING, so set call_ring.multiple to false
|
||||||
|
ro.telephony.call_ring.multiple=0
|
||||||
|
|
Loading…
Reference in a new issue