[dev] Fix USSD Codes

gtuxyco

Senior Member
Jan 13, 2012
77
10
0
Riohacha
Ok, i post because i'm a noob programing in android
but i got a idea to fix the problem with the ussd codes in gsm networks.

so far i achieved see USSD codes via Log.

so i use this line in adb shell or terminal emulator
logcat -b radio -s RIL-MX | grep "Read Ch0"
if you run a ussd code, you can view the response of the ussd code.

so i try to make a app we can dialing a ussd code and filter that log to show only the ussd response.
 

pradeeppk

Senior Member
Feb 8, 2012
564
150
0
KERALA
Good luck.....
Waiting....for it
According to my findings photon is able to send USSD Codes (able to use recharge coupons which use ussd code) But unable to read the response from network. It may related to phone apk , dialer apk or framework apk.

Sent from my Motorola Electrify using Tapatalk 2
 
Last edited:

chetansaraf

Senior Member
Jun 8, 2012
205
11
0
Ok, i post because i'm a noob programing in android
but i got a idea to fix the problem with the ussd codes in gsm networks.

so far i achieved see USSD codes via Log.

so i use this line in adb shell or terminal emulator

if you run a ussd code, you can view the response of the ussd code.

so i try to make a app we can dialing a ussd code and filter that log to show only the ussd response.
... this will be great if you get succeeded ...
 

cougarcougar

Senior Member
Dec 12, 2010
311
462
0
tulsa, ok
According to the Motorola forums, they crippled photon ussd codes due to the basis this was targeted as a cdma phone and use of gsm through sprints higher cost roaming. Now if you could compare the GSMmmicode smali in atrix 2.3.4 framework.jar with the photon 2.3.4 framework.jar file. You might find the right switch. Or just replace with the atrix gsmmmicode smali file. The Motorola forums said that the ussd code was fixed better in 2.3.6 atrix code.

I'm not working on it, but just pointing out where to fix it.

See post 46 for the location of the GSMmmicode.java file.

http://code.google.com/p/android/issues/detail?id=2226#c46
 
Last edited: