Related
Hi Peeps
Been looking into the quickest way into getting back to my fave rooted stock after a quick rom flash. I'm definetly a rom "hopper" and one thing stopping me from really going mad is the "faffing" about getting back to my my working scenario after I decided I was bored of a rom or it went and broke or something putting me off it.
I experimented with CWM backup and restore and was astonished at the "complete" restore it did.
I I backed up my rooted KH3 stock with CWM then wiped the system before trying a new batista70. It was broken again for me so I wiped and tested the restore.
The WHOLE previous system was there, my data, kernels, root, EVERYTHING.
Nothing to set up!
Is this too good to be true have I missed anything.
Can I now try roms to my hearts content and if I want revert back to that Kh3 back up ( or of course have a few backups of different roms and restore as desired )
Thanks
Back up EFS as a standby .
jje
when you backup with CWM does it also backup ur gallery??
JJEgan said:
Back up EFS as a standby .
jje
Click to expand...
Click to collapse
ooh umm whats that and how do I it? thanks!
edit#
just had a quick look and its the imei and harware info section that can get corrupted, I saw some one say you can zip it up with root explorer and do that.
I have made a tar and a zip just in case, what situation would I be in if I needed to restore it and at what point ? thanks?
edit#
ok now have a backup as per
http://forum.xda-developers.com/showthread.php?t=1068193&highlight=efs+backup+restore
here is what you need to know in a nutshell
########EFS BACK UP##########
What you will need:
Rooted SGS II to get permissions as a SU (Super User) and perform the backup
I would suggest learning a little about the terminal commands used (in case you are not familiar with them), as it’s better to know what you are doing rather than typing strings like a little chimp without knowing what they are; if you are a little lazy, then you have a good chance bricking your mobile. <- Busybox Commands(or Google them)
Terminal Emulator by Jack Palevich (available from the market) <-Terminal Emulator or use ADB which is included in the SDK Development Tools
2 Back Up Methods
CLEAN :
su
busybox tar zcvf /sdcard/efs/efs-backup.tar.gz /efs
RAW :
Code:
su
cat /dev/block/mmcblk0p1 > /sdcard/efs/efs_dev-block-mmcblk0p1.img
#######EFS RESTORE CLEAN########
Here's how to restore using the Clean Method
su
busybox tar zxvf /sdcard/efs/efs-backup.tar.gz -C /
########EFS RESTORE RAW##########
Either
Code:
dd if=/sdcard/efs/efs_dev-block-mmcblk0p1.img of=/dev/block/mmcblk0p1 bs=4096
Or
Code:
cat /sdcard/efs/efs_dev-block-mmcblk0p1.img > /dev/block/mmcblk0p1
#########KTOOL.APK###############
Easiest Way really app that does it all for you....one click backup..one click restore
http://f.lui.li/get_99_f13d.html
install app....open.....
backup Efs to /sdcard/efs.img (default loc)
restore efs.img (if you moved this to a secure place (dropbox)..copy back to
/sdcard/ (as per backup)
From I gather this should be done before you start messing and flashing
with your shiny new droid.....
i'm on clockworkmod 5.0.2.3, my device is galaxy tab 10.1 P7510. i backup it with Titanium Backup. i've done CWM backup, i do know the CWM's backup file is sdcard/clockworkmod, but i can't delete it, either on my tablet or computer!! i've tried ES file and RE, nothing changes,,,,and the CWM file is as large as 1G, but i can't see anything in it! is that a new function of 5.0.2.3, to hide and protect its file? i've format the whole SDcard on my computer, and everything's gone, BUT the CLOCKWORKMOD file!!!!!! i'm crazy!!!!!
wohenyingyu01 said:
i'm on clockworkmod 5.0.2.3, my device is galaxy tab 10.1 P7510. i backup it with Titanium Backup. i've done CWM backup, i do know the CWM's backup file is sdcard/clockworkmod, but i can't delete it, either on my tablet or computer!! i've tried ES file and RE, nothing changes,,,,and the CWM file is as large as 1G, but i can't see anything in it! is that a new function of 5.0.2.3, to hide and protect its file? i've format the whole SDcard on my computer, and everything's gone, BUT the CLOCKWORKMOD file!!!!!! i'm crazy!!!!!
Click to expand...
Click to collapse
try makeing a new backup file in recovery as this should overright the last one
the file is probably corrupt
or using root explorer find the file and check the that folder is R/W
i dnt know if you can doo this on the sd card
You should be able to delete any file on the "SD card". Personally, although I use titanium backup as a great tool, CWM's backup is so easy and reliable for me.
thank u but it doesn't work. new backup changes nothing but make it biger, it seems that i can delete it by RE, but if i refresh i appears again. is there any way to format?
BroBot175 said:
try makeing a new backup file in recovery as this should overright the last one
the file is probably corrupt
or using root explorer find the file and check the that folder is R/W
i dnt know if you can doo this on the sd card
Click to expand...
Click to collapse
Tubes6al4v said:
You should be able to delete any file on the "SD card". Personally, although I use titanium backup as a great tool, CWM's backup is so easy and reliable for me.
Click to expand...
Click to collapse
yep, but it confuses me if the backup exists forever.......
wohenyingyu01 said:
yep, but it confuses me if the backup exists forever.......
Click to expand...
Click to collapse
aha me to :L did you try the root explorer way?
BroBot175 said:
aha me to :L did you try the root explorer way?
Click to expand...
Click to collapse
yep, it doesn't work.....finally i flash the rom with formating scripts through odin, it seems xwkg4, and flash back. now everything's gone~
You can rename and delete backups with the rom manager app from the market.
http://market.android.com/details?id=com.koushikdutta.rommanager
while in recovery:
adb shell mount /data
adb shell rm -r /data/media/clockworkmod/backup/DATED_FOLDER
Are you talking about the nandroid backup? If so, open the CWM recovery and the option to delete backups is there...
Also, you do realize that the CWM backup is not the same thing as the titanium backup, right? CWM backup is the whole system; titanium is just apps and settings...
got the same problem and tried a lot
slack04 said:
Are you talking about the nandroid backup? If so, open the CWM recovery and the option to delete backups is there...
Also, you do realize that the CWM backup is not the same thing as the titanium backup, right? CWM backup is the whole system; titanium is just apps and settings...
Click to expand...
Click to collapse
hi, i got the same issue and have tried to figure it out for hours and turn to here for help finally. my clockworkmod recovery's version is 5.5.0.4, probably. and i flashed 5.8.3.1 minutes ago.
i've tried to delete the backups in rom manager, but still can't and was told error occured while deleting.
and i tried to remove them in adb shell, rm command, and it says permission denied.
Code:
[email protected]:/sdcard/clockworkmod/backup # rm -r 2005-06-01.07.50.08
rm -r 2005-06-01.07.50.08
rm failed for 2005-06-01.07.50.08, Permission denied
255|[email protected]:/sdcard/clockworkmod/backup #
really need reply if anyone else is confused with the same problem ...
chenxian352 said:
hi, i got the same issue and have tried to figure it out for hours and turn to here for help finally. my clockworkmod recovery's version is 5.5.0.4, probably. and i flashed 5.8.3.1 minutes ago.
Click to expand...
Click to collapse
Is 5.8.3.1 for this tablet? If not...
chenxian352 said:
and i tried to remove them in adb shell, rm command, and it says permission denied.
Code:
[email protected]:/sdcard/clockworkmod/backup # rm -r 2005-06-01.07.50.08
rm -r 2005-06-01.07.50.08
rm failed for 2005-06-01.07.50.08, Permission denied
255|[email protected]:/sdcard/clockworkmod/backup #
Click to expand...
Click to collapse
In recovery (CWM) or android? Try with the -f switch (rm -rf), and do it in recovery from your PC (don't forget to mount the partition).
BTW, I can delete cwm backups in android with Root Explorer without problem.
slack04 said:
Is 5.8.3.1 for this tablet? If not...
Click to expand...
Click to collapse
If his tablet is the GT-P7510 model, yes.
slack04 said:
Is 5.8.3.1 for this tablet? If not...
Click to expand...
Click to collapse
sure about that, i got the recovery from clockworkmod.com.
i formatted it in windows, and everything was deleted but the clockworkmod folder! ghostly exist
something i just thought.. i'm using windows 7, when the tablet connect to my laptop, windows recognize it as a portable device. it's special i guess. is there any way to let it be removable disk?
---------- Post added at 04:43 AM ---------- Previous post was at 04:17 AM ----------
MapleSyrup said:
In recovery (CWM) or android? Try with the -f switch (rm -rf), and do it in recovery from your PC (don't forget to mount the partition).
BTW, I can delete cwm backups in android with Root Explorer without problem.
If his tablet is the GT-P7510 model, yes.
Click to expand...
Click to collapse
thx for reply. yes my tablet is GT-P7510. i can't delete them in re explorer, delete failed.
could you please tell me how to mount the partition?
chenxian352 said:
could you please tell me how to mount the partition?
Click to expand...
Click to collapse
One way is, in cwm, select "mount and storage" > "mount /data"
The other way is with adb (you're going to use it any way)
Code:
adb root
Code:
adb shell
Code:
mount /dev/block/mmcblk0p8 /data
If you keep getting the same error, try deleting everything inside the backup directory, I mean the 2005-06-01.07.50.08 directory.
Code:
cd /sdcard/clockworkmod/backup/2005-06-01.07.50.08
Inside the directory (be 100% sure to be in 2005-06-01.07.50.08 or you're going to delete something important. Always be careful when using the rm -rf * command)
Code:
rm -rf *
Or in one line
Code:
rm -rf /sdcard/clockworkmod/backup/2005-06-01.07.50.08/*
Then, delete the directory:
Code:
rmdir /sdcard/clockworkmod/backup/2005-06-01.07.50.08/
problem solved! thanks MapleSyrup
really thanks MapleSyrup! i executed all commands after normally powerup.
i just did them in cmw mode, all worked!
when normally powerup, in adb shell, command line prompt start with
Code:
[email protected]:/ #
in cmw(recovery) mode, it changes to
Code:
~ #
and no 'Permission denied' anymore when execute rm
i'm not English actually, literal words may be incorrect, hope readers could get it.
thanks sincerely. i've spent almost half day on the issue, you cant imagine how happy i am now, ha
MapleSyrup said:
One way is, in cwm, select "mount and storage" > "mount /data"
The other way is with adb (you're going to use it any way)
Code:
adb root
Code:
adb shell
Code:
mount /dev/block/mmcblk0p8 /data
If you keep getting the same error, try deleting everything inside the backup directory, I mean the 2005-06-01.07.50.08 directory.
Code:
cd /sdcard/clockworkmod/backup/2005-06-01.07.50.08
Inside the directory (be 100% sure to be in 2005-06-01.07.50.08 or you're going to delete something important. Always be careful when using the rm -rf * command)
Code:
rm -rf *
Or in one line
Code:
rm -rf /sdcard/clockworkmod/backup/2005-06-01.07.50.08/*
Then, delete the directory:
Code:
rmdir /sdcard/clockworkmod/backup/2005-06-01.07.50.08/
Click to expand...
Click to collapse
I'm a little more of a newb here, and Don't understand the above stuff. I'm having the exact same issue.
ROM Manager basically just messed up my phone to the point that I can't delete backups in clockworkmod. Also the backups are showing 0 bytes in size even though they've taken up 3 gigs on my SDCard
I Got ROM manager to install the latest CWM, which is great. I Then was trying it out, and noticed you can do a backup right from it. It Loads CWM and performs a normal Nandroid backup.
Here is the issue, It shows that it has take up the space on my SDCard, but the folder contents are empty in clockworkmod/backups
Also, I can't delete them at all. I Tried ES Explorer and nothing worked. Said denied.
Hello, I'm trying restore, but it's saying "MD5 mismatch". Any ideas?
Restore what how when and why .
jje
I turn off mobile. Vol. Up + Home + Power. In CWM I choose Backup/Restore. I choose backup. When I choose it, it says "MD5 mismatch"
Koblizek said:
I turn off mobile. Vol. Up + Home + Power. In CWM I choose Backup/Restore. I choose backup. When I choose it, it says "MD5 mismatch"
Click to expand...
Click to collapse
Are you using the exact same version of CWM recovery as you backed up with .
If no then you need to if yes try the advanced restore .
jje
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
I use that - but put your backup details instead of whats there, obviously
I've got same CWM version and still don't working. Will help flash FW from backup?
BigMrB: Those commands are for CMD?
Adb Shell didn't help me. Any ideas?
BigMrB said:
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
I use that - but put your backup details instead of whats there, obviously
Click to expand...
Click to collapse
tried it through terminal emulator and it doesn't work. it restores system but craps out at restoring data
any solution? can't backup/restore
I had this problem too. Turned out that I had spaces in the folder name. So if I renamed the folder name, change it to something without spaces.
Hope this helps.
Sent from my GT-I9100 using XDA App
[Q] [Help] How to make a "FULL" ROM Backup (like NANDroid) for the A 101 G9 Turbo?
As the question says, I want to backup my Archos 101 G9 Turbo like I do on my Samsung Galaxy GIO with NANDroid (via the CWM-based Recovery 5). There is really nothing missing in the backup.
How to backup the Archos Gen9 Tablets this way, a "NO-missing"-Backup.
The reason why I want to do that is.
I purchased the SwitchMe Root Profile Manager + Key.
There is a warning I should do a full NANDroid Backup, I want to do that. I won't lose all my data if something going wrong.
I won't spent my money for NOTHING!
PS: Sorry for my English
hi no "nandroid" backup with stock recovery. Just plug your device in your computer and backup all media files, and use titanium backup to back up any important apps and save that somewhere safe.
in other words: no chance for a one-click-backup
what is
adb backup doing
do it backup, for example: cache, data, system, etc. in other words the root device "/"
If you are rooted and have adb working, you could do that:
adb shell
then type this:
stop zygote (this one stops android).
tar -cvzf /mnt/sdcard/full_backup.tgz /data/*
reboot
It will save everything on your tablet, apps+internal storage on sdcard. Make sure that your microsd is big enough.
If you have to restore, do this:
adb shell
then this:
stop zygote
rm -r /data/*
cd /data/
tar -xvzf /mnt/sdcard/full_backup.tgz
reboot
and voila!
That's more or less what does cwm. If you don't have drm stuff like market movies, you should be fine.
letama said:
If you are rooted and have adb working, you could do that:
adb shell
then type this:
stop zygote (this one stops android).
tar -cvzf /mnt/sdcard/full_backup.tgz /data/*
reboot
It will save everything on your tablet, apps+internal storage on sdcard. Make sure that your microsd is big enough.
If you have to restore, do this:
adb shell
then this:
stop zygote
rm -r /data/*
cd /data/
tar -xvzf /mnt/sdcard/full_backup.tgz
reboot
and voila!
That's more or less what does cwm. If you don't have drm stuff like market movies, you should be fine.
Click to expand...
Click to collapse
thanks
instead of reboot the device i did
start zygote (to start android)
52435 said:
start zygote (to start android)
Click to expand...
Click to collapse
Yes, it works often. Android is sometime confused with stop/start, I usually prefer reboot, it's safer.
whenever i try this command
tar -cvzf /mnt/sdcard/full_backup.tgz /data/*
it shows
tar: invalid option -- z
BusyBox v1.19.4-Stericson (2012-02-20 19:30:32 CST) multi-call binary.
Usage: tar -[cxtZhmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]..
y0 said:
whenever i try this command
tar -cvzf /mnt/sdcard/full_backup.tgz /data/*
it shows
tar: invalid option -- z
BusyBox v1.19.4-Stericson (2012-02-20 19:30:32 CST) multi-call binary.
Usage: tar -[cxtZhmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]..
Click to expand...
Click to collapse
Perhaps your version of busybox does not support the requested compression.
Code:
Options:
c Create
x Extract
t List
Archive format selection:
z Filter the archive through gzip
j Filter the archive through bzip2
a Filter the archive through lzma
Z Filter the archive through compress
File selection:
f Name of TARFILE or "-" for stdin
O Extract to stdout
exclude File to exclude
X File with names to exclude
C Change to directory DIR before operation
v Verbose
As shown above, you can try to use 'j', 'a' or 'Z' instead. You need to replace 'z' with the chosen option during unpacking as well.
Shano56 said:
hi no "nandroid" backup with stock recovery. Just plug your device in your computer and backup all media files, and use titanium backup to back up any important apps and save that somewhere safe.
Click to expand...
Click to collapse
The Archos 101 G9 is not rooted, which means that applications like Titanium Backup won't work.
Confused.. My archos 101 G9 is rooted
Sent from my Xperia T using XDA Premium HD app
y2grae said:
Confused.. My archos 101 G9 is rooted
Sent from my Xperia T using XDA Premium HD app
Click to expand...
Click to collapse
y2grae: Sorry, thought you had the original ROM.
gilesrm said:
y2grae: Sorry, thought you had the original ROM.
Click to expand...
Click to collapse
My apologies. wrong end of stick.
if you can get the root version of the stock, then titanium will work?
letama said:
If you are rooted and have adb working, you could do that:
adb shell
then type this:
stop zygote (this one stops android).
tar -cvzf /mnt/sdcard/full_backup.tgz /data/*
reboot
It will save everything on your tablet, apps+internal storage on sdcard. Make sure that your microsd is big enough.
If you have to restore, do this:
adb shell
then this:
stop zygote
rm -r /data/*
cd /data/
tar -xvzf /mnt/sdcard/full_backup.tgz
reboot
and voila!
That's more or less what does cwm. If you don't have drm stuff like market movies, you should be fine.
Click to expand...
Click to collapse
Works great for making backup, but when I try to restore it just stays at Archos splash screen. I tried to clear delvik and cache, but still can not restore. Any ideas? Just for fun, I formatted whole device and flashed newest firmware and installed rooted AG9fR build then tried to restore, but to no avail, just stuck on Archos logo for over 20 minutes. I do have all apps and backup from Titanium!
Sargeue said:
Works great for making backup, but when I try to restore it just stays at Archos splash screen. I tried to clear delvik and cache, but still can not restore. Any ideas? Just for fun, I formatted whole device and flashed newest firmware and installed rooted AG9fR build then tried to restore, but to no avail, just stuck on Archos logo for over 20 minutes. I do have all apps and backup from Titanium!
Click to expand...
Click to collapse
It was working well for me... What version of Android is it ? I know that 4.3 and 4.4 could cause troubles with selinux, it should be another tar command that stores selinux attributes.
letama said:
It was working well for me... What version of Android is it ? I know that 4.3 and 4.4 could cause troubles with selinux, it should be another tar command that stores selinux attributes.
Click to expand...
Click to collapse
Stock rooted ( freezenook's Rom [BUILD9] (10.09.2013)| Root, Deodex. (4.0.28)) ICS
Sargeue said:
Stock rooted ( freezenook's Rom [BUILD9] (10.09.2013)| Root, Deodex. (4.0.28)) ICS
Click to expand...
Click to collapse
Ok, 4.0 doesn't have selinux, so it's something else.
You're doing tar as root, right?
No idea then, it should work fine.
Does anyone know where the App folder is on an S2?
I have installed a new ROM (CM7.2.0) and now my phone is stuck with LaucherPro constantly crashing, so I cannot access the running apps to cancel it.
I have got ADB working and I can see the folders on the phone but I cannot find the App folder (I have checked all of the folders). All I have under system is a bin folder and nothing in the data folder.
I had made an Nandroid image before I changed the ROM, but that has now has a duff MD5 checksum (no error when initially created. I have attempted to re-create the checksum as per the instructions:
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
all seems OK with the commands because I successfully deleted and re-created the nandroid.md5 file but it is still mis-matched, so I'm trying to remove LaucherPro.
I have created a new nandroid image from the problem ROM and as expected LauncherPro crashes on that image also.
NOTE - Some of the nandroid images that were OK also now fail to pass the checksum!
I have an old nandroid image (CM 7.2.0) that I have restored to, so I have a working phone, but I would like to get back to my last set-up by removing the problematic LaucherPro app.