Can't restore?! Please help - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

I rooted my phone today and did a CWM backup - I then flashed CM10 and then tried to do a restore but when I try it I get the following error "Couldn't open directory, No files found"
Yet when I browse my files I can see the back up I made in the CWM folder - why won't it restore this?
Any thoughts?
Thanks in advance!

jackryan57 said:
I rooted my phone today and did a CWM backup - I then flashed CM10 and then tried to do a restore but when I try it I get the following error "Couldn't open directory, No files found"
Yet when I browse my files I can see the back up I made in the CWM folder - why won't it restore this?
Any thoughts?
Thanks in advance!
Click to expand...
Click to collapse
Hmm...not sure if it's related, but the only time my CWM backup didn't restore was some MD5 mismatch error. I renamed the backup to "backup.tar" (if you're using *.tar and not /blobs) after I read that worked on a thread, and wala, it worked! Unsure if that's what your issue is, though.

ikjadoon said:
Hmm...not sure if it's related, but the only time my CWM backup didn't restore was some MD5 mismatch error. I renamed the backup to "backup.tar" (if you're using *.tar and not /blobs) after I read that worked on a thread, and wala, it worked! Unsure if that's what your issue is, though.
Click to expand...
Click to collapse
I just tried what you said and it still doesn't work - I did notice that my backup is a file folder not just a file - so I don't think renaming the folder to a .tar will actually do anything to it?

Is there any other way to restore from a back up I have on my phone but that CWM doesn't seem to see??

You could try moving the file with a file manager or make sure permissions are good.
Sent from my SAMSUNG-SGH-I747 using xda premium

Push it with Odin? Or just grab the stock rooted file from the stickies and push that with Odin.
Sent from my SGH-I747 using xda app-developers app

What would I be looking for as far as permissions go?

jackryan57 said:
I just tried what you said and it still doesn't work - I did notice that my backup is a file folder not just a file - so I don't think renaming the folder to a .tar will actually do anything to it?
Click to expand...
Click to collapse
Hmm..it's been a while since CWM--do you have any folder called blobs? If so, then my tip to rename to "backup.tar" won't work. Basically, you're right. If you don't have a *.tar backup, then I got nothing. CWM used to be *.tar only, then defaulted to /blobs, and now is defaulting back to *.tar with the option of /blobs.

join the club...
http://forum.xda-developers.com/showthread.php?t=2101424
No idea what's going on with this crap. I've lost every backup now for two weeks, the worst of which was my stock backup.

i may have ended up finding a solution to the problem here, if yours is similar enough to mine.
http://forum.xda-developers.com/showthread.php?t=2101424

Related

[Q] how to delete nandroid backups

how do I delete nandroid backups for an evo 4g?
I delete mine by using a file manager then go to the nandroid folder and delete the old nandroids also I backup ALL my nandroids on my pc then delete them
Sent from my PC36100 using XDA App
Go into nandroid folder then into the next folder H something, in that folder will be all your nands named by date. Just delete which ever ones you don't need either via some root explorer app or Pc usb.
Sent from my nike hating evo!
Go to the sd card > open nandroid folder > open HT... > select the backup and delete it.
thanks
evo4gnoob said:
I delete mine by using a file manager then go to the nandroid folder and delete the old nandroids also I backup ALL my nandroids on my pc then delete them
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Thanks
Smurflock soon...
Please don't revive old threads
Sent from my PC36100 using xda app-developers app
Delete Nandroid
teh roxxorz said:
Go to the sd card > open nandroid folder > open HT... > select the backup and delete it.
Click to expand...
Click to collapse
I have just recently rooted my intl' S3. I also did a nandroid backup to the phone twice and its taking up quite a bit of space. I have tried to locate the nandroid folder from what you posted and cannot find the nandroid folder. I am using astro folder right now but maybe switching to my file app later if this does not work. thanks in advance!
rcali001 said:
I have just recently rooted my intl' S3. I also did a nandroid backup to the phone twice and its taking up quite a bit of space. I have tried to locate the nandroid folder from what you posted and cannot find the nandroid folder. I am using astro folder right now but maybe switching to my file app later if this does not work. thanks in advance!
Click to expand...
Click to collapse
The folder should be named whatever recovery you are using. If you're using ClockworkMod, it may say 'clockworkmod' or 'cwm'. If you're using TWRP recovery, it should say 'twrp'. The backup files will be in that folder.
Sent from my EVO using xda premium
rcali001 said:
I have just recently rooted my intl' S3. I also did a nandroid backup to the phone twice and its taking up quite a bit of space. I have tried to locate the nandroid folder from what you posted and cannot find the nandroid folder. I am using astro folder right now but maybe switching to my file app later if this does not work. thanks in advance!
Click to expand...
Click to collapse
FinZ28 said:
The folder should be named whatever recovery you are using. If you're using ClockworkMod, it may say 'clockworkmod' or 'cwm'. If you're using TWRP recovery, it should say 'twrp'. The backup files will be in that folder.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Fln is correct, in that it'll be named whatever recovery you're using. Probably cwm, listed under clockworkmod, unless you explicitly changed to twrp. Just make sure you look on the device sdcard for the backups.
Delete Nandroid Back up
FinZ28 said:
The folder should be named whatever recovery you are using. If you're using ClockworkMod, it may say 'clockworkmod' or 'cwm'. If you're using TWRP recovery, it should say 'twrp'. The backup files will be in that folder.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
I have looked into these folders and found nothing. I have used File manager and Astro File with no luck finding this folder. I went back into the Samsung tool kit to see if it will allow me to delete those files on the phone put no luck there either. thanks again for your assistance.
Delete Nandroid Backup
teh roxxorz said:
Fln is correct, in that it'll be named whatever recovery you're using. Probably cwm, listed under clockworkmod, unless you explicitly changed to twrp. Just make sure you look on the device sdcard for the backups.
Click to expand...
Click to collapse
thanks but I still cannot find the back up. I have used the samsung tool kit to create the nandroid back ups but now I dont know how to find it to delete. in the toolkit it does not provide an option to delete back ups from the phone unless I maybe misunderstanding the option available. i have installed rom manager and there i can create nandroid backups by going into the recovery page. I cannot flash roms because of the space limitations. I want to delete these back ups on the phone and just leave it on the computer so that i can start flashing roms thru rom manager.
I do not have an external SD card because its still in the mail. Thanks for all your help!
Delete Nandroid backups
FinZ28 said:
The folder should be named whatever recovery you are using. If you're using ClockworkMod, it may say 'clockworkmod' or 'cwm'. If you're using TWRP recovery, it should say 'twrp'. The backup files will be in that folder.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
I just went into the CWM recovery mode and located the 2 nandroid backups I created but still could not delete any of them. All my file explorers does not have any nandroid folders and the CWM folder is still empty. Am I missing a particular setting that is not allowing me to see the backups?
rcali001 said:
I just went into the CWM recovery mode and located the 2 nandroid backups I created but still could not delete any of them. All my file explorers does not have any nandroid folders and the CWM folder is still empty. Am I missing a particular setting that is not allowing me to see the backups?
Click to expand...
Click to collapse
What file explorer are you using? I prefer es file explorer [free], make sure you set the root settings to r/w, for giggles. It should be listed as internal sd card or sdcard01, probably the prior; I forget what its called on tw. Just verify for clockworkmod folder, and should list your device id, and the backups inside.
Delete Nandroid Back up
teh roxxorz said:
What file explorer are you using? I prefer es file explorer [free], make sure you set the root settings to r/w, for giggles. It should be listed as internal sd card or sdcard01, probably the prior; I forget what its called on tw. Just verify for clockworkmod folder, and should list your device id, and the backups inside.
Click to expand...
Click to collapse
You are the MAN teh roxxorz, adjusted the root settings for es file explorer and was able to free up 4gb of space (nandroid BU) Thank you so much! Now I do not have to unroot, do a factory wipe just to delete excess backups!!

[Q] Renaming nandroid backups

With trying new roms, daily now it seems, is it possible to rename nandroid backups to something that makes more sense then just a date/time stamp like the name of rom/kernel?
Usually it doesn't matter as long as there's no special characters but I've tried it before and always get an md5 sum mismatch I just write down the date and the name of the rom
Sent from my SPH-D700 using xda premium
You need to use ROM Manager for this, then it will work with or without ROM Manager in CWM 5.0.2.7.
I usually put the backups in folders with meaningful names. I have to move them back to the proper location before restoring.
Never tried rom manager to do this though.
sent from my secret underground bunker
I was able to rename my backups with es file explorer just renamed it something like CM7_33 and it restored just fine
K3VlN said:
I was able to rename my backups with es file explorer just renamed it something like CM7_33 and it restored just fine
Click to expand...
Click to collapse
Sometimes that will work for me also... most of the time I will get an md5 sum error when I rename them though... like biggoron said the easiest way is to write them down somewhere... or as (insert name here) said you can put them in a seperate folder with the name and then move them back before restoring them....
Sent from my SPH-D700 using Tapatalk
hmmm strange error to have happen but good to know guess id better make another back up and delete the changed one
I had the md5 mismatch too. It seems you can rename as long as you don't put any spaces. I have been renaming mine CM7N##beforeCM9blahblah and it still works. If I put spaces in, then md5 mismatch
kennyglass123 said:
You need to use ROM Manager for this, then it will work with or without ROM Manager in CWM 5.0.2.7.
Click to expand...
Click to collapse
Thanks, I renamed some of them using ROM manager and the one I tried worked.
I tried twice to do it manually, no spaces and always got the md5 error. My backups are too important so I only use ROM manager as it makes sure the MD5 is correct.
kennyglass123 said:
I tried twice to do it manually, no spaces and always got the md5 error. My backups are too important so I only use ROM manager as it makes sure the MD5 is correct.
Click to expand...
Click to collapse
Yup, this is the main reason I use rom manager, to name my backups to keep track of them easier. The nightlies for cm7 in rom manager don't hurt either..
I was actually trying to restore a backup which had an altered name and the recovery kept prompting error.
I had to rename the prefix back to BCDEARS in order for it to restore.
I think the prefix is important because it's a code to the kind of content that was actually backed up.

ClockworkMod Recovery - bad MD5

I made a backup with ClockworkMod recovery and was able to restore from it later. Then I renamed the folder to something more meaningful. Next time I tried to restore I got a message about bad MD5 file. Is there anyway to fix this? I do not remember the original folder name of the backup.
anichin said:
I made a backup with ClockworkMod recovery and was able to restore from it later. Then I renamed the folder to something more meaningful. Next time I tried to restore I got a message about bad MD5 file. Is there anyway to fix this? I do not remember the original folder name of the backup.
Click to expand...
Click to collapse
Found the answer here:
http://forum.xda-developers.com/showpost.php?p=7004747&postcount=2
anichin said:
I made a backup with ClockworkMod recovery and was able to restore from it later. Then I renamed the folder to something more meaningful. Next time I tried to restore I got a message about bad MD5 file. Is there anyway to fix this? I do not remember the original folder name of the backup.
Click to expand...
Click to collapse
it needs to be named as it was set by cwm

[Q] Clockworkmod backup wont delete

Hello,
I wanted to change my kernel today, back to stock, so I tried to recover a previous backup I had from clockworkmod. But when I tried to recover it said "Md5 mismatch". So I went to Youtube to figure out why this was, I followed the instructions but there is no file path for my backups. I tried all of the different file paths "/data" that was empty, "/mnt/shell/" and that was empty as well, as well as a few other file paths. I eventually gave up looking for the backup and decided to erase the backup I made. But when I tried to delete it it said "There was an error renaming your backup. Please choose a unique and valid file name for your backup." I tried renaming it something else but it still says the same thing. Anyone know what I can do here, I just want this file off of my phone. Any help would be much appreciated!
Extra info. When I made the backup I decided to rename it as "5-14(Before custom kernel) but when I got the prompt to change name, I tried changing it to a valid name. Now the name is stuck?
I've also included some pictures to help understand my situation.
Rename the folder download to backup or backups and check
Sent from my GT-S6102 using xda app-developers app
rahulsnair said:
Rename the folder download to backup or backups and check
Sent from my GT-S6102 using xda app-developers app
Click to expand...
Click to collapse
I renamed the folder on my PC and it worked fine. But nothing changed. I looked in ES file explorer and folder name is still "download" and wont change
May be some problem with rom manager.Try renaming using "root explorer". If you want to get your stock kernal you can flash it using kernal flasher.
Sent from my GT-S6102 using xda app-developers app
rename the folder that contains all backuped files (without space). put that folder in another folder named "backup". put backup folder in another folder named "clockworkmod". put clockworkmod folder in data/media using any root explorer (enable mount option in setting). try to restore
I used the root browser included in rom toolbox and that seemed to work. Thank you for your replies! I truly appreciate it
Sent from my Galaxy Nexus
Thank you for your reply. Luckily I didn't have to go through that process, it seemed to go away after using root browser. Thanks again!
Sent from my Galaxy Nexus
No solution found yet for this error.
Hi,
Yesterday i made a backup using ROM manager v5.5.3.7 (free)
For some reason i made a second backup by accident, and something went wrong.(probably lack of disk space)
I now have 2 backups, i would like to delete one. (since i'm running short on disk space)
Tried too delete it but i got the "There was an error renaming your backup. Please choose a unique and valid file name for your backup." error.
I tried everything provided in this thread without any succes. (sorry for replying on this kinda old thread)
Anyone has an idea how to help me out?
Running CM11 (nightly) with stock kernel CM.
Thx for any help!
Update:
Nevermind, went into recovery and deleted the corrupted one!

EFS Partition Backup and More [All G2 Variants]

LG G2 EFS Backup Zip
Background
The G2 has no built in EFS backup partitions. EFS contains things like your MEID or IMEI... your data profiles.. radio settings. The EFS cannot be replaced... it is unique to your phone only... backing up your OWN EFS is highly recommended.
I have added EFS backup to the IOroot scripts so that everyone that roots will have a copy of their EFS partitions on the computer you run IOroot from. Regardless, this current thread will still be a good "heads up" and an alternative for those who insist on using other shady root methods or for those who just want another way to back things up. ​Backing up EFS
In TWRP, flash the LG_G2_Backup_EFS.zip attached in this thread. LG_G2_Backup_EFS.zip creates a flashable zip backup of your EFS in /sdcard/EFS_Backup/. Please check to make sure the backup zip worked and actually made a .zip file. Any issues please list what recovery and version you are using and please post the recovery.log.
Backup your efsbackupflashable.zip somewhere else besides your internal SD!!! Email.. cloud.. PC..
Restoring EFS
To restore your original EFS just boot into recovery and flash the efsbackupflashable.zip in your /sdcard/EFS_Backup folder.
If flashable zip wasn't created or to manually restore efs img files run the following commands using adb shell while in recovery:
dd if=/sdcard/EFS_Backup/efs1.img of=/dev/block/platform/msm_sdcc.1/by-name/modemst1
dd if=/sdcard/EFS_Backup/efs2.img of=/dev/block/platform/msm_sdcc.1/by-name/modemst2
​
Backup ALL Partitions
Well almost all... I am attaching another zip which backs up most of your phones partitions.. excluding system/data/cache and some other useless partitions. Backing up all partitions isn't as important as backing up the EFS but it can't hurt. Never know when you may need it.. especially those who like to poke around with their phone and try new things.
Run the zip in recovery.. it will make backup .img files on your internal sdcard in a new folder named "backupz"... remember to copy your backups off the internal sdcard.​
Wow nice find and quick work! I wonder what the chances are of messing you current info up, so your backup would actually be necessary?
drkow19 said:
Wow nice find and quick work! I wonder what the chances are of messing you current info up, so your backup would actually be necessary?
Click to expand...
Click to collapse
Even if the chances are really small, it is always nice to have a backup.
Having to restore with QPST or other similar methods is not fun at all.
Thanks autoprime.
this was pretty fast considering i just saw you post this in irc
I'm on Verizon. It did make a folder but it was empty. No zip inside. Checked with es file explorer
bckrupps said:
I'm on Verizon. It did make a folder but it was empty. No zip inside. Checked with es file explorer
Click to expand...
Click to collapse
Same situation here.
bckrupps said:
I'm on Verizon. It did make a folder but it was empty. No zip inside. Checked with es file explorer
Click to expand...
Click to collapse
jasonsf said:
Same situation here.
Click to expand...
Click to collapse
hmm k... this happened on the LG OG as well... then some people had it working on CWM.. some people had to flash an AOSP rom first.. seems random. If someone can provide me the recovery.log after flashing the efs zip that would help. I'm going to bet its an issue with 7z packing the zip the new flashable zip for some reason or another.
i uploaded a new zip which will still try to make the flashable zip.. while also backing up the individual efs partitions.
redownload the new zip to backup efs img files.
To manually restore efs img files run the following commands using adb shell while in recovery:
dd if=/sdcard/EFS_Backup/efs1.img of=/dev/block/platform/msm_sdcc.1/by-name/modem_st1
dd if=/sdcard/EFS_Backup/efs2.img of=/dev/block/platform/msm_sdcc.1/by-name/modem_st2
autoprime said:
hmm k... this happened on the LG OG as well... then some people had it working on CWM.. some people had to flash an AOSP rom first.. seems random. If someone can provide me the recovery.log after flashing the efs zip that would help. I'm going to bet its an issue with 7z packing the zip the new flashable zip for some reason or another.
i uploaded a new zip which will still try to make the flashable zip.. while also backing up the individual efs partitions.
redownload the new zip to backup efs img files.
To manually restore efs img files run the following commands using adb shell while in recovery:
dd if=/sdcard/EFS_Backup/efs1.img of=/dev/block/platform/msm_sdcc.1/by-name/modem_st1
dd if=/sdcard/EFS_Backup/efs2.img of=/dev/block/platform/msm_sdcc.1/by-name/modem_st2
Click to expand...
Click to collapse
I have the recovery boot loop issue and was just using your zip to test out ADB Sideload in TWRP. I'll wait until my phone is working before I give your tool another try. Too many variables right now.
Jason
For w/e its worth this is not working on my att g2. There does not appear to be a /tmp folder
also on att the paths should be
/dev/block/platform/msm_sdcc.1/by-name/modemst1
/dev/block/platform/msm_sdcc.1/by-name/modemst2
(no "_")
jasonsf said:
Same situation here.
Click to expand...
Click to collapse
Same thing happens to me on VZW. Here is the recovery.log
http://pastebin.com/jhyHJ0Yz
jug6ernaut said:
For w/e its worth this is not working on my att g2. There does not appear to be a /tmp folder
also on att the paths should be
/dev/block/platform/msm_sdcc.1/by-name/modemst1
/dev/block/platform/msm_sdcc.1/by-name/modemst2
(no "_")
Click to expand...
Click to collapse
I can confirm this information on my AT&T G2. Maybe the script can be modified as such (unconfirmed):
Code:
# backup partitions
EFS_PREFIX=modem_st # Assume Verizon model (with underscore)
if [ -e /dev/block/platform/msm_sdcc.1/by-name/modemst1]; then # Use AT&T model nomenclature
EFS_PREFIX=modemst
fi
/sbin/busybox dd if=/dev/block/platform/msm_sdcc.1/by-name/${EFS_PREFIX}1 of=/tmp/efs1.img;
/sbin/busybox dd if=/dev/block/platform/msm_sdcc.1/by-name/${EFS_PREFIX}2 of=/tmp/efs2.img;
jug6ernaut said:
For w/e its worth this is not working on my att g2. There does not appear to be a /tmp folder
also on att the paths should be
/dev/block/platform/msm_sdcc.1/by-name/modemst1
/dev/block/platform/msm_sdcc.1/by-name/modemst2
(no "_")
Click to expand...
Click to collapse
Ugh.. sorry about this. I must have been in HTC mode.. they use the "_" derpppp.
updated the zip.. see how that goes.
mine did not create a .zip file. On At&t, but still thanks a ton! will keep these two efs.img's stored on my dropbox so that I always have a backup.
Anyway to make these two into a flashable zip manually? I'm sure the code is in the script somewhere I just don't feel like looking haha
This now works for me autoprime. It created efs1.img, and efs2.img on VZW. Thx!
Got my two image files, both 3mb....thanks! I am on ATT.
im on verizon. works great. kudos
Confirm works on ATT.
Sent from my LG-D800 using Tapatalk 2
I have updated the zip in the OP... it now creates a proper flashable backup zip as well as teh 2 efs img files.
thanks to @jug6ernaut for testing all of my broken zips :highfive:
In TWRP the zip fails every time..... attached photo of error.
Sent from my VS980 4G using XDA Premium HD app
anyone else have the error that @mouf32 is having? I have some users on IRC that say it's working just fine. And there's been 50+ downloads with no other issues.
@mouf32 have you tried to redownload the file? maybe the zip got messed up or is corrupted?

Categories

Resources