Libsamsung-ril » History » Version 11
Paul Kocialkowski, 01/14/2012 09:36 PM
1 | 6 | Denis 'GNUtoo' Carikli | h1. samsung-ril |
---|---|---|---|
2 | 1 | Paul Kocialkowski | |
3 | 6 | Denis 'GNUtoo' Carikli | The samsung ril is the library that interfaces libsamsung-ipc(see below) with the android framework. |
4 | Status per devices below: |
||
5 | 1 | Paul Kocialkowski | |
6 | 6 | Denis 'GNUtoo' Carikli | h2. Nexus S |
7 | 10 | Denis 'GNUtoo' Carikli | |_. Functionality |_. Status | |
8 | 7 | Denis 'GNUtoo' Carikli | | Data activation | Working since trunk of 14/01/2012| |
9 | 9 | Denis 'GNUtoo' Carikli | | Data deactivation | Work in progress(partially working) | |
10 | 7 | Denis 'GNUtoo' Carikli | | Calls with audio | working in the image 0002 (replicant 2.3) | |
11 | | SMS | working in the image 0002 (replicant 2.3) | |
||
12 | 9 | Denis 'GNUtoo' Carikli | | DTMF | Work in progress(partially working) | |
13 | 6 | Denis 'GNUtoo' Carikli | |
14 | h1. libsamsung-ipc |
||
15 | |||
16 | 4 | Paul Kocialkowski | libsamsung-ipc is a free implementation of the protocol to speak with modems found in most Samsung devices. It is the low-level library used to communicate with the modem and needs an upper-layer (RIL) to interface with the system. |
17 | 1 | Paul Kocialkowski | |
18 | libsamsung-ipc is shared between SHR and Replicant projects. It's used in both for the Nexus S. |
||
19 | |||
20 | Source code is available under the GPLv3+ at: https://github.com/morphis/libsamsung-ipc (master branch). |
||
21 | |||
22 | 6 | Denis 'GNUtoo' Carikli | The library is mostly complete |
23 | 4 | Paul Kocialkowski | |
24 | h2. ipc-modemctrl |
||
25 | 1 | Paul Kocialkowski | |
26 | 5 | Denis 'GNUtoo' Carikli | ipc-modemctrl is a deprecated tool that was used at the beginning of the work for talking to the nexus S modem. It implemented basic functionalities (mostly SIM unlocking and network registration). |
27 | 1 | Paul Kocialkowski | |
28 | Usage: |
||
29 | 4 | Paul Kocialkowski | <pre> |
30 | 1 | Paul Kocialkowski | usage: ipc-modemctrl <command> |
31 | commands: |
||
32 | start bootstrap modem and start read loop |
||
33 | power-on power on the modem |
||
34 | power-off power off the modem |
||
35 | arguments: |
||
36 | 2 | Paul Kocialkowski | --debug enable debug messages |
37 | --pin=[PIN] provide SIM card PIN |
||
38 | 4 | Paul Kocialkowski | </pre> |
39 | 1 | Paul Kocialkowski | |
40 | Please run ipc-modemctrl like this (from host pc): |
||
41 | 4 | Paul Kocialkowski | <pre> |
42 | 1 | Paul Kocialkowski | |
43 | assuming your SIM PIN is 1234. If you don't have any SIM pin, don't pass the --pin argument. |
||
44 | |||
45 | It should go like this: |
||
46 | 11 | Paul Kocialkowski | |
47 | 4 | Paul Kocialkowski | <pre> |
48 | 1 | Paul Kocialkowski | [I] Got SIM PIN! |
49 | 11 | Paul Kocialkowski | [0] Starting modem on FMT client |
50 | [1] Starting modem_read_loop on FMT client |
||
51 | [2] Phone is powered up (LPM)! |
||
52 | 1 | Paul Kocialkowski | [I] SIM card found |
53 | [I] SIM is initializing |
||
54 | 11 | Paul Kocialkowski | [3] SIM init complete |
55 | [4] Modem is ready, requesting normal power mode |
||
56 | 1 | Paul Kocialkowski | [I] SIM card found |
57 | 2 | Paul Kocialkowski | [I] SIM is initializing |
58 | 11 | Paul Kocialkowski | [3] SIM init complete |
59 | [5] Modem is fully ready |
||
60 | 2 | Paul Kocialkowski | [I] Registered with network successfully! |
61 | 11 | Paul Kocialkowski | [6] Registered with network! Got PLMN (Mobile Network Code): '20810' |
62 | 4 | Paul Kocialkowski | [I] Registered with network successfully! |
63 | 11 | Paul Kocialkowski | [6] Registered with network! Got PLMN (Mobile Network Code): '20810' |
64 | 4 | Paul Kocialkowski | [I] Registered with network successfully! |
65 | 2 | Paul Kocialkowski | [I] Registered with network successfully! |
66 | 11 | Paul Kocialkowski | [6] Registered with network! Got PLMN (Mobile Network Code): '20810' |
67 | 2 | Paul Kocialkowski | [I] SIM Phone Book init complete |
68 | </pre> |
||
69 | 4 | Paul Kocialkowski | |
70 | h2. Status |
||
71 | |||
72 | 3 | Paul Kocialkowski | We were able to make the following work: |
73 | 4 | Paul Kocialkowski | * SMS (Rx/Tx) |
74 | * Call (Rx/Tx) BUT NO AUDIO YET |
||
75 | * GPRS |
||
76 | * SIM I/O (stored contacts, etc) |
||
77 | * SIM PIN unlocking |