Project

General

Profile

Actions

Issue #32

closed

USSD codes don't work

Added by Johan Svensson over 12 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Category:
Telephony and mobile data
Target version:
Start date:
Due date:
% Done:

70%

Estimated time:
Resolution:
Device:
Nexus S (I902x)
Grant:
Type of work:

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


Files

libsamsung-ril.so (129 KB) libsamsung-ril.so Paul Kocialkowski, 02/21/2012 10:54 AM
Actions #1

Updated by Paul Kocialkowski over 12 years ago

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

Updated by Paul Kocialkowski about 12 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.

Actions #3

Updated by Paul Kocialkowski about 12 years ago

  • % Done changed from 0 to 70
  • Resolution set to fixed
Actions #4

Updated by Paul Kocialkowski about 12 years ago

  • Status changed from New to Feedback
Actions #5

Updated by Denis 'GNUtoo' Carikli almost 12 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)

Actions #6

Updated by Denis 'GNUtoo' Carikli over 11 years ago

  • Status changed from Feedback to Closed

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

Denis.

Actions #7

Updated by dl lud over 9 years ago

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

Connection problem or invalid MMI code.

Actions #8

Updated by Paul Kocialkowski over 9 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.

Actions #9

Updated by Denis 'GNUtoo' Carikli over 8 years ago

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

Also available in: Atom PDF