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

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


This ships all the tools that could be useful.

The nv_data-imei tool wasn't shipped as it doesn't support
the Galaxy SII (GT-I9100) nor the Galaxy Note (GT-N7000) 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>
---
 common.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/common.mk b/common.mk
index 929edc6..baffb5c 100644
--- a/common.mk
+++ b/common.mk
@@ -116,8 +116,12 @@ PRODUCT_PROPERTY_OVERRIDES += \
 
 # RIL and the script to disable/enable the modem
 PRODUCT_PACKAGES += \
+    ipc-modem \
+    ipc-test \
     libsamsung-ril \
-    modem.sh
+    modem.sh \
+    nv_data-imei \
+    nv_data-md5
 
 PRODUCT_PROPERTY_OVERRIDES += \
     mobiledata.interfaces=pdp0,gprs,ppp0,rmnet0,rmnet1 \
-- 
2.30.1



More information about the Replicant mailing list