I haven't seen a post or tutorial about this yet so I figured I'd post one for those who might be interested.....BTW,
I AM NOT A PROGRAMMER AND I TAKE NO CREDIT FOR ANY OF THE INFO IN THIS POST, NOR WILL I POST ANY CREDIT.....I pieced so much of it together from so many different posts, that I just don't even remember the OP's. Sorry I'm no genius, just a jackass who stands on the backs of geniuses.
Disclaimer: This is just how I got everything to work on Metro PCS, it may or may not work in the same way for you. I don't warrant or claim that anything discussed here will not brick your phone, bankrupt your business, or impregnate your cat.
Things you will need:
1. Samsung Fascinate (Already Rooted)- Please don't ask; as there are so many already posted and accepted rooting methods for this phone. Seek and Ye shall find my son
2. QPST 2.7 (I used Build 355)- Again, please don't ask as this is considered warez and a taboo discussion on most forums.
3. CDMA Workshop (I used 2.7)- Uh....Ditto my previous remark...DON'T ASK!
4. Metro PCS Files and Support .apk's
a. u2nl
b. autostart.sh
c. autostart.apk
d. anycut.apk - I can't post these files or links to them, but I would appreciate anyone who would like to post or host them for me...just PM and I'll send you the zip if you need it.
5. Android SDK (I will assume that you have this if you have rooted your device) -Please no lectures about assumptions.
6. Samsung Drivers - I can assume you have this as well if you rooted your device. Again, anyone care to post or host...just PM me.
The Task at Hand:
1. Insert and Permission Files:- Let the fun begin
a. Copy all the Metro PCS and Support files listed above to your Android SDK tools folder...in my case this was c:\android\tools
b. Connect your phone with USB debugging turned on (Settings > Applications > Development > USB Debugging)
c. Now open a Command Prompt and change to your Android SDK tools folder.
d. From the c:\android\tools> prompt run the following commands:
adb remount
adb push u2nl /system/bin/u2nl
adb push autostart.sh /data/opt/autostart.sh
adb shell
chmod 755 /system/bin/u2nl
chmod 755 /data/opt/autostart.sh
exit
adb install autostart.apk
adb install anycut.apk
adb reboot
This will work if you have system-wide root....if you receive a "permission denied" error after the first command you have local root and will need to run the following comands:
THIS IS ONLY IF THE LAST SET OF COMMANDS DID NOT WORK....from the command prompt c:\android\tools>
adb push u2nl /sdcard/u2nl
adb push autostart.sh /sdcard/autostart.sh
adb shell
su (prepare to allow the permissions on your phone at this time....LOOK AT YOUR PHONE NOW!!!)
mount -t rfs -o remount,rw /dev/block/stl9 /system
mkdir /data/opt
busybox cp /sdcard/u2nl /system/bin/u2nl
busybox cp /sdcard/autostart.sh /data/opt/autostart.sh
chmod 755 /system/bin/u2nl
chmod 755 /data/opt/autostart.sh
mount -t rfs -o remount,ro /dev/block/stl9 /system
exit
exit
(back at the command prompt)
adb install autostart.apk
adb install anycut.apk
adb reboot
2. Provisioning Your Phone:
a. Connect your phone and put it in "diagnostic mode" (Settings > Wireless & networks > Dial up networking)
b. This should present you with a new port in QPST....take note of the port.
c. Now go to whiterabbit's site and enter your login string, then click on generate. (remember to generate the file appropriate for your version of CDMA Workshop) -P.S while you're there at whiterabbit- type your ESN into the lower box and generate your Metro PCS MSL...you will need it later.
d. Now open CDMA Workshop and choose the port you took note of earlier...click connect. Open the security tab and enter the SPC in the box (000000 <SPC) and click SPC then send....then in the bottom left corner click on the custom password box and replace "FFFFFFFFFFFFFFFF" with "2010031619780721" and send....now click on the memory tab and then click on the "write" button under NV items...navigate to where you saved the file you generated at whiterabbit's website and write...now exit CDMAW and click yes at the exit message....your phone will reset.
e. Unplug your phone and plug it back in when it has finished rebooting...it will still be in diagnostic mode...so go ahead and open QPST Configuration...click on start clients and service programming...this brings up a new window...click ok...then click on "read from Phone" in the next new window...enter your MDN and MIN under the CDMA tab them go to the M.I.P. tab....make sure to change from MOB only to MOB w/Simple back....then delete all entries in the top window except the first one...then highlight and edit that entry...make sure the top 2 entries under the new window are correct...then change all the IP's to 0.0.0.0...click OK and now go to the PPPConfig tab click on UM and enter your MSL from whiterabbit's site...do the same to AN....thats it click write to phone and let the phone reboot.
3. Now the Easy Part:
a. Once the phone reboots..you have to turn off "dial up networking" to get your 1x and arrows.....now you have full data
b. Now MMS.....open anycut on the phone...tap the new shortcut button....choose new activity then scroll down to MMS Provisioning and tap it. Your new short cut will be on your home screen...tap it and enter the MMS server for metropcs... exit and your done.
It is 3:04 am and that's as good as it gets for me..I wrote this from memory and I am sure it's not the best tutorial or the most svelt, and I may have left some things out or maybe I was a little vague....do not berate, just feel free to rewrite, edit, append, addendum, or be as helpful as you can in your replies. Leave your egos at the door and treat this like you would a wiki. Any suggestions are greatly appreciated. Any constructive criticism is welcomed. Have fun.
thanks for the guide! just a quick addition. I think you need to press ##8778# to get into the diag menu so that qpst 2.7 recognizes your phone on your port.
update: got the messaging to work and the data arrows. but the internet just won't push through. also, when I opened Any Cut and went to new activity, "MMS Provisioning" wasn't a option. Is there a specific version i should be looking for ?
Where do I get the metro pcs files? I've looked high and low for them but can't seem to find them.
you can get the u2nl and autostart.sh from white rabbit's website where it saids "precompiled arm binary"
the other two you can just turn wifi on and dl it from the market. hope that helps! if not, just PM me and i'll send em to you.
I've got step 1 completed but I'm having trouble with step 2...
Phone doesn't show up in QPST.
When it says to go to whiterabbit and enter the login string, I'm not sure what to enter. I don't have a MPCS phone number yet if that's what it's looking for...
did you dial ##8778# to get get into the diag menu and set them both to modem? that and putting the phone in dial up networking mode should get qpst to recognize your phone.
for whiterabbit, you need to enter your MPCS [email protected], so i suppose you do need one lol
breakinyoankelz said:
did you dial ##8778# to get get into the diag menu and set them both to modem? that and putting the phone in dial up networking mode should get qpst to recognize your phone.
for whiterabbit, you need to enter your MPCS [email protected], so i suppose you do need one lol
Click to expand...
Click to collapse
##8778# doesn't work for me, it just doesn't do anything. I've tried a bunch of other codes but just not working to get into that diag mode.
Ok, the problem was that I had to go to my device manager and tell it to make the phone a different COM port - 3. Then restart QPST and tell it to monitor port 3. That works...
Stumped again...
Ok, we only got this phone to test out the metro pcs service. So we don't have a metropcs account as yet.
When we called the local store, they said they wouldn't add the ESN for us for ANY smartphone.
How did you guys do it? Buy a regular phone first and get it activated, then flash the Fascinate and somehow add the ESN to their database?
Very Nice Guide.
can you please PM me (Metro PCS Files and Support .apk's)
pkley said:
Stumped again...
Ok, we only got this phone to test out the metro pcs service. So we don't have a metropcs account as yet.
When we called the local store, they said they wouldn't add the ESN for us for ANY smartphone.
How did you guys do it? Buy a regular phone first and get it activated, then flash the Fascinate and somehow add the ESN to their database?
Click to expand...
Click to collapse
I used on of these sponsored independent agents on howardforums to add your ESN to the database. I would link you to it right now, but I'm not able to as a new member of this forum. Just search "ESN added to metroPCS" on howardforums or PM me
arvinghost said:
Very Nice Guide.
can you please PM me (Metro PCS Files and Support .apk's)
Click to expand...
Click to collapse
Just PM'd you the u2nl and autostart.sh files. btw, are you the same arvinghost as from howardforums? Did you ever get data to push through because I'm stuck as the 1x arrows showing, but no data too
flash to metro pcs
Damn man I guess nobody check their messages anymore, but anys ways I got everthing done still no internet, so whats the deal
WHO BESIDES THE OP HAS ACTUALLY HAD ANY SUCCESS?
yeah i am also trying to flash a cdma hero and i dont know how to use sdk, not too familiar, but im up for it. any video tutorials any1? this sucks dude, i really wanna learn how to do this i have a phone and i cant even use it.
Did you use a custom ROM or just the standard ROM?
I've tried a few different variations of this method and it doesn't work. At least not with the standard ROM. Also the PPP username and password kept resetting itself back to verizon after reboot so I'm guessing we're gonna need a modified NV-Items file to fix that; the one from whiterabbit doesn't work on this phone.
**87284 on Verizon Galaxy S
##8778# on Sprint Galaxy S (Epic)
I had success flashing to metro with everything working. for the ppp settings to stick make sure you use qspt 2.7 build 215 and the m.ip settings with build 355.
euklid said:
I had success flashing to metro with everything working. for the ppp settings to stick make sure you use qspt 2.7 build 215 and the m.ip settings with build 355.
Click to expand...
Click to collapse
how did u get mms on it?? because i cant get it on my fascinate everything works except mms
I uploaded apn file for metropcs with apn restore app.
Sent from my SCH-I500 using Tapatalk
euklid said:
I uploaded apn file for metropcs with apn restore app.
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
You have that xml file? Or a link to it? I'd like to try with new ports, I didn't even have to install AUTOSTART for web to work...wonder if mms works with just the apn.xml....
Related
Before I even begin the tutorial I need to point out something:
THIS WILL VOID YOUR WARRANTY AND YOU MAY LOSE SUPPORT FROM YOUR CARRIER. THIS ALSO HAS THE POTENTIAL TO BREAK YOUR ABILITY TO UPGRADE TO YOUR CARRIERS OFFICIAL 2.1 UPDATE WHEN RELEASED
What is an RUU?
RUU (or radio unit update) is a factory restore update which will wipe your handset and re-program it. Sometimes this is done as a troubleshooting step to fix a corrupt operating system, sometimes it is done as a clean update.
How can a Sprint RUU break your ability to update to 2.1 from your carrier?
Most RUU updates include updates for the bootloader (HBOOT). HBOOT does NOT take kindly to being downgraded. If you run an RUU from Sprint then find out that the RUU from your carrier for 2.1 has an older version of HBOOT then your official RUU will fail with an error of "Main version is older!"
Why does using a Sprint RUU void my warranty or remove my carrier support?
You are removing the software which was tailored specifically for your carrier. This can have undesirable results and potentially break things. You can't expect your carrier's technical support to help you with Sprint software or with bugs because of a custom ROM from the XDA community.
Anytime you mess with your phones operating system and firmware you also have the potential to cause serious problems. DO NOT attempt this process unless you are certain you know what you are doing!
THIS SHOULD WORK ON ALL HTC HERO PHONES CURRENTLY RUNNING OS 1.5 (CUPCAKE)
LINK IS FINALLY UP! CLICK HERE FOR THE ZIP FILE
Documents in the linked ZIP file (in the order you should use them)
Android - Setting Up ADB Access
HTC Hero - Installing Sync and Drivers
Android - Creating a GoldCard
HTC Hero - Flashing RUU from microSDHC
Android - Flashing Custom Recovery Image
HTC Hero - Flashing 2.1 ROM
Files in the linked ZIP file
HERCIMG.zip (RUU rom.zip from Sprint's latest 2.1 test build)
flash_image
recovery-RA-heroc-v1.6.2.img
READ ALL OF THE INSTRUCTIONS BEFORE YOU GET STARTED!
DO YOU REALLY WANT A $500 PAPERWEIGHT BECAUSE YOU WERE TOO IMPATIENT TO SPEND 10 MINUTES READING?
GETTING STARTED
There are THREE things you must have to proceed:
A CDMA HTC Hero (not a GSM version)
The ZIP file linked to above
Your MSL code*
*The MSL code is a six digit code used to access your phones programming. Some carriers use a generic 000000 or one code for all of their devices. Other carriers have an MSL which is device specific. I am NOT going to help you find your MSL code! If you don't know it, contact your carrier and ask for it or search the forum for other means of obtaining it.
Basic Setup
Complete the steps in the following guides (which are in attached zip)
Android - Setting Up ADB Access.docx
HTC Hero - Installing Sync and Drivers.docx
Before you begin following the rest of the guides in the attached ZIP file you will need to backup your PRL. PRL is the preferred roaming list and tells your phone which carriers/towers it can use. If this file is incorrect you could end up with poor service or potentially roaming charges.
WHEN YOU USE A SPRINT RUU YOU WILL END UP WITH A SPRINT PRL! YOU MUST BACKUP YOUR PRL BEFORE GETTING STARTED SO YOU CAN RESTORE IT AFTER THE RUU.
PRL Backup
(the following instructions are adapted from THIS link)
1. Download and install the latest version of QPST from HERE
2. Dial ##3424# on your Hero to put it into diagnosic mode and connect to your computer via USB
3. Open QPST Configuration and go to the PORTS tab
4. Click on "Add New Port".
5. Select the port listed as USB/QC Diagnostics (may vary, just don't use the data modem one)
6. Go to Start Clients Dropdown and select Service Programming
7. From Service Programming your phone should be selected - Click OK
8. Click "Read from Phone" and Enter MSL. Various fields should populate, don't worry about what tab you are one
9. Click "Save to File" and save to wherever you want (just remember where)
The prl will be located in the directory you saved the file in and labeled as <yourphoneesn>_sp.rl0
Advanced Tasks
Complete the steps in the following guides (which are in attached zip)
Android - Creating a GoldCard.docx
HTC Hero - Flashing RUU from microSDHC.docx
Android - Flashing Custom Recovery Image.docx
HTC Hero - Flashing 2.1 ROM.docx
EDIT:
Because the RUU file updates HBOOT before it goes on to update the system it's possible that this will invalidate your current goldcard. DON'T FREAK OUT IF THE RUU FAILS AFTER THE FIRST TWO STEPS! Just pull the battery to reboot and redo the goldcard from scratch again. You should find that this time the RUU will complete.
PRL Restore
Copy the PRL file to the root of your microSD card
Dial ##775# on the handset and enter the MSL code when prompted for password
Tap on Update PRL
If it read your microSD card correctly your PRL file should be listed in the bottom half of the screen to select
Select your PRL and click OK
Press the MENU button and tap on Commit Modifications (which will reboot the phone)
Here's a simple clean-up script attached to remove what I consider to be useless applications. I've copied the script into this thread so you can see what it will remove before you run it. If there's anything you want to keep just right click the batch file, select EDIT, then remove the line deleting the program you want to keep.
adb remount
adb shell rm /system/app/LiveWallpapers.apk
adb shell rm /system/app/LiveWallpapersPicker.apk
adb shell rm /system/app/Sprint_Core.apk
adb shell rm /system/app/Sprint_TVWidget.apk
adb shell rm /system/app/Sprint_TV.apk
adb shell rm /system/app/Sprint_Nscar.apk
adb shell rm /system/app/Sprint_Navigation.apk
adb shell rm /system/app/Sprint_NFL.apk
adb shell rm /system/app/SDSA.apk
adb shell rm /system/app/sfl-prod-release.apk
adb shell rm /system/app/Flickr.apk
adb shell rm /system/app/com.htc.MusicWidget.apk
adb shell rm /system/app/com.htc.TwitterWidget.apk
adb shell rm /system/app/HtcTwitter.apk
adb shell rm /system/app/IM.apk
adb shell rm /system/app/OMADM.apk
adb shell rm /system/app/Facebook.apk
adb shell rm /system/app/HtcFacebook.apk
adb shell rm /system/app/IQRD.apk
adb shell rm /system/app/Launcher2.apk
adb shell rm /system/app/com.htc.StockWidget.apk
adb shell rm /system/app/Stock.apk
I just threw this together this morning so it might have some errors. If you find anything that needs to be corrected please post here or PM me and I'll get to it as soon as I can.
is there a way around the htc sync / sdk conflict?
cyanfrost said:
is there a way around the htc sync / sdk conflict?
Click to expand...
Click to collapse
I've never been able to get them to play nice on the same PC. If you're planning on sticking with Android phones for a while keep the SDK on your PC and instead of using the HTC Sync application use Missing Sync.
Nevermind, I figured out the answers to my questions on my own.
Thanks for the guide. This worked perfectly. ACS wireless here. Use the attatched PRL and you can skip the qpst backup step. This should in theory work for converting a gci hero to acs, but i have not tested that.
UPDATED: Now attached is the official radio update from the ACS RUU that dropped today. Version is 2.42.01.04.23
Got it to work on my hero on GCI/AK Digitel.
I ran into a couple of problems but I was able to get around it.
The first problem I ran into was hercimg.zip wouldn't install. It installed initially and updated my hboot and radio but it would just go back to the hboot menu every time it would extract and check. I finally got it to install after removing my battery during the green htc logo then going into hboot. I tried re-creating the gold card and formatting my sdcard but I couldn't get it to work until the battery got pulled on the htc logo which I did on accident.
The second problem I had was when I was installing the custom recovery image. I tried both methods in the tutorial but it wouldn't work in the end I had to follow the How-To repair your bootloader after using the 2.1 RUU tutorial at androidcentral and it work out great
But now I am rooted and running fresh 2.1.1 so everything is great!!!
Thanks for the tutorial!!!
Thanks
Thanks for all the hard work on this, but it would be nice if you posted document files that do not require office 2007 or better as I do not have it or want it. Plain old text works great and is quite cross platform and document viewer compatible.
Damn! Wish this was here before I rooted a month ago! lol.
Thank you very much for the work you put into this awesome post!!! After reading it over and over I am ROOT!!!!! I really want to thank YOU, ipfreelytech, and d-shade for the help you guys gave me. Now I'm off to flash!
Thanks guys!!!!!!
was looking for this tutorial, thanks!
These can be opened in pages on a mac, or in openoffice on linux or windows. you could also download a viewer. Seems like a really stupid complaint as he put A LOT of effort into this and you can't download a viewer?
webfeind said:
Thanks for all the hard work on this, but it would be nice if you posted document files that do not require office 2007 or better as I do not have it or want it. Plain old text works great and is quite cross platform and document viewer compatible.
Click to expand...
Click to collapse
I wish I found this before giving up a week ago!
sorry for being a noob but if i rooted a long time ago using a sprint ruu (i think it was like 1.5 something) (also im on cellular south) and have successfully been rooted for awhile can i update to 2.1 by following this guide?
if you already have root, just flash a 2.1 rom from your recovery console. I'd reccommend flashing a newer recovery image if you haven't done so. but there is no reason to go through all this BS if you have root. to get updated baseband you can flash my radio update i pulled from the ACG RUU or you can flash the signed sprint radio update thats floating around here.
A very important step is missing here....Backup before installing the new ROM (as the phones comes from your company)... specially since this post is targeted to Non-Sprint CDMA and there is no way to RUU back to Non-Sprint; no RUU available, right?
I don't understand what your saying here. you CANNOT backup the stock 1.5 rom, there is simply no way. you can use mybackup to backup system settings and apps on a non rooted phone.
Now that there are 2.1 ruu for non sprint carriers; if for some reason you wanted to take it back to stock and screw yourself out of root for as long as you have the phone you can just flash the RUU from your carrier. The ACG ruu is many versions newer than the sprint ruu so overwrite is not a problem. once again i don't know why anyone would do this.
bicione said:
A very important step is missing here....Backup before installing the new ROM (as the phones comes from your company)... specially since this post is targeted to Non-Sprint CDMA and there is no way to RUU back to Non-Sprint; no RUU available, right?
Click to expand...
Click to collapse
ipfreelytech said:
I don't understand what your saying here. you CANNOT backup the stock 1.5 rom, there is simply no way. you can use mybackup to backup system settings and apps on a non rooted phone.
Now that there are 2.1 ruu for non sprint carriers; if for some reason you wanted to take it back to stock and screw yourself out of root for as long as you have the phone you can just flash the RUU from your carrier. The ACG ruu is many versions newer than the sprint ruu so overwrite is not a problem. once again i don't know why anyone would do this.
Click to expand...
Click to collapse
Thanks for pointing out that in no way you can return back. Non-Sprint Heros users using those ROMs that are all over here, suffer from lack of voicemail notifications.
If your Non-Sprint company has no RUU, THEN DO NOT ROOT your phone if you want to keep voicemail notifications. No backup possible, point of no return! Good advice? ...or Non-Sprint Heros can get voicemail notifications in particular ROM? ...or using an app?
Answering your question about why would you want to go back... To get back your voicemail notifications... or otherwise, keep calling your voicemail, lest say, every 30 minutes.. just to know if you have voicemail.
voice-mail notification is only broken on roms that are based of the sprint RUU. the zen (tmobile mytouch 3gslide port) has working voice mail notification. as do the AOSP based roms such as buufed.
you cannot get a voicemail without a missed call unless your phone is off. so you only would need to check after a missed call.
at one point i was trying to make a rom from the 2.1 update that was used by a bunch of carriers including mine, nothing special just add superuser, but it didn't go well and haven't figured out what went wrong, and lost interest because I started using buufed. The rom booted but didn't have a proper version in the about software. also the mobile radio didn't work nor did wifi.
bicione said:
Thanks for pointing out that in no way you can return back. Non-Sprint Heros users using those ROMs that are all over here, suffer from lack of voicemail notifications.
If your Non-Sprint company has no RUU, THEN DO NOT ROOT your phone if you want to keep voicemail notifications. No backup possible, point of no return! Good advice? ...or Non-Sprint Heros can get voicemail notifications in particular ROM? ...or using an app?
Answering your question about why would you want to go back... To get back your voicemail notifications... or otherwise, keep calling your voicemail, lest say, every 30 minutes.. just to know if you have voicemail.
Click to expand...
Click to collapse
I'd been having problems with 4G being stuck in scanning mode after 1.47 ROM updates and almost lost all hope when no solutions seemed to work.
UNTIL!!!!!!
1. Flash your 1.47 based ROM of choice.
2. Make sure 4G is turned off and boot into recovery and install latest Radio (http://forum.xda-developers.com/showthread.php?t=715485) and update profile then update PRL.
3. Make sure 4G is turned off and boot into Recovery and install latest Wimax Radio (http://forum.xda-developers.com/showthread.php?t=715485) and update profile then update PRL.
4. DELETE TREE.XML FILE IN THE FOLLOWING DIRECTORY: /data/misc/wimax/
How you delete this file is totally up to you. I personally deleted using adb shell, but Root Explorer from the Market should work as well.
5. Reboot & Turn on 4G
At this point the tree.xml file will be automatically generated and hopefully you will have full functioning 4G.
Good luck!
I will second this!
After i updated to Fresh's newest this morning I ran into this is as well. I used root explorer to delete the tree file and voila, functioning 4g goodness.
Worked for me as well! I'm glad it's this easy! Although, I just used ADB instead of Root Explorer, but they both work the same.
I thought the easiest way was to use Whitslacks start over method?
can someone post the adb commands for us cheap (don't want to spend the $ on root explorer) n00b's?
tx_jaycee said:
can someone post the adb commands for us cheap (don't want to spend the $ on root explorer) n00b's?
Click to expand...
Click to collapse
adb shell [enter]
cd /data/misc/wimax/ [enter]
rm name_of_your_tree_file.xml [enter]
[enter] = hit the enter key on your keyboard
tx_jaycee said:
can someone post the adb commands for us cheap (don't want to spend the $ on root explorer) n00b's?
Click to expand...
Click to collapse
here you go:
To figure out what your mac address is/file name is called:
Code:
adb shell
ls /data/misc/wimax
this will list all the files and folders in the wimax folder. look for the one ending with .tree.xml
Then to remove the file (assuming you're still in shell-denoted by the # sign):
Code:
rm data/misc/wimax/############.tree.xml
I wish someone could find a fix for the less common problem of 4g dropping and not reconnecting:
http://forum.xda-developers.com/showthread.php?p=7206162&posted=1#post7206162
Thanks initial. I'll have to wait till I head into town tomorrow. No 4G in the burbs yet.
If you say 4G works, can you say if you can connect, leave the 4G area for a little while, re-enter the 4G area, and have the phone re-connect 4G without getting stuck on "Scanning" or "Obtaining IP?"
I did the whitslack method flash DC 3.2.3 everything works great only problem I'm having is everytime I leave 4g area I have to reboot for 4g to work this goes for wifi wont start unless reboot Bluetooth wont conect unless reboot. Can someone please confirm if this is only on rooted roms or both stock and rooted.
Sent from my PC36100 using Tapatalk
initial said:
here you go:
To figure out what your mac address is/file name is called:
Code:
adb shell
ls /data/misc/wimax
this will list all the files and folders in the wimax folder. look for the one ending with .tree.xml
Then to remove the file (assuming you're still in shell-denoted by the # sign):
Code:
rm data/misc/wimax/############.tree.xml
Click to expand...
Click to collapse
If you want to delete the tree you can just use a wildcard without listing the directory first:
Code:
adb shell
rm data/misc/wimax/*.tree.xml
Good call, this is even easier. no need to list the directory anymore.
ewilson said:
I did the whitslack method flash DC 3.2.3 everything works great only problem I'm having is everytime I leave 4g area I have to reboot for 4g to work this goes for wifi wont start unless reboot Bluetooth wont conect unless reboot. Can someone please confirm if this is only on rooted roms or both stock and rooted.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
I don't think you're alone:
http://forum.xda-developers.com/showthread.php?t=717307
Holy ****ing ****. I've tried everything, and this actually worked? I ****ing love you. Kudos, man.
Posted here: http://forum.xda-developers.com/showthread.php?t=717307&page=3
swatspyder said:
I need someone to confirm, but I believe I found a FIX!!!
Requirements:
Your MSL code (See Here: http://forum.xda-developers.com/showthread.php?t=697487)
Instructions:
Turn OFF your 4G radio if it is turned on!
1) Click on phone and dial ##DATA# (##3282#)
2) Click on "Edit Mode"
3) Type in your MSL code (see above if you don't have it yet)
4) Click on the menu entry "WiMAX"
5) Scroll down the list and click on "WiMAX_Scan_Retry(s)"
6) Enter the number 15 and click "OK" (This equals 15 seconds instead of 300 seconds)
7) Scroll down the list and click on "WiMAX_Entry_Delay(s)"
8) Enter the number 0 and click "OK" (This equals 0 seconds instead of 300 seconds)
9) Press the "Menu" key and click on "Commit Modifications"
10) Grab a cup of coffee, get a bite to eat, or sit back and wait for your EVO to restart
Testing:
1) Go to your phone's settings and click on "Wireless & networks"
2) Scroll down and click on 4G settings
3) Click on 4G to turn it on and wait for the status to change to "Connected to Sprint"
4) Without touching any of the menu items, cover the top half of your phone with your hands until the status changes to "Scanning..."
5) Uncover the top of the phone and count the seconds until it says "Connecting to Sprint"
6) Realize that you no longer have to cycle the 4G radio to reconnect
Result:
After modifying my EVO and my girlfriend's EVO and inputting these changes, the phone will reconnect to the 4G tower in as little as 20 seconds!
Yes, 20 seconds, the most I have seen so far is 30 seconds after dropping the connection. This is a HUGE improvement over the 5+ minutes to reconnect (300+ seconds).
Click to expand...
Click to collapse
mrkmrk said:
Holy ****ing ****. I've tried everything, and this actually worked? I ****ing love you. Kudos, man.
Click to expand...
Click to collapse
Ditto.
I tried to skip a step because I was lazy and didn't work. Started from the begining and IT WORKED.
Just to clear things up, this will not fix any bad MAC addresses.
This is just a soft fix to get roms working (given that your MAC has not been corrupted)
Neotelos_com said:
Just to clear things up, this will not fix any bad MAC addresses.
This is just a soft fix to get roms working (given that your MAC has not been corrupted)
Click to expand...
Click to collapse
How do I fix the corrupted mac address? I think that may be what my problem is.
Edit: Nevermind, this fixed the problem; I have a weak signal in my house and it's still as bad as before the original wimax radio.
I have tried the method of the original poster and still have no luck. I rooted my phone after the OTA update using the simple root method. Prior to root my 4G was working.
I then installed BakedSnack 9.6 and since then 4G just sits on scanning. I have installed the latest radio/wimax roms multiple times and done everything else to no luck.
Can someone with a now working wimax post their output from logcat when they enable it. There is a thread in Q&A here: http://forum.xda-developers.com/showthread.php?t=725773 that explains the issue some of us are seeing.
For me and others with issues Logcat showing the error: E/Wimax ( 274): <DCP> Bad return status 0xffffffff
To capture a logcat connect do the following in adb:
Code:
adb shell
logcat > \sdcard\logcat.txt
immediately start wimax and leave it until it connects
You can now hit CTRL+C to kill logcat
The output of the logcat will be written to a text file called logcat.txt on the root of your sdcard instead of just scrolling by on your screen.
If someone here could do this it would be much appreciated and might help those of us still having issues.
I am on Stock 2.1, Rooted
For some unknown reason I have lost ability to go into EPST from phone by ##778 code.
QPST is working in diagnostic mode.
Does anyone know what could have caused this and more importantly how to get it back.
Any suggestions would help.
I have searched many places but did not find answers.
seconded...
EPST works fine on my rooted/2.1 stock phone... not on my wife's. None of the ##xxx codes works.
Weeks after rooting my DInc w/ unrevoked 3.0, I decided it was safe to go ahead and do the same on my wife's phone. It's 2.1 stock, rooted with unrevoked 3.1/CM 2.5.0.x...plus the wifi tether kernel for AP mode wifi. Deleted CityID and installed root apps Ti Backup (full version), IncrediLite, and AdFree (which required manual symlinking /system/etc/hosts --> /data/data/hosts).
That's IT. Her phone is simpler in terms of apps installed. There's very little there that I haven't also done to my own phone... she has HandCent SMS where I don't; rooting method plus clockwork recovery were/are newer, and I never quite got AdFree working on one of the handsets.
I've no idea why this happened to one phone and not the other...I don't understand the where the config files are stored, or how the dialer accesses the 'hidden' menu. Unless I find an informative answer, I'm just going to try unrooting hers & reverting to stock...
figured out a few things
running ASTRO's process manager on my W's rooted phone, I see that dialing ##778 does invoke an instance of EPST... but you don't get the view/edit mode dialogue.
Trying to launch EPST from the ASTRO process mgr ("go to application") gives the view/edit choice, and if you hit edit you are prompted for the password... but after typing in 000000 it just hangs on 'wait while verifying password'
logcat has lots of entries containing 'epst' but I don't know how to interpret them.
I notice that the com.google.android.epst file lives in /data/data, where one has to muck around when getting a hosts file symlinked for AdFree...but I didn't do anything clumsy, and the permissions are rwxr-xr-x which looks right.
That's about as far as I can go. Anyone know what breaks EPST?
QPST workaround...
I guess this problem must be pretty isolated since no one has responded... but fwiw, as OP alluded, Qualcomm's QPST utility offers a workaround if you can't launch EPST from your phone/dialer:
1. Find a copy of QPST 2.7 build 323 (don't ask me where). Install to PC.
2. Install HTC Sync (for drivers), then Connect phone as 'charge only' via USB with debugging enabled.
3. Open Device Manager and look under Ports to find which COM# is the HTC Diagnostic Interface.
4. Launch QPST Configuration applet. Click the Ports tab, then Add New Port. Select the COM port you found in Step 3 from the list at left, then hit OK. Your phone should now show up under the Active Phones tab as FFA/Surf QSD8650 Rev. 2.0. If not, unplug phone, dial ##DIAG#, wait 10s and plug back in as in Step 2.
5. Open the QPST Start Clients menu & choose Service Programming. Select your phone, hit OK, then click 'Read from Phone' button in the resulting window.
6. You now have access to the same configuration items you normally reach via ##778 on your phone. 'Write to Phone' will commit any changes you make, without further warning.
Obviously it is possible to seriously BORK your phone from here, requiring a restore from backup (which you should have before trying this). I take no responsibility for what you do with QPST. I used it only to change the tethering NAI from <number>@dun.vzw3g.com --> <number>@vzw3g.com so I could tether my wife's DINc. via Windows DUN. That worked, but I can't guarantee the results of other edits.
Same issue
Sorry to resurrect an old thread, but I am having nearly the same issue.
When I try to access epst from dialing ##778# on my girlfriends hero nothing happens at all. I ended up adding a shortcut with anycut and now the view or edit menu comes up. When I hit view it just hangs when I hit edit and enter the password it stays on "please wait verifying password". I can get ##data# to work and a few other ##xx# codes to work but I need access to the epst advanced settings.
Any help would be greatly appreciated, I have tried 1.5 stock 2.1 stock Fresh versions 2.1.3 (i think that's right) Fresh 2.3.3 and Damage control 2.09.....
I have qpst and CDMA workshop 2.7 but I know there are more options I need to change to get data on cricket. I don't have the $100 to spend on the new version on CDMA workshop.
Thanks in advance.
(UPDATE: 8/24/11 New flashable update.zip for install via recovery, includes Gscript (credit goes to PinkVenture for developing the app!) and my simple on/off scripts already installed. You can link shortcuts directly to the desktop for each ON or OFF through add shortcut on homescreen, see attachments at the end of this post)
I'll start this off by mentioning that all the threads you may find saying "CM7 DIAG Enabled!" such as this one here Etc, are not valid solutions for OUR device. That may/may not work with the eris/hero(haven't tried) etc as those topics discuss. They merely SPECULATE it will for any CM7 based rom - it doesn't for ours.
echo 1 > /dev/qct_diag_enable (to enable diag mode)
..and your phone should go into USB diag mode. when you are done just:
echo 0 > /dev/qct_diag_enable (to disable diag mode)
Click to expand...
Click to collapse
WONT DO ANYTHING for you. In fact, it made my "qct_diag_enable" file disappear. Scroll to the bottom to skip my bantering and explaining of the reason this is a useful feature for people like myself, and to just show the actual findings of this thread.
So you have CM7 and (of course) are lovin' it. The only thing is you have an alternate carrier (cricket personally) and hate the fact that manually switching prl's or needing to change your EPST settings can be a pain (since CM7 has no EPST built-in!). Especially when its [*feature name here] that you would LIKE to have the ability to use, but can live without if it means having to restore (or flash one if you have no backups) a sense rom just to change any of your EPST (##778, etc) settings.
Well, if you know anything about QPST for windows (google), then you know that you need to have your phone in DIAG mode to use it (##3424) and have the hero diagnostic drivers installed on your windows machine. (For the record, I'm an Ubuntu man and my main machine is NOT dual boot, meaning I still have to switch to my windows laptop to use QPST >< but we'll just pretend you have windows and this is more convenient for *you*).
Back to the point, once you've realized all the hassle, yada yada, you just say, "Ill just fix it later, I can live without it for now." AND how sick you are of saying that, here is the solution to no longer switching ROM's for EPST, as there IS a way without the ability to ##3242 in CM7 to enable DIAG mode.
(NOTE: This is also useful for those of you already on CM7 WITH Verizon/Alltell who would like to follow the guide in the Development section Droid Incredible Wiki regarding switching to the whole Verizon PRL/Alltell Hybrid PRL, along with other guides involving EPST or ## codes found there)
Simply go to (via adb shell/terminal emulator) /sys/devices/virtual/usb_composite/diag and run (1 for on and 0 for off, respectively)
Code:
echo 1 > enable
echo 0 > enable
To simplify all this I've included a zip file which includes Gscript.apk for you to install, and two scripts in the Gscript directory (place entire Gscript directory on root of sdcard). Open Gscript application, then once open - menu button>add script>load file>diag on/off.sh>save for each script respectively. Then you can simply toggle on/off DIAG mode from the Gscript application (or even add shortcut>gscript>diag on/off from CM7 home screen, for each script respectively). And without further excess explanation, here's the .zip signed-diagscripts.zip flashable update.zip file for recovery
By the way, if a mod reads this, could you please move to the Development section and remove my restriction? I know I don't have my whole 10 posts etc, etc, but I don't really have enough to say or the patience to say it most of the time to post 10 posts. However, I've lurked these boards and been rooting phones and flashing phones via this forum since my first android phone back from what feels like ages ago. (going on 4 rooted and flashed to cricket android phones now, all sold except my current, Dinc)
cool, thanks, man!!!
Sure thing, let me know if anyone experiences issues by pm or reply. I was thinking about compiling an installable zip so this can be installed after rom in recovery too.
Sent from my ADR6300
Just wondering... Any idea if this will work on Evo as well?
Work on the EVO too?
Yeah, I would really like to know if this would work on the evo!!
hydrosity said:
I'll start this off by mentioning that all the threads you may find saying "CM7 DIAG Enabled!" such as this one here Etc, are not valid solutions for OUR device. That may/may not work with the eris/hero(haven't tried) etc as those topics discuss. They merely SPECULATE it will for any CM7 based rom - it doesn't for ours.
WONT DO ANYTHING for you. In fact, it made my "qct_diag_enable" file disappear. Scroll to the bottom to skip my bantering and explaining of the reason this is a useful feature for people like myself, and to just show the actual findings of this thread.
So you have CM7 and (of course) are lovin' it. The only thing is you have an alternate carrier (cricket personally) and hate the fact that manually switching prl's or needing to change your EPST settings can be a pain (since CM7 has no EPST built-in!). Especially when its [*feature name here] that you would LIKE to have the ability to use, but can live without if it means having to restore (or flash one if you have no backups) a sense rom just to change any of your EPST (##778, etc) settings.
Well, if you know anything about QPST for windows (google), then you know that you need to have your phone in DIAG mode to use it (##3424) and have the hero diagnostic drivers installed on your windows machine. (For the record, I'm an Ubuntu man and my main machine is NOT dual boot, meaning I still have to switch to my windows laptop to use QPST >< but we'll just pretend you have windows and this is more convenient for *you*).
Back to the point, once you've realized all the hassle, yada yada, you just say, "Ill just fix it later, I can live without it for now." AND how sick you are of saying that, here is the solution to no longer switching ROM's for EPST, as there IS a way without the ability to ##3242 in CM7 to enable DIAG mode.
(NOTE: This is also useful for those of you already on CM7 WITH Verizon/Alltell who would like to follow the guide in the Development section Droid Incredible Wiki regarding switching to the whole Verizon PRL/Alltell Hybrid PRL, along with other guides involving EPST or ## codes found there)
Simply go to (via adb shell/terminal emulator) /sys/devices/virtual/usb_composite/diag and run (1 for on and 0 for off, respectively)
Code:
echo 1 > enable
echo 0 > enable
To simplify all this I've included a zip file which includes Gscript.apk for you to install, and two scripts in the Gscript directory (place entire Gscript directory on root of sdcard). Open Gscript application, then once open - menu button>add script>load file>diag on/off.sh>save for each script respectively. Then you can simply toggle on/off DIAG mode from the Gscript application (or even add shortcut>gscript>diag on/off from CM7 home screen, for each script respectively). And without further excess explanation, here's the .zip gscript_diagscripts.zip
By the way, if a mod reads this, could you please move to the Development section and remove my restriction? I know I don't have my whole 10 posts etc, etc, but I don't really have enough to say or the patience to say it most of the time to post 10 posts. However, I've lurked these boards and been rooting phones and flashing phones via this forum since my first android phone back from what feels like ages ago. (going on 4 rooted and flashed to cricket android phones now, all sold except my current, Dinc)
Click to expand...
Click to collapse
so wait let me get this straight. this mod is so we can update our prl??? or is this for people that would like to still run the altel hybrid prl?
because a simple *22899 will let you update it. i know this because i have been on cm7 nightly from day one and there was 1 update of the prl and it worked.
EVO + CM 7 + this solution = GO (GREEN LIGHT) WORKS.
Is there any way of running the ##3282# (if it's a file you run or an APK you install?)
Hows about this
i got one better for ya.
Code:
am start -a com.android.dmcommandservice.START -n com.android.dmportread/.DMPortActivity
what is so great about getting to Diag mode this way you say?
1. well it doesn't require root access.
2. its cross model supported. (well any model with the DMPortRead.apk installed which i have yet to see one without).
btw you can do the ##3282# in the same way... the apk is call EPST.apk. just look in the Android-Manifest.xml for the info.
tronoftroy said:
i got one better for ya.
Code:
am start -a com.android.dmcommandservice.START -n com.android.dmportread/.DMPortActivity
what is so great about getting to Diag mode this way you say?
1. well it doesn't require root access.
2. its cross model supported. (well any model with the DMPortRead.apk installed which i have yet to see one without).
btw you can do the ##3282# in the same way... the apk is call EPST.apk. just look in the Android-Manifest.xml for the info.
Click to expand...
Click to collapse
Remember, Im on CM7 GingerBread, not SENSE....
Ok so it should work on the EVO since the architecture is pretty much the same as the DINC. Now as far as it being for updating the PRL, yes it can be for that. But it is for people who need to use a program such as QPST or CDMA Workshop to change carrier based settings on their phones(IE the "flashing" [no not as in rom flashing, but carrier]). Where *228 and such is not a feasible replacement for doing so and would prevent their phone from functioning correctly, such as with mine which is flashed to cricket.
Any sort of *228 business breaks my cricket flash, and I used to have to make a backup and go back to restore a sense rom to go into the EPST app with ##778 or to be able to dial ##3424 to put the phone into DIAG mode where I could revise the settings again to make it function properly, THEN flash back since CM7 does not have the EPST.apk which supports both of these features.
With this you can avoid the whole hassle of all this if you have the QPST application for your PC by simply putting your phones DIAG mode ON or OFF. Where you can manually put in what ever PRL you want and manually set any carrier-specific settings. Not as convenient as EPST and its ##778 feature, but much more so than the previously described process.
ALSO I've now included all of this in a simple .zip file flashable from recovery to streamline this crude process a little more. Get it HERE. The file in the original post has been updated too.
m4f1050 said:
Remember, Im on CM7 GingerBread, not SENSE....
Click to expand...
Click to collapse
if CM7 doesn't have DMPortRead.apk couldn't you just push it to you framework/app folder? or even install the apk and just run that when ever you need to connect to the Diag port? (for Qpst, or what ever you need it for) i'm not very familiar with CM7 so i could be wrong.
i use it to send my own serial commands. i find qpst to be more of a hassle then helpful. manuf. have been making there own NV items that are not listed in Qpst models for a while now. ie. the ERI banner for some hero's is not pulled from the usual eri.xml but instead read from the NV items. i think NV item 8042.
now, i while i was snooping around with the flash command. i notice that you can use "-s" (i think, i could be thinking of fastboot.) to specify your own memory location to flash an img file to.
now if we can find the mem location of the NV items you can simply read your entire NV items as an .img then use flash cmd to write all your NV items at once, and maybe even with the Recovery update.zip. im looking into the recovery source atm. if anyone knows where the NV items are stored plz let me know. is it mtd or mem location?
Can you check if you have the file /sys/devices/virtual/usb_composite/diag/enable? If you do.. Create a GScript that echoes 0 or 1 (0 for disable and 1 for enable) to the file /sys/devices/virtual/usb_composite/diag/enable it works like a charm!
tronoftroy said:
if CM7 doesn't have DMPortRead.apk couldn't you just push it to you framework/app folder? or even install the apk and just run that when ever you need to connect to the Diag port? (for Qpst, or what ever you need it for) i'm not very familiar with CM7 so i could be wrong.
i use it to send my own serial commands. i find qpst to be more of a hassle then helpful. manuf. have been making there own NV items that are not listed in Qpst models for a while now. ie. the ERI banner for some hero's is not pulled from the usual eri.xml but instead read from the NV items. i think NV item 8042.
now, i while i was snooping around with the flash command. i notice that you can use "-s" (i think, i could be thinking of fastboot.) to specify your own memory location to flash an img file to.
now if we can find the mem location of the NV items you can simply read your entire NV items as an .img then use flash cmd to write all your NV items at once, and maybe even with the Recovery update.zip. im looking into the recovery source atm. if anyone knows where the NV items are stored plz let me know. is it mtd or mem location?
Click to expand...
Click to collapse
Hmmm... Can you write to NVItem 0,1 or 2 this way?
m4f1050 said:
Hmmm... Can you write to NVItem 0,1 or 2 this way?
Click to expand...
Click to collapse
yes. you can write any nv item through DM Mode. well almost any.
i guess some call the NV item image file SPL???... poking about on the forums seems like you are unable to backup the radio and the nvitems maybe stored within. just a guess though.
tronoftroy said:
yes. you can write any nv item through DM Mode. well almost any.
i guess some call the NV item image file SPL???... poking about on the forums seems like you are unable to backup the radio and the nvitems maybe stored within. just a guess though.
Click to expand...
Click to collapse
in EFS you can access NV items locked (on some HTC devices, tested with EVO 3D and EVO 4G) by creating folder "open sesame door" rebooting phone then going back to EFS the folder NVM should not have the lock, allowing you to see / write these NV items. So if you lack an easy to use NV Item browser you can use this approach.
Can you please update the link for the update.zip file to flash in recovery? Or if someone has it can you point me in the right direction?
I am trying to get QPST working with Sensation.
After echo'ing 1 to enable, the USB modem driver shows up. I dunno which driver u have used but I am using this one: http://forum.xda-developers.com/showthread.php?t=801570
and in QPST it doesn't recognize phone model so I can'T pull NV data from it.
any suggestions?
BTW I have QPST 2.7 Build 366
Curious! said:
I am trying to get QPST working with Sensation.
After echo'ing 1 to enable, the USB modem driver shows up. I dunno which driver u have used but I am using this one: http://forum.xda-developers.com/showthread.php?t=801570
and in QPST it doesn't recognize phone model so I can'T pull NV data from it.
any suggestions?
BTW I have QPST 2.7 Build 366
Click to expand...
Click to collapse
yeah, just open up your QPST Configuration. and set the Comport then your phone will show in QPST.
Hmmmm, modem? You're on 64 bit Windows 7? I recommend 32 bit..
Does this work on the evo??
This is a tool I made (with the help of this thread >> http://forum.xda-developers.com/showthread.php?t=1060184 << thanks hydrosity) that will install GScript and scripts to your HTC THUNDERBOLT and allow you to use QPST, QXDM, DFS cdma tool, and cdma workshop on your phone. It is meant to put the device into DIAG mode after you have flashed to a custom rom that doesn't have ##3424# capabilities built in. It is flashable thru recovery mode. It is very useful if you have flashed your TB to another carrier (i.e. Cricket, Metro, etc.) and need to re-write nv and/or nam settings. This took me 3 and a half days to create because of the tedious work of creating an updater-script with notepad++. This is my first flashable package i have ever created and it works nicely. Instructions are as follows...
1. Reboot to Recovery mode that uses edify.
2. Enable signature checking.
3. Choose flash rom from sdcard.
4. After rebooting, run GScript app.
5. Touch menu button.
6. Choose load.
7. Touch diag_on.sh and save.
8. Touch diag_off.sh and save.
9. Run GScript again.
10. The 2 scripts are there so, its a no brainer from then on.
11. Enjoy.
If you have any problems with anything not working properly, reboot to recovery again and choose fix permissions. That should help with FCs. I hope I have helped someone the way XDA has helped me numerous times. My way of giving back to the community. BTW, making flashable packages WAS very very hard for me to do. Now it's only kind of hard. LOL. I wonder if i could kang a SG3 JB rom and compile it to run on our aging Thunderbolt? Hmmm....To DEVS, if this is not in the correct place please move it. Thanks. Peace out.
Thanks for the tool man.
I REALLY wish I could flash my old Thunderbolt to Page Plus but I need some good step by step instructions. I found a decent video but only half of the process and I can't afford CDMA workshop.
But this tool will definitely be useful for those who can do it. Thank you for that.
Sent from my XT912 using xda app-developers app
Thanks for downloading my tool. And you need to follow this guide for your task. http://forum.xda-developers.com/showthread.php?t=1473141 I hope this helps. If so hit thanks. Then hit thanks on that thread also. That tool will definitely help you as you don't have to flash back to stock nor reboot your phone to get into diagnostic mode. :good:
Page plus from what I have researched, is like an mvno (virtual network operator) if my memory serves me right. And they are under verizon kinda like boost mobile under sprints network. And u can use DFS CDMA Tool and/or QPST. Both are free. I recommend DFS though. It's what I use for most of my phone programming driver.
You could also use a text file in the init.d with the contents:
Code:
echo 1 > /sys/devices/virtual/usb_composite/diag/enable
echo 1 > /sys/devices/virtual/android_usb/android0/f_diag/on
echo 1 > /sys/class/android_usb/android0/enable
echo 1 > /sys/class/android_usb/f_diag/on
Thanks for replying. I didn't know that. I'm in the process of compiling a custom rom for the thunderbolt based on the new VZW ICS update, but with parts from jellybean. Would love to get a total dump of the new HTC One, as it would probably be easier to build.
tb script
Solcam
thank you so much - I have been searching how to get into Diag mode. I thought going thru bootloader and getting to USB would do it - it gave me a com port, but the computer could not talk to the phone. I am trying to put pageplus on a thunderbolt, problem is I rooted it first and it is a little bit of a hassle to get it back to stock
I ran the script but I get this on the bottom of the screen after running it stderr: sh: <stdin>[1]: cannot create /sys/devices/virtual/android_usb/android0/f_diag/on: no such file or directory, what is supposed to happen? It is supposed to reboot into diag mode?
thanks again.
BoilermanAres
solcam said:
This is a tool I made (with the help of this thread >> http://forum.xda-developers.com/showthread.php?t=1060184 << thanks hydrosity) that will install GScript and scripts to your HTC THUNDERBOLT and allow you to use QPST, QXDM, DFS cdma tool, and cdma workshop on your phone. It is meant to put the device into DIAG mode after you have flashed to a custom rom that doesn't have ##3424# capabilities built in. It is flashable thru recovery mode. It is very useful if you have flashed your TB to another carrier (i.e. Cricket, Metro, etc.) and need to re-write nv and/or nam settings. This took me 3 and a half days to create because of the tedious work of creating an updater-script with notepad++. This is my first flashable package i have ever created and it works nicely. Instructions are as follows...
1. Reboot to Recovery mode that uses edify.
2. Enable signature checking.
3. Choose flash rom from sdcard.
4. After rebooting, run GScript app.
5. Touch menu button.
6. Choose load.
7. Touch diag_on.sh and save.
8. Touch diag_off.sh and save.
9. Run GScript again.
10. The 2 scripts are there so, its a no brainer from then on.
11. Enjoy.
If you have any problems with anything not working properly, reboot to recovery again and choose fix permissions. That should help with FCs. I hope I have helped someone the way XDA has helped me numerous times. My way of giving back to the community. BTW, making flashable packages WAS very very hard for me to do. Now it's only kind of hard. LOL. I wonder if i could kang a SG3 JB rom and compile it to run on our aging Thunderbolt? Hmmm....To DEVS, if this is not in the correct place please move it. Thanks. Peace out.
Click to expand...
Click to collapse
boilermanAres said:
Solcam
thank you so much - I have been searching how to get into Diag mode. I thought going thru bootloader and getting to USB would do it - it gave me a com port, but the computer could not talk to the phone. I am trying to put pageplus on a thunderbolt, problem is I rooted it first and it is a little bit of a hassle to get it back to stock
I ran the script but I get this on the bottom of the screen after running it stderr: sh: <stdin>[1]: cannot create /sys/devices/virtual/android_usb/android0/f_diag/on: no such file or directory, what is supposed to happen? It is supposed to reboot into diag mode?
thanks again.
BoilermanAres
Click to expand...
Click to collapse
Your phone won't reboot at all. Thats the other reason I made this, because it is faster than ##DIAG#>auto reboot phone>program phone>##DIAG#>auto reboot phone. GOD forbid you didn't program it right the first time. You are supposed to open your app drawer, (the button that shows all apps) touch gscript app to run it, (its blue) hit menu, load and save both scripts. The 2 scripts are on your sdcard inside a folder called 'gscript' without the '' of course. So you could probably use srcipt runner app from playstore to execute the scripts. I just tried with root explorer app and it force closed, so thats not an option. So look here -->http://forum.xda-developers.com/attachment.php?attachmentid=1923849&stc=1&d=1367296728 then you should see this after you hit the menu button-->http://forum.xda-developers.com/attachment.php?attachmentid=1923850&stc=1&d=1367296728 and this after you've added both scripts-->http://forum.xda-developers.com/attachment.php?attachmentid=1923851&stc=1&d=1367296728 If your phone still complains that the files are not found, download and extract this http://forum.xda-developers.com/attachment.php?attachmentid=1923852&stc=1&d=1367296728 folder to the root of your sdcard and try to add the scripts again. So it will look like this /sdcard/gscript/diag_on-diag_off (there is no -, I'm just saying both scripts will be in the gcript folder). After you add the scripts, go back to gcript app, open it and touch 'diag_on' to activate diag mode. I dont know why it did not flash correctly for you in this first place. It should have placed all files in the correct places. By the way, which rom are you running? And did you flash that file from the OP from recovery? I kept compiling and flashing it over and over again until I got it to put all files in the right places. Which recovery are you using? I hope this helps you get your phone flashed over to PP. Good luck. :good:
Thank you! I have 3 Bolts on page plus and have always had to nandroid back to GB to connect to my radios. I'll be giving this a shot soon, the old way of using g_script stopped working after some updates but it seems your tool has brought it back to life....
You are welcome gimmeitorilltell. GScript IS a great app. When used with scripts like this, it streamlines the tedious process of nam/nv programming. I'm just happy that I have helped out some people on XDA, because it's is my number 1 source of alot of stuff for all the phones that I have to program or hack. Just glad to be giving something back to the community. (offtopic)- Why do some of the smartest people on here not know how to speak 2nd grade English? Seems like no one uses the conjunction 'you're' anymore...they say your, which is possessive. Or 'than' instead of 'then'. EX- Your not going anywhere fast than= You're not going anywhere fast then. I don't get it. SMH. Sorry for the rant...it just burns me up. LOL. Hit the thanks button if I've help you...even if it is just taking them back to grade school. LOL.
You are very welcome gimmeitorilltell. I'm happy to help out fellow members. Just glad to give back to the community finally. XDA is my number 1 source of information on how to program or hack devices that I need to program. Hey twistedumbrella, when are you gonna drop your next AOSP rom update? Are you waiting for HTC to release their source code? I'm downloading your ROM (Multisource) right now to check it out. I love AOSP roms because i can play games on my phone with Wii or PS3 gamepads. Plus it sticks it to the MAN (HTC). LOL. MODS please delete this post. I can't seem to be able to.
I used the other script and it went in. I think because there were already some directories made up in the root. So I got into diag mode, I then tried flashing with the site "cyberflashing". It seems like everything gets blocked from writing to the phone.
I rooted it with Revolutionary, Running Liquid ICS android 4.0.4. Nice setup, I should have waited to root and flashed it with the stock rom then rooted it later. I have QPST and DSF plus the free ones from CDMA for ulocking the sps.
After flashing with cyberflash (which did not seem to do anything -$10 gone like that!) they want you do the following (which I did not know if there is a script for this??) info below.
I imagine i could do everything with the right software, just have not found all the videos and tutorials to get it done. It almost makes you want to give it to a guy that does it all the time and pay him for his services, but I am stubborn too, and it has been a learning experience.
What is interesting is that the only number that dialing from the phone that works is the one below
Dial *#*#4636#*#*
Phone information
Scroll down to the CDMA LTE/EVDO box
Change it to CDMA LTE/EVDO
Press back button until back at home screen.
Upon completion of flash restart the phone again by removing the battery.
Then dial ##3424 then press Send
Press Menu
Select Re-boot to enable embedded mode
After the phone reboots dial ##778 then press SEND
Go to edit mode, password 000000
Then go to Modem Settings and match what is below...
-Slot Cycle Index = 2
-Preferred Serving System = Automatic
-Preferred Mode = CDMA Only
-Preferred Mode(9k) = HDR LTE only
-HDR Hybrid Preferred = Enable
-HDR Hybrid Preferred(9k) = Enable
-Clear All MRU Entry = No
-Rev. A = Disable
-1X Diversity = Disable
After this is complete press menu, commit modifications and phone will reboot
Replace LTE Sim card in phone to restore call ability.
Menu, Settings, Wireless and Networks, Mobile Networks, Network Type, CDMA Only
used to work
I don't know why it won't create the directory on the phone, It used to work. I have tried it on two rooted phones and I get the errors. I have found the directories on the phone, but not same structure. Tried to change it - but phone won't let me create new directories on it.
solcam said:
Your phone won't reboot at all. Thats the other reason I made this, because it is faster than ##DIAG#>auto reboot phone>program phone>##DIAG#>auto reboot phone. GOD forbid you didn't program it right the first time. You are supposed to open your app drawer, (the button that shows all apps) touch gscript app to run it, (its blue) hit menu, load and save both scripts. The 2 scripts are on your sdcard inside a folder called 'gscript' without the '' of course. So you could probably use srcipt runner app from playstore to execute the scripts. I just tried with root explorer app and it force closed, so thats not an option. So look here -->http://forum.xda-developers.com/attachment.php?attachmentid=1923849&stc=1&d=1367296728 then you should see this after you hit the menu button-->http://forum.xda-developers.com/attachment.php?attachmentid=1923850&stc=1&d=1367296728 and this after you've added both scripts-->http://forum.xda-developers.com/attachment.php?attachmentid=1923851&stc=1&d=1367296728 If your phone still complains that the files are not found, download and extract this http://forum.xda-developers.com/attachment.php?attachmentid=1923852&stc=1&d=1367296728 folder to the root of your sdcard and try to add the scripts again. So it will look like this /sdcard/gscript/diag_on-diag_off (there is no -, I'm just saying both scripts will be in the gcript folder). After you add the scripts, go back to gcript app, open it and touch 'diag_on' to activate diag mode. I dont know why it did not flash correctly for you in this first place. It should have placed all files in the correct places. By the way, which rom are you running? And did you flash that file from the OP from recovery? I kept compiling and flashing it over and over again until I got it to put all files in the right places. Which recovery are you using? I hope this helps you get your phone flashed over to PP. Good luck. :good:
Click to expand...
Click to collapse
Solcam I have not had much luck with this script running 4EXT recovery. Are you using CWM or something different? I would love to be able to do my programming without restoring the ole GingerBread nandroid. Lol
HTC One
Anyone know if this will work with an HTC One
freduser said:
Anyone know if this will work with an HTC One
Click to expand...
Click to collapse
Highly unlikely
Sent from my HTC6500LVW using Tapatalk
Sorry I haven't replied to this thread in a long time. I'm not sure which phones and/or roms this will work on! I just remembered I had posted this and am currently trying to get this working on cm10.x for the Eco 4g LTE. BTW I built this with titanium backup but have forgotten exactly how I did it as I hate Linux scripts. I'm gonna download this and compare the Evo's file system to the Thunderbolt's. Probably will report back but idk...
twistedumbrella said:
You could also use a text file in the init.d with the contents:
Code:
echo 1 > /sys/devices/virtual/usb_composite/diag/enable
echo 1 > /sys/devices/virtual/android_usb/android0/f_diag/on
echo 1 > /sys/class/android_usb/android0/enable
echo 1 > /sys/class/android_usb/f_diag/on
Click to expand...
Click to collapse
last one works for HTC desire 510 -> echo 1 > /sys/class/android_usb/f_diag/on
solcam said:
This is a tool I made (with the help of this thread >> http://forum.xda-developers.com/showthread.php?t=1060184 << thanks hydrosity) that will install GScript and scripts to your HTC THUNDERBOLT and allow you to use QPST, QXDM, DFS cdma tool, and cdma workshop on your phone. It is meant to put the device into DIAG mode after you have flashed to a custom rom that doesn't have ##3424# capabilities built in. It is flashable thru recovery mode. It is very useful if you have flashed your TB to another carrier (i.e. Cricket, Metro, etc.) and need to re-write nv and/or nam settings. This took me 3 and a half days to create because of the tedious work of creating an updater-script with notepad++. This is my first flashable package i have ever created and it works nicely. Instructions are as follows...
1. Reboot to Recovery mode that uses edify.
2. Enable signature checking.
3. Choose flash rom from sdcard.
4. After rebooting, run GScript app.
5. Touch menu button.
6. Choose load.
7. Touch diag_on.sh and save.
8. Touch diag_off.sh and save.
9. Run GScript again.
10. The 2 scripts are there so, its a no brainer from then on.
11. Enjoy.
If you have any problems with anything not working properly, reboot to recovery again and choose fix permissions. That should help with FCs. I hope I have helped someone the way XDA has helped me numerous times. My way of giving back to the community. BTW, making flashable packages WAS very very hard for me to do. Now it's only kind of hard. LOL. I wonder if i could kang a SG3 JB rom and compile it to run on our aging Thunderbolt? Hmmm....To DEVS, if this is not in the correct place please move it. Thanks. Peace out.
Click to expand...
Click to collapse
Any Simular tool with latest Android Support?
My XIAOMI 6 is root, not enable Diag yet.