Unable to restore backup. - Nexus 7 Q&A, Help & Troubleshooting

I backed up 4.1.2 using cwm. I flashed eclipse 3.0 and now trying to restore backup. Cwm is not able to find clockworkmod folder. When I search for a zip file I only see 3 directories. 0, legacy and some obb.
Sent from my SAMSUNG-SGH-I747 using xda premium

have a look here:
http://forum.xda-developers.com/showthread.php?t=1991657
i had the same problem but I haven't done that fix, i did the lazy thing and manually moved my backup from /data/media to the clockworkmod/backup on my sdcard. then CWM was able to find it.

Thanks but how do I restore everything to pre 4.2 CWM and directory structure and not this 0/ and legacy/ stuff.

metaldood said:
Thanks but how do I restore everything to pre 4.2 CWM and directory structure and not this 0/ and legacy/ stuff.
Click to expand...
Click to collapse
do you have the wifi-only version? i'm a little new to this device, but i believe restoring your 4.1.2 nandroid will take you back to where you wanna be? otherwise if you wanna do a complete factory restore, you can reflash the factory image:
http://forum.xda-developers.com/showthread.php?t=1907796

Yea wifi only. I am doing a factory reset now. Sucks that 4.2 messed up the directory structure.

Related

Nexus 7 partition table messed up/ broken?

Flashed a rooted stock Android 4.2 ROM, root appeared to be broken so i figured rather than be late for work i'd flash my nandroid backup i did beforehand. Now recovery can't find the backup location, and under any file explorer it appears as '0' which i have to select first to view the files. Because of this CWM can't see the backup folder. HELP
That's because of the 4.2 multi-user feature, it needs to separate files of multiple users somehow, so it just moves all your files to "0" subdirectory. If you add another users, they will have their own folders.
It should be okay to just move /data/media/0/TWRP to /data/media/TWRP, either via TWRP's file manager or via adb shell while in recovery:
Code:
mv /data/media/0/TWRP /data/media/
Tasssadar said:
That's because of the 4.2 multi-user feature, it needs to separate files of multiple users somehow, so it just moves all your files to "0" subdirectory. If you add another users, they will have their own folders.
It should be okay to just move /data/media/0/TWRP to /data/media/TWRP, either via TWRP's file manager or via adb shell while in recovery:
Code:
mv /data/media/0/TWRP /data/media/
Click to expand...
Click to collapse
Thank you for your help but I'm using clockworkmod recovery. What do i need to change in that command to suit CWM?
Matty Matt said:
Flashed a rooted stock Android 4.2 ROM, root appeared to be broken so i figured rather than be late for work i'd flash my nandroid backup i did beforehand. Now recovery can't find the backup location, and under any file explorer it appears as '0' which i have to select first to view the files. Because of this CWM can't see the backup folder. HELP
Click to expand...
Click to collapse
Haha, I thought I was the only one! I thought I had partitioned my card somehow. I basically did the same thing as you. I also am running CWM. Its making Rom flashing almost impossible for me, I can only select & flash files from the SD "O". All my nandroids are on the regular SD selection. Did you ever find you answer Matt.?
Sent from my Nexus 7 using Tapatalk 2

[Q] Restoring from Nexus Toolkit Backup

Last night I flashed a kernel and it caused a bootloop. No problem I have a backup from a few days ago. I will wipe data and flash cm and then restore tomorrow. So I flashed CM. When I went to restore via the nexus toolkit it wouldn't connect to my device. It was the new adb signing thing. So I updated the toolkit into a different folder to make sure I didn't lose the backup.
The thing is I cant find how to make the backup visible to the toolkit. I've tried putting it in the same folder as the previous version but it doesn't show on the toolkit. I've tried using NANDROID in CWM but it can't find a directory or something. What is the best way to get this backup restored? Can I get it into the toolkit?
Thank you for the help. I am at a loss of what to do here.
No one?
Sent from my Nexus 4 using Tapatalk 2
One more try and I'll give up.
I'm not to familiar with the tool kit but you can push it to cwr directory
mnt/shell/emulated/clockworkmod/backup
You can use adb to push or use a file explorer to move it over .(transfer to SD then use file explorer move to new directory)
Sent from my Nexus 4 using xda app-developers app
Thank you so much. I just couldn't find the folder. This is my first device without a real SD

Cannot find TWRP backup data.ext4.win and system backup

I want to take my TWRP backup and move it off site, however I have explored /data/media/TWRP and i have pulled the backups from there but I seem to only have the boot, and recovery.emmc.win and all the MD5 hashes I have generated when i made the backup. But I don't seem to have the actually data and system backup (the most important). I know I have made the backup because it's still there in TWRP as a recovery option, and I have used it to revert from a broken 4.4 update to my old 4.3.
I checked data/media/TWRP which contains files none of which are my system and data backup
and I checked the data/media/0/TWRP and it contains nothing.
Any ideas where a huge 2.4 gig file could hide and where I could find it?
Thanks.
Bubblewhip said:
I want to take my TWRP backup and move it off site, however I have explored /data/media/TWRP and i have pulled the backups from there but I seem to only have the boot, and recovery.emmc.win and all the MD5 hashes I have generated when i made the backup. But I don't seem to have the actually data and system backup (the most important). I know I have made the backup because it's still there in TWRP as a recovery option, and I have used it to revert from a broken 4.4 update to my old 4.3.
I checked data/media/TWRP which contains files none of which are my system and data backup
and I checked the data/media/0/TWRP and it contains nothing.
Any ideas where a huge 2.4 gig file could hide and where I could find it?
Thanks.
Click to expand...
Click to collapse
/storage/emulated/0/TWRP
Try there.
Sent from my Nexus 7 (2013)
Berrydroidcafe said:
/storage/emulated/0/TWRP
Try there.
Sent from my Nexus 7 (2013)
Click to expand...
Click to collapse
isn't /storage/emulated/0 a link towards sdcard/twrp? Eitherway the TWRP folder in there is empty.
Thanks for the suggestion though.
Bubblewhip said:
isn't /storage/emulated/0 a link towards sdcard/twrp? Eitherway the TWRP folder in there is empty.
Thanks for the suggestion though.
Click to expand...
Click to collapse
Yes it is. The same location on both device, Nexus 4 and 7.
Berrydroidcafe said:
Yes it is. The same location on both device, Nexus 4 and 7.
Click to expand...
Click to collapse
Found it, it was in the Data/Media/TWRP although hid itself once I did the Chmod for some reason. It showed back up again if I booted into TWRP recovery mode and retreived it from there using USB debugging.
Bubblewhip said:
Found it, it was in the Data/Media/TWRP although hid itself once I did the Chmod for some reason. It showed back up again if I booted into TWRP recovery mode and retreived it from there using USB debugging.
Click to expand...
Click to collapse
Great! :thumbup:
Sent from my Nexus 7 (2013)

All backup md5 problems solved!!!

I saw many people getting md5 mismatch while doing backup. So, I wrote this thread to help them.
Today I am going to share with you a method of restoring backups easily without an md5 error.
1ST METHOD:
Here are the steps:
1)Go to the folder where you saved your backup.
2)Open nandroid.md5 file with any text editor on your phone.
3)Delete all the lines from starting to end.
4)Save the file and close it.
5)Now restore your backup through CWM or Philz Touch or TWRP.
2ND METHOD:
If you changed the name of the backup folder, then, that is causing the problem. Try to change the name without adding spaces and/or special characters.
3RD METHOD:
Also you can use nandroid manager to recreate md5 sums.
Link in the next post by akiratoriyama
Thanks to @akiratoriyama
Or if you don't want to use nandroid manager, then you can use terminal emulator to recreate those sums:
Open terminal emulator then,
Use the following commands. (DON'T FORGET TO REPLACE "2012-04-17.10.09.36" WITH YOUR OWN BACKUP FOLDER NAME)
su
# mount -o remount rw /sdcard
#cd /sdcard/clockworkmod/backup/2012-04-17.10.09.36
#rm nandroid.md5
#md5sum *img > nandroid.md5
Don't forget to put the spaces!!
Voila, now your backup will restore properly without any md5 error:beer:
Sent from my GT-I9082 using Tapatalk Pro
Ateekujjawal said:
I saw many people getting md5 mismatch while doing backup. So, I wrote this thread to help them.
Today I am going to share with you a method of restoring backups easily without an md5 error.
1ST METHOD:
Here are the steps:
1)Go to the folder where you saved your backup.
2)Open nandroid.md5 file with any text editor on your phone.
3)Delete all the lines from starting to end.
4)Save the file and close it.
5)Now restore your backup through CWM or Philz Touch or TWRP.
2ND METHOD:
If you changed the name of the backup folder, then, that is causing the problem. Try to change the name without adding spaces and/or special characters.
Voila, now your backup will restore properly without any md5 error:beer:
Sent from my GT-I9082 using Tapatalk Pro
Click to expand...
Click to collapse
Alternate method
Use Nandroid Manager to recreate md5 sums
Sent from my GT-I9082 using Tapatalk
i tried the first method and it works for me
i cant backup my rom
i tried flashing the zip version of the s4 launcher and widget on my sgg-gt i-9082,,as instructed i backed up my stock rom but it didnt complete the backup..when i tried restoring the rom i get the error "md5 mismatch"..i wanted to try the methods youve posted but i cannot locate the nandroid.md5 file...i tried to install the touchwiz.apk (both in the system and user option) but the app just closes"unfortunately touchwiz has stopped working"..
so i have these questions:
1.is there a way i can still resore my stock rom?
2.i was running on jb 4.1.2..if i download the 4.2.2 update from the samsung website and flash my phone..wil i hav my touchwiz back?coz i dont like the holo launcher thaaaat much..
i'd be grateful for your help..
g_javella said:
i tried flashing the zip version of the s4 launcher and widget on my sgg-gt i-9082,,as instructed i backed up my stock rom but it didnt complete the backup..when i tried restoring the rom i get the error "md5 mismatch"..i wanted to try the methods youve posted but i cannot locate the nandroid.md5 file...i tried to install the touchwiz.apk (both in the system and user option) but the app just closes"unfortunately touchwiz has stopped working"..
so i have these questions:
1.is there a way i can still resore my stock rom?
2.i was running on jb 4.1.2..if i download the 4.2.2 update from the samsung website and flash my phone..wil i hav my touchwiz back?coz i dont like the holo launcher thaaaat much..
i'd be grateful for your help..
Click to expand...
Click to collapse
No way to restore stock rom. You didn't complete the backup.
Yes you can flash 4.2 to get TouchWiz back.
Sent from my GT-I9082 using Tapatalk Pro.
Ateekujjawal said:
No way to restore stock rom. You didn't complete the backup.
Yes you can flash 4.2 to get TouchWiz back.
Sent from my GT-I9082 using Tapatalk Pro.
Click to expand...
Click to collapse
thank you so much....
i tried the nandroid manager method and it worked..turns out my data was the one that didnt fully backup...i lost some-most-of my data but its better than losing my rom--...
thanks again..you are a life saver..

[Q] Understanding Directories, and Backing Up

I want to make a backup of my Android I9505 by copying all the files to my laptop.
I don't understand the directories
Using ES3 I see
/ Device (Which I guess is root.)
0
extSdCard
I assume that exdSdCard is (as it almost says) the external SD Card.
So what are "/" and
"0"
I guess I should back up all directories. What do you think?
webmanoffesto said:
I want to make a backup of my Android I9505 by copying all the files to my laptop.
I don't understand the directories
Using ES3 I see
/ Device (Which I guess is root.)
0
extSdCard
I assume that exdSdCard is (as it almost says) the external SD Card.
So what are "/" and
"0"
I guess I should back up all directories. What do you think?
Click to expand...
Click to collapse
Hi,
0 is your internalSD ( /storage/ emulated/0/ )
/ is root directory
If you just copy folder like that , yes you will make a copy of the folders and the data inside of them but it will not work to restore your system , for that you will need something like a Nandroid copy or use Titanium Backup to be re install after you restore your rom
webmanoffesto said:
I want to make a backup of my Android I9505 by copying all the files to my laptop.
I don't understand the directories
Using ES3 I see
/ Device (Which I guess is root.)
0
extSdCard
I assume that exdSdCard is (as it almost says) the external SD Card.
So what are "/" and
"0"
I guess I should back up all directories. What do you think?
Click to expand...
Click to collapse
You are WAY overthinking this.
Install custom recovery. Use it to make a Nandroid backup.
That's a single zip file that you can later use to restore everything in exactly the same state as it was the day you made the backup. (Takes all of 5 minutes.)
Then if you want to store that backup zip file on your PC you can easily copy it to the computer and store it there for as long as you need.
Your way of doing this will take a lot longer to copy the files and won't ultimately work to restore the system.
Skipjacks said:
You are WAY overthinking this.
Install custom recovery. Use it to make a Nandroid backup.
That's a single zip file that you can later use to restore everything in exactly the same state as it was the day you made the backup. (Takes all of 5 minutes.)
Then if you want to store that backup zip file on your PC you can easily copy it to the computer and store it there for as long as you need.
Your way of doing this will take a lot longer to copy the files and won't ultimately work to restore the system.
Click to expand...
Click to collapse
Using ROM Manager, I boot to Recovery mode. I only see
- Reboot system now
- apply update from ADB
- Apply update from external storage
- wife data/factory reset
- wipe cache partition
- apply update from cache
No Backup option.
webmanoffesto said:
Using ROM Manager, I boot to Recovery mode. I only see
- Reboot system now
- apply update from ADB
- Apply update from external storage
- wife data/factory reset
- wipe cache partition
- apply update from cache
No Backup option.
Click to expand...
Click to collapse
Hi ,
Then i guess you are 100% stock , no root , no Custom recovery?
if so then you need an app that does not need root to back up your app , Titanium is good but you need at least to be root.
MAX 404 said:
Hi ,
Then i guess you are 100% stock , no root , no Custom recovery?
if so then you need an app that does not need root to back up your app , Titanium is good but you need at least to be root.
Click to expand...
Click to collapse
I have Root and I use Titanium Backup.
webmanoffesto said:
I have Root and I use Titanium Backup.
Click to expand...
Click to collapse
you are root but you do not wish to install a Custom recovery or custom rom , right?
If so use titanium to make a back up of your apps , contacts , settings , email , sms ..etc etc
If you want to make a nandroid you need to install a Custom Recovery
Just install a custom recovery.
It won't affect the operation of the ROM at all if you're completely happy with the stock rom.
Root and Recovery are mutually exclusive things. One has nothing to do with the other. Each exists independently of the other.
Skipjacks said:
Just install a custom recovery.
It won't affect the operation of the ROM at all if you're completely happy with the stock rom.
Root and Recovery are mutually exclusive things. One has nothing to do with the other. Each exists independently of the other.
Click to expand...
Click to collapse
+1

Categories

Resources