j7elte: Add RIL configuration
authorDanny Wood <danwood76@gmail.com>
Sun, 30 Sep 2018 12:03:57 +0000 (13:03 +0100)
committerDario Trombello <dariotr@outlook.de>
Sun, 24 May 2020 19:06:34 +0000 (21:06 +0200)
Change-Id: If39366fd746fb55efeeef906b3bdc64af17ecc9b

BoardConfig.mk
device.mk

index bcc50532fe260f4f549527d256fe9c2203eac68c..a584e84c500d12bc08e567145f700deeaff754dd 100644 (file)
@@ -38,3 +38,7 @@ BOARD_RECOVERYIMAGE_PARTITION_SIZE := 39845888
 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2206203904
 BOARD_USERDATAIMAGE_PARTITION_SIZE := 13035896832
 BOARD_FLASH_BLOCK_SIZE := 4096
+
+# RIL
+BOARD_MODEM_TYPE := tss310
+BOARD_PROVIDES_LIBRIL := true
index a26d714d48f9d6d966b051342892a30529f020b8..e1608398ab5a37be8c9f0b906439e0384a5db2aa 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -34,6 +34,22 @@ PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/configs/gps/gps.conf:system/etc/gps.conf \
     $(LOCAL_PATH)/configs/gps/gps.xml:system/etc/gps.xml
 
+# Radio
+PRODUCT_PACKAGES += \
+    libprotobuf-cpp-full \
+    libsecril-client \
+    modemloader \
+    libxml2 \
+    rild \
+    libril \
+    libreference-ril \
+    libsecril-client-sap \
+    android.hardware.radio@1.1 \
+    android.hardware.radio.deprecated@1.0
+
+PRODUCT_COPY_FILES += \
+    device/samsung/universal7580-common/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc
+
 # Ramdisk
 PRODUCT_PACKAGES += \
     init.target.rc