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.
Related
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!
So I flashed RLS 5 and flashed the radio/wimax combo first, during it i didn't know what the green down arrow was so i stupdily battery pulled. Dumb -- I know, but I didn't see that description of a normal radio flash anywhere. I know I had my 4g keys when I was running rls 4, how do i got about restoring my wimax.img? Any ideas? I of course did a nandroid before going to rls 5.
You just have to do a nandroid restore from one that still had the 4g keys in amons recovery.
lil-dice said:
So I flashed RLS 5 and flashed the radio/wimax combo first, during it i didn't know what the green down arrow was so i stupdily battery pulled. Dumb -- I know, but I didn't see that description of a normal radio flash anywhere. I know I had my 4g keys when I was running rls 4, how do i got about restoring my wimax.img? Any ideas? I of course did a nandroid before going to rls 5.
Click to expand...
Click to collapse
you have no idea how lucky you are... lol
You should be able to just restore it like matt said or you could flash the image itself while in the recovery. It would probably be much easier just to restore though
So if I nandroid to the backup i did in RLS4 right before I did RLS5 that will include the old radio and should boot?
lil-dice said:
So if I nandroid to the backup i did in RLS4 right before I did RLS5 that will include the old radio and should boot?
Click to expand...
Click to collapse
it will include the wimax radio, you will probably want to finish updating your radios properly though.
edit: it may not be a bad idea to run the RUU just to make sure everything is how it should be, as long as you have used unrevoked forever at some point you won't have to worry about rooting again
xHausx said:
it will include the wimax radio, you will probably want to finish updating your radios properly though.
edit: it may not be a bad idea to run the RUU just to make sure everything is how it should be, as long as you have used unrevoked forever at some point you won't have to worry about rooting again
Click to expand...
Click to collapse
...10 minutes later, restored to my previous nand, reflashed this time rls 5 THEN radios. Now I have the correct 4g mac address and
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
AWWWWWWW YAAAA.
Knot falls out of stomach. Can you believe i friggin battery pulled THREE times during radio update last night? Probably lucky I don't have a fancy brick.... Thanks everyone, love this forum.
wow...........
green arrow down + pulled battery + 9 times out of 10 = brick
praise the wimax gods!!!!
heh
lil-dice said:
So I flashed RLS 5 and flashed the radio/wimax combo first, during it i didn't know what the green down arrow was so i stupdily battery pulled. Dumb -- I know, but I didn't see that description of a normal radio flash anywhere. I know I had my 4g keys when I was running rls 4, how do i got about restoring my wimax.img? Any ideas? I of course did a nandroid before going to rls 5.
Click to expand...
Click to collapse
You are very lucky. The other guy that did that in Myns thread ended up with a brick.
Sent from my PC36100 using XDA App
I forget how I did it, but I too my wimax.img and used adb to push it to the correct partition while in recovery.
if u have ur wimax.img you can restore your keys easy
dkdude36 said:
if u have ur wimax.img you can restore your keys easy
Click to expand...
Click to collapse
Please show me how!!! I somehow lost my 4G but have a wimax.img in one of my backups. I have tried a lot of different things and still the Wimax RSA key checker says Sorry, your WiMAX key is missing!
I tried this, http://forum.xda-developers.com/showpost.php?p=10380361&postcount=1517 with no luck.
I tried adding the wimax.img to another Nandroid and edited the md5, not sure if I even did that correctly.
gottria said:
Please show me how!!! I somehow lost my 4G but have a wimax.img in one of my backups. I have tried a lot of different things and still the Wimax RSA key checker says Sorry, your WiMAX key is missing!
I tried this, http://forum.xda-developers.com/showpost.php?p=10380361&postcount=1517 with no luck.
I tried adding the wimax.img to another Nandroid and edited the md5, not sure if I even did that correctly.
Click to expand...
Click to collapse
srry for lateish reply. must have deleted the email. ok, what recovery are you using?
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.
So I have about 3 backups that look to be in tact but are corrupt. I have 5 backups that work fine.. yet none contain my working wimax key.. I don't suppose that hidden inside one of the corrupt img files would contain the wimax key? That is if it was backed up.. I used to use clockworkmod 3.0.0.5 I believe but i don't know if it ever backed up wimax.. I just hit backup.. With AMon I selected backup wimax one time by checking it yet my keys were already gone by then.. but seems you have to backup wimax manually with Amon.. First question I guess is does clockworkmod auto backup your wimax.. and 2nd.. can I extract the system.img or data.img .. one of those backup files to see if it's in there or is it just a lost cause? Thanks for any input.. Granted I don't live in 4g area, I've been pretty stubborn about getting the key back for those times I am in 4g area. Still can't believe I flubbed this up.. Thanks for any help at all on this..
Did you happen to rename the 3 backups that appear to be corrupted? If so, make sure there are no spaces or special characters in its name. Also, CWM used to auto backup wimax, but I haven't used it in quite a while so I can't say if it still does or not. Were all of your nandroids made with version 3.x.x.x? You can try flashing version 2.5.0.x and then attempt to restore the nandroids. The worst that could happen is a failed restore and you're already experiencing that. Give it a shot.
posting & replying via the XDA Premium app
Yeah i know about the naming issue so I know it's not that.. In any of those backups there is no wimax.img either so I assumed it wasn't backed up. The only wimax.img I have is one that I've tried flashing several times and still produces no keys.. Thanks for the reply though
Looking for a way to get an rsa key other then taking it off another phone. Mine has gotten wiped somehow and my backup copy has gone mia. If someone could help me out with a solution that would be great. Sprint has a deductable that I'm trying to avoid.
There's no way to get your RSA keys back if you don't have a backup. You can't just take it from another phone, they're specific to your device.
If you have a nandroid backup from before you lost them, you may be in luck. If you're using Amon Ra, you should have chosen to backup wimax at some point. I believe CWM backs up wimax with each backup. You can open up your nandroid backup and see if you have a wimax.img file present. You can then restore that backup or manually flash the wimax.img.
Are you 100% positive that you lost them? It's kinda hard to do unless you specifically chose to format your wimax partition.
If you don't have a backup (I'm going to emphasize again the importance of making a backup) and your RSA keys are gone, you're pretty much SOL. You broke it, you should have to buy it.
Sent from my Evo + MIUI using Tapatalk!
I made a backup a while ago with cwm but I think its gone, I read something about using hex editor and getting a clone file but I was looking for an easier way out. So far I've tried to go back to an original Rom and flash a few things but so far no good. I'm hoping this hex editor guide works.
Sent from my PC36100 using Tapatalk
Sorry but you're out of luck. Your 4G keys are tied to your phones serial number. The keys are nontransferable. New phone time for you.
Sent from my PC36100 using Tapatalk
nattiboy2326 said:
I made a backup a while ago with cwm but I think its gone, I read something about using hex editor and getting a clone file but I was looking for an easier way out. So far I've tried to go back to an original Rom and flash a few things but so far no good. I'm hoping this hex editor guide works.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
You are way up the creek and no paddle my friend. The keys are tied to your serial number [like plainjane already said] so you're just out of luck. Check your pc / cwm folder. if its in the folder you can put in in another folder then flash it.