Which folder do I put my TWRP backup in order to restore? Whenever I flash a 4.2.2 ROM and try to restore a previous 4.1.2 ROM, there's no backup file. I notice a NEW "0" folder though. Please advise, thanks!
Look for madmack cm10 thread, he has a flash able zip to revert back to 4.1 storage. If you have external card, move your twrp backup folder there, that's what I do. Makes life easier for me at least.
TWEAKED 1.4™
Warrior1975 said:
Look for madmack cm10 thread, he has a flash able zip to revert back to 4.1 storage. If you have external card, move your twrp backup folder there, that's what I do. Makes life easier for me at least.
TWEAKED 1.4™
Click to expand...
Click to collapse
Actually, that's what I did. I moved from internal storage TWRP backup to ext-card and when I wanted to restore, both (Ext & Internal Card) read empty, while I was in TWRP recovery. I stopped flashing 4.2.2 ROM due to this. It was frustrating, I had to connect to PC to recover backup, since I make a copy to my hard drive as well. I'm looking into your post about a flashable zip to revert. Thanks!
Is that the only problem? The "0" folder? Or something happens if we dont delete that folder?
Sent From Land Of Ooo. Using a Jedi Mastered Note 2.
If you delete it you lose your files. Unless u copy them
TWEAKED 1.4™
What if Im on 4.2.2 (jedi cm) and I go back to 4.1.1 (Jedi master 9)...and I leave the folder "0" there w/o removing it. Does something happen?
Sent From Land Of Ooo. Using a Jedi Mastered Note 2.
Yes, you keep your files but can't access them correctly. Just flash the zip from Madmacks cm10 thread.
TWEAKED 1.4™
Related
I was wondering if I make a backup through clockwork and I need to revert back to the backup, do I need the files on my sd card that are included in the backup.
For example I root my phone and use a certain kernel and rom. I make a backup after this is installed. Can I remove the rom and kernel from my sd card or does it need to stay on there?
Thanks.
Yeah you can remove the rom and kernel .Zip's and everything will be fine..... as long as you keep all the files that the backup made (the .md5 and .img's)
theduce102 said:
Yeah you can remove the rom and kernel .Zip's and everything will be fine..... as long as you keep all the files that the backup made (the .md5 and .img's)
Click to expand...
Click to collapse
Yea I planned on keeping those, was just going to delete some of the zip files.
Thanks.
I went back to stock to try and fix stuff and im wondering I now have my 0folder on the outside sd card instead of /root folder (is that the right way to type that)
Anyway my twrp backups inside of 0folder and everything... should I move everything or because im going back to 4.2 will it go back to where it was before? when I was on 4.2
was on 4.2 had one zero folder in /storage/
Then went stock now its on out side /storeage/sdcard0/0
Now I going back stock
where will it go? I don't want two
Im on twrp 2.4.0 thanks need know soon please
You can safely copy the contents of the /0 folder back to the root of your phone if you are back on 4.1. I had to do this a couple of times when 4.2 was first released and had too many issues to run as a DD.
Once you move everything back (including your TWRP backups) you'll be all set.
EDIT: I've never had to go back to stock and then back go 4.2, to be safe I would copy everything back as explained above because TWRP will move everything to where its supposed to be when you flash.
Sent from my SGH-I747 using xda app-developers app
Hello all, using a Bell Sgh-i747m here. Recently, I rooted and did a nandroid with cwm backup of my stock rom, and installed the m2 cm10.1 and the newest gapps. I made sure to have a backup, but mysteriously, it has disappeared! Does anyone know if it could've changed folders? Or was it completely deleted?
Thanks in advance.
Blazing angel said:
Hello all, using a Bell Sgh-i747m here. Recently, I rooted and did a nandroid with cwm backup of my stock rom, and installed the m2 cm10.1 and the newest gapps. I made sure to have a backup, but mysteriously, it has disappeared! Does anyone know if it could've changed folders? Or was it completely deleted?
Thanks in advance.
Click to expand...
Click to collapse
Ive never heard of any being deleted. Did you do any kind of wipe when you flashed your ROM? I dont use CWM so not sure but does it store your Nan's to internal or external?
Moved to Q&A
Not sure if I am reading that right or not but I am thinking that you may need to update your CWR version to support the new 4.2 file structure. Can you get into a File Explorer and go to /storage/emulated/0/Clockwork/backup/ or /storage/sdcard1/Clockwork/backup and see of they are in there? It has been a long time since I used CWR so I am not sure if they are kept on the internal or external.
My guess is that they are still there, however your CWR version can't read them. Best way to check is to look with a file explorer like I mentioned above.
Blazing angel said:
Hello all, using a Bell Sgh-i747m here. Recently, I rooted and did a nandroid with cwm backup of my stock rom, and installed the m2 cm10.1 and the newest gapps. I made sure to have a backup, but mysteriously, it has disappeared! Does anyone know if it could've changed folders? Or was it completely deleted?
Thanks in advance.
Click to expand...
Click to collapse
Woody said:
Moved to Q&A
Not sure if I am reading that right or not but I am thinking that you may need to update your CWR version to support the new 4.2 file structure. Can you get into a File Explorer and go to /storage/emulated/0/Clockwork/backup/ or /storage/sdcard1/Clockwork/backup and see of they are in there? It has been a long time since I used CWR so I am not sure if they are kept on the internal or external.
My guess is that they are still there, however your CWR version can't read them. Best way to check is to look with a file explorer like I mentioned above.
Click to expand...
Click to collapse
Woody is correct in saying you need to look in the "0" first. also /data/media/clockworkmod or /mnt/shell/emulated/clockworkmod/backup. copy your cmw backup from "sdcard 0" (or wherever) to sdcard
as far as recovery versions, cwm is simply an installer. if it was not a recent enough version, you would have got an error 7 and it wouldnt even have flashed the rom. since you have flashed a 4.2 rom, you and cwm now need to know where to look for the files new locations. grab root explorer if you dont have it yet.
OK, so I'm used to phones with external SD cards where backing up was very easy. With the GN its a pain in the ass. After flashing a rom and factory resetting it, CWM can not find my back ups. I can see them with root explorer on the "sdcard" but CWM doesn't. I tried dragging them to /data/media/, but cwm doesn't see them.
I saved the back up to my pc before resetting as well. Where can I put it so CWM sees it?
I have the same problem with Titanium Back up. I backed up all apps and data, but after the wipe they were gone. I saved the back up on my PC but now I don't see a titanium backup folder to drag them too.
I realize this question has been asked before but all my research points me to dead ends.
Any help would be appreciated.
edit: was able to to drag an old backup to CWM, tried to restore and it failed. Phone is now stuck at Google logo :/. Factory resetting it again did not help.
update your CWM.
Zepius said:
update your CWM.
Click to expand...
Click to collapse
It doesn't matter, I flashed back to stock and rerooted. How can I avoid this in the future. It seems that if I wipe data I lose my back ups. How can I save my back ups in the future?
Zepius said:
update your CWM.
Click to expand...
Click to collapse
.....
If you just put your backup in data/media/ then CWM might not see it. Mine are in data/media/clockworkmod/backup/
This is why I use TWRP now.
I've had a bad CWM backup/restore operation fail. I think the dev of CWM is losing the ball and TWRP is starting to become the better recovery solution now.
deleted
akira02rex said:
This is why I use TWRP now.
I've had a bad CWM backup/restore operation fail. I think the dev of CWM is losing the ball and TWRP is starting to become the better recovery solution now.
Click to expand...
Click to collapse
I've never once had any errors or failed operations or issues of any kind since using CWM Recovery. Even with my old phone (which was not technically CWM, but based on it). Its hard for me to blame CWM and say that those issues are NOT user error.
If you go from a 4.1.X ROM to a 4.2.X ROM then you will have this problem because it changes the file structure that android uses. Same would occur on TWR. You just need to move the files to the correct location after the fact.
Sent from my Galaxy Nexus using xda app-developers app
pyroemaniac said:
If you go from a 4.1.X ROM to a 4.2.X ROM then you will have this problem because it changes the file structure that android uses. Same would occur on TWR. You just need to move the files to the correct location after the fact.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Problem is that I tried moving the backup from the old location to the new. When I tried to restore, it failed and never was able to boot past the google logo. I had to unroot and flash back to stock. A great feature that I wish CWM had would be to direct it to where we keep the backup and just restore from there. Since the change from 4.1 to 4.2 I have read many people having similar issues.
Do you have cwm making a md5 for your backup? If not hat is the only time I've had trouble restoring. I've switched from 4.2 to 4.1 and vice versa multiple times without problems.
Also are you using cwm touch or non touch?
Sent from my Galaxy Nexus using xda app-developers app
Also, like others have said, make sure you are using the latest CWM. You can easily get it by downloading ROM manager and selecting "Flash ClockworkMod Recovery". It will also tell you what version you have and what version is the latest.
Thanks for the help. I'm also having problems with titanium back up. I copied the backup folder before the wipe, I dragged the files back to the titanium back up folder but TB doesn't recognize the back ups.
spillner said:
Thanks for the help. I'm also having problems with titanium back up. I copied the backup folder before the wipe, I dragged the files back to the titanium back up folder but TB doesn't recognize the back ups.
Click to expand...
Click to collapse
In Titanium Backup, select menu then preferences. Scroll down and select backup folder location. Tap the "detect" button then whole device. It should find it.
Also I'd grab a cheap otg adapter... And a 32gig min flash drive to backup to. I have mine run overnight (otg w/charging port) it's basically like having external just deciding when you need it
Sent from my Galaxy Nexus using Tapatalk 2
pyroemaniac said:
If you go from a 4.1.X ROM to a 4.2.X ROM then you will have this problem because it changes the file structure that android uses. Same would occur on TWR. You just need to move the files to the correct location after the fact.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
an up to date version of CWM or TWRP will 'move' (actually rename with the new path) your file system for you so you don't have to do it manually - that's why peeps keep on telling you to update your recovery...
help!
spillner said:
Problem is that I tried moving the backup from the old location to the new. When I tried to restore, it failed and never was able to boot past the google logo. I had to unroot and flash back to stock. A great feature that I wish CWM had would be to direct it to where we keep the backup and just restore from there. Since the change from 4.1 to 4.2 I have read many people having similar issues.
Click to expand...
Click to collapse
I have the same exact problem. When I try to move the backup to the main sdcard directory (a 3 gig file) it fails halfway through. No matter if I use adb push or windows/mtp to copy/paste the file.
Any ideas? Please help, I just want to restore my old rom with all my data. I dont care about 4.2 if I dont have my data.
EDIT:
I FIXED IT! This is how I did it. I had backed up my SD card (including clockwork backups) to my computer using adb pull. So I used clockworkmod recovery to format the SD card and /data/media. Then I started up the phone. I used windows to copy the backups to the phone. Now when I went to clockwork and tried to use the restore backup, it worked correctly. I'm now back to my old phone
I have a solution
spillner said:
OK, so I'm used to phones with external SD cards where backing up was very easy. With the GN its a pain in the ass. After flashing a rom and factory resetting it, CWM can not find my back ups. I can see them with root explorer on the "sdcard" but CWM doesn't. I tried dragging them to /data/media/, but cwm doesn't see them.
I saved the back up to my pc before resetting as well. Where can I put it so CWM sees it?
I have the same problem with Titanium Back up. I backed up all apps and data, but after the wipe they were gone. I saved the back up on my PC but now I don't see a titanium backup folder to drag them too.
I realize this question has been asked before but all my research points me to dead ends.
Any help would be appreciated.
edit: was able to to drag an old backup to CWM, tried to restore and it failed. Phone is now stuck at Google logo :/. Factory resetting it again did not help.
Click to expand...
Click to collapse
I was able to solve this problem. Check my post (above this) and the edit! Goodluck!
Reviving this thread
I am reviving this thread because I would like to know if there is any way to preserve CWM backups and Titanium Backup files when wiping data for a new ROM install.
Is it possible to create a symlink using terminal and link to a static directory which could be protected from wiping data? This is granted the shell permits symlinks.
Thoughts?
First of all I am a novice when it comes to this sort of thing. I was running Paradigm 2.3.5. Created a clockworkmod backup using version 5.0.x.x (can't remember the exact version). I then wiped data, wiped cache, installed Paradigm 3.1, installed gapps, and booted. Well I decided I wasn't ready to re do everything I have done to my phone and I wanted to go back to my previous backup. I restarted into recovery, but when I attempted a recovery I get no files found. The files are still there if I look through a usb connection. I understand this has something to do with the /0 folder and moving from 4.1 to 4.2 android. I'm not sure what to do here I just want to restore my phone to before all of this mess. I also understand there are other topics on this issue, and I have been looking through them for hours now, but I can't seem to get anything to work. Please help.
Edit: I was able to download a file manager and transfer the clockwork backups into the correct clockwork folder and then restore to my previous rom. I still would like to know if it is possible to flash a new rom without losing all of your files and apps.
ddrawer said:
First of all I am a novice when it comes to this sort of thing. I was running Paradigm 2.3.5. Created a clockworkmod backup using version 5.0.x.x (can't remember the exact version). I then wiped data, wiped cache, installed Paradigm 3.1, installed gapps, and booted. Well I decided I wasn't ready to re do everything I have done to my phone and I wanted to go back to my previous backup. I restarted into recovery, but when I attempted a recovery I get no files found. The files are still there if I look through a usb connection. I understand this has something to do with the /0 folder and moving from 4.1 to 4.2 android. I'm not sure what to do here I just want to restore my phone to before all of this mess. I also understand there are other topics on this issue, and I have been looking through them for hours now, but I can't seem to get anything to work. Please help.
Edit: I was able to download a file manager and transfer the clockwork backups into the correct clockwork folder and then restore to my previous rom. I still would like to know if it is possible to flash a new rom without losing all of your files and apps.
Click to expand...
Click to collapse
You shouldn't lose your files if you wipe unless you wipe sdcard (in a custom recovery). You can save data and apps with titaniumbackup.
Sent from my Galaxy Nexus using XDA Premium HD app
mrgnex said:
You shouldn't lose your files if you wipe unless you wipe sdcard (in a custom recovery). You can save data and apps with titaniumbackup.
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
Yes I never lost any files they were still on my sdcard, but there was an sdcard\ and an sdcard\0 with duplicate folder except one of the duplicates were empty. So your saying if I do a back up with titaniumbackup then flash a new rom that uses android 4.2.2 or 4.3 I can then restore with titaniumbackup and have all my old data and apps on the new rom?
Do a search on the GNEX Development forum for the current version of CWM. 6.0.4.0 was just posted earlier today.
Sent from my Galaxy Nexus using Tapatalk 2
Sorry to be so annoying with this, and I really appreciate everyones help. To clarify, I just installed CWM 6.0.4.0. If I now make a backup with CWM, clear files/factory reset, clear cache, and flash latest rom, I can then boot and it will be like nothing changed as far as my app configurations and data goes? If not, is there a way to do that? Will titan do that for me?
ddrawer said:
Sorry to be so annoying with this, and I really appreciate everyones help. To clarify, I just installed CWM 6.0.4.0. If I now make a backup with CWM, clear files/factory reset, clear cache, and flash latest rom, I can then boot and it will be like nothing changed as far as my app configurations and data goes? If not, is there a way to do that? Will titan do that for me?
Click to expand...
Click to collapse
Think of CWM as an image bu of your phone. If something messes up when you flash that latest rom, you can restore the bu and all will be back to the way it was pre-flash. TiBU will backup your apps and data, so after you do a clean flash you can restore them. My personal preference for a clean flash is to let the Play Store restore my apps, then use TiBU to restore the data for my user apps. I've found TiBU to be a bit of a crap shoot when it comes to system apps. There's always a bit of work involved with a clean flash, but it's not too much and will usually save some headaches.
Sent from my Nexus 7 using Tapatalk 4
Well this weekend I decided to flash CM 10.2. I backed up to titanium, I backed up to cwm latest version, factory reset, flashed CM 10,2, flashed gapps, booted, play store repopulated my apps. Open titanium backup "no backups found", tell it to detect the backup folder on whole device, no backups found. So I just ran my cwm restore and when I boot I get a whole new error. When I try to browse my files with astro file browser I get "cannot downgrade database from 2 to 1". What is wrong now?
Edit:
I just tried to do another cwm backup because I was going to move around some files through usb, it took forever and then in the end failed because the boot image was messed up. It said something about free space so I deleted all but the most recent cwm backup and then the backup that failed before was able to finish. After doing that I booted again and I was able to browse my files with astro again. So that isn't an issue anymore, but there has got to be something wrong with my file structure that this keeps happening.
I have two 0 folders, is that normal. From root I have storage\sdcard0\0\0 and that contains my data from before I started any of this flashing from 4.1. storage\sdcard0\0 has duplicate folders of storage\sdcard0\0\0 but they are empty. There is also a folder called sdcard in the root folder. So obviously there is a huge mess here. Is there a tool I can run to clean it up, or can someone tell me how the file structure is supposed to be so I can just move things back the the way it should be.
Edit 2:
I ended up copying the files in the deepest 0 folders out to the 0 folder above them then removing the deepest 0 folder. I now have sdcard\0 which only has a clockworkmod folder with a recovery file in it, and storage\sdcard0\0 which when I go into the 0 folder I get routed to sdcard\0. Everything seems to be working fine still. I'm thinking about just combining the sdcard0 with the sdcard and removing the sdcard0 since I'm currently on android 4.1. Then with everything cleaned up I might give it another go.