Enable USB Modem/Diag Mode on CDMA Samsung Devices
When flashing an AOSP ROM on a CDMA phone, it’s a win-some lose-some affair. You gain the functionality that comes with a pure Android experience. However, you traditionally lose USB Modem and Diagnosis Mode on your device. For those who are unaware, USB Mode and Diagnosis Mode are accessed via codes you enter into the dialer. This is not only required to activate the phone on some networks, but also helpful in alleviating some problems like restoring your IMEI using QPST. However, for many Samsung devices, that is no longer a problem. Now, you can get all this functionality back without flashing back to a stock ROM.
XDA Senior Member autoprime has put a thread that not only gives a profound amount of information but also provides a script to make it all easier. The suggested way is to use a script manager application to apply the script. As autoprime explains:
Open script manager, browse to script files on SD card, select script, set to run as SU and hit save. Do this with both scripts. Now you can use the script manager in the Widgets section to create shortcuts on the desktop for easy access. Hopefully these scripts get built into CM10 so this method is no longer needed. You may or may not have to unplug/plugin the usb cable after new mode is set.
Also provided is a plethora of instructions. This is a huge step for the supported devices, which include:
The Epic 4G Touch was having some troubles with the script, but autoprime managed to fix it in short order. Additionally, this method will soon support other devices. So if you’ve had to flash back and forth between AOSP and stock just to use these codes and your phone is supported, it’s time for some celebration.
To learn more, head over to the original thread.
Update: Given the abuse, the link to the thread has been removed. We apologize for any inconvenience.
Want something on the XDA Portal? Send us a tip!