[Replicant] [device_samsung_n5100] [PATCH] Ship most of the potentially useful libsamsung-ipc tools

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Wed Mar 17 15:59:05 UTC 2021


This ships all the tools that could be useful.

The nv_data-imei tool wasn't shipped as it doesn't support
this device yet.

The ipc-modem and ipc-test tools are shipped as they can be
used to test the modem bootstrap without any dependencies
on the Android framework. This can for instance help with
tracking regressions so it's good to have them in the
releases as well.

Shipping nv_data-md5 on the device isn't strictly necessary
as it can also be compiled from libsamsung-ipc source code,
however not every Replicant user know how to do that. As this
tool can help to fix some cases of nv_data corruptions, it is
useful to enable users to use it easily. Shipping it makes it
accessible in the recovery after mounting the system partition
(by using Advanced -> Mount system partition) in the recovery
menu.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 n5100.mk | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/n5100.mk b/n5100.mk
index a7ad88d..8d29243 100755
--- a/n5100.mk
+++ b/n5100.mk
@@ -20,9 +20,13 @@ DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
 
 # RIL and the script to disable/enable the modem
 PRODUCT_PACKAGES += \
-    libsamsung-ril \
+    ipc-modem \
+    ipc-test \
     libaudio-ril-interface \
-    modem.sh
+    libsamsung-ril \
+    modem.sh \
+    nv_data-imei \
+    nv_data-md5
 
 # Stock parameters
 PRODUCT_PROPERTY_OVERRIDES += \
-- 
2.30.1



More information about the Replicant mailing list