[Q] RSA Keys - EVO 4G Q&A, Help & Troubleshooting

Ok I have been hearing these stories about people ****ing up their 4G radios. I want to know if I am ok. I rooted my phone when it was at 3.29 and then I decided to go back to stock by running the RUU. Since the RUU completely wipes the device are my 4G keys gone as well? I have no way to check because I am not in a 4G zone (don't even have 3G . I can't use the SDK method either.

you are fine....
No you are fine. The problem comes with people that make a nandroid backup of their phone with AmonRA 1.8 (which backs up the keys) and then they try and restore that backup on another phone. It overwrites the keys and screws up your 4G radio.
You are fine - just don't use a backup from one phone on another one. They only way you can do it is by erasing the key backup then restoring.
If you use clockwork you have nothing to worry about since it does not back up the RSA keys for the 4G radio.
Hope that helps.

Thanks. Phew that has taken a load off of my mind.

That is not true. I didn't flash another update from another phone and I lost my RSA keys. Its from flashing WIMAX updates. I guess some DEV's went based on their phones and either erased their RSA keys so when it comes to us it is null or it writes their information onto our phones. Maybe that is why everyone ends up with the same damn MAC addresses.
You could quite possibly lost your RSA keys. You won't know for sure unless you turn your 4G on and go through a connection loop (not sure if it works in non 4G areas), your MAC address is listed as the one everyone is getting when you turn on 4G, or you go through the SDK ADB method. Either way, if you lost 4G, you won't be able to go in for service or insurance claims till 4G comes to your area. Unless you actually go to a Sprint store at a 4G City, you won't be able to do much.

yup sekigah84 is correct....
best way to check is to follow the instructions in this thread http://forum.xda-developers.com/showthread.php?t=797337
a little adb shell commands and you can find out.

Yes, but his question was with installing custom ROMS and going back to the original one. He said nothing about flashing new radios. That is why my response answered his question.
What you guys added is great extra info - but does not effect him as he was asking what happened when he wipes the phone - simple answer is nothing, unless he restores using a backup that has the RSA keys from another phone.
So again - no worries kid. Your wipe and reinstall of the ROM did nothing to wipe your phones RSA keys.

mikesousa said:
Yes, but his question was with installing custom ROMS and going back to the original one. He said nothing about flashing new radios. That is why my response answered his question.
What you guys added is great extra info - but does not effect him as he was asking what happened when he wipes the phone - simple answer is nothing, unless he restores using a backup that has the RSA keys from another phone.
So again - no worries kid. Your wipe and reinstall of the ROM did nothing to wipe your phones RSA keys.
Click to expand...
Click to collapse
Touche. I misread along with your post that made me pass a brain fart. I apologize lol.
Although there is now a thread going around about Amon Ra not backing up RSA keys -.-
I hope to God it does cause I rather not have to root then unroot and then have to get a replacement from Sprint again.
To OP: Just don't flash WIMAX radio updates till its confirmed what is causing people to lose RSA keys and JUST IN CASE, use Amon RA and make a Nandroid Backup.

mikesousa said:
Yes, but his question was with installing custom ROMS and going back to the original one. He said nothing about flashing new radios. That is why my response answered his question.
What you guys added is great extra info - but does not effect him as he was asking what happened when he wipes the phone - simple answer is nothing, unless he restores using a backup that has the RSA keys from another phone.
So again - no worries kid. Your wipe and reinstall of the ROM did nothing to wipe your phones RSA keys.
Click to expand...
Click to collapse
Indeed good call lol...but always good to check the adb commands and make sure he didnt mess something up in the process.

No prob guys. I wasnt trying to make a fuss, I just didnt want to confuse him. Thanks for all the input!

Related

Restore RSA Keys from backup

So here goes. I lost my RSA keys while flashing to a new rom and updating my radio, wimax, pri, etc. I didn't use the newest version of Clockwork, but instead 2.5.0.01 or something similar. I tried to update beforehand with Rom Manager, but it errored a few times. I did however backup my RSA keys to a text file using this method http://forum.xda-developers.com/showthread.php?t=887900
How can I restore them? I've searched and searched and read and searched and read. Tons of information on backing them up, ZERO information on using that backup that was said to be so important.
From what I understand, I should've backed up my wimax.img as well, but I don't think my old version of clockwork did that. Can that be replaced? Do the RSA keys just get added into the wimax.img somehow?
Any help would be greatly appreciated... especially since this is for a friends Evo, not mine!
jirafabo said:
So here goes. I lost my RSA keys while flashing to a new rom and updating my radio, wimax, pri, etc. I didn't use the newest version of Clockwork, but instead 2.5.0.01 or something similar. I tried to update beforehand with Rom Manager, but it errored a few times. I did however backup my RSA keys to a text file using this method http://forum.xda-developers.com/showthread.php?t=887900
How can I restore them? I've searched and searched and read and searched and read. Tons of information on backing them up, ZERO information on using that backup that was said to be so important.
From what I understand, I should've backed up my wimax.img as well, but I don't think my old version of clockwork did that. Can that be replaced? Do the RSA keys just get added into the wimax.img somehow?
Any help would be greatly appreciated... especially since this is for a friends Evo, not mine!
Click to expand...
Click to collapse
I still don't understand why anyone would backup RSA Keys, use your own brains...
If you were wanting to test the WiMax feature for Cyanogen Mod ROM, I think you would backup your RSA Keys in case a trouble or problem occurs and it seems like most of the new players here on the EVO 4g phones are backing up their RSA Keys for no reason whatsoever... *Hence I have not backup my RSA Keys or done anything yet, and I still have a good phone thank god.
Ouch, maybe. I hope your issue gets resolved someway somehow, good luck, all I can say for you. ;/
alekosy said:
I still don't understand why anyone would backup RSA Keys, use your own brains...
If you were wanting to test the WiMax feature for Cyanogen Mod ROM, I think you would backup your RSA Keys in case a trouble or problem occurs and it seems like most of the new players here on the EVO 4g phones are backing up their RSA Keys for no reason whatsoever... *Hence I have not backup my RSA Keys or done anything yet, and I still have a good phone thank god.
Ouch, maybe. I hope your issue gets resolved someway somehow, good luck, all I can say for you. ;/
Click to expand...
Click to collapse
I backed up my RSA keys because thats what i was told to do. Funny that on that entire RSA page it didn't say a word about backing up your wimax.img. Not to mention the OP has no clue how to restore the backups. Pretty much gave me a false sense of security. But I understand it's at my own risk.
jirafabo said:
I backed up my RSA keys because thats what i was told to do. Funny that on that entire RSA page it didn't say a word about backing up your wimax.img. Not to mention the OP has no clue how to restore the backups. Pretty much gave me a false sense of security. But I understand it's at my own risk.
Click to expand...
Click to collapse
+1 for that thought, most players of the EVO 4g playing around with the WiMax or RSA Keys should be extra careful.
alekosy said:
+1 for that thought, most players of the EVO 4g playing around with the WiMax or RSA Keys should be extra careful.
Click to expand...
Click to collapse
Problem is, all I did was update his root with unrevoked3, wipe, flash a new rom, and update via the all in one radio/wimax/pri zip. Next thing I know 4g was gone and my rsa didn't check out correctly via adb. Been rooting/flashing evo's and epic's since day one and now all of a sudden we have this new problem? where was that problem before? i dont get it.
Why would anyone want to do a backup? To have it just incase something happens.
Too many people have lost their RSA keys from flashing. Why would you not want to have a backup? Once you lose your RSA keys, the only way (short of actually restoring the backup you made which no one has any idea how to do) is to return it to Sprint for a new phone.
And yes. I do agree it is pretty dumb that there is no restore method for the RSA backup.
So basically those RSA keys are useless?
Unrevoked has had a reputation for wiping 4g since the beginning. Did you ever do a backup with amon ra? If so you can use the wimax.img from that to restore the entire partition.
Sent from my PC36100 using XDA App
xHausx said:
Unrevoked has had a reputation for wiping 4g since the beginning. Did you ever do a backup with amon ra? If so you can use the wimax.img from that to restore the entire partition.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Never did an amon ra backup. Only a clockwork, and it was the older version of clockwork. The wimax.img would be it's own item inside the nandroid backup folder correct? It's not there.
Now, I know the RSA keys are matched with each phone, but how bout the WiMax image? Can I use another WiMax.img and just replace with the correct RSA keys?
jirafabo said:
Never did an amon ra backup. Only a clockwork, and it was the older version of clockwork. The wimax.img would be it's own item inside the nandroid backup folder correct? It's not there.
Now, I know the RSA keys are matched with each phone, but how bout the WiMax image? Can I use another WiMax.img and just replace with the correct RSA keys?
Click to expand...
Click to collapse
I'm pretty sure there is much more to 4g then just the keys. You'll need your own certificates and everything. Toast our shinzul would be the ones to ask though, I'm not that familiar with the internal workings of 4g.
Sent from my PC36100 using XDA App
xHausx said:
I'm pretty sure there is much more to 4g then just the keys. You'll need your own certificates and everything. Toast our shinzul would be the ones to ask though, I'm not that familiar with the internal workings of 4g.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Kinda what I was afraid of. Not sure why people are pushing the backup of RSA keys if they're useless on their own. It's the wimax.img that is needed.
I'd like to complain and point fingers but I understand it's at my own risk.

nandroid restore to new phone without losing rsa keys?

if I get a new phone hardware and I do a nandroid restore using clockwork mod from my old phone I shouldn't lose rsa keys because clockwork doesn't touch these, correct?
I dont think it does but you can check your nandroid file for a wimax.img
You should not restore a Nandroid between phones for a number of reasons, including the fact that some software's license binds it to a phone's serial number.
Just use Titanium Backup to restore apps and their data, and manually restore settings. Don't Nandroid between phones.
Would you trust an image of one windows system restored on another system - image of a dell on a hp? If the chipset is similar, it may work, but you will likely run into weird issues. Same thing here.
Set up from scratch is best. Backup along the way so you have some thing to fall back on when your tweaking fails. TB is very useful in this case.
If you do restore a backup from your old device, let us know how well your 4g works..
Don't listen to these people. I've done it and it works fine. Just make sure you remove the wimax.img before. And you'll have to change the htc folder inside of the nandroid to match the new phones serial.
I made the mistake of not removing the wimax.img. am now stuck using a friends
freeza, until they're comfortable with the technology, they really shouldn't nandroid between phones.
creyc, there's a lot of reasons you shouldn't flash nandroids between phones and until you understand and feel comfortable with what freeza said, just don't do it. If you lose those rsa keys you won't get them back. I highly suggest backing them up before you make an attempt at flashing nandroids between phones. There's guides posted that'll help you do that.
If it were me, I would backup the wimax partition from the new phone. I would search how to do that, and then doit.
That would allow a complete nandroid restore including wimax from the old phone-to the new, then a simple #flash wimax /sdcard/newsavedwimax (on the new phone)
Just saying..
freeza said:
Don't listen to these people. I've done it and it works fine. Just make sure you remove the wimax.img before. And you'll have to change the htc folder inside of the nandroid to match the new phones serial.
I made the mistake of not removing the wimax.img. am now stuck using a friends
Click to expand...
Click to collapse
I don't agree with this. There's other settings besides those in wimax.img that may cause conflicts. The kernel is part of the backup too, and depending on the level of tweaking, your new device may not support the settings that worked fine in the old phone. Finally, can you say with utmost certainty there no account related parameters (meid, etc) are stored in the backup?
gpz1100 said:
I don't agree with this. There's other settings besides those in wimax.img that may cause conflicts. The kernel is part of the backup too, and depending on the level of tweaking, your new device may not support the settings that worked fine in the old phone. Finally, can you say with utmost certainty there no account related parameters (meid, etc) are stored in the backup?
Click to expand...
Click to collapse
If you are overclocking, you may want to remove SetCPU before the backup or even after through ADB, other than that, it is completely safe. I've been running on a nandroid from a previous backup since September, with updates to the software obviously, but essentially the same. I didn't feel like starting over, and I had over 200 apps that I would have had to redownload. Not to mention all the settings, tweaks, etc. I gave it a try and it worked out just fine.
I think the only thing besides the wimax partition you have to worry about, is the PRL/profile update. It will no longer work, because those contain the previous MEID/ESN in /data/data/ in a text file. A simple edit would fix it though, or even removing that text file will cause Android to create a new one upon reboot. Other than that, everything works fine. ESN/MEID information are contained somewhere in the radio and is completely different from any of the partitions that nandroid backs up/restores.
Good to know. I'll keep that in mind if I ever have the phone swapped. I may have 10-20 apps on here at best, so setting up from scratch isn't that big of a deal. Still a pain none the less.
Coming from a windows platform, at the end of the day, it's usually better to start over from scratch than to migrate an existing installation onto a new system... From what you describe, that isn't entirely applicable here though.
gpz1100 said:
Good to know. I'll keep that in mind if I ever have the phone swapped. I may have 10-20 apps on here at best, so setting up from scratch isn't that big of a deal. Still a pain none the less.
Coming from a windows platform, at the end of the day, it's usually better to start over from scratch than to migrate an existing installation onto a new system... From what you describe, that isn't entirely applicable here though.
Click to expand...
Click to collapse
Yeah, for the most part I agree. But since Android phones are so simple in comparison to Windows and its registry, I figured "Why not?"
For the most part all you're doing is copying what's in /data to make your phone the way it was before anyway.
Since most, if not all of /system remains unchanged by phone specifics, you could really extract your system.img, make a "ROM" out of it, and have everything you had before, minus settings/etc.
/data is where things get interesting and is comparable to the Windows Registry. However, /data is so small in comparison, that most of the time, it's not a big deal to poke around in there.
Swype FC ring any bells? Why? Since the 3.70 adds Swype and its LIB into /system/lib instead of /data/data/, you get two instances of Swype's LIB, assuming you're installing the beta alongside your already included Swype. This leads to FC. All one would have to do is remove the lib in /system/lib, possibly Swype in /system/app to get their beta Swype working again.
Anyway, if anything were to not function correctly from restoring a nandroid from a different phone, all it would take is a look in /data/data, find the troublesome program, poke around in its folder, possibly clear its cache/cache folder, and maybe edit a text file inside of /data/data and you'd be fine.
Never restore from an old phone two a new phone you may brick it
Sent from my PC36100 using XDA App
So, say hypothetically...one didn't read this thread before he nandroid restored to his replacement EVO today. Well, at first it failed to restore the boot so he went in and individually restored each option besides boot and including wimax. He had no 3G before but 4G would wokr. Now he has no 3G/4G after going through and individually restoring each option, just 1X. He checked his RSA keys using WiMAX RSA Key Checker and the RSA key is present.
Is there still anything he could do to get back his 3G/4G if this hypothetical situation were to be true? RUU work maybe?
So, say hypothetically...one didn't read this thread before he nandroid restored to his replacement EVO today. Well, at first it failed to restore the boot so he went in and individually restored each option besides boot and including wimax. He had no 3G before but 4G would wokr. Now he has no 3G/4G after going through and individually restoring each option, just 1X. He checked his RSA keys using WiMAX RSA Key Checker and the RSA key is present.
Is there still anything he could do to get back his 3G/4G if this hypothetical situation were to be true? RUU work maybe?
UPDATE: I used unrevoked's S-On tool and then did the most current RUU. I then updated PRI/Profile and then made a nandroid since 3G/4G was working. I then flashed CM7nightly23 and now I don't have 3G again. 4G is working and 1X when i cut it off? Any insight on this problem? Thanks
He checked his RSA keys using WiMAX RSA Key Checker and the RSA key is present.
Click to expand...
Click to collapse
Its present, but its the wrong key.
Is there still anything he could do to get back his 3G/4G if this hypothetical situation were to be true? RUU work maybe?
Click to expand...
Click to collapse
You're pretty much out of luck. Call Asurion and pony up the 100 bucks to get a replacement. Lesson learned.
The Wimax keys are you unique to each phone, and can't be recovered or "given" a new one. He'll have to claim it via insurance, pay the deductible, or live without 4G.
Well I thought I updated the post before y'all commented, but I did use unrevoked S-On and then did the latest RUU and booted up and everything was working. I then used unrevoked and I nanroid backup the stock ROM rooted. I wiped/data/cache and flashed CM7 nightly 23 and only have 4G and 1X now?
Under wifi connections, or mobile data is on?
teh roxxorz said:
Under wifi connections, or mobile data is on?
Click to expand...
Click to collapse
Yes, and i have toggled it a few times to check. I have also toggled data sync and stuff like that as well.

Transfer RSA keys?

Well my old Evo broke so i got the replacement one and long and behold i mess up the rsa keys..now my old evo still has the rsa keys intact (screen is broken on the phone) and i believe i read somewhere that i could transfer those rsa keys to my new one. If so..how can i? or can i get my RSA keys back some way?
catdeerduck said:
Well my old Evo broke so i got the replacement one and long and behold i mess up the rsa keys..now my old evo still has the rsa keys intact (screen is broken on the phone) and i believe i read somewhere that i could transfer those rsa keys to my new one. If so..how can i? or can i get my RSA keys back some way?
Click to expand...
Click to collapse
If your recovery is amon RA, then all you have to do is enter recovery, go into the Backup/Restore menu and make a nandroid backup of your WIMAX keys. It will be saved to a nandroid folder on your SD card.
I wouldn't recommend it. The keys are tied to a specific phone's hardware, and Sprint might not have your old keys active anymore.
drmacinyasha said:
I wouldn't recommend it. The keys are tied to a specific phone's hardware, and Sprint might not have your old keys active anymore.
Click to expand...
Click to collapse
You are absolutely right. Although I read the OP, for some reason, I had it in my mind to help him make a backup of his wimax keys on his new device even though it is the one with the messed up keys....Brain Fart....Thanks for catching it and following up. I do appreciate it....
drmacinyasha said:
I wouldn't recommend it. The keys are tied to a specific phone's hardware, and Sprint might not have your old keys active anymore.
Click to expand...
Click to collapse
Agreed, but on the other hand...logically...what does he have to lose by trying it? If the old Evo is already broken/inoperable yet still has it's RSA keys, and the new Evo is functioning normally, yet is missing it's RSA keys, then what's the worst that could happen? Worst case, he still has one old/broken Evo, and one new(er) Evo that still doesn't connect to 4g. Best case, it works, and he has a fully functioning Evo.
And the easiest way to try doing it, would be if you had used Amon Ra 1.8.0 or newer to create any backups on your old Evo (that still has RSA keys), then just simply restore that backup on your new Evo. That should put your old RSA keys on your new device. (that will only work if your old Evo and new Evo both have the same size recovery partition. If they don't, it will cause some bad issues. I suggest against doing it, unless you're sure they both have same size recovery partition. I forget how to check at the moment, but I will research it for you) The other way would be, you could take the 'wimax.img' out of an old nandroid backup, and place it into a new backup that you've recently created. (assuming both backups were created using the same recovery)
Edit: to check partition erase size, use terminal emulator on your phone. Simply enter the command 'cat /proc/mtd' (without quotes) then hit enter. You should see a series of numbers either being 00020000 or 00040000. Whichever it is on your old Evo, needs to be the same on the new one. Otherwise, don't attempt restoring an old backup on the new phone!!
Now, as has already been stated, this is generally not recommended, and I have never personally tried it, and have absolutely no clue if it will actually work. But as I stated, the way that I see it, you have nothing to lose. Just make a good backup of your current phone in it's current state, before you go trying to restore an old backup from a different phone to it. It's expermental, as far as I'm concerned.

[Q] 4g broke and cant unroot HELP

Need help fixing 4g. Dont know when it stopped working but I have tried other roms and no luck. I have updated the radio then the profile and then the prl, I rebooted and then did the wimax and profile and prl and deleted some wimax file like one of the post said to do. No luck at all
I then tried to unroot to see if sprint would swap it out. When I try to unroot it tells me my battery is less then 30% and the other ruus say they dont see my phone. I dont know how I rooted it but I think it was with unrevoked not sure.
4g says scanning then connecting and back to scanning thats it. I use mikrom 4.61 right now
Did you try restoring a backup that had wimax working?
This epic reply brought to you by none other than my roxx'd out Evo.
go here
http://forum.xda-developers.com/showthread.php?t=829045&page=60 this is the site it may help scroll all the way down i lost my 4g i had to send my phone back to htc and wait a week it was horrible
rhconcepts said:
Need help fixing 4g. Dont know when it stopped working but I have tried other roms and no luck. I have updated the radio then the profile and then the prl, I rebooted and then did the wimax and profile and prl and deleted some wimax file like one of the post said to do. No luck at all
I then tried to unroot to see if sprint would swap it out. When I try to unroot it tells me my battery is less then 30% and the other ruus say they dont see my phone. I dont know how I rooted it but I think it was with unrevoked not sure.
4g says scanning then connecting and back to scanning thats it. I use mikrom 4.61 right now
Click to expand...
Click to collapse
Did you check your RSA keys with the app from the Market?
Is your battery less than 30%? If it is, plug it in. If you want to unroot, just dl the s-on zip, flash that, then place the PC36IMG.zip on the root of your SD Card and go to hboot and let it update.
I got it unrooted. I did the unrevoke on patch and tried like 5 zip files and one of them worked. So its stock but I don't think 4g is working yet ill know tomorrow when I goto work.
Now what is this thing from the market for? Never mind I looked it up. So if my key is lost what do I do then? Send it in?
And no I didn't have any backups
Sent from my PC36100 using XDA Premium App
You should have to buy a new phone for being a moron. This is why every post about rooting reminds you to make a backup. You messed up live with the consequences. Sorry that is harsh, but this is preventable and all to common. People are way to over their heads messing with their phones like this. Now you will try to get your phone replaced and because of people like yourself replacement warrenties get more strict and costs go up. Sorry for the rant it just really annoys me that people keep ruining their phones because they are clueless.
Sent from my PC36100 using XDA App
Rem3Dy said:
You should have to buy a new phone for being a moron. This is why every post about rooting reminds you to make a backup. You messed up live with the consequences. Sorry that is harsh, but this is preventable and all to common. People are way to over their heads messing with their phones like this. Now you will try to get your phone replaced and because of people like yourself replacement warrenties get more strict and costs go up. Sorry for the rant it just really annoys me that people keep ruining their phones because they are clueless.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Your not being harsh at all... YOUR BEING A DINK,, And what would a backup do for me because I dont know crap right.. I did find my very first backup from when I first rooted the phone and that didnt help at all. So I unrooted it and its still not working. And thanks to the rest of you guys for the help and info, Im thinking the wimax key is gone but I didnt want to root the phone to find out. Sprint is doing a swap right now so Im all good..
rhconcepts said:
Your not being harsh at all... YOUR BEING A DINK,, And what would a backup do for me because I dont know crap right.. I did find my very first backup from when I first rooted the phone and that didnt help at all. So I unrooted it and its still not working. And thanks to the rest of you guys for the help and info, Im thinking the wimax key is gone but I didnt want to root the phone to find out. Sprint is doing a swap right now so Im all good..
Click to expand...
Click to collapse
Good for you, hope you learned your lesson.
Sent from my PC36100 using Tapatalk
Me? No I didn't. Everyone says to do a backup but when I found my backup it didn't help. Even the stock Rom didn't help. So if someone can tell me how to backup the wimax key that may help next time. But what I see is once its gone its gone, not even a backup will help. One thing I did learn is that I'm staying with mik's Rom lol.
I rooted my evo and now I see a wimax backup in the recovery. I have never seen that in the backup of the recovery before. But many things have changed so could it be something they added in down the road? I rooted the phone when it first came out. But now I see what you are talking about the backup. Maybe next time someone can fill me in on that and not be such a ass.
Sent from my PC36100 using XDA Premium App
i agree man chill out
rhconcepts said:
Me? No I didn't. Everyone says to do a backup but when I found my backup it didn't help. Even the stock Rom didn't help. So if someone can tell me how to backup the wimax key that may help next time. But what I see is once its gone its gone, not even a backup will help. One thing I did learn is that I'm staying with mik's Rom lol.
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
It's easiest to do with Amon-Ra recovery, which you can find out about installing if you do a search for Amon-Ra 2.3. When using Ra, go to backup, and just check "Wimax." It'll backup just your wimax. Now, just go into your nandroid folder on your sd and add a "-wimax_key"to the end of the file name so you can remember it, and then put that backup in multiple safe places.
Are you sure it's your phone that is having the issue? Sprint could just have an outage. I've had some janky 4g coverage lately.
If it is your phone, what recovery and version are you running? All the new recoveries backup the Wimax keys. It's not true that "once it is gone, it's gone." I imagine you ran Unrevoked to root it which installs Clockworkmod recovery, so your original nandroid backup should have the keys backedup already. In that case you'd just need to wipe and then restore the nandroid. Upon doing that, it will also restore your Wimax key. DL the Wimax key checker from the market as previously mentioned and verify your RSA (Wimax) key is present. You are good to go if so.
eventer289 said:
It's easiest to do with Amon-Ra recovery, which you can find out about installing if you do a search for Amon-Ra 2.3. When using Ra, go to backup, and just check "Wimax." It'll backup just your wimax. Now, just go into your nandroid folder on your sd and add a "-wimax_key"to the end of the file name so you can remember it, and then put that backup in multiple safe places.
Are you sure it's your phone that is having the issue? Sprint could just have an outage. I've had some janky 4g coverage lately.
If it is your phone, what recovery and version are you running? All the new recoveries backup the Wimax keys. It's not true that "once it is gone, it's gone." I imagine you ran Unrevoked to root it which installs Clockworkmod recovery, so your original nandroid backup should have the keys backedup already. In that case you'd just need to wipe and then restore the nandroid. Upon doing that, it will also restore your Wimax key. DL the Wimax key checker from the market as previously mentioned and verify your RSA (Wimax) key is present. You are good to go if so.
Click to expand...
Click to collapse
Thanks for the info. It was the phone for sure and I must have had the very first recovery version because I never seen the wimax backup before. Now on my new phone I see the wimax and other things I can backup. So on this one I checked them all and did my backup So that must be why the backup I found didnt help me. I never thought about checking to see if the recovery had updates.

Possible Fix For Lost Wimax Keys

So I was looking at the information in this thread http://forum.xda-developers.com/showthread.php?t=936945 about manually restoring RSA keys to a template wimax file and it gave me an idea. Even though I did not have a dedicated backup for my wimax keys I might be able to find the in some other file on the clockwork backup I made after rooting.
Here was the process I went through:
1. Used unyaffs to extract all the files from the data.img made in the initial backup I made after rooting
2. In the misc\wimax folder that was extracted there was a file named <Wimax MAC address>.tree
3. Opened this file with notepad ++, searched to find Certificate, value that was listed under it beginning with MIID (was a long string of characters similar to described in the manual key restore post)
4. Then I ran a search on the same file for key, came up with another string of characters similar to those in the guide these ones beginning with MIIE. Further searching through the same file does show up some other listings under key, for my first try here I am using the first one I came to, if that does not work I will try any other ones that show up.
5. Using these to values converted to HEX I pretty much folowed the rest of the guide as written. Now when I run the Wimax key checker it at least says I have keys. I will have to wait till tomorrow when I can get back to a 4G service area and see if I can connect.
If anyone thinks this might not be a valid way to try and fix my lost wimax keys let me know. Figured since I already had lost 4G it couldn't hurt to try. I also apologize for this post being kind of long winded or if this is something that has already been attempted. After about a week of searching online for a solution to my issues I figured this info might be useful.
For some background information. I just recently rooted my 2.3 GB EVO using revolutionary. Among a few other problems I encountered was that I seemed to have lost my RSA keys even though first thing I did after installing the recovery was make a backup using the version of clockwork that is installed using the revolutionary method. While I have read that the newer versions of clockwork do backup the wimax keys I was never able to get them back by restoring my clockwork recovery. I have since moved on to RA since it seems to make the process much easier.
There is an app in Market called WiMAX key checker that would check to see if your keys are present. I would check that first to ensure they are indeed gone.
I ran the key checker a while ago and it told me they were gone along with performing any of the manual methods I could find to check for them through terminal or adb.
Hey there,
I hate to bring up a really old topic, but am at my wits end. I seem to have somehow lost my RSA keys trying to update my radio (last time I try that) and it seems that CWM did NOT backup my Wimax.img even though I made a full backup the only way I know how.
I tried this method and wanted to know the OPs results or if anyone else has had any luck. After I did this, I got the key checker to say I had keys, but NO 4G service.
Any thoughts? Any help since this topic first came to light a long time ago? Any help is much appreciated for this posting newbie, but longtime flash-a-holic.
UserDemos said:
Hey there,
I hate to bring up a really old topic, but am at my wits end. I seem to have somehow lost my RSA keys trying to update my radio (last time I try that) and it seems that CWM did NOT backup my Wimax.img even though I made a full backup the only way I know how.
I tried this method and wanted to know the OPs results or if anyone else has had any luck. After I did this, I got the key checker to say I had keys, but NO 4G service.
Any thoughts? Any help since this topic first came to light a long time ago? Any help is much appreciated for this posting newbie, but longtime flash-a-holic.
Click to expand...
Click to collapse
Well hate to ask the obvious, but you're in a 4G area, it doesn't just say connecting? Do you have ANY other prior backups?
Hey teh roxxorz,
Thanks for the quick reply! I am in a 4G area. I used to get full bars and fast 4G. It goes through a weird loop of connecting, authenticating, disconnecting, etc. I got tired of trying and went to ICS, but finally wanted to see if any new fixes or thoughts had comes since I last tried and stumbled upon this thread.
Should I revert to a rooted RUU, flash the wimax.img file I made and see what happens? What are some experts thoughts? I was flashing the wimax.img on CM7 (backed up from when I had 4G).
4G issue might just be radio related. You have latest radios? wifi working?
Hey devnulldroid,
Thanks for the quick reply. Let me back up!
One day my 4G stopped working. Stuck in an endless loop after I flashed the newest radios. I used the WiMax key checker and it said I had no keys present. I freaked out. Flashed back to my last good nandroid, NO LUCK. I was bummed. I tried every possible fix, flash, etc to get it back.
Now I am here. Tried this method, but no luck. Trying to see if anyone has any suggestions as it appears the tree.xml file from my backup has keys and a certificate, but still won't work. Make sense?
To answer your question: I have working WiFi and latest radios. I am running a non-4G ROM currently, but flashed my last working 4G nandroid and tried this wimax.img fix and still no luck.
I hope I am making sense. I apologize if I'm confusing others besides myself.
I was able to pretty much get to the same point, 4g looping through scanning, turning off, and on. I haven't tried messing with it too much recently, kind of got sidetracked. I am pretty sure my wimax keys are somewhere, it just seems to be a matter of which hex strings go in what position, just haven't had the time to go through trial and error process to figure out which.
I lost my keys during a weekend long flashing Bender, all I did was flash a stock rom then went into sprint and said when I was updating my profile or prl my phone dropped and rebooted, now my 4g doesn't work. They gave me a replacement that I re rooted and made a back up of just wimax, it has come in real handy.
Sent from my PC36100 using xda premium
thirdeye18 said:
I was able to pretty much get to the same point, 4g looping through scanning, turning off, and on. I haven't tried messing with it too much recently, kind of got sidetracked. I am pretty sure my wimax keys are somewhere, it just seems to be a matter of which hex strings go in what position, just haven't had the time to go through trial and error process to figure out which.
Click to expand...
Click to collapse
In you last backup, you should see a wiimx.img if you were using CWM, because it should backup everything by default.

Categories

Resources