yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] accelerus:
I'm going to be checking my RSA keys as well when I get home from work later. I'm 80% sure they are hosed, I have fixed my MAC address, but get only far as "connecting" to 4G, but never successfully.

As far as returning the phone -- the best route seems to be to go into Sprint with a fully returned to stock phone, I havent tried but there seems to be guides for this all over the place. The amount of testing the employees will do at the store (from what I've heard) isn't that involved. They will try a few things of course, but won't be diving into the code and version numbers of things.

I'm neutral on the topic of returning a phone that one has accidentally screwed up from experimenting with custom software. I suppose at the end of the day it's not as bad as someone who physically break something and then try to get a new one free. This is 100% just a sofware issue -- I would guess that in the grand scheme of things it would take sprint 5 minutes and close to no cost to get the RSA keys back on the phone and back out into circulation.
[EVO 4G Android Development] KyleKatastrophe:
So entering my "D" as a number in my address should work?
[EVO 4G Android Development] kf2m:
Yes. For example my mac is 00:18:45:80:F9:BB.

sent from my Evo 4G using Taptalk
[EVO 4G Android Development] thaprinze:
For the record, this fix didn't work for me either. I'm not sure what would cause the 4G to fail in a way that this fix would resolve the issue, but it didn't work for me.

My 4G was working fine in Colorado, but when I went to visit my uncle in Orange County, my 4G radio would cycle through Scanning, Connecting to Sprint, Disconnecting & repeat. I did absolutely nothing differently between the time I left Denver & the time I got to OC. However, once I saw that my sister's stock Evo was able to connect to the 4G network, I reflashed the wimax rom. From what I've read in this thread it appears that I MAY have been able to recover from my 4G issues if I hadn't flashed the same Wimax file twice.

:(
[EVO 4G Android Development] Sed8ing:
Same tech in same store!!!!

Yeah, she was insistent that it was not "official" and therefore not a problem with the phone and I left figuring I didn't want to deal with her idiocy and i really didn't "need" 4G...funny thing is that I was not rooted at that time and the OTA updates from HTC did it.... now i am rooted and will probably try and fix it through some of these methods and decide later what to do in the mean time I am on wifi at home more often then not and when I am at work in Sylmar there is no 4G (and probably never will be)...

Just amazing how lazy some people that are in customer service can be... will likely go to a different sprint store in the future if i need to.
[EVO 4G Android Development] fuzion22:
I am running into the same issue. Flashed Evio2 V1.2 and 4g just hangs there. I was connecting fine with Damage Control and Burnt Droid. Flashed back to Damage Control and 4g is no longer working. Can't seem to connect to the Sprint network. Just hangs there now with "4g is now available notification" but nothing else after that.
[EVO 4G Android Development] five40:
Before going crazy try deleting ur "whatever ur mac tree.xml" file in \data\misc\wimax

I did that and it solved my constantly scanning 4G issue.

FYI: i never had the bad mac address issue like some of u.
[EVO 4G Android Development] fuzion22:
Thanks, I will give that a shot later tonight when i'm back in a 4g area. My MAC address is fine as well.
[EVO 4G Android Development] hperry:
The sprint .3 leak and .6 OTA ruined my 4g. I have the bad MAC and I rooted just to check my RSA keys and they are blown away. Like you, I had never rooted until the 4g was already hosed and I only rooted after the fact just to check the RSA keys. FYI, you should check your keys. If they are gone, there is no way to fix unless sprint releases an RSA key recovery tool (similar to what they provide for their 4G data cards).
[EVO 4G Android Development] cb7tuner93:
Would a bad Wimax MAC also break bluetooth?
[EVO 4G Android Development] hperry:
I wouldn't think so.
[EVO 4G Android Development] cb7tuner93:
Well I haven't had working bluetooth since rooting,
[EVO 4G Android Development] bigbiff:
I think I finally figured out how I blew my RSA certs on my old phone.

For some reason wimax_mtd doesn't work anymore on the 2.2 ROMs I have used: fresh and virus. And I thought their might be a problem with my wimax partition so I flashed the wimax radio a 2nd time. That's when the RSA keys were blown. So if wimax_mtd isn't working, DON'T FLASH WIMAX for a 2nd time. :rolleyes:

wimax_mtd isn't working on my replacement phone, but connects to 4G successfully. Also I used the new amon ra 1.8 recovery to backup my working wimax partition via nandroid.
[EVO 4G Android Development] hperry:
So if I took the leaked .3 and then the OTA .6 and then did the stock 2.2 .6 RUU, would that actually flash my wimax twice? Keep in mind, I was never rooted through any of this. I'm just trying to figure out how my keys were blown away.

FYI, I did the RUU flash because I was experiencing 4g issues. Before the RUU, my 4g would hang at "turning on...". After the RUU, 4g would turn on and try to connect but never succeed and I have bad mac and my keys are gone (I finally did root to verify this).
[EVO 4G Android Development] Rigel7737:
FAILED

When I try running wimaxrmac or wimaxwmac from fastboot I get the following message:

...FAILED (status malformed (1 bytes))

finished. total time: 0.001s

any help?
[EVO 4G Android Development] fuzion22:
I think I am hosed. I don't have RSA keys anymore. After inputing commands nothing happens <rsa> blank, next line </rsa>

Tried deleting my .tree.xml file from /data/misc/wimax. Still no 4g connections. Mac Address is correct with most recent wimax version.
[EVO 4G Android Development] hperry:
Called sprint and it seems i won't be able to get anything but a refurbished replacement. Typically, sprint refurbs are pretty good. But with the build problems associated with the EVO, I am hesitant to go refurbed.
[EVO 4G Android Development] otaylor10:
Quick question when I go into and shell it says "fastboot: not found" how do I fix this or how do I get the fastboot control back?
[EVO 4G Android Development] fuzion22:
Just wanted to give an update. I unrooted my phone and ran the hands free activation (##DATA#) a few times by myself and with Sprint Tech Support over the phone. They also instructed me to use ##MSLCODE# and re-entered the numbers for my phone. Then did a battery pull and somehow the 4g started working again. All this was done with tech support. During the battery pull the Sprint technician resetted something from their end and that somehow fixed my 4g issue. It might be worth it for the people who are having the 4g issues to unroot and try what I did. Now i need to root my phone again.
[EVO 4G Android Development] hperry:
so are you totally sure you had lost your keys? to be sure, when you root again, do the rsa key check and let us know that you see a different result (meaning the keys are, in fact, back). if you see the same output as before, you may not have been checking for the keys properly.
[EVO 4G Android Development] Albymn:
Whats a shell?
[EVO 4G Android Development] cj10488:
They are often found at the Beach and can sometimes be whole but most of them are broken

James
[EVO 4G Android Development] Albymn:
Um James not that kind of shell or a gas station. I'm talking about this post man. I want to fix this asp if anyone that knows what there talking about please help.
[EVO 4G Android Development] Albymn:
I got this "00:16:08:00:24:05" MAC address. Anyone know how to fix this? :(
[EVO 4G Android Development] cj10488:
I was being a smart ass. If your 4g mac is hosed you are hosed. There is no way to fix it as of yet unless there was some new developments that i missed. Basically its a return and replace at a Sprint store (Unrooted and stock of course)

Shell is basically a linux version of a dos prompt.
[EVO 4G Android Development] Albymn:
Well there talking about a fix here man. just looking for some help before i unroot my phone here.
[EVO 4G Android Development] furrelkt:
i got this returned when i did the "grep RSA /dev...."

RSA-REQUEST

RSA-REPLY

RSA-REJECT

RSA-ACK

RSA-1024

RSA-REQUEST

RSA-REPLY

RSA-REJECT

RSA-ACK

RSA-1024

RSA

ReRSA

RSA requests

RSA replies

I am guessing my keys are hosed? Do i need to re-root and do a return/exchange? I had the bad mac address and fixed that and updated the last radio's. my mac address stays at the one it's supposed to be and isnt the "00:16:08:00:24:05". Now all that happens is the "connecting to sprint", scanning...." and loop continuous. Help please. Running latest Fresh. thanks.

edit: i also did below from this thread..

adb shell
ls /data/misc/wimax/

look for a file with your macaddress ending in .tree.xml. you want to move that to another location so it gets regenerated. (the following command basically renames it.)

mv /data/misc/wimax/(Your-mac-address).tree.xml /data/misc/wimax/(Your-mac-address).tree.xml.old

the .tree.xml had 001608002405.tree.xml so i deleted it. Now i to wait till i get back in my area for a 4G connection as we don't have it here at the location i am working.

Keri
[EVO 4G Android Development] Cateyerr:
Was there ever a definite cause determined for this problem? I just had my evo replaced and don't want to make the same mistake again.
[EVO 4G Android Development] hperry:
regarding your rsa key situation, i have pretty much the same here. have not figured out how to fix it and from all accounts on the forum right now, there is no way to fix it unless you previous backed up your device specific keys.
[EVO 4G Android Development] furrelkt:
ugh! I was finally excited that we just got 4G here and was ready to play... ugh! SO...right now... there is no way to fix this issue EXCEPT, reroot and do a swap? can we confirm that? If i need to do that then so be it.. but it sucks. :-(

Keri
[EVO 4G Android Development] bigbiff:
If you dont have RSA keys you can never authenticate to the network and there is no known way to get them back if you dont have them backed up somewhere. I had the same problem and I couldnt get sprint to return because I don't live in an "official" 4g area. So I paid the $100 insurance fee and sent the old phone back. However when you get a new phone use Amon-RA 1.8 to back up the wimax partition with the keys. I actually had the wimax partition get borked on my new phone and restoring wimax from the amon-ra 1.8 recovery nandroid fixed the problem.

The implementation of wimax on the evo is crap.
[EVO 4G Android Development] furrelkt:
awesome, thanks for the advise, i will sure do that... so... guess the next steps are re-rooting and making it stock then a trip to the sprint store.

Keri
[EVO 4G Android Development] teedo757:
Ok I am having some issues that I have not seen posted. When I run fastboot oem wimaxrmac I get:

INFOmsm_nand_dm_read_oob 0x3F360000 2048 0 failed (-74), correct

INFO 0 bits

INFO[ERR] flash_read_page failed(errno -74): page id 517824

INFOFailed to read.

INFOwmxTask_ReadWriteMACAddress: WiMAX_ReadTag error

INFODev MAC = FF:FF:FF:FF:FF:FF

OKAY [ 0.031s]

finished. total time: 0.031s

I checked the /data/ folder and I do not have and files or folders in the folder. I had an the same issue with DC rom so I flashed fresh's new rom with the radio update but it did not fix any of the issues I am having. Anyone know whats going on with my wimax?
[EVO 4G Android Development] teedo757:
Do I need to be su in the terminal to see the contents of the data folder?
[EVO 4G Android Development] edufur:
Exactly what part of the phone has the keys? I havent seen any option that specifically backs up keys.
[EVO 4G Android Development] bigbiff:
It's on the /dev/mtd/mtd0 partition. Amon RA recovery backs up this partition now during nandroid. I highly recommend doing so.
[EVO 4G Android Development] kf2m:
To expand upon this copy your wimax.img to a safe place(s) (other than just the sdcard. To easily recover just zip up the .img file as PC36IMG.zip then copy to the root of your sdcard, then boot into bootloader.

Now if your 4G keys got blown out (even a good number of non-rooted users had this happen to them) you should be able to get your phone replaced under warranty.
[EVO 4G Android Development] salukis93:
I am running BurntDroid 1.2 and the 4g is stuck on "Turning On....."

When I reboot the 4g says "failed"

Using SwitchPro Widget and the 4g toggle switch stays lit in the searching mode

hope someone can come up with an easy fix cause i dont want to have to unroot and deal with sprint
[EVO 4G Android Development] frozndevl:
Have you verified your MAC address?

Have you checked to see if your RSA keys are still valid?
[EVO 4G Android Development] salukis93:
i am showing the wi-fi mac address and the 4g mac address as "unavailable"
[EVO 4G Android Development] frozndevl:
To check your wimax address, you can check a few places.

/data/misc/wimax/XXXXXX.tree.xml where the XXXX is your MAC

Connect to your computer and input the following command

adb shell wimax_mtd

and look for the MAC address. It's a long list, but it's in there.

If you can reboot into fastboot mode, you can issue the following command to see your mac address

fastboot oem wimaxrmac

To check your RSA keys do the following

adb shell

grep RSA /dev/mtd/mtd0 and look for BEGINS and ENDS at the bottom of the list. If they aren't there, you are hosed.
[EVO 4G Android Development] salukis93:
i am somewhat of a noob outside of being able to flash roms

how do i get to /data

when i connect to my computer where do enter the adb command
[EVO 4G Android Development] frozndevl:
All of these commands are done through the command line via your computer or using a Terminal Emulator program. Since you don't seem familiar with this, I would assume you have rooted using either Simpleroot or Unrevoked.

Follow this link for a primer on how to use ADB.

http://xdaforums.com/showthread.php?t=694250
[EVO 4G Android Development] JvIo55iBl3r:
For hosed evo, is there any way, except for returning, to fix this problem? I dont save Nand backup when I rooted. i cannot restore RSA key to fix the problem.
[EVO 4G Android Development] amirborna:
My evo is stuck on SCANNING 4G

My 4G mac matches back of battery

I did that RSA thing and I get that ##RSA KEYS## thing

I just did in Terminal Emulator "wimax_mtd"

and I get

OPen Wimax Partition.....ERROR

OK

Get HTC Wimax Tag....ERROR

OK

Verify WiMax Tag(j)....NOT MATCH

PASS

Read Wimax partition.....ERROR

OK

Check Firmware Version (4.6.2.2_v24722)........p,

Veriify MFG Fireware Key ......NOT MATCH

[1] + Stopped (signal) wimax_mtd

EDIT I SEARCHED AND DID "wimax_mtd | all" and I got this

export PATH=/data/local/bin:$PATH
$ $
$
$ su
# wimax_mtd | more
Open WiMAX partition ........ OK
Get HTC WiMAX Tag ........ OK
Verify WiMAX Tag (HTC-WiMAX-SQN1130)........ PASS
Read WiMAX partition ........ OK
Check Firwmare Version (4.6.2.2_v24722) ........ 4.6.2.2_v24722
Check Firwmare File ........ MATCH
Dev MAC = [MY MAC mATCHING EXACTLY THE BATTERY]
Read properties from flash ..... OK
+ in wmx_PropSetFromFlash.
+ in wmx_CheckPropTag.
- out wmx_CheckPropTag.
pPropName = persist.wimax.Cold_Boot_Flag
PropNameLen = 28
wmx_PropSetFromFlash: Find matched property name in flash.
pMemAddr == pPropName = 1
pPropData = 1
persist.wimax.Cold_Boot_Flag = 1
isColdBoot = 0

// Not Cold Boot: Load properties from flash.
+ in wmx_AllPropSetFromFlash.
+ in wmx_CheckPropTag.
- out wmx_CheckPropTag.
pPropName = prop_exist
readLen = strlen(prop_exist)+1 = 10+1= 11

pPropName = persist.wimax.Cold_Boot_Flag
readLen = strlen(persist.wimax.Cold_Boot_Flag)+1 = 28+1= 29
pPropData = 1
readLen = strlen(1)+1 = 1+1= 2

pPropName = persist.wimax.STANDBY_TIME
readLen = strlen(persist.wimax.STANDBY_TIME)+1 = 26+1= 27
[EVO 4G Android Development] MercuryTangent:
When I go into my dev/mtd folder there is no mtd0. Am I looking in the wrong place?
[EVO 4G Android Development] teedo757:
Make sure you are a super user, enter su at the prompt. Look again you should see it.
[EVO 4G Android Development] teedo757:
Ok I seem to be missing some things. When I look in the Dev folder I do not have a misc folder. Here is what I get when I do adb shell wimax_mtd:

C:\android-sdk-windows\tools>adb shell wimax_mtd

Open WiMAX partition ........ OK

Get HTC WiMAX Tag ........ OK

Verify WiMAX Tag (EB)........ NOT MATCH

PASS

Read WiMAX partition ........ OK

Check Firwmare Version () ........

Verify MFG Fireware Key ........ NOT MATCH

Dev MAC =

Read properties from flash ..... OK

+ in wmx_PropSetFromFlash.

+ in wmx_CheckPropTag.

- out wmx_CheckPropTag.

pPropName = persist.wimax.Cold_Boot_Flag

PropNameLen = 28

wmx_PropSetFromFlash: Find matched property name in flash.

pMemAddr == pPropName = 1

pPropData = 1

persist.wimax.Cold_Boot_Flag = 1

isColdBoot = 0

I have nothing in the Dev Mac field..its blank.

So I ran grep and it appears I do have the RSA keys

C:\android-sdk-windows\tools>adb shell

# grep RSA /dev/mtd/mtd0

grep RSA /dev/mtd/mtd0

RSA-REQUEST

RSA-REPLY

RSA-REJECT

RSA-ACK

RSA-1024

RSA-REQUEST

RSA-REPLY

RSA-REJECT

RSA-ACK

RSA-1024

RSA

ReRSA

RSA requests

RSA replies

-----BEGIN RSA PRIVATE KEY-----

-----END RSA PRIVATE KEY-----

#

so does anyone know why my mac address is gone and is there a way to restore it? Thanks
[EVO 4G Android Development] freeza:
So, I restored a nandroid backup from another phone using Amon_Ra's recovery (bad idea) and I forgot that it backed up the WiMAX (should be an optional feature) and restored an old WiMAX partition onto my new phone.

Here is the dilemma: The MAC address got changed to the old phone's. Simple fix right? Sure, I guess. So, I changed the MAC address back to what it's supposed to be, but turning on 4G creates the tree.xml file with the OLD MAC address attached to it, not the one that's supposed to be there? even though i've successfully changed the MAC address back to what's shown on the inside of the phone, and it shows as such when I run wimax_mtd and wimaxrmac commands as well as the menu>settings>about>etc etc

Any ideas?
[EVO 4G Android Development] teedo757:
So I figured I would just try to flash the mac and this is what I got:

fastboot oem wimaxrmac *my wimax mac*

... INFOcmd_wimaxrmac

INFOmsm_nand_dm_read_oob 0x3F360000 2048 0 failed (-74), correct

INFO 0 bits

INFO[ERR] flash_read_page failed(errno -74): page id 517824

INFOFailed to read.

INFOwmxTask_ReadWriteMACAddress: WiMAX_ReadTag error

INFODev MAC = FF:FF:FF:FF:FF:FF

OKAY [ 0.031s]

finished. total time: 0.031s
[EVO 4G Android Development] mpa4712:
The mac address is stored in quite a few places. It's actually stored on the wimax partition. What you'll need to do is get a dump of your wimax partition and open it up in a hex editor. You'll likely see your old wimax address, minus 1 hex value. You'll want to change those to your new wimax address, minus one hex value. Then, you'll need to write that modified wimax dump partition back onto the wimax partition on your phone.

For everyone else though, as if a horse could be beat down any more than this one, if your mac was ever changed to the dev mac, and you don't have a wimax partition backup or a copy of your RSA keys, stop reading this thread and exchange your phone. For the love of Pete, this thread has caused so much confusion and misrepresented a 'fix' that just does not exist.
[EVO 4G Android Development] freeza:
Hi, thanks for the reply. Question: is the hex value i'm looking for the same on every partition? If so can you tell me what coordinates they are? I've tried searching for the old MAC address as well as the original in WinHex both with no results.
[EVO 4G Android Development] gdog1977:
Just want to remind everyone, after flashing the new radios, goto system updates and update your profile and prl. This is probably the culprit of most of the issues people are reporting. It's should be on the first page, BUT ITS NOT.:confused:
[EVO 4G Android Development] MercuryTangent:
How would one get a copy of their RSA keys?

Sent from my Virus Infected Evo using the XDA app.
[EVO 4G Android Development] i-l-l:
I just wanted to drop in and say I got the borked MAC address. I'm unable to see if my keys are because I keep getting access denied when I try through adb. I've deleted the bad xml tree a few times in root explorer and I actually have a copy of the correct xml tree from a back up I did last week. Every time I reboot, the bad xml tree keeps coming back but the good one is still in the same folder also.

I tried to go the lazy route and see if Sprint would replace my phone. I called CS to give me the old, update borked my phone routine however they counter with "4G is down for my entire state" which I know is BS since when I go outside, my phone tells me 4G is available.
[EVO 4G Android Development] mpa4712:
The best way would have been to copy/paste the entire keys from a wimax dump. That way, you could perhaps add the keys back in via fastboot commands instead of trying to flash the entire wimax partition. Might work.
[EVO 4G Android Development] MercuryTangent:
That's what I'm wondering. I haven't updated my radios yet, but I'd like to. Just curious how I can protect myself.

Sent from my Virus Infected Evo using the XDA app.
[EVO 4G Android Development] teedo757:
Maybe I am wrong here but I have posted several times with no replies....is it safe to assume that no one really knows much about this? After reading the posts and testing it appears I do have my RSA keys and I do not have the bad MAC address but my Wimax is still screwed. I am not complaining however I don't want to keep posting (any adding to the confusion) if there is no way to fix it.
[EVO 4G Android Development] JvIo55iBl3r:
Seems no one really found what's going on there. if RSA key is not essential for this problem, may I say it's possible to fix our evos whose RSA key lost during the flash?
[EVO 4G Android Development] bigbiff:
RSA Keys are needed to authenticate to the Clear/Sprint network.
[EVO 4G Android Development] hecklbrg:
Interesting thing has happened to me. I have used AmonRA 1.8 recovery for about a month now (since it was released) and I have a backup from it with working 4g. I updated my radio, nv, and pri using the individual files, went down to Washington DC, flashed from CM 6.0 stable (my DD) to my 1.8 backup of caulkin and 4G worked fine.

Today, I heard that a new PRI was out, so I flashed back, updated my PRI, and now my 4G doesn't work and it says my RSA certs are bad.

Totally perplexing...anyone have any Idea what to do? I'm currently experimenting and I will report back.

EDIT: I'm not sure if my certs are actually bad...I think the ROM is. Looking in to this

EDIT2: Okay, so I have found out a few things. My Nandroid of Old is all mucked up when it comes to 4G system software wise, not cert/mac wise. I flashed it, wiped it, then flashed the new fresh ROM and my 4G starts up and scans again (wouldn't start at all before).
[EVO 4G Android Development] JvIo55iBl3r:
I was wondering if there were any way i can retrieve it back somehow?
[EVO 4G Android Development] teedo757:
Unless you backed them up before you updated your radio the answer is no. I believe AmonRA 1.8 recovery is the only backup that backs up the wimax partition.
[EVO 4G Android Development] MercuryTangent:
Can anyone confirm that amon ra does back up the RSA keys?

Sent from my Virus Infected Evo using the XDA app.