[dev] Fix USSD Codes - Motorola Photon 4G

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"
Click to expand...
Click to collapse
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.

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

gtuxyco said:
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.
Click to expand...
Click to collapse
... this will be great if you get succeeded ...

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

Related

Secrect codes for Atrix?

http://forum.xda-developers.com/showthread.php?t=540483
The link above has haykuro's script for finding the "secret dialer codes" of the G1. Would anyone with working ADB care to run this and post the output (if it works)? I'm interested to know what Motorola has for dialer codes and what we can access with them.
didnt run script but I know *#*#4636#*#* and *#*#checkin#*#* would love to know more

[Q] Problem with Fonts in Message from USSD code run

problem with fonts when run USSD code *101# to check balance from provider
message return but can't read it
any suggestion?
please.

Program to Generate the Unlock Code

I would like to know if exist an application to generate the Unlock Code using the IMEI # or something like that.
Thanks!
http://forum.xda-developers.com/showpost.php?p=9462473&postcount=2

HELP unlock network locked Galaxy Fame GT-S6810P

Methods tried thus far:
Have tried the ServiceMode menu by dialing *#197328640# and looking in debug menu for network lock but network unlock menu is missing.
Have flashed with a stock 4.1.2 image
Have tried adb and scouting around for pin codes as per this method but no bml5.img file.
trying this
adb
su
cat mmcblk0p14 >> /sdcard/mmcblk0p14
exit
exit
pull /sdcard/mmcblk0p12
Click to expand...
Click to collapse
found this with a hex editor
Broadcom rhea_ss_nevisp board
chosen pinmux !21654B1-pinmux
with some interesting encoded text after this:
eg:
L L C
possibly related to the system on a chip
Broadcom BCM2835 GPIO (and pinmux) controller
mmcblk0p17 has this string
++++556764!&%%.//012223.//0122233321+$
mmcblk0p4 has this string
0000644.0001751.0001751.000000007054.12123752176.013126. 0.........
ubuntupunk said:
Methods tried thus far:
Have tried the ServiceMode menu by dialing *#197328640# and looking in debug menu for network lock but network unlock menu is missing.
Have flashed with a stock 4.1.2 image
Have tried adb and scouting around for pin codes as per this method but no bml5.img file.
trying this
found this with a hex editor
Broadcom rhea_ss_nevisp board
chosen pinmux !21654B1-pinmux
with some interesting encoded text after this:
eg:
L L C
possibly related to the system on a chip
Broadcom BCM2835 GPIO (and pinmux) controller
mmcblk0p17 has this string
++++556764!&%%.//012223.//0122233321+$
mmcblk0p4 has this string
0000644.0001751.0001751.000000007054.12123752176.013126. 0.........
Click to expand...
Click to collapse
still no answer
ubuntupunk said:
still no answer
Click to expand...
Click to collapse
just acquired the same phone, got the same problem
polite bump
please help!
I have same problem. no reply from anyone here, looks like il have to buy a code from fastgsm.
Still no solution...
How to unlock rooted S6810?
i got the samee issue
Hi Mate !
same here
i hope u found a solution ! i pm u if its allright
ubuntupunk said:
Methods tried thus far:
Have tried the ServiceMode menu by dialing *#197328640# and looking in debug menu for network lock but network unlock menu is missing.
Have flashed with a stock 4.1.2 image
Have tried adb and scouting around for pin codes as per this method but no bml5.img file.
trying this
found this with a hex editor
Broadcom rhea_ss_nevisp board
chosen pinmux !21654B1-pinmux
with some interesting encoded text after this:
eg:
L L C
possibly related to the system on a chip
Broadcom BCM2835 GPIO (and pinmux) controller
mmcblk0p17 has this string
++++556764!&%%.//012223.//0122233321+$
mmcblk0p4 has this string
0000644.0001751.0001751.000000007054.12123752176.013126. 0.........
Click to expand...
Click to collapse
For the sake of giving this old question an answer, and for any future reader (if there is any), I'll say that:
RegionLock Away works for this device (and also the Lite variant, GT-S6790L)

Question - How to enable LTE icon in the status bar (if you're in the US)?

I have been trying to find a way of having LTE display as my network connection instead of 4g+/4g (I know that there's no technical difference, but aesthetically it does make a difference and it's easier to see when you're not on an LTE network).
The closest that I have found to making this happen is the following thread here on XDA: [Guide] Enable LTE Icon on Unrooted Mate 9
I already had a call with AT&T to verify that I am connecting to their LTE network with my device so I know that from a technical backend perspective - I'm good to go.
I was able to obtain the list of current MCC/MNC codes currently configured for my phone using the 'get system hw_show_lte' ADB command. However I'm a bit confused as to how I am supposed to add the MNC/MCC values for my carrier (I'm on AT&T). the MCC code is 310, but there are more than one MNC code (according to this site here: http://www.mcc-mnc.com/)
I don't want to mess anything up as I clearly don't know what I'm doing. Is there a magisk module that can make this change (I searched for LTE and only came up with the VoEnabler module)?
Is there a system file that can be modified via a text editor (so that I can make a backup before making any changes)?
Thanks for the help/guidance in advanced.
Thanks for the link.
I tried the command adb shell settings get system hw_show_lte and I got "null"
Then I used the command adb shell settings put system hw_show_lte "310" and it is showing me the LTE icon with T-Mobile.
Maybe after an OTA I will lose the icon, but at least it is really easy to change it again.

Categories

Resources