There might be hundreds of thread about this - EVO 4G Q&A, Help & Troubleshooting

but i lost my RSA keys. Is it true the only way you can get them back is by getting a new evo? or is there another way to get them back?

you can steal rsa keys from another evo, but then they cant both be on 4g at the same time.
other than that, none at all. its built into the hardware. there is 1 key per 1 evo in the world, so once it is gone, you cant just write a new one.

unless you have a RA backup or a recent cwm backup from 2.6.0.1 or the 3xxxx series then they are lost and a new phone is required

Related

[Q] RSA Keys

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!

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.

Rsa keys

So I have a hardware 002 evo, and I just checked and found out I don't have any rsa keys. This isn't the end of the world because I don't have 4g in my area. I was wondering what could have caused this problem? I thought it was only new evo's that could get this? My sisters hw 004 evo is fine, and I rooted the same way. Could it have been a recovery I flashed? Also, is there anything I can do to get them back? As far as I know (a quick search on here) you're sol unless you get a new phone. That's probably what I would do if I ever get 4g in my area (goddamnit). Any (helpful) comments would be appreciated
Swyped from my Evo on steroids.
TheSilverStig said:
So I have a hardware 002 evo, and I just checked and found out I don't have any rsa keys. This isn't the end of the world because I don't have 4g in my area. I was wondering what could have caused this problem? I thought it was only new evo's that could get this? My sisters hw 004 evo is fine, and I rooted the same way. Could it have been a recovery I flashed? Also, is there anything I can do to get them back? As far as I know (a quick search on here) you're sol unless you get a new phone. That's probably what I would do if I ever get 4g in my area (goddamnit). Any (helpful) comments would be appreciated
Swyped from my Evo on steroids.
Click to expand...
Click to collapse
I've had it happen to me when I've been flashing many roms and all of the sudden they are gone. Question: Did you use amon ra recovery? If so you can back up your wimax rsa keys. Or plug your phone in goto sdcard>nandroid>pick a previous backup and then look for a wimax.img, that should contain your rsa keys. You could copy that from a previous nandroid and paste them in a newer backup and re-restore. Hope that helps... If you do not have a wimax.img file then yes you could have possibly lost your rsa keys, best thing is to unroot and return it to sprint and they should swap it out. Best of luck, your welcome.
Yea I don't know for how long my keys have been gone so I'm going to try the backup restore but my guess is that they have been gone for a while.
Hi ho, hi ho, it's off to sprint I go...
Swyped from my Evo on steroids.
Yeah, if you don't have them now and you don't have them backed up, you're in trouble
TheSilverStig said:
Yea I don't know for how long my keys have been gone so I'm going to try the backup restore but my guess is that they have been gone for a while.
Hi ho, hi ho, it's off to sprint I go...
Swyped from my Evo on steroids.
Click to expand...
Click to collapse
What recovery were you using if I may ask
I've used clockwork and amon ra, but I stray towards clockwork. I like the functionality with rom manager. I think if I manage to get a new evo I will switch to amon ra. I still don't think it was the recovery, I remember screwing up a radio flash and pulling my battery in the middle of it which is probably what did it.
Swyped from my Evo on steroids.
TheSilverStig said:
I've used clockwork and amon ra, but I stray towards clockwork. I like the functionality with rom manager. I think if I manage to get a new evo I will switch to amon ra. I still don't think it was the recovery, I remember screwing up a radio flash and pulling my battery in the middle of it which is probably what did it.
Swyped from my Evo on steroids.
Click to expand...
Click to collapse
Yes, that's exactly what caused it.
yea the most common way to screw up RSA keys is incorrectly or failed radio flashes. this will take them out most of the time. your lucky yuo didnt brick the phone at least. I have heard a ton of stories of people pulling battery during radio and that being all she wrote.
I believe clockwork now backs up wimax as well. this may not be of much help as it is a relatively newer additon to both recoverys i believe. yuor best bet may be to go to your oldest back up containing a wimax image and try restoring it. if still a no go then you are hurting.
Sprint may or may not help you depending on if they are dicks and can tell if you rooted or not. I wish you luck man

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.

Wimax keys lost question, RA backup

Somewhere along the lines, I lost my wimax keys and only realized it when I was in an area that actually has 4g (my hometown doesn't). I tried Flashing one my number of backups created in Amon 2.3 thinking I may have backed up the Wimax, but no luck, none of them had the backup. At one point, I remembered creating a backup using Clockwork, not sure which method. I found the backup in a Clockwork folder on my sd card and see there is a wimax image file that is over 12,000 kb in size. I was stoked thinking my keys were found! However, I recovered that ROM backup image through Rom Manager but Wimax checker says my keys are still missing?? Question is, if Clockwork created the wimax image, shouldn't the keys be there when I recover that backup? Is there anyway to see if that wimax image contains the keys? Someone please tell me there is hope! I have a feeling 4g will be coming to my area soon and don't want to have to lie to Sprint to get a new phone
I think if you have the actual key, there is a manual way to program them back into the device. Do you have the original key somewhere (AKA on box, etc.)
Follow the instructions here to check your wimax keys.
Ok, I looked manually at my sd card as well and see one of my nandroid backups also contains a wimax.img, but this one is only just over 2,000 kb. In both cases, restoring those backups didn't work. I will try the method you listed to see what I get. Should I do it from one of those images I backed up?
hmm.. curious... what version CWM are you using?
i'm thinking you might have to revert back to an older version like 2.6 or below to get it to work.
dougjamal said:
Follow the instructions here to check your wimax keys.
Click to expand...
Click to collapse
I followed the instructions listed and yielded results as they did. I got a firmware version and it listed my mac address. Now what? It says OK next to everything and doesn't show any signs of error. My Wimax tag passes, it reads the wimax partition ok,etc. says my firmware version is R4623-evo-kddi. I am wondering though, would my backups that have the wimax.img not be recover that portion since I have upgraded my wimax radio since those backups were made?? Perhaps downgrading my wimax radio to an earlier version would correct it? Help please!!!
SquallLHeart said:
hmm.. curious... what version CWM are you using?
i'm thinking you might have to revert back to an older version like 2.6 or below to get it to work.
Click to expand...
Click to collapse
Not sure what version I used when I created the backup. Are you suggesting restoring the image in an earlier version of CWM will get it to work?
Bump...
Easy fix
Get your wimax.img the one that's larger, put it in the root of your sdcard, open terminal ( get one if you don't have it) gain root permission by typing su
Then type
flash_image wimax /sdcard/wimax.img
Then reboot
Ok, i tried this from terminal and it returned the following error:
mtd: not writing bad block at 0x00260000.
So, what the hell does that mean? A bad image or a bad part of my sd card? Thanks for all the help, I really appreciate it!
You have a bad memory block in your WiMAX partition,
3 options
First, continue to flash the img in terminal until success.
Second, give up and accept defeat understanding no mo fo gee.
Third, get another Evo
Ok, so for ****s and giggles, I did the said method only this time with the smaller 2000 kb wimax.img. It flashed fine, I rebooted, and now wimax keychecker says my key is there!! I wont be in a 4g area until next week to verify,but it should work now, correct? When I turn the 4g radio on, it says turning on and then scanning! Thanks for all the help, its much appreciated!
Sent from my Evo, with renewed 4g!
If key checker said good, your golden
so, let me get this straight. If I never nandroid backed up my phone w/ stock rom on it, shot a 3g only rom, my 4g wimax key could be gone and I'll never be able to get 4G again?
question still stands, but I found the backup the wimax rsa key thread and it seems by phone had its keys still intact
Flashing a 3g only Rom doesn't wipe your keys, making a backup then will still back them up.
OK, so tonight I was in Minneapolis and tried to connect to 4g but couldn't. I verified my wimax keys are in place but still won't connect. It says turning on, then scanning, then connecting to Sprint, tries to connect but then back to scanning, connecting to sprint, over and over. I updated profile and prl and tried again, but still won't connect. What's next to check?
Sent from my PC36100 using XDA App
Just to be clear, keychecker says my wimax keys are present, I have verified my mac address is correct and the 4g radio turns on. However, I know I was in a strong 4g area in Minneapolis but it wouldn't get past the connecting to sprint line. I am running Fresh Rom 3.5 and have flashed the most recent wimax radio, updated profile and prl. Any ideas? Please help!
Bump...;-)
Sent from my PC36100 using XDA App
help
NewZJ said:
Easy fix
Get your wimax.img the one that's larger, put it in the root of your sdcard, open terminal ( get one if you don't have it) gain root permission by typing su
Then type
flash_image wimax /sdcard/wimax.img
Then reboot
Click to expand...
Click to collapse
when i put that it says ...flash_image partition file.img.....did i mess up or is this correct
wimax key
I lost my keys probably months ago I purchased 4 evos and still have one of the boxes.Its not mine I was curious if the wimax keys are specific to each phone or can I use a wimax key from another phone? Our is the box and wimax code completely useless?
thanks
charles

Categories

Resources