Flashed a ROM and the ROM moved the all files in the root of my storage to a folder within a series of subfolders.
This is bad because my TWRP folder containing my backups was in the root of my storage.
But of course things can't just work how you'd expect, so my computer and phone refuse to copy the TWRP folder back to where it belongs.
My computer refuses to copy the files "data.ext4.win000"
There seems to be nothing I can do about this. My phone wont copy it and my computer won't either.
However, I am wondering if there is a way to make TWRP restore from a backup that is not where it belongs.
Whenever I go to restore, it doesn't give me an option to search elsewhere for my backups. Yet for some reason I am allowed to install a .zip from wherever I want.
Is there some sort of terminal command I can do within TWRP to make this work? Thank you.
Related
Searched all over before making this thread but I couldn't seem to find an answer. Rooted my phone to install PAC-man mod. When I finished I made a backup of my original system with CWM. I flashed PAC-man but I'm havign issues and I wanted to go back but CWM can't seem to restore the backup. I checked, and it's still there but when I try to restore I get:
Couldn't open directory.
No files found.
Any ideas?
Is your backup stored on the phone storage or an external card?
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
Shaftamle said:
Is your backup stored on the phone storage or an external card?
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
Click to expand...
Click to collapse
phone storage
SuperBrother said:
phone storage
Click to expand...
Click to collapse
Edit: before you go about following the steps I wrote below there is one other options. If you are using an app to try to restore the backup then this way should work. Manually boot into recovery mode click on backup and restore then restore from SD card and under the file labeled 0 there should be a folder listed as clockworkmod. From there you should be able to restore your backup if that doesn't work then follow the steps that I wrote about moving the file to the external card. Either way in the future I would recommend always backing up to the external card.
Assuming you're coming from a 4.1 build when you install a 4.2 ROM it changes the file structure of the internal drive. This is due to the fact that 4.2 roms support multi user functions. So most likely when you try to restore your backup it's located in a different path then it was originally.probly something like sdcard/0/clockworkmod instead of sdcard/clockworkmod. My advice would be move your back up to the external card manually reboot your phone into recovery and restore your backup from the external card. If you use DUP you have to move the backup and the blob folder. If you used a tar backup, just move the backup. When in recovery mode select restore from external SD card and navigate to the folder you put it in.
From here on out if you do your backups from recovery make sure you back up to the external card. If you use ROM Manager make sure before you do your next backup that you select under the settings panel to use external storage. The newest update of ROM Manager allows you to do so.
One other thing, once you restore your backup and your back to a 4.1 build it's going to look like your internal storage is wiped. It's definitely not use a file manager to browse the internal storage there will be a folder labeled 0. That's all of you data. Open that folder up highlight and cut all of the contents go back to the root of your internal storage(the folder you just came from) and paste it there. It will ask if you want to overwrite certain files just click Yes the only files that will be overwritten are the ones that were just made when you rebooted on the 4.1 system you will not lose anything.
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
What's the size of the back up? Are all the required files in there? Try updating your su app, then try making another back up and make sure it works. What version of cwm are you using? Is your system r/w?
Surge1223 said:
What's the size of the back up? Are all the required files in there? Try updating your su app, then try making another back up and make sure it works. What version of cwm are you using? Is your system r/w?
Click to expand...
Click to collapse
the SU binary and the clockworkmod version should have little to nothing to do with restoring a backup especially when it says the file cannot be found. Thus far is the size of the backup goes unless you opened up the file and started jacking around with stuff that was backed up there's no chance that he's missing information. When it says the file cannot be located it's because rom manager/ ROM toolbox is looking for the file that was originally placed in a specific area and is no longer there hence the 4.2 file structure I spoke of.
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
You're assuming you know why I was asking those questions, and as a result that you're more knowledgeable than I am in this subject area. Besides human error, there are still numerous ways cwm, su, and the back up size can contribute to a failed recovery. We're both just trying to help.
Surge1223 said:
You're assuming you know why I was asking those questions, and as a result that you're more knowledgeable than I am in this subject area. Besides human error, there are still numerous ways cwm, su, and the back up size can contribute to a failed recovery. We're both just trying to help.
Click to expand...
Click to collapse
I agree everybody just tries to help everybody that's what makes this website great. The only reason I said what I did is because I ran into this exact problem about 4 months ago so I know exactly what he's talking about. Sorry if I came off as a ass, I didn't mean to.
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
Is alright ,thanks for explaining though. No room for hate in a cwm debate.
Shaftamle said:
Edit: before you go about following the steps I wrote below there is one other options. If you are using an app to try to restore the backup then this way should work. Manually boot into recovery mode click on backup and restore then restore from SD card and under the file labeled 0 there should be a folder listed as clockworkmod. From there you should be able to restore your backup if that doesn't work then follow the steps that I wrote about moving the file to the external card. Either way in the future I would recommend always backing up to the external card.
Assuming you're coming from a 4.1 build when you install a 4.2 ROM it changes the file structure of the internal drive. This is due to the fact that 4.2 roms support multi user functions. So most likely when you try to restore your backup it's located in a different path then it was originally.probly something like sdcard/0/clockworkmod instead of sdcard/clockworkmod. My advice would be move your back up to the external card manually reboot your phone into recovery and restore your backup from the external card. If you use DUP you have to move the backup and the blob folder. If you used a tar backup, just move the backup. When in recovery mode select restore from external SD card and navigate to the folder you put it in.
From here on out if you do your backups from recovery make sure you back up to the external card. If you use ROM Manager make sure before you do your next backup that you select under the settings panel to use external storage. The newest update of ROM Manager allows you to do so.
One other thing, once you restore your backup and your back to a 4.1 build it's going to look like your internal storage is wiped. It's definitely not use a file manager to browse the internal storage there will be a folder labeled 0. That's all of you data. Open that folder up highlight and cut all of the contents go back to the root of your internal storage(the folder you just came from) and paste it there. It will ask if you want to overwrite certain files just click Yes the only files that will be overwritten are the ones that were just made when you rebooted on the 4.1 system you will not lose anything.
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
Click to expand...
Click to collapse
This would make a lot of sense! That's my situation exactly. I don't want to try it just yet because I'm still trying to get a ROM working properly on my phone (PAC-man, having issues but that's for another thread). If I end up throwing in the towel and this checks out, I'll be sure say thanks.
Hello, I have a few questions regarding the TWRP recovery particularly the NANDroid backups, please bear with me as I am new to this. I have made a few backups using twrp but I want to put them onto my pc in order to save space however when I plug my phone into my pc I don’t see the TWRP folder unless I boot into recovery and then plug it in. Is this how it is supposed to be?
I wanted to test out restoring a backup that I had saved onto my pc onto my device. To test this out I created a backup through TWRP booted into recovery plugged in my device into my computer copied the backup file located in the TWRP folder and then deleted it from my device. Next I wanted to copy the backup that I just put on my pc back onto my phone and then eventually restore it through TWRP. However I only get as far as copying it from my device onto my pc. When I try to copy it back into the TWRP folder on my device I get an error saying “cannot copy data.ext4.win000 its file size is larger than the device limit” The backup is 4.83gb and I have 10.7gb free. Does anyone know why this is happening?
Last question, seeing as a NanDroid backup is basically an image of your whole device, let’s say I am selling my device and I don’t want the buyer to have any way of accessing any of my data. Would the deletion of my backups, factory reset and an advanced wipe where I select all the partitions to be wiped be enough?
Thank you in advance for your help!
1 - no. You're on lollipop i presume. Read my /sdcard thread in general
2 - sounds like its being mounted as FAT with 4GB file limit. Try web push method
3 - not really. You'd be best overwriting the data partition with files first.
This might be the wrong forum to post this in but since I own a Nexus 5, I feel that this is the most appropriate place to post this.
I've used TWRP for awhile now and have never understood one very important feature: Being able to delete a backup?
For whatever reason, I cannot access the backups in my storage via Windows File Explorer. I see a BACKUP file but no way to actually access the backups. I've tried using ADB to do a file listing inside the SD card, I've tried using a Root Explorer for Android but all with no avail. What gives? Am I doing something wrong? Are the backups located elsewhere? Shouldn't there be a feature in TWRP that allows you to manage the backups?
Anyway, I post this because my god forsaken SD card is now full and I can't download anything. Let me know.
Cheers,
Chris
Reboot into recovery. Go to restore backups tab. Tap on a backup you'd like to delete. There should now be a small button near the bottom of the screen that says "Delete backup", or something similar.
It took me a while to figure that out too!
The backups should show up in /sdcard/TWRP/backups in both a file.explorer or windows. If not, then you're probably on Lollipop ROMs and have a problem.with your /sdcard. Search "sdcard problems" in general to find my thread
Good afternoon,
My question is as follows,
1. The Backup Tool program creates a unique file when it generates the complete backup by the computer, different from the one created by TWRP, if it only needs to restore a single item has?
Note: I use the Backup Tool to be able to back up directly to the PC because I do not have enough memory card to fit the DATA folder.
2. With the complete backup, I read in some topics in the forum, that do not go type information, photos, downloads, etc. Is this right? If so, why in full backup is this information missing?
Thank you.
costafabiof said:
Good afternoon,
My question is as follows,
1. The Backup Tool program creates a unique file when it generates the complete backup by the computer, different from the one created by TWRP, if it only needs to restore a single item has?
Note: I use the Backup Tool to be able to back up directly to the PC because I do not have enough memory card to fit the DATA folder.
2. With the complete backup, I read in some topics in the forum, that do not go type information, photos, downloads, etc. Is this right? If so, why in full backup is this information missing?
Thank you.
Click to expand...
Click to collapse
You can use twrp to pc and copy your internal storage off. Just drag and drop the folders you want from internal to your pc. No need to do a back up of it
godkingofcanada said:
You can use twrp to pc and copy your internal storage off. Just drag and drop the folders you want from internal to your pc. No need to do a back up of it
Click to expand...
Click to collapse
Good afternoon,
Are you telling me that when I connect the phone to the PC via TWRP and all the folders appear, if I copy them, is it the same as doing a full backup by TWRP?
Because if so, what caught my attention is that, folders total 700 mb and backup 6 gigs.
No what he's saying is that TWRP only backs up the system content. So your ROM, apps, app settings, customisation etc is all saved in the TWRP backup.
But it doesn't save "loose" user files, so things like photos, downloads, etc saved to your SD or internal storage aren't included in the TWRP backup.
So for a complete backup, you want a TWRP backup + copy the photos, downloads, etc folders via PC onto your desktop.
Copying the folders is NOT going to be equivalent to a TWP backup, as you don't see any system/firmware files in PC.
What to use to Backup Complete phone Firmware, pictures and Everything on the phone??? So if it crashes you caab restore phone back to like it was before Crash? Thanks
So, my brother backed up my Samsung Galaxy S4 on his laptop about 3 years ago. Can't remember the program used. He gave me the backup file yesterday.
(I screenshotted the file name and attached it here titled " FILE BACKUP TITLE.PNG")
I edited the file, to a .exe. (eg “Samsung SM-G350E_20191001_103009.bak” delete the bak and write exe after the dot and press enter.) That way I can access everything through winrar. However all of the files are encrypted! We have no idea what the password is, what shall I do! (Attached the password screen in winrar titled " RAR.PNG")
It has 1000's of photos from 2014-2017, I have no idea on what to do. I've checked out brute forcing, but I wasn't sure how to do it.
Thanks.
AkiraPerera04 said:
So, my brother backed up my Samsung Galaxy S4 on his laptop about 3 years ago. Can't remember the program used. He gave me the backup file yesterday.
(I screenshotted the file name and attached it here titled " FILE BACKUP TITLE.PNG")
I edited the file, to a .exe. (eg “Samsung SM-G350E_20191001_103009.bak” delete the bak and write exe after the dot and press enter.) That way I can access everything through winrar. However all of the files are encrypted! We have no idea what the password is, what shall I do! (Attached the password screen in winrar titled " RAR.PNG")
It has 1000's of photos from 2014-2017, I have no idea on what to do. I've checked out brute forcing, but I wasn't sure how to do it.
Thanks.
Click to expand...
Click to collapse
What method was used to create the backup? It may require using the same tool that created it to decrypt it, but, without the password, you're pretty much screwed.
Whatever he used, it isn't the best way of backing up android devices. Methods typically used to backup/manage PC's are not suggested for android. ADB and custom recovery are the recommended methods of backing up android, you take your chances with any other method, as you have discovered.
For future reference, backing up your internal storage such as photos, videos and personal files doesn't require any special tools or methods, all you have to do is connect to PC, open your phones internal storage on PC and then copy all the folders there and save them on your PC in whatever folder you choose, no encryption is necessary. Then, all you have to do to retrieve data from that backup is open the folder containing the backup and everything will be there for you to copy/paste/move/open/delete the same as you can with any other file on PC.
Transferring data from that backup folder to a new device is as simple as connecting the new device to PC, opening the backup folder then copying everything in the folder then opening the internal storage of the new device on PC and then pasting the contents of the backup into the internal storage of the new device. It is virtually no different than copying files from one USB drive to another USB drive, you are just going it with phones instead of USB drives.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
What method was used to create the backup? It may require using the same tool that created it to decrypt it, but, without the password, you're pretty much screwed.
Whatever he used, it isn't the best way of backing up android devices. Methods typically used to backup/manage PC's are not suggested for android. ADB and custom recovery are the recommended methods of backing up android, you take your chances with any other method, as you have discovered.
For future reference, backing up your internal storage such as photos, videos and personal files doesn't require any special tools or methods, all you have to do is connect to PC, open your phones internal storage on PC and then copy all the folders there and save them on your PC in whatever folder you choose, no encryption is necessary. Then, all you have to do to retrieve data from that backup is open the folder containing the backup and everything will be there for you to copy/paste/move/open/delete the same as you can with any other file on PC.
Transferring data from that backup folder to a new device is as simple as connecting the new device to PC, opening the backup folder then copying everything in the folder then opening the internal storage of the new device on PC and then pasting the contents of the backup into the internal storage of the new device. It is virtually no different than copying files from one USB drive to another USB drive, you are just going it with phones instead of USB drives.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Thanks for your response, I thought nobody was going to reply.
We can't remember. All I remember is that my custom rom s4 (android 4) was hooked up to our mac laptop. Then we backed it up using some kind of backup program. Then it was updated to android 8.
Yeah I understand now, but at the time we were fairly new to the whole android scene. I have an s7 edge now, I just back everything up on google photos and the regular cloud service. What should I do? I really want those files back.
Thanks.
Mod edit: Duplicate thread closed