yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] SYNTHAXXX:
EVO on Cricket (everything working with no errors)

***UPDATED FILE TO REFLECT IP ADDRESS CHANGE***

Okay so I am not going into detail about Cricket EPST settings and how to use QPST right now. There are plenty of forums which detail everything you need in order to get that setup.

1. Please keep in mind that I did not do anything word-for-word from other tutorials. This setup does not require any proxy shortcuts with Anycut or Bettercut. Also, This is much easier to accomplish, especially if you are not computer savvy, using Root Explorer (download this from the market), rather than ADB.

2. Download this package or this package, depending on whether you are on Cricket or Metro. Unzip the RAR - It contains the 3 files which will be used.

3. Put these 3 files anywhere on your SD card.

4. Using Root Explorer, copy "u2nl" to root/system/bin/

5. Using Root Explorer, create a new folder within root/data/ and name it "opt" (without quotes).

6. Using Root Explorer, copy "autostart.sh to root/data/opt/

7. Download "Autostart (Root)" from the market.

8. Download "APN Backup and Restore" from the market.

9. Open APN Backup and do a backup of your current APN (for safe keeping).

10. Using APN Backup, delete APN's.

11. Using any file explorer, move the cricketAPNs.xml to the APN backup folder on your SD card.

12. Using APN Backup, restore APN's and select the cricketAPNs.xml as the file to restore.

13. Reboot and you are done.

I have to leave for a bit but I wanted to get this posted so you all can try it out. It only takes a few minutes... I'll double check these instructions when I get home and make sure I am not missing anything. If you are having problems, please PM me and let me know. I'll be able to fix this up later, if needed...

Or, feel free to email me at synthaxxx@gmail.com
[EVO 4G Android Development] ap3604:
Synthaxxx = Hero

Does anyone out there know if this will work with METROSPCS as well?
[EVO 4G Android Development] lexce92:
Dam I am Now on a fresh rom and i get a # when i send adb command but i am still receving a mkdir failed for opt error and i am rooted dont know whats going on
[EVO 4G Android Development] Casshern:
I used some of this info in my quest to get a supersonic on big red.

Mission accomplished.

Thanks OP.

Still have mms issues to fix, but other than that, cant complain.
[EVO 4G Android Development] SYNTHAXXX:
This will work on metro as well.

Regarding the makedir permission issue... just use root explorer to create the folder. U can do it with adb but instead of using block3 in the command line, use block4... I don't recall the exact syntax as I am not good with adb... but if u use root explorer, you will have no problem... assuming you are rooted...
[EVO 4G Android Development] lexce92:
Thanks for the feed back but i just changed a few things and i got the apps working i will post how i did it when i remember what i changed
[EVO 4G Android Development] X-Kenshin-X:
awesome post that is exactly what i needed, i am like halfway done, but i wa unable to find this "root explorer" app you are talking about, i coudln't find it on the market??
[EVO 4G Android Development] lexce92:
you have to pay for it in the market. go to 4shared on your phone and type in . root explorer and download from there make sure you have unknow sources checked on phone by going to menu+applications check unknow sources
[EVO 4G Android Development] X-Kenshin-X:
ok i got it, did it, it was pretty easy once i got it.

now... i am not sure if my internet is working.

the reason is because my internet doesn't work, my marketplace doesn't work, there is 0 internet access, but also i am not sure if with android phones it is necessary to take the phone to cricket for them to add the ESN to my account and activate this or not before i can have internet access?

on my previous flashing experiences on windows mobile, once i set up the internet, i could instantly access the web, my phone did not need to be activated...

so i am really at a loss here, i am not sure where to go from here? hopefully it's what i mentioned first...

but if it's not, then what else could it be? is there some logs i could get from qpst, or some screenshots i could show you guys to see that all my settings are correct? (i'm pretty sure they are, but yeah...)
[EVO 4G Android Development] SYNTHAXXX:
You have to have your esn registered on their system... and the phone activated. Otherwise anyone would just be able to get free cricket internet...

If u already have a cricket account then your EVO should be able to access cricket web but only if u have epst setup with the correct MIN number... this is how they authenticate a user...
[EVO 4G Android Development] X-Kenshin-X:
ok... i thought the esn registration was only for calling and texting. wow this makes me feel so much better :eek:

i'll go activate it tomorrow and see how it goes, finally!

(took me over 4 days to get this right! root, full root, nand, research, adb stuff, android stuff, flash custom recovery, radio, custom rom, and finally the internet settings omg lol) :p

because right now i am already getting calls and txts, and just can't answer them.

yeah i thought of that too synthax lol, like i said on windows mobile phones (for the past 2 years i've been flashing), i would always get the internet working before i actually walked into the cricket store to have them add my esn.

i thought it was a big security hole, i was wondering when they would fix it :P . did they recently incorporate this security into their system or what? i guess i didn't notice since i've had my HTC TP2 in their system for over 4 months now...
[EVO 4G Android Development] SYNTHAXXX:
A few people have reported that they are getting data call failure errors. I'm pretty sure that this is due to some of the Sprint-ware on the EVO. I have not seen a single error and I don't have any of the Sprint-ware on my phone. I have removed all of them. If someone can verify which Sprint app is causing this I'm sure that those who r getting the error would appreciate it.

Also, another thing I though of... it seems that on all of the different tutorials out there everyone has a different idea of what to put for the home address, primary ha address, and secondary ha address. These are found in epst, for those that are unsure. The method detailed in my tutorial works with all three of this being set to 0.0.0.0
[EVO 4G Android Development] hetaldp:
For Data Call Failure Errors

adb root
adb remount
adb shell
cd /system/app
mv HtcDm.apk HtcDm.apk.old
reboot
[EVO 4G Android Development] louforgiveno:
can this be done w/ root explorer? just rename to .old? how about the htcdm odex file,

Thanks
[EVO 4G Android Development] XanSama:
Awesome guide, thanks! And thanks for that Data Call Failure fix too, works a charm.

Is anyone else having problems with the phone saying it's Digital Roaming all the time after they switched providers?

Mine constantly says it's Digital Roaming even though it's not :( help?

Edit: @louforgiveno; You could use root explorer but you need to remount your /system as rw first. Easiest just to do it from the terminal all at once.
[EVO 4G Android Development] X-Kenshin-X:
hmm... i don't have mine activated so i wouldn't know. do these data errors happen whenever they get a call and they can't answer?

because if your cricket web is engaged, you can't answer phone calls, my TP2 just doesn't let me answer them... or could someone elaborate more on how and when this happens?

yeah i've been seeing that the EPST settings are very inconsistent around here. i have followed Ryan Mogul's guide for flashing to cricket by the letter since my day 1 of flashing in WinMo, and they worked like a charm, always. so i carried that on to here, i configured all my settings exactly like he has written, i'm sure that has something to do with it. and the home address is supposed to be 0.0.0.0, primary ha address 68.28.15.12, secondary ha address 68.28.31.12

hey thanks a ton for the tip, i'll make note of it, and use it if i do see that error. could you explain on why this fixes the error??
[EVO 4G Android Development] SYNTHAXXX:
Data error

I still have the HTCdm service running on my phone so I am not sure that this is the cause of the error; however, if removing it fixes the problem, I suppose that's a start.

Regarding the IP addresses in EPST, those settings are for pointing the browser to the resolved IP address for wap.mycricket.com, which is variable, depending on which area you are in. You can do an NSLOOKUP in a command prompt if you want to find out which IP's to use. But, since this Cricket fix does not utilize those parameters, there is no need to set them to anything other than 0.0.0.0
[EVO 4G Android Development] jogitoxxx:
thanks for the guide..what rom are your running???
[EVO 4G Android Development] X-Kenshin-X:
ok bro thanks a lot for all the help, i now have my calling and text msgs working because i activated my phone today in the afternoon with cricket, they put my esn on my account so that's good.

the guy there said i didn't need to have the ESN on my account for the internet to be working... and so then after the activation i checked my phone, and the internet still didin't work, i didn't even bother to try mms for obvious reasons.

did i need to make any modifications to the APN file you gave me or something?

also, when i went to the whiterabbit website, there is a box to put your username, and it creates a little txt file with my cricket account number, but i never used the file for anything, and you didn't use it in your guide, was i supposed to do something with that file?

and well... i am at a loss, i am pretty sure all my other settings are correct, what would be the best information i can provide at this point so that you can help me find out what's wring with my config?

screenshots of the EPST menu on my phone? qpst screenshots?
[EVO 4G Android Development] lexce92:
Run These Commands

adb shell

su

mount -o rw,remount /dev/block/mtdblock4 /system

cd /data

mkdir opt

chmod 0755 /data/opt

chmod 0755 /system/bin

mount -o rw,remount /dev/block/mtdblock4 /system

cp /sdcard/autostart.sh /data/opt/autostart.sh

cp /sdcard/u2nl /system/bin/u2nl

chmod 0755 /data/opt/autostart.sh

chmod 0755 /system/bin/u2nl

reboot

This Should and will get apps working on evo for metropcs
[EVO 4G Android Development] louforgiveno:
Thanks, I'll try that.
[EVO 4G Android Development] louforgiveno:
btw, haven't had the roaming problem,in qpst I have the phone set to NAM 1 instead of AUTO ? idk just a thought...you can dial ##3282# to check
[EVO 4G Android Development] X-Kenshin-X:
ok i finally got it working, i figured out what the problem was!

i used a crappy root explorer, i went and got the original, and that finally mounted my root correctly as r/w, and i was successful in copying all the files everywhere.

now i gotta ask, in the autostart.sh file i saw there is 2 primary ip's it lists there, are those IP's local to your area or what?

what kind of connection speed are you getting with them?

i have 3G yet i am getting 13KB/s down and 41KB/S up, consistently...

on my touch pro 2 my down speed was measured at upwards of 1.5Mbps, the upload is the same as before, but i can't believe why i have such a huge downgrade in speed?

could it be my prl? i have the 1014, which i understood was for 3G evdo phones...

one thing i did try just for quick testing was replacing those 2 ip's with the ones in the instructions for primary HA and secondary HA address, 68.28.15.12 and 68.28.31.12 ; but that just ended up giving me no internet access...

so is there a way i can get more speed, or connect to the server closest to me so i can get closer to 3G speeds??
[EVO 4G Android Development] fritzel67:
I had a similar problem with 3G speeds being very slow (and if you use SpeedTest by Ookla which his available in the market) you will see that you're likely getting 900kbps+ ping times.

The fix for me was to delete all but one profile entry in the M.IP tab within QPST and make sure the "active profile" is set to the one that's left. That got my d/l speed back up to 160kbps and u/l to 650kbps (normal for Cricket and I'd guess the same for Metro).

Also, I was advised that you can rename or remove the HtcDm.apk file in order to resolve any Data Call failure errors...but that didn't work for me. So I'm still searching for a fix for that issue.

Thanks again for the write-up and group efforts to get the Evo on Metro and Cricket!
[EVO 4G Android Development] X-Kenshin-X:
no man, 160kbps is about 20KB/s, that is almost dial-up speed... i used to get nearly 1.5-2.5Mbps on my htc TP2 on cricket, which is about 250KB/s

ok well it seems, my default M.IP profile is set to 1, so i'll delete all others and see if that works.

and yes i'm using the speedtest by ookla.
[EVO 4G Android Development] fritzel67:
Actually a dial-up modem gets 56kbps (not KB/s). I only have a 768k DSL line here at home, and speed test shows that I get 750kbps.

Also, it's been verified that Cricket caps their proxy web speeds at 160kbps.

If you're getting higher than that on Cricket, you must have their HTML/broadband plan which allows for higher D/L speeds (doesn't come standard with the $40/mo unlimited plan)
[EVO 4G Android Development] X-Kenshin-X:
ok lets just make things clear here... 8Kbps = 1KB/s, so 56Kbps = 7KB/s , i consider anything below 15KB/s "dial-up speed", it just means it's crippling slow.

WOW REALLY? omg... i really hate cricket now! whenever they first included mobile web on their plans, it was "3G for everyone with any plan!", which meant everyone was supposed to get the 2Mpbs rated 3G speeds! and i did get those speeds on my touch pro, and then my touch pro 2, what the hell happened?

this is all news to me, because i never saw anyone make big announcements about this or anything... we've all had 3G for a while now on cricket, they can't just take it away, and then make a "data plan"?

which btw i also did not know about this "data plan". what the hell is that? i tried looking in the cricket website and couldn't find how to "add" this data plan or what it includes... although at the cricket store, they did tell me about it, and i was like "wtf do u mean data plan? cricket has offered 3G to all its customers since 3 years ago..."
[EVO 4G Android Development] jorgekikon:
2. Unzip the file - It contains the 3 files which will be used.

Is there any way to get this package for MetroPCS? Thanks, in advance
[EVO 4G Android Development] SYNTHAXXX:
This works for Metro too

These files work for Metro as well. The only thing you will want to modify is the APN file so that it points to the Metro proxy server and port. So, where it says "wap.mycricket.com", change it to proxy.metropcs.net and where it says "8080", change it to 3128 and on the MMSC entry, you want to put http://mms.metropcs.net:3128/mmsc

You can edit that APN file with notepad. Good luck...
[EVO 4G Android Development] fritzel67:
Did anyone else have a problem setting the active profile to zero on the M.IP tab in QPST? Mine keeps reverting to active profile 1 (I deleted out all profile but one).
[EVO 4G Android Development] opm:
Tested with Rvu Rom and running smooth....good job T. I tried the Fresh ROM like I told you, but you're right about the UI being weak so I went with Rvu. I'll work on the apn later to try and resolve the mms issue and let you know.

SpeedTest @ DL=164kbps UL=856kbps.

I got 1.2Mbps and 900kbps when runnig the Test ROM from Toast, but it was unstable and a battery killer.

On Cricket network
[EVO 4G Android Development] X-Kenshin-X:
wow that's what i'm supposed to be getting!! can you share your APN and autostart file? i think i'm getting such a slow connection because of the IP's in my APN file

also what PRL do you have?

just leave it as active profile 1, disable all others, make the changes in profile 1 and that's it.
[EVO 4G Android Development] fritzel67:
Yep, those d/l and u/l speeds are in the correct range for Cricket's wap.mycricket.com proxy.

Can anyone else test the NPR News market app and let me know if it works for you over Cricket or Metro's 3g connection?

Thanks.

(I thought the APN file was soley for MMS and didn't really affect web or market apps?)
[EVO 4G Android Development] X-Kenshin-X:
it works with u2nl and autostart, i'm just not getting 3G speeds, and still don't know why. i think it might be my APN file, i would like to get a copy of opm's file if he'd be so kind :D

i have:

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<apns>
<apn name="CDMA" numeric="310012" mcc="310" mnc="012" apn="0" user="" server="" password="" proxy="" port="" mmsproxy="" mmsport="" mmsprotocol="2.0" mmsc="" type="*" />
<apn name="cricket" numeric="310012" mcc="310" mnc="012" apn="1" user="" server="" password="" proxy="" port="" mmsproxy="wap.mycricket.com" mmsport="8080" mmsprotocol="2.0" mmsc="http://wap.mycricket.com:8080" type="mms" />
<apn name="Android" numeric="310012" mcc="310" mnc="012" apn="internet" user="*" server="*" password="*" proxy="" port="" mmsproxy="" mmsport="" mmsprotocol="2.0" mmsc="" type="null" />
</apns>

is that correct?
[EVO 4G Android Development] opm:
I'm using prl ver. 38288..I also forgot to metion that I have the new Radio installed also ver.2.05.00.06.10....you're not getting 3g is becuz of your prl. The apn i'm using is the same one that syntaxx posted. And fritze is correct, the apn is mainly used for mms....

NPR News is good on cricket..with radio listening
[EVO 4G Android Development] fritzel67:
@opm Thanks for testing NPR. Now I'm really confused. :confused:

I'm on the same radio and same PRL but I have the following problems:

1. Occasional Data Call failure error code 98 (especially when there is a 3g to wifi switch)

2. NPR audio streaming won't work

I tried changing several EPST/QPST settings but nothing helped, and I 'think' I have removed all Sprint related .apk bloatware.

Maybe I need to try a different ROM. Are you on version 1.4 of RvU?

Thanks much.
[EVO 4G Android Development] X-Kenshin-X:
i have the same radio version, but different PRL. i will try switching tomorrow and see how it goes.

could you maybe take some screenshots of your EPST menu on your phone, and your QPST settings?

and maybe gives us a few more details on any other tweaks you did that you think might have to play a part in performance.

also if you could share the autostart and APN files you used for your config, that would be very helpful, thanks
[EVO 4G Android Development] gazla1978:
Metropcs Version of doing it

SYNTHAXXX thanks for the all effort but i still have some questions :(

i am on metro and i edited the cricketanp file under notepad and input metro info and followed your guide but still no luck on internet.

can you broadly explain the epst and qpst parts maybe that is what is missing i have a rooted evo runing on Sprint damage control custom rom.

and also i want to know do we need to turn on anyof these hotspot or 4g connections on to get the internet working.

thank you
[EVO 4G Android Development] X-Kenshin-X:
u dont need to mess with 4G for anything.

hey buddy refer to this to have all the correct settings on your phone. (the settings will be identical with the evo)

http://xdaforums.com/showthread.php?t=675652

once you got your internet working let us know what speeds you're getting.

good luck
[EVO 4G Android Development] louforgiveno:
try this guide

http://www.howardforums.com/showthr...-(Tutorial-v2.0)?highlight=droid+eris+cricket
[EVO 4G Android Development] gazla1978:
OMG this link did the trick now i got metro 3g internet and mms working :) AWESOMENESS

thanks for everybody who contributed and took the efforts to share their knowledge and boo for the slick ones who has been trying to sell this. :)

THANKS internet and mms %100 working.

Ones again if you have a Sprint HTC EVO rooted follow the link above to finish the job.
[EVO 4G Android Development] X-Kenshin-X:
Oh darn, updating my prl with urs didnt work opm, i think i need to change that setting in the qpst to make mineaccept simple and mobile ip

Sent from my HTC Evo on Cricket!
[EVO 4G Android Development] fritzel67:
Fix for Streaming Audio Apps

If you run into any market apps that stream audio and won't work, change the following in EPST (##3282#):

Advanced

RTSP Proxy Port 0

RTSP Proxy Address 0.0.0.0

HTTP PD Proxy Port 0

HTTP PD Proxy Address 0.0.0.0

Menu then Commit Modifications

That fixed my NPR audio streaming issue.

Now if I could just get rid of these Data Call Failure errors and get MMS working!
[EVO 4G Android Development] opm:
This is a generic cricket qcn file for the evo, so remeber to set your local parameters before write to phone. Let me know if this work..
[EVO 4G Android Development] opm:
If the Data Eror noti is the voicemail noti., then use titanium backup (Market), and unistall Sprint VM apk. This will also eliminate the actual vm noti for cricket too, so you will have the *99 when you get a missed call. This is not so bad as that annoying popup
[EVO 4G Android Development] X-Kenshin-X:
ok so i downloaded your file, the thing now is where do i restore it to?

do i go to the QPST "service programming" and restore it from there using the "load from file option"

or do i go to the QPST "software download" go to the restore tab and do it from there??
[EVO 4G Android Development] opm:
You use the Load From File in QPST and browse to where you have it saved and 2x click. You will notice that the fields are now populated with cricket settings. Change those fields according to your local area incl the mdn/min
[EVO 4G Android Development] louforgiveno:
I read it on another thread, and it seems to have worked,for the Data Call Error67 , use root explorer, or similar program, delete or rename the file HTCdm.apk located in system/app. I also renamed the odex file.restarted and havent seen the message in 3 days.
[EVO 4G Android Development] louforgiveno:
Has anyone got voice search to work on metropcs (i'm in northern ca, no EVDO)1x

also anybody figured out voicemail notifications, Thanks
[EVO 4G Android Development] X-Kenshin-X:
ok i know in QPST, but should i use the *Service Programming* app or the *Software Download* application?

also can you tell me which tabs i need to go to change values in, i don't want to forget anything... i know the M.IP tab for sure, but i don't know if you changed any other miscellaneous settings on any other tabs?

you know what the funny thing? i NEVER got those "call error" msgs, and guess what??

RIGHT AFTER i updated my settings to

i started getting those damn data call errors... it was right when i rebooted, every 10 min i get that damn error... i think it might have to do with those settings...

also, i renamed that htcdm.spk file like someone suggested, and that doesn't seem to have helped...
[EVO 4G Android Development] louforgiveno:
yeah , crazy i got that message back after entering those numbers too??? it hasn't popped up for about an hour, so we'll see,
[EVO 4G Android Development] X-Kenshin-X:
Yeah i think im going to put my phone back like it was

Sent from my HTC Evo on Cricket!
[EVO 4G Android Development] ap3604:
Can anyone put up a youtube tutorial of fully flashing the Evo from scratch to Cricket or MetroPCS?

I would be very appreciative since the written guides seem to be giving people trouble.
[EVO 4G Android Development] chavonbravo:
I've tried every setting possible to get mms working for metro on an evo. Can't seem to get it, either stock rom or DamageControl. Using the APN_backup_restore thing. Wondering why that is.