Remove All Ads from XDA

[Q] Backup Original Rom

49 posts
Thanks Meter: 1
By ldiamond2, Member on 1st April 2012, 05:41 PM
Post Reply Email Thread
Hi all,

I'm looking to make a full backup of my phone, including rom kernel radio etc. I want to install new roms on it, mainly Cyanogenmod, but I want to be able to revert back to the way it is right now. I'm aware that there are stock rom available for download but I'd rather backup mine so I know it's exactly the correct one (maybe different branding, version, etc).

I found a post by HellcatAndroid stating that this would backup everything:
dd if=/dev/block/mmcblk0p1 of=/sdcard/p1-EFS.img bs=4096
dd if=/dev/block/mmcblk0p4 of=/sdcard/p4-PARAM.img bs=4096
dd if=/dev/block/mmcblk0p5 of=/sdcard/p5-KERNEL bs=4096
dd if=/dev/block/mmcblk0p8 of=/sdcard/p8-MODEM.bin bs=4096
dd if=/dev/block/mmcblk0p9 of=/sdcard/p9-FACTORYFS.rfs bs=4096
dd if=/dev/block/mmcblk0p12 of=/sdcard/p12-HIDDEN.img bs=4096
I'm curious about a few things... given that these partitions are already mounted, some as read-write, it seems dangerous to obtain a corrupted image. Obviously, I've already manually rooted my phone. That part I can easily undo manually later on too.

Also, once you have this, is odin the only solution to flash back the image?

Is there a decent guide on how to backup your entire phone before flashing anything on it?

By the way, CWM isn't an option given that flashing it would overwrite something I'd like to backup.
1st April 2012, 07:30 PM |#2  
Junior Member
Thanks Meter: 1
install cwm ...

boot into cwm recovery

full Nandroid backup....

U can later restore from cwm.
Everything is backed up. ( kernel .. radio.. settings .. )
As if nothing happened.
1st April 2012, 07:33 PM |#3  
OP Member
Thanks Meter: 1
But if I understand correctly, installing CWM overwrites something. I won't be able to recover that part...
1st April 2012, 07:48 PM |#4  
OP Member
Thanks Meter: 1
Which on is the recovery partition?
1st April 2012, 07:50 PM |#5  
Junior Member
Thanks Meter: 1
u can flash an official based rooted kernel with cwm...its the same as official just with cwm cf-root.
this one is based on LPQ latest kernel....
if u have 4.0+

what u are asking cannot be done without root.
1st April 2012, 07:53 PM |#6  
OP Member
Thanks Meter: 1
Like I said in the original post, I have manually rooted my phone. I have full root access from adb shell and I've compiled the SU binary by chainsdd. If I flash the cf-root kernel, I overwrite the original kernel which I don't want to do.

I can install CWM by itself, I just want to backup my recovery partition first. Unless the recovery partition is rebuilt automatically when flashing the stock kernel back?
1st April 2012, 08:07 PM |#7  
Junior Member
Thanks Meter: 1
after restore using CWM.....

Flash official firmware ( LPQ 4.0.3 ) .....

Everything will stay the same. except ull have a fresh official kernel. and keep ur data, setting etc.....

im not sure u can get into cwm without an unsecure kernel flashed via odin....
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes