<SOLVED> TWRP not restoring backup! - Nexus 7 Q&A, Help & Troubleshooting

Hi, i would greatly appreciate some help.
I wiped my data/cache/dalvik cache/system before attempting to restore a backup made with TWRP v2.2.2.0.
When i hit restore, it reads: "restore completed in 1 second", "Restore Complete. Successful"
However, nothing has been restored, any suggestions please?

Nbsss said:
Hi, i would greatly appreciate some help.
I wiped my data/cache/dalvik cache/system before attempting to restore a backup made with TWRP v2.2.2.0.
When i hit restore, it reads: "restore completed in 1 second", "Restore Complete. Successful"
However, nothing has been restored, any suggestions please?
Click to expand...
Click to collapse
Should i try flashing a different recovery? Or can i flash the nandroid backup through fastboot?

Nbsss said:
Should i try flashing a different recovery? Or can i flash the nandroid backup through fastboot?
Click to expand...
Click to collapse
Update: Was able to restore /data using titanium backup to extract from the twrp recovery file. Any ideas why twrp isn't working? Should i just get CWM?

Twrp works fine for me. I prefer it to CWM.
Not sure what your problem was, though.

Working fine for me I have restored my back ups with no problem. Same twrp 2.2.2.0 not sure what your issue was.

Thanks for the replies.
Just remembered, I renamed the folder name after creating the backup, would that have any effect on restoring?
Also the backup file was about 1.24gb, could it be the size was too large? Though it didn't even restore components individually...
I don't feel I can wipe confidently anymore without knowing the problem exactly, any thoughts?

I just tried it. Renaming the folder DOES have an effect on restoring.

My back up is also 1.2 GB.
I always name mine before I back up. It should work fine. Unless it was from when you renamed it somehow?
I name all my back ups but I do it before I actually back up the rom. Maybe that is the issue. Name it before the back up even starts and then you should be fine.

janedoesmith said:
I just tried it. Renaming the folder DOES have an effect on restoring.
Click to expand...
Click to collapse
Thanks for confirming! I really didn't want to get rid of twrp, much appreciated! I've learnt my lesson

Nbsss said:
Thanks for confirming! I really didn't want to get rid of twrp, much appreciated! I've learnt my lesson
Click to expand...
Click to collapse
I did this. Can I rename the folders back to thier originals, or do I need to use some other recovery to reflash my backups? I would need to know if there was way to determine the origial file names, of course. I have a data only backup renamed BEFORE savig, it works fine. Only the ones I renamed using my PC dont work. I did not make the connection till reading this post. Team Win may need to investigate this issue.

nethead72 said:
I did this. Can I rename the folders back to thier originals, or do I need to use some other recovery to reflash my backups? I would need to know if there was way to determine the origial file names, of course. I have a data only backup renamed BEFORE savig, it works fine. Only the ones I renamed using my PC dont work. I did not make the connection till reading this post. Team Win may need to investigate this issue.
Click to expand...
Click to collapse
You can rename it and it works. The folder names are as follows:
/sdcard/TWRP/BACKUPS/"your device serial number"/"date and time"/
For instance:
/sdcard/TWRP/BACKUPS/036f586ce7bee89/2012--09-14--17-45-24/

janedoesmith said:
You rename it and it works. The folder names are as follows:
/sdcard/TWRP/BACKUPS/"your device serial number"/"date and time"/
For instance:
/sdcard/TWRP/BACKUPS/036f586ce7bee89/2012--09-14--17-45-24/
Click to expand...
Click to collapse
Try what janedoesmith suggested, alternatively if u simply want to restore the data, this can be done through titanium backup.
You can confirm the "date and time" by checking the properties of the backup folder eg through root explorer

janedoesmith said:
You can rename it and it works. The folder names are as follows:
/sdcard/TWRP/BACKUPS/"your device serial number"/"date and time"/
For instance:
/sdcard/TWRP/BACKUPS/036f586ce7bee89/2012--09-14--17-45-24/
Click to expand...
Click to collapse
Used this format (confirmed through TWRP) but I believe this may be the ticket. Wont try it till this evening though. Time for work.
/sdcard/TWRP/BACKUPS/036f586ce7bee89/2012-09-14--17-45-24/

nethead72 said:
janedoesmith said:
You can rename it and it works. The folder names are as follows:
/sdcard/TWRP/BACKUPS/"your device serial number"/"date and time"/
For instance:
/sdcard/TWRP/BACKUPS/036f586ce7bee89/2012--09-14--17-45-24/
Click to expand...
Click to collapse
Used this format (confirmed through TWRP) but I believe this may be the ticket. Wont try it till this evening though. Time for work.
/sdcard/TWRP/BACKUPS/036f586ce7bee89/2012-09-14--17-45-24/
Click to expand...
Click to collapse
FYI: I just made up the serial number as an example. You have to name that folder with your real device serial number. Also, you can name the date and time folder with anything you want.

I know, I made sure my folders were named correctly. Fyi, any date/time will work, just need the right format. Procedure worked wonderfully, and to avoid this issue in the future, rename the file BEFORE you backup using twrp interface. I have not tested using twrp to rename AFTER backup, doesn't seem to be a need.
using latest ics rom from flapjaxxx
Sent from my SAMSUNG-SGH-I717 using xda app-developers app

Related

MD5 mismatch..

Hello!
Suddenly I'm getting on one of my backups "MD5 mismatch..." error. Didn't do anything. Haven't change a name of the folder, nothing.
Is there is some way to restore data from that backup?
Help me, please?
Thank you!
Did u try an advanced restore of data
Sent from my SPH-D700 using Tapatalk
Yes. Actually, I've tried it first.
I am getting the same problem, and Yes I also did advanced restore but I got the same error there also.
I had the same problem once. I ended up having to restore an older backup.
Leave SPACES out of your filenames and folders
antila said:
Hello!
Suddenly I'm getting on one of my backups "MD5 mismatch..." error. Didn't do anything. Haven't change a name of the folder, nothing.
Is there is some way to restore data from that backup?
Help me, please?
Thank you!
Click to expand...
Click to collapse
I was reading on this as was having same issue...a guy posed that you can't have SPACES in your filenames or folder names.
I did this and worked a treat!!!
Good luck...just take out the spaces...
There was no spaces because I did not change anything. It was Nandroid backup and suddenly it was not working. Couldn't do anything, so, restored older backup.
Are u perhaps using ext4 with no_journaling? All it takes is one zero misplaced and your data goes poof. Suggest in future you place copies of backups on your hard drive.
Brought 2 u via Bonzai! 5.0.2
I assume you're talking about flashing back to DI18 using Odin. Rename the file from .md5 to .tar and it will work fine. I don't think the .tar has a valid MD5 hash that ODIN recognizes.
Or not, just reread post.

Cant delete nandroid backups

For some reason I'm having trouble deleting nandroid backups off my N7. If I plug it in using usb, and I delete it. I can go back in and check it, its still there. Using astro, it says theres an error deleting the file. Any ideas on what to do? Its just a bit of a pain having a 1.2gb file on my 8gb n7.
bump...
Flash this in CWM recovery and it should wipe ALL of your backups from the device. Make sure to offload the ones you want (including the blobs folder).
brianjr1 said:
Flash this in CWM recovery and it should wipe ALL of your backups from the device. Make sure to offload the ones you want (including the blobs folder).
Click to expand...
Click to collapse
Thanks, really appreciate it.
Gibsonflyingv said:
Thanks, really appreciate it.
Click to expand...
Click to collapse
Of course! Make sure to hit the thanks button

Titanium backup issue

I'm trying to create an 'update.zip' file to flash after installing a new rom. The problem is, it doesn't actually create a zip file. It just duplicates every file in the backup folder.
Any ideas?
wvcadle said:
I'm trying to create an 'update.zip' file to flash after installing a new rom. The problem is, it doesn't actually create a zip file. It just duplicates every file in the backup folder.
Any ideas?
Click to expand...
Click to collapse
I just created a zip file containing the apk to be flashed in recovery. Is that what you are doing? Go to menu and head to Special Fetures to create an update.zip of the tb apk that's flashable.
kpjimmy said:
I just created a zip file containing the apk to be flashed in recovery. Is that what you are doing? Go to menu and head to Special Fetures to create an update.zip of the tb apk that's flashable.
Click to expand...
Click to collapse
I apologize. I should've clarified. I'm trying to create an update.zip file that contains all of my backed up apps, via Menu/Batch actions, under Recovery mode. It's narrative says, 'Create "update.zip" from app+data backups'. I assumed this would do what I was thinking it would do.
wvcadle said:
I apologize. I should've clarified. I'm trying to create an update.zip file that contains all of my backed up apps, via Menu/Batch actions, under Recovery mode. It's narrative says, 'Create "update.zip" from app+data backups'. I assumed this would do what I was thinking it would do.
Click to expand...
Click to collapse
Yes that is what it does. So you are saying when you are running that command, a series of additional file folders?
kpjimmy said:
Yes that is what it does. So you are saying when you are running that command, a series of additional file folders?
Click to expand...
Click to collapse
Let's call it a bit of confusion on my part. Not necessarily unwarranted though, because it places both update.zip files outside of the TB folder. Since everything I've had it back up to this point was dumped in the TB folder, I never thought to look elsewhere.
As for the extra files... let's chalk that up to me seeing things?
[click] Thanks for the responses.
wvcadle said:
Let's call it a bit of confusion on my part. Not necessarily unwarranted though, because it places both update.zip files outside of the TB folder. Since everything I've had it back up to this point was dumped in the TB folder, I never thought to look elsewhere.
As for the extra files... let's chalk that up to me seeing things?
[click] Thanks for the responses.
Click to expand...
Click to collapse
Ah...yes you are correct. Both instances will create an "update.zip" on the 'sd card' of the phone outside of TB. What I do is edit the name to something like appsupdate.zip for the apps and left the other update.zip alone.
kpjimmy said:
Ah...yes you are correct. Both instances will create an "update.zip" on the 'sd card' of the phone outside of TB. What I do is edit the name to something like appsupdate.zip for the apps and left the other update.zip alone.
Click to expand...
Click to collapse
Have you ever flashed your apps zip in recovery? If so, did everything go well?
wvcadle said:
Have you ever flashed your apps zip in recovery? If so, did everything go well?
Click to expand...
Click to collapse
I attempted it a few days ago when coming from 4.2.2 to 4.3. It didn't go very well lol. It would flash the appsupdate.zip, lets say, and I see the apps get flashed, but, my recovery would reboot the phone. Bottom line it didn't work for me at that time. I'll try it after lunch to see how it functions when I have root and the phone is happy and stable lol.
What I did was just download TB from the play store and restored my apps from my backup folder once I got root again.
kpjimmy said:
I attempted it a few days ago when coming from 4.2.2 to 4.3. It didn't go very well lol. It would flash the appsupdate.zip, lets say, and I see the apps get flashed, but, my recovery would reboot the phone. Bottom line it didn't work for me at that time. I'll try it after lunch to see how it functions when I have root and the phone is happy and stable lol.
What I did was just download TB from the play store and restored my apps from my backup folder once I got root again.
Click to expand...
Click to collapse
It threw me for a loop when moving from 4.2 to 4.3, due to having to change it to /legacy/. Think this had anything to do with it, or no, since you were in recovery?
wvcadle said:
It threw me for a loop when moving from 4.2 to 4.3, due to having to change it to /legacy/. Think this had anything to do with it, or no, since you were in recovery?
Click to expand...
Click to collapse
Maybe, not sure. I'm going into recovery now. Looks like everything is installing currently. When I did this last time. It tried flashing and booted up without a prompt. It does auto boot up after flashing btw.
Booting up.....
looks good!
kpjimmy said:
Maybe, not sure. I'm going into recovery now. Looks like everything is installing currently. When I did this last time. It tried flashing and booted up without a prompt. It does auto boot up after flashing btw.
Booting up.....
looks good!
Click to expand...
Click to collapse
Great! Glad to see something work as it's supposed to. Of course, TB is solid, with a solid development team, so it should!

how do i restore with nanoid backup?

Hi,
I backup my system with nandroid using CWMR mode. I save it into my computer, then I wipe down my SD card. If I want to use CWMR to restore that backup, where do I copy the file to so that it will be recognized in recovery mode?
Thank you,
stagius24 said:
Hi,
I backup my system with nandroid using CWMR mode. I save it into my computer, then I wipe down my SD card. If I want to use CWMR to restore that backup, where do I copy the file to so that it will be recognized in recovery mode?
Thank you,
Click to expand...
Click to collapse
Cwm backups be copied in /data/media/clockworkmod/backups, you can pull the data using "adb pull /data/media/clockworkmod/backups"
Rohit02 said:
Cwm backups be copied in /data/media/clockworkmod/backups, you can pull the data using "adb pull /data/media/clockworkmod/backups"
Click to expand...
Click to collapse
Hi,
I already pull the backup.
My question is where do I put them back into the sd card so it will be recognized by CWM in recovery mode. Putting in back in the same folder won't get recognized
stagius24 said:
Hi,
I already pull the backup.
My question is where do I put them back into the sd card so it will be recognized by CWM in recovery mode. Putting in back in the same folder won't get recognized
Click to expand...
Click to collapse
mnt/shell/emulated/clockworkmod/backup
put it in this path
wxtye said:
mnt/shell/emulated/clockworkmod/backup
put it in this path
Click to expand...
Click to collapse
I use ES to see the folder but cant see it. Even though it suppose to have some other backup from rom manager there. Should I create a new folder?
stagius24 said:
I use ES to see the folder but cant see it. Even though it suppose to have some other backup from rom manager there. Should I create a new folder?
Click to expand...
Click to collapse
yes, just create a folder, should work
wxtye said:
yes, just create a folder, should work
Click to expand...
Click to collapse
What about when we create backup using CWMR in recovery mode. I can see them through rom manager. They have a similar path /mnt/shell/.. but using ES explorer I can't access them anywhere. Is there any way I can pull that out?
stagius24 said:
What about when we create backup using CWMR in recovery mode. I can see them through rom manager. They have a similar path /mnt/shell/.. but using ES explorer I can't access them anywhere. Is there any way I can pull that out?
Click to expand...
Click to collapse
In Rom Manager, go to manage and restore backups, from there, there is an option to download your backup, using a browser from your pc
wxtye said:
In Rom Manager, go to manage and restore backups, from there, there is an option to download your backup, using a browser from your pc
Click to expand...
Click to collapse
I tried that but I gave up.
Bought the license on play store but not able to activate. End up pirate apk from google, still doesnt work. Is there a way I can pull it out like nandroid backup?
stagius24 said:
I tried that but I gave up.
Bought the license on play store but not able to activate. End up pirate apk from google, still doesnt work. Is there a way I can pull it out like nandroid backup?
Click to expand...
Click to collapse
Never tried it like that, I always use the download option from Rom Manager, its slow but it works for me everytime
wxtye said:
Never tried it like that, I always use the download option from Rom Manager, its slow but it works for me everytime
Click to expand...
Click to collapse
Thank you. Do you happen to use titanium backup?
If I back up app+user data on my current rom, and let say later i do a factory reset and flash to another rom. Will the titanium back up still be there for me to restore later? If so, will I get the same app, and all user date like sms, picture onto my new rom?
stagius24 said:
Thank you. Do you happen to use titanium backup?
If I back up app+user data on my current rom, and let say later i do a factory reset and flash to another rom. Will the titanium back up still be there for me to restore later? If so, will I get the same app, and all user date like sms, picture onto my new rom?
Click to expand...
Click to collapse
Yes, u can restore your app data as long as you don't format your sdcard partition, to be safe, you can just copy the whole TB folder to your pc.
For sms, you will need to restore system data, which is not recommended when changing roms, maybe just select sms and restore from TB.
Pictures will still be available, again, to be safe, just copy everything to your pc, just in case.

[OUTDATED][10A] [RESTORE] LG G5 H830 Stock TWRP Restore

T-Mobile LG G5 H830 Stock TWRP System Restore
Instructions
DO NOT RESTORE IF YOU ARE UPDATED TO 10D Could cause irreparable damage.
1. Download the file on your computer or any computer and extract the compressed folder. Folder should be titled LGH830STOCKROOT
2. Move the LGH830STOCKROOT folder into existing TWRP folder and sub-folder BACKUPS in external storage if you don't have external storage get it. If you never made a backup and don't have a TWRP folder of your you will need to go to file explorer in TWRP main menu and create a new folder titled TWRP and a folder titled BACKUPS.
4. Go to the wipe section of TWRP and wipe Internal Storage, Cache, Dalvik/ART Cache, System, and Data
5. Go back to the main menu on TWRP and tap restore button.
6. Select the backup to restore only the system field should appear.
7. Swipe to restore
8. Flash latest SuperSU Beta Link
Download
greysonofusa said:
This is a TWRP Backup of the stock rooted system.
*Warning this restore method has not been tested on other LG G5 H830 devices. Restore at your own risk.
Install Directions:
1. Download the folder and it's contents.
2. Place folder and contents into TWRP Backup Folder
3. When booted in recovery TWRP Make sure System is not in Read-Only Mode. To change this in TWRP go to "Mount" and ensure the Mount system partition read-only box is not checked. If it is checked simply uncheck the box and go back to the main menu.
4. Click restore and navigate to the downloaded TWRP backup.
5. Swipe to restore back to stock rooted.
*Note this restore will skip the initial setup process so you will have to add your google account Wi-Fi Networks without a guide*
Download full folder Via Dropbox
Download .zip file Via Dropbox
Click to expand...
Click to collapse
Works! Thanks so much man!!!
Excellent! Glad this is here. Thank you!
Looks like dropbox shut down the links for generating excessive traffic. I will upload to another provider when I get off work
Feel free to upload to my server of you like. No throttling and I don't charge a cent.
http://androidfilesharing.com
Can you just flash zip file or need to extract and go through restore process?
My phone only goes into twrp after flashing a mod in the international section and I've completed the following steps below, but phone won't recognize backup on sd card. Can someone point me in the right direction?
1. Downloaded and extracted zip file
2. Placed unzipped folder in my twrp backups.
3. Booted into recovery and clicked om restore but file not showing up.
4. Checked to make sure twrp is not ready Only checked and it's not
**UPDATE** I changed to a different computer and was able to add the twrp backup to my internal drive, but still same problem of it nor showing up for a restore
Sent from my LG-H901 using Tapatalk
edfuhr1 said:
Can you just flash zip file or need to extract and go through restore process?
Click to expand...
Click to collapse
I believe files need to be unzipped and the folder needs to be added to either internal or external storage. Flashing won't do anything.
edfuhr1 said:
Can you just flash zip file or need to extract and go through restore process?
Click to expand...
Click to collapse
888Plugin8.com said:
My phone only goes into twrp after flashing a mod in the international section and I've completed the following steps below, but phone won't recognize backup on sd card. Can someone point me in the right direction?
1. Downloaded and extracted zip file
2. Placed unzipped folder in my twrp backups.
3. Booted into recovery and clicked om restore but file not showing up.
4. Checked to make sure twrp is not ready Only checked and it's not
**UPDATE** I changed to a different computer and was able to add the twrp backup to my internal drive, but still same problem of it nor showing up for a restore
Sent from my LG-H901 using Tapatalk
Click to expand...
Click to collapse
When the file is unzipped is the folder titled TWRP or something else?
This should be the correct file path:
SD card/TWRP/BACKUPS/LGH830d94daed4/STOCK_SYSTEM2016-01-01--04-58-43
greysonofusa said:
When the file is unzipped is the folder titled TWRP or something else?
This should be the correct file path:
SD card/TWRP/BACKUPS/LGH830d94daed4/STOCK_SYSTEM2016-01-01--04-58-43
Click to expand...
Click to collapse
That was the name of the file in the backups folder once it was unzipped.
I ended up doing a tot reset back too stock
Sent from my LG-H830 using Tapatalk
greysonofusa said:
When the file is unzipped is the folder titled TWRP or something else?
This should be the correct file path:
SD card/TWRP/BACKUPS/LGH830d94daed4/STOCK_SYSTEM2016-01-01--04-58-43
Click to expand...
Click to collapse
having same issue with twrp not seeing the backup. Kinda weird. Trying it again by downloading the zip on a different computer and extracting to the directory. Wiped system and everything prior so I am sitting on a dud right now lol.
edit: Found my issue though. Didn't like the folder in twrp that it was backed up into. Made a new backup (of nothing) and then moved the actual backup to that folder and it took to it. Easy fix. Restoring now. Thanks.
editedit: It failed to restore. Ahh well. Just gonna restore stock tot and call it a day. Thanks!
Yeah probably going to take this post down because only a few have successfully restored and every time they restore my Google Play Store has errors Downloading apps. I have to remove my Google account from the accounts page and sign back in daily. Probably going to TOT back to stock also. The only sensitive data recorded in the TWRP backup seems to be my serial number for my phone. Could be why Google Play is bumpy having so many different accounts under one serial number. I recommend all others that did the restore to TOT restore also.
!*!*!*!!*!*!*!!*!*!*!PLEASE CHECK YOUR SERIAL NUMBERS!!! MAKE SURE THE SERIAL IN THE SOFTWARE MATCHES THE ONE ON YOUR BOX!!*!*!*!*!*!*!
greysonofusa said:
Yeah probably going to take this post down because only a few have successfully restored and every time they restore my Google Play Store has errors Downloading apps. I have to remove my Google account from the accounts page and sign back in daily. Probably going to TOT back to stock also. The only sensitive data recorded in the TWRP backup seems to be my serial number for my phone. Could be why Google Play is bumpy having so many different accounts under one serial number. I recommend all others that did the restore to TOT restore also.
!*!*!*!!*!*!*!!*!*!*!PLEASE CHECK YOUR SERIAL NUMBERS!!! MAKE SURE THE SERIAL IN THE SOFTWARE MATCHES THE ONE ON YOUR BOX!!*!*!*!*!*!*!
Click to expand...
Click to collapse
Thanks for trying though! Definitely a A+ for effort.
If it worked as it should have, would have made going back to stock hell of a lot easier lol.
As someone with a mac who doesn't want to deal with reliving the whole TOT flashing experience, if anyone would be willing to PM me a system twrp restore I would be VERY thankful.
bbender716 said:
As someone with a mac who doesn't want to deal with reliving the whole TOT flashing experience, if anyone would be willing to PM me a system twrp restore I would be VERY thankful.
Click to expand...
Click to collapse
I'm working on it still. I never said I was going to take it down for good. Just need a weekend to examine and analyze what exactly is going on.
greysonofusa said:
I'm working on it still. I never said I was going to take it down for good. Just need a weekend to examine and analyze what exactly is going on.
Click to expand...
Click to collapse
You the man.
Thank you
Sent from my LG-H830 using Tapatalk
greysonofusa said:
I'm working on it still. I never said I was going to take it down for good. Just need a weekend to examine and analyze what exactly is going on.
Click to expand...
Click to collapse
Almost ready just need to upload. This time the system is the only thing you restore. Will get to it hopefully tonight.
Awesome man! Would love to see twrp on the h830! Excited. Please don't forget about us here.
Thanks for your work.
Sent from my LG-H830 using XDA-Developers mobile app
malimt said:
Awesome man! Would love to see twrp on the h830! Excited. Please don't forget about us here.
Thanks for your work.
Sent from my LG-H830 using XDA-Developers mobile app
Click to expand...
Click to collapse
TWRP is on the H830, lol
Just checkout THIS thread
greysonofusa said:
!*!*!*!!*!*!*!!*!*!*!PLEASE CHECK YOUR SERIAL NUMBERS!!! MAKE SURE THE SERIAL IN THE SOFTWARE MATCHES THE ONE ON YOUR BOX!!*!*!*!*!*!*!
Click to expand...
Click to collapse
When you say serial number you mean IMEI, correct?

Categories

Resources