Backup+ Lets You Backup Your App Data on Android Lollipop

Even though Android 5.0 Lollipop hasn’t yet seen its official release, quite … more

TechTalk Compiles All the Android News You Need in One App

If you’re as obsessed with mobile devices as the vast majority of our forum … more

Android App Review: Google Inbox to Improve Your Life – XDA TV

Recently, Google+ exploded with the announcement of Google Inbox, as … more

Damp the LG G3 Thermal Throttling

As our mobile devices grow thinner and more powerfulwith each passing generation, it’s inevitable … more
Post Reply

[Q] Backup Original Rom

OP ldiamond2

1st April 2012, 04:41 PM   |  #1  
OP Member
Thanks Meter: 1
 
35 posts
Join Date:Joined: Jun 2011
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:
Code:
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, 06:30 PM   |  #2  
Junior Member
Thanks Meter: 1
 
10 posts
Join Date:Joined: Feb 2011
install cwm ...

boot into cwm recovery
Backup/restore

full Nandroid backup....

U can later restore from cwm.
Everything is backed up. ( kernel .. radio.. settings .. )
As if nothing happened.
1st April 2012, 06:33 PM   |  #3  
OP Member
Thanks Meter: 1
 
35 posts
Join Date:Joined: Jun 2011
But if I understand correctly, installing CWM overwrites something. I won't be able to recover that part...
1st April 2012, 06:48 PM   |  #4  
OP Member
Thanks Meter: 1
 
35 posts
Join Date:Joined: Jun 2011
Which on is the recovery partition?
1st April 2012, 06:50 PM   |  #5  
Junior Member
Thanks Meter: 1
 
10 posts
Join Date:Joined: Feb 2011
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.... http://downloadandroidrom.com/file/G...-v5.3-CWM5.zip
if u have 4.0+

what u are asking cannot be done without root.
1st April 2012, 06:53 PM   |  #6  
OP Member
Thanks Meter: 1
 
35 posts
Join Date:Joined: Jun 2011
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, 07:07 PM   |  #7  
Junior Member
Thanks Meter: 1
 
10 posts
Join Date:Joined: Feb 2011
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes