Now Gesture Tweaks Replaces Google Now with Custom Action

On most modern Android devices with software navigation keys, swiping up from the … more

ToqAN Fixes Android 5.0 Notification Bug on Qualcomm Toq

The Qualcomm Toq is probably one of the lesser known smartwatches on the market … more

How to Root and Unlock the Google Nexus 6 on a Mac – XDA TV

In the past, XDA Developer TV Producer droidmodd3rx has shown you how to … more

Set Up Your MediaTek Device with Comprehensive Beginner’s Guide

As can be seen with the use of MediaTek chips in Android One devices … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Backup Original Rom

OP ldiamond2

1st April 2012, 05: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, 07: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, 07: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, 07:48 PM   |  #4  
OP Member
Thanks Meter: 1
 
35 posts
Join Date:Joined: Jun 2011
Which on is the recovery partition?
1st April 2012, 07: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, 07: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, 08: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