Issue #32

USSD codes don't work

Added by Johan Svensson over 5 years ago. Updated about 1 year ago.

Status:Closed Start date:
Priority:High Due date:
Assignee:Paul Kocialkowski % Done:

70%

Category:Telephony and mobile data
Target version:Replicant 2.3
Resolution: Device:Nexus S (I902x)

Description

To check available amount of money in my refill card, I use USSD code *120#. With Replicant, I get an error message:

Connection problem or invalid MMI code.

I told paulk and GNUtoo about it on irc, so this ticket is just for documenting the issue. paulk said that this list needs to be imported:

https://secure.wikimedia.org/wikipedia/en/wiki/Mobile_Network_Code

I'm using Nexus S

libsamsung-ril.so (129 kB) Paul Kocialkowski, 02/21/2012 10:54 AM

History

Updated by Paul Kocialkowski about 5 years ago

  • Category set to 45
  • Assignee changed from Denis 'GNUtoo' Carikli to Paul Kocialkowski
  • Target version set to Replicant 2.3

Updated by Paul Kocialkowski about 5 years ago

USSD support added in commit 1141eccadafb85d9268a1908ba87bae4f722a507 : https://gitorious.org/replicant/hardware_ril_samsung-ril/commit/1141eccadafb85d9268a1908ba87bae4f722a507

Though, this needs as much testign as possible. libsamsung-ril.so binary attached. Install instructions:

adb remount
adb push libsamsung-ril.so /system/lib/
adb reboot

Note that there might have been a regression on data, which could mess things up. Please test with data disabled.

Updated by Paul Kocialkowski about 5 years ago

  • % Done changed from 0 to 70
  • Resolution set to fixed

Updated by Paul Kocialkowski about 5 years ago

  • Status changed from New to Feedback

Updated by Denis 'GNUtoo' Carikli almost 5 years ago

  • Resolution deleted (fixed)

I reopen because it still don't work:

D/RIL-DISP(  132): Signal Strength is 18
D/PHONE   (  255): VM: PhoneSubInfo.getVoiceMailNUmber: 
D/GSM     (  255): dialing w/ mmi 'Handler{406a0c88}'...
D/RILJ    (  255): [0145]> SEND_USSD *123#
D/RIL-SS  (  132): USSD Tx encoding is GSM7
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_send: SEND FMT (id=0 cmd=0 size=199)!
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_send: IPC request (mseq=0x73 command=IPC_SS_USSD (0x0c08) type=EXEC)
D/RIL-IPC (  132): ipc: ==== FMT DATA DUMP ====
D/RIL-IPC (  132): ipc: [0000]   01 0F 04 AA 98 6C 06 00   00 00 00 00 00 00 00 00   .....l.. ........
D/RIL-IPC (  132): ipc: [0010]   00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
D/RIL-IPC (  132): ipc: [0020]   00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
D/RIL-IPC (  132): ipc: [0030]   00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
D/RIL-IPC (  132): ipc: [0040]   00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
D/RIL-IPC (  132): ipc: [0050]   00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
D/RIL-IPC (  132): ipc: [0060]   00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
D/RIL-IPC (  132): ipc: [0070]   00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
D/RIL-IPC (  132): ipc: [0080]   00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
D/RIL-IPC (  132): ipc: [0090]   00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
D/RIL-IPC (  132): ipc: [00a0]   00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
D/RIL-IPC (  132): ipc: [00b0]   00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
D/RIL-IPC (  132): ipc: 
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: RECV FMT (id=0 cmd=0 size=8)!
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: IPC response (aseq=0x6e command=IPC_DISP_RSSI_INFO (0x0706) type=NOTI)
D/RIL-IPC (  132): ipc: ==== FMT DATA DUMP ====
D/RIL-IPC (  132): ipc: [0000]   4B                                                  K
D/RIL-IPC (  132): ipc: 
D/RIL-DISP(  132): Signal Strength is 19
D/RILJ    (  255): [0146]> SET_MUTE false
D/RIL-SND (  132): Mute data is 0
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_send: SEND FMT (id=0 cmd=0 size=8)!
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_send: IPC request (mseq=0x74 command=IPC_SND_MIC_MUTE_CTRL (0x0902) type=SET)
D/RIL-IPC (  132): ipc: ==== FMT DATA DUMP ====
D/RIL-IPC (  132): ipc: [0000]   00                                                  .
D/RIL-IPC (  132): ipc: 
D/RILJ    (  255): [0146]< SET_MUTE 
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: RECV FMT (id=0 cmd=0 size=12)!
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: IPC response (aseq=0x74 command=IPC_GEN_PHONE_RES (0x8001) type=RESP)
D/RIL-IPC (  132): ipc: ==== FMT DATA DUMP ====
D/RIL-IPC (  132): ipc: [0000]   09 02 03 00 80                                      .....
D/RIL-IPC (  132): ipc: 
D/RIL-GEN (  132): aseq: 0x74 found in the IPC_GEN_PHONE_RES queue!
E/RILC    (  132): RIL_onRequestComplete: invalid RIL_Token
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: RECV FMT (id=0 cmd=0 size=8)!
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: IPC response (aseq=0x74 command=IPC_DISP_RSSI_INFO (0x0706) type=NOTI)
D/RIL-IPC (  132): ipc: ==== FMT DATA DUMP ====
D/RIL-IPC (  132): ipc: [0000]   4A                                                  J
D/RIL-IPC (  132): ipc: 
D/RIL-DISP(  132): Signal Strength is 19
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: RECV FMT (id=0 cmd=0 size=12)!
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: IPC response (aseq=0x73 command=IPC_GEN_PHONE_RES (0x8001) type=RESP)
D/RIL-IPC (  132): ipc: ==== FMT DATA DUMP ====
D/RIL-IPC (  132): ipc: [0000]   0C 08 01 24 81                                      .....
D/RIL-IPC (  132): ipc: 
D/RIL-GEN (  132): aseq: 0x73 found in the IPC_GEN_PHONE_RES queue!
E/RIL-SS  (  132): There was an error, aborting USSD request
D/RILJ    (  255): [0145]< SEND_USSD error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: RECV FMT (id=0 cmd=0 size=8)!
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: IPC response (aseq=0x73 command=IPC_GPRS_HSDPA_STATUS (0x0d0c) type=NOTI)
D/RIL-IPC (  132): ipc: ==== FMT DATA DUMP ====
D/RIL-IPC (  132): ipc: [0000]   00                                                  .
D/RIL-IPC (  132): ipc: 
D/RIL     (  132): Unhandled command: IPC_GPRS_HSDPA_STATUS (0d0c)
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: RECV FMT (id=0 cmd=0 size=8)!
D/RIL-IPC (  132): ipc: crespo_ipc_fmt_client_recv: IPC response (aseq=0x73 command=IPC_GPRS_HSDPA_STATUS (0x0d0c) type=NOTI)
D/RIL-IPC (  132): ipc: ==== FMT DATA DUMP ====
D/RIL-IPC (  132): ipc: [0000]   00                                                  .
D/RIL-IPC (  132): ipc: 
D/RIL     (  132): Unhandled command: IPC_GPRS_HSDPA_STATUS (0d0c)

Updated by Denis 'GNUtoo' Carikli over 4 years ago

  • Status changed from Feedback to Closed

Fixed with the code we merged and which comes from alex[sp3dev].

Denis.

Updated by dl lud over 2 years ago

Still not working on i9100 with Replicant 4.2. I get:

Connection problem or invalid MMI code.

Updated by Paul Kocialkowski over 2 years ago

  • Tracker changed from Feature to Issue

That issue was for Replicant 2.3, please open a new ticket for Replicant 4.2. I know USSD support is not there, and it's fair to open a ticket about it.

Updated by Denis 'GNUtoo' Carikli about 1 year ago

  • Category changed from 45 to Telephony and mobile data
  • Device set to Nexus S (I902x)

Also available in: Atom PDF