Photon USSD Dialer

Search This thread

adyra

Member
Aug 12, 2013
12
13
Hi All,

Based on this thread, I'm able to create app that read response of USSD Code.

I already test it with my Photon, unlocked bootloader, CM7 Rom with several telecommunication provider in my country.

Installation instruction:
  1. Download and install app
  2. After finish install, RESTART your phone once.
  3. Application ready to use

Let me know if this working or not with other rom, also if you have experience or problem with this app you can also post it here.


Screenshot:

2013-08-19%2013.06.50.png


2013-08-19%2013.06.58.png


2013-08-19%2013.08.12.png


2013-08-19-13.07.38.png
 

Attachments

  • PhotonUSSD.apk
    858.3 KB · Views: 3,982

pradeeppk

Senior Member
Feb 8, 2012
574
152
KERALA
Screenshots
 

Attachments

  • uploadfromtaptalk1377105042705.jpg
    uploadfromtaptalk1377105042705.jpg
    33.8 KB · Views: 863
  • uploadfromtaptalk1377105061463.jpg
    uploadfromtaptalk1377105061463.jpg
    59.1 KB · Views: 922

adyra

Member
Aug 12, 2013
12
13
Hi, thanks for all your response,

If this app doesnt work on your device you can check for sure using logcat.

  1. Connect your device with your computer using USB Cable
  2. do save logcat to file txt using adb
    Code:
    adb shell logcat -v time -b radio -s RIL-MX > ussdlog.txt
  3. call ussd code from dialer, do with 2, 3 time and with diferent ussd code if possible so it will recorded on log for sure
  4. exit logcat, now check your log file, there should be lines like this:
    Code:
    08-22 05:53:15.818 I/RIL-MX  ( 1396): Ch0 > 2001AT+CUSD=1,*234#,0
    
    08-22 05:53:17.098 I/RIL-MX  ( 1396): Read Ch0 << 2514~+CUSD=1,Paket Internet Tri
    
    08-22 05:53:17.098 I/RIL-MX  ( 1396): Read Ch0 << 1. Always On (AON)
    
    08-22 05:53:17.098 E/RIL-MX  ( 1396): SeqNo not found in list. Discarding Response
    
    08-22 05:53:17.098 I/RIL-MX  ( 1396): Read Ch0 << 2. Kuota ++
    
    08-22 05:53:17.098 E/RIL-MX  ( 1396): SeqNo not found in list. Discarding Response
    
    08-22 05:53:17.098 I/RIL-MX  ( 1396): Read Ch0 << 3. Regular
    
    08-22 05:53:17.098 E/RIL-MX  ( 1396): SeqNo not found in list. Discarding Response
    
    08-22 05:53:17.098 I/RIL-MX  ( 1396): Read Ch0 << 00. Awal,15

    You can see that ussd response text is in "Read Ch0" line

  5. If you can see ussd response in you log file and my app still doesnt work, you can post your logcat here and i will try to adjust my app to match your log line
  6. If you cant see ussd response in your log file, then I cant help you my friend

Hope explanation above will help you to figuring out.
 

pradeeppk

Senior Member
Feb 8, 2012
574
152
KERALA
Can you develope it in future to read ussd response from carrier (call charge) after each call?

== Don't forget to hit thanks button if someone helped you ==
 

TEPEM

Member
May 20, 2008
30
3
Many thanks for this nice application. Minimalistic as I like.
I can confirm Photon USSD Dialer v1.0 working on my Photon (unlocked, rooted, 2.3.4, 45.3.6.MB855.Sprint.en.US).
However it does not always return response - i.e. sometimes when I select an option and submit it it just returns "Unable to get USSD response text" message but I am not sure whether it is because this option is deactivated on provider's side or because application unable to handle the response text.
Thanks again! :good:
 

pradeeppk

Senior Member
Feb 8, 2012
574
152
KERALA
Many thanks for this nice application. Minimalistic as I like.
I can confirm Photon USSD Dialer v1.0 working on my Photon (unlocked, rooted, 2.3.4, 45.3.6.MB855.Sprint.en.US).
However it does not always return response - i.e. sometimes when I select an option and submit it it just returns "Unable to get USSD response text" message but I am not sure whether it is because this option is deactivated on provider's side or because application unable to handle the response text.
Thanks again! :good:

Exactly.
Rearly get the "unable to get USSD response text". But it is way better than none.

== Don't forget to hit thanks button if someone helped you ==
 

NishantM

Senior Member
Sep 20, 2008
1,360
327
Mumbai
Shared this app with my friend who is using my Motorola Electrify. Working like a charm! Great work dev!

Country: India
City/State: Mumbai/Maharashtra
Carrier : Airtel
 
  • Like
Reactions: prab2112

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    Hi All,

    Based on this thread, I'm able to create app that read response of USSD Code.

    I already test it with my Photon, unlocked bootloader, CM7 Rom with several telecommunication provider in my country.

    Installation instruction:
    1. Download and install app
    2. After finish install, RESTART your phone once.
    3. Application ready to use

    Let me know if this working or not with other rom, also if you have experience or problem with this app you can also post it here.


    Screenshot:

    2013-08-19%2013.06.50.png


    2013-08-19%2013.06.58.png


    2013-08-19%2013.08.12.png


    2013-08-19-13.07.38.png
    4
    Hi, thanks for all your response,

    If this app doesnt work on your device you can check for sure using logcat.

    1. Connect your device with your computer using USB Cable
    2. do save logcat to file txt using adb
      Code:
      adb shell logcat -v time -b radio -s RIL-MX > ussdlog.txt
    3. call ussd code from dialer, do with 2, 3 time and with diferent ussd code if possible so it will recorded on log for sure
    4. exit logcat, now check your log file, there should be lines like this:
      Code:
      08-22 05:53:15.818 I/RIL-MX  ( 1396): Ch0 > 2001AT+CUSD=1,*234#,0
      
      08-22 05:53:17.098 I/RIL-MX  ( 1396): Read Ch0 << 2514~+CUSD=1,Paket Internet Tri
      
      08-22 05:53:17.098 I/RIL-MX  ( 1396): Read Ch0 << 1. Always On (AON)
      
      08-22 05:53:17.098 E/RIL-MX  ( 1396): SeqNo not found in list. Discarding Response
      
      08-22 05:53:17.098 I/RIL-MX  ( 1396): Read Ch0 << 2. Kuota ++
      
      08-22 05:53:17.098 E/RIL-MX  ( 1396): SeqNo not found in list. Discarding Response
      
      08-22 05:53:17.098 I/RIL-MX  ( 1396): Read Ch0 << 3. Regular
      
      08-22 05:53:17.098 E/RIL-MX  ( 1396): SeqNo not found in list. Discarding Response
      
      08-22 05:53:17.098 I/RIL-MX  ( 1396): Read Ch0 << 00. Awal,15

      You can see that ussd response text is in "Read Ch0" line

    5. If you can see ussd response in you log file and my app still doesnt work, you can post your logcat here and i will try to adjust my app to match your log line
    6. If you cant see ussd response in your log file, then I cant help you my friend

    Hope explanation above will help you to figuring out.
    1
    Shared this app with my friend who is using my Motorola Electrify. Working like a charm! Great work dev!

    Country: India
    City/State: Mumbai/Maharashtra
    Carrier : Airtel