PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Evo 4G (http://forum.ppcgeeks.com/forumdisplay.php?f=181)
-   -   Good way to backup WiMax RSA keys. Works before Rooting, and on stock OEM Roms. (http://forum.ppcgeeks.com/showthread.php?t=138847)

leerage 01-02-2011 08:02 PM

Re: Good way to backup WiMax RSA keys. Works before Rooting, and on stock OEM Roms.
 
I was viewing the root tutorial over at XDA and came across this:

Quote:

This will back up your rsa keys and is not required. If you DONT want to do this then you can Proceed to Step 7. Otherwise if your still at the # type the following to back up your keys.

Run this command first

cat /dev/mtd/mtd0 > /sdcard/wimax.img

This saves it in a file that can actually be restored. This next step is another type of backup just for good measure

busybox sed -n '/BEGIN CERTIFICATE/,$p' /dev/mtd/mtd0 > /sdcard/rsa_OEM.key
So looks like you need to run:

cat /dev/mtd/mtd0 > /sdcard/wimax.img

In order to save it in a format that can be restored. I just did this and it worked great. The .img came out to be like 12MB in size.

kevmo1965 01-04-2011 07:28 PM

Re: Good way to backup WiMax RSA keys. Works before Rooting, and on stock OEM Roms.
 
I have my key backed up. How do you check out the key to see if its damaged? Plus, how do you restore the key?
My 4G has never worked, but I was able to backup the key and my MAC address is fine.

kevmo1965 01-06-2011 02:52 AM

Wirelessly posted (Mozilla/5.0 (Linux; U; Android 2.2; en-us; Sprint APA9292KT Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)

Nothing, really!!!

510jungleboy 01-07-2011 12:26 AM

Re: Good way to backup WiMax RSA keys. Works before Rooting, and on stock OEM Roms.
 
I can't seem to even get started on the first step getting the path to the location of the adb_shell. I am rooted too.

OMJ 01-09-2011 07:00 PM

Re: Good way to backup WiMax RSA keys. Works before Rooting, and on stock OEM Roms.
 
good thread BooDaddy, I suggest everyone backup your keys.....stickied!

iknowsquat 01-09-2011 08:35 PM

Re: Good way to backup WiMax RSA keys. Works before Rooting, and on stock OEM Roms.
 
So in the interest of simplification--running a wimax backup in the latest CWM or amon RA will accomplish this, right?
I'm a big fan of learning and doing things manually but adb scares off a lot of people and sometimes simple is good too.

jayhuffdaddy 01-09-2011 09:26 PM

Re: Good way to backup WiMax RSA keys. Works before Rooting, and on stock OEM Roms.
 
I downloaded everything that was listed and this does not work for me

iknowsquat 01-09-2011 10:01 PM

Re: Good way to backup WiMax RSA keys. Works before Rooting, and on stock OEM Roms.
 
Quote:

Originally Posted by jayhuffdaddy (Post 2033322)
I downloaded everything that was listed and this does not work for me

What recovery are you on?
If on amons latest do a selective backup of wimax only.
I believe the latest Clockwork can back up your wimax as well just not sure on the specifics since I dont use it.
I am 99.9% sure that when doing this backup your RSA keys will be included in the wimax.img. I'll let you know if I find out otherwise.

jayhuffdaddy 01-09-2011 10:25 PM

Re: Good way to backup WiMax RSA keys. Works before Rooting, and on stock OEM Roms.
 
I'm on Amon but don't see an option for just backing up the wimax.

iknowsquat 01-09-2011 10:35 PM

Re: Good way to backup WiMax RSA keys. Works before Rooting, and on stock OEM Roms.
 
Quote:

Originally Posted by jayhuffdaddy (Post 2033378)
I'm on Amon but don't see an option for just backing up the wimax.

OK, WHICH amon :)
On 2.2.1 when you select backup the last step will bring up a list of options:
boot
system
cache
wimax
etc....

Just select wimax.

btw your RSA keys ARE in the wimax.img created with amon (and I assume CWM)

In amonRA's thread he lists the same manual restore method as listed here by using adb with the wimax.img on the root of the SD card.
Again, not challenging the OP but just thought a lot of users would find the wimax backup in recovery a simpler option.


All times are GMT -4. The time now is 03:00 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0