View Single Post
  #21 (permalink)  
Old 01-02-2011, 08:02 PM
leerage's Avatar
leerage
PPCGeeks Regular
Offline
 
Join Date: Dec 2009
Posts: 90
Reputation: 100
leerage is keeping up the good workleerage is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
__________________
HTC EVO 4G - Hardware 0004 - HBOOT 2.02 Rooted
Amon_RA v2.2.1 Recovery
Custom ROM: Calkulin v1.7.5
Reply With Quote