summaryrefslogtreecommitdiffstats
path: root/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* Android.mk: Add support for Android 11replicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004Denis 'GNUtoo' Carikli2021-02-281-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we configure Replicant 11, libsamsung-ipc and libsamsung-ril to have both libraries in /system/lib/, tools work fine on the Galaxy SIII (GT-I9300): # find -name libsamsung-ril.so 2>/dev/null ./system/lib/libsamsung-ril.so # find -name libsamsung-ipc.so 2>/dev/null ./system/lib/libsamsung-ipc.so # find -name nv_data-md5 2>/dev/null ./system/bin/nv_data-md5 # nv_data-md5 Usage: nv_data-md5 [nv_data.bin] And libsamsung-ril tries to load libsamsung-ipc from the right location in /system/lib/, but it fails due to the vendor and system separation: 01-14 15:50:57.739 1475 1475 E RILD : dlopen failed: dlopen failed: library "/system/lib/libsamsung-ril.so" needed or dlopened by "/system/vendor/bin/hw/rild" is not accessible for the namespace "(default)" Adding LOCAL_PROPRIETARY_MODULE fixes that. Note that the name of that property can be misleading here: libsamsung-ril is free software and shall remain free software. Instead we need to understand LOCAL_PROPRIETARY_MODULE as a way to tell the Android build system that libsamsung-ril is not part of the base Android code but instead that it is code that is specific to a device, set of devices and/or Android distribution. LOCAL_MODULE_RELATIVE_PATH cannot be used instead: even if the binaies end up in /vendor/bin/hw/, and that the libraries ends up in /vendor/lib/hw/, for some reasons the libraries can't be found: i9300:/ # /system/vendor/bin/hw/nv_data-md5 CANNOT LINK EXECUTABLE "/system/vendor/bin/hw/nv_data-md5": library "libsamsung-ipc.so" not found: needed by main executable And most importantly, rild has the same issue than before: E RILD : dlopen failed: dlopen failed: library "libsamsung-ipc.so" not found: needed by /system/vendor/lib/hw/libsamsung-ril.so in namespace (default) Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Android.mk: remove hardcoded reference to external/libsamsung-ipcreplicant-6.0-0004-rc2Denis 'GNUtoo' Carikli2020-07-181-1/+0
| | | | | | | | | | | | | | | | libsamsung-ipc is already included as a dependency, and now the headers should be correctly exported with LOCAL_EXPORT_C_INCLUDE_DIRS since the following commit: d4e2afc Android.mk: remove deprecated LOCAL_COPY_HEADERS d4e2afc9735470c5b9553073a23e606b2fc5cf2c This change was tested at build time with the patch mentioned above and the following configurations: - Replicant 6.0 with the i9300 target - Replicant 4.2 with the galaxysmtd target Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* Fix undefined references to MD5_{Init,Update,Final}Denis 'GNUtoo' Carikli2019-07-241-2/+1
| | | | | | | | | | | | | | | | | | Before this change, libsamsung-ril was using libsamsung-ipc as a static library. However, libsamsung-ipc is dynamically linked to libcrypto. Statically linking libsamsung-ril to libsamsung-ipc results in the following errors, which disapear when using dynamic linking: rfs.c:50: error: undefined reference to 'MD5_Init' rfs.c:51: error: undefined reference to 'MD5_Update' rfs.c:52: error: undefined reference to 'MD5_Update' rfs.c:53: error: undefined reference to 'MD5_Final' Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add support for USSD messagesWolfgang Wiedmeyer2019-06-181-0/+1
| | | | | | | | | | | The implementation is based on the code for USSD support that was used before the rewrite of Samsung-RIL. USSD messages in GSM7 format are decoded to UTF8. The decoding code was adapted from huaweigeneric-ril[1]. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> [1] https://github.com/DerArtem/huaweigeneric-ril
* fix linker errorWolfgang Wiedmeyer2019-06-181-1/+1
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* samsung-ril-socket: SRS test messages implementationPaul Kocialkowski2014-10-041-0/+16
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Samsung-RIL rewrite: harder, better, probably not faster but definitely strongerPaul Kocialkowski2014-08-071-25/+19
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* svc: Implement Samsung Service Mode OEM HookPaul Kocialkowski2013-08-251-0/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Update copyright informationPaul Kocialkowski2013-03-311-2/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Rename samsung-ril to Samsung-RIL, refactor Android.mk and comments stylePaul Kocialkowski2013-03-301-69/+17
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* SRS: srs-client library, proper structures for protocol dataPaul Kocialkowski2013-03-071-1/+17
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Piranha (P5100/P3100 Galaxy Tab 2.0 tablets) supportPaul Kocialkowski2013-03-061-0/+10
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* SAT: Rename STK functions, disable STK by defaultPaul Kocialkowski2012-12-151-0/+3
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Copyright: Corrected email addressPaul Kocialkowski2012-11-191-1/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Updated copyright informationPaul Kocialkowski2012-11-041-1/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Add the compat.h header to multiple Android treesAlexander Tarasikov2012-08-231-12/+0
|
* Switch to v6 structures (mostly a cosmetic change)Alexander Tarasikov2012-08-201-6/+6
|
* Fix compilation on jellybeanAlexander Tarasikov2012-07-231-2/+2
|
* Add maguro makefilesAlexander Tarasikov2012-07-061-0/+11
|
* ICS MODIFYPaul Kocialkowski2012-07-061-0/+11
|
* Massive rework of SIM handling, with new features SIM PIN-related.PaulK2012-02-241-1/+1
|
* Added USSD supportPaulK2012-02-211-0/+1
|
* Changed Android.mk to match libsamsung-ipc changesPaulK2012-02-011-1/+13
|
* Added RFS functions and IPC_GEN_PHONE_RES proper handling, applied to dataPaulK2011-12-311-1/+3
|
* Added preliminary data supportPaulK2011-12-291-2/+3
|
* RIL rework: multi-client, more stable, added GPLv3 copyright noticePaulK2011-12-211-25/+45
|
* Added Samsung Ril Socket (SRS) support: this permits working audio calls on ↵PaulK2011-12-041-1/+4
| | | | nexus s
* Modified samsung-ril to work on Nexus S.PaulK2011-11-221-1/+10
| | | | | | | | | | | | | | | Currently, the following is working: * (automatic) network registration (clean and stable) * SMS (no clean queue engine and no support for multiple message SMS) * SIM I/O * Other minor stuff And the following is left to do: * DATA (3G) * airplane to normal power mode * calls (including audio routing) * RFS messages handling (mostly to be done at IPC level) * Other minor stuff
* Temporary initial commitJoerie de Gram2011-10-291-0/+44