[Q] Cannot Restore TWRP backup - Nexus 4 Q&A, Help & Troubleshooting

Before anyone accuses me of not doing a search, I have scoured the internet for a solution but I cannot find it.
So I used TWRP to backup my phone and then installed an Android L preview ROM (Fair enough, right?). Obviously the backup size is massive so I moved it to my computer (Also pretty standard).
I wanted to use my original backup again so I moved the file into TWRP\BACKUP and booted up TWRP. Nothing showed up in the restore menu and when I tried to manually install the .zip it said "Cannot open zip". I've rezipped it, I've tried cwm, I've disabled the md5 thing and disabled the zip signing thing.
What do?

Are you sure you put the zip in the right folder? It should be
TWRP/BACKUPS/yourserialnumber/
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
Are you sure you put the zip in the right folder? It should be
TWRP/BACKUPS/yourserialnumber/
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
No, what shall i put as "myserialnumber"?

The_Kian said:
No, what shall i put as "myserialnumber"?
Click to expand...
Click to collapse
I assume the Android L preview is still bootable? If so go into Settings > About phone > Status > Serial number
If not, I would reflash the Android L ROM just to get into the setting menu and retrieve the serial number to try what was suggested above.

BMXJeff said:
I assume the Android L preview is still bootable? If so go into Settings > About phone > Status > Serial number
If not, I would reflash the Android L ROM just to get into the setting menu and retrieve the serial number to try what was suggested above.
Click to expand...
Click to collapse
Still nothing in restore, still not doing zip install. During zip install I get "unable to open zip file" and for another i get "error flashing zip"

The_Kian said:
Still nothing in restore, still not doing zip install. During zip install I get "unable to open zip file" and for another i get "error flashing zip"
Click to expand...
Click to collapse
make a new backup. then, go to your new backup, delete it out of the folder it creates, then put your old backup into that new folder.

simms22 said:
make a new backup. then, go to your new backup, delete it out of the folder it creates, then put your old backup into that new folder.
Click to expand...
Click to collapse
Good shout.
Also, I just thought. Shouldn't TWRP backups have the .win extension not .zip? You mentioned you tried rezipping the backup?
I remember changing the .win backup extension to .tar to extract and view contents. Check the extension of your backup and use one you have not 'rezipped' if you have that copy.
Please note you cannot flash a raw backup as a zip. You have to restore it with TWRP.

simms22 said:
make a new backup. then, go to your new backup, delete it out of the folder it creates, then put your old backup into that new folder.
Click to expand...
Click to collapse
Turns out it was "backups" not "backup". So now it's saying "no partitions selected for restore." So you've solved my issue but now I've got another for you.

The_Kian said:
Turns out it was "backups" not "backup". So now it's saying "no partitions selected for restore." So you've solved my issue but now I've got another for you.
Click to expand...
Click to collapse
when you go to restore it, does it give you a list of things to restore? like system, cache, boot, etc? and is your file extension correct?

simms22 said:
when you go to restore it, does it give you a list of things to restore? like system, cache, boot, etc? and is your file extension correct?
Click to expand...
Click to collapse
No I don't get that list. And for the second question, it is a folder with data.ext4.win(.md5,001,002,002.md5) so I guess so.

The_Kian said:
No I don't get that list. And for the second question, it is a folder with data.ext4.win(.md5,001,002,002.md5) so I guess so.
Click to expand...
Click to collapse
You could try this which explains how to convert the backup to a normal zip which can be flashed as such

The_Kian said:
No I don't get that list. And for the second question, it is a folder with data.ext4.win(.md5,001,002,002.md5) so I guess so.
Click to expand...
Click to collapse
looks similar to this?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

simms22 said:
looks similar to this?
Click to expand...
Click to collapse
Yep

Related

[Q] .img file

how to flash .img file in x recovery...
mohan7490 said:
how to flash .img file in x recovery...
Click to expand...
Click to collapse
go to backup and restore.. then choose restore.. then select the folder that has .img file ..
try to watch this video.. maybe this can help you..
http://www.youtube.com/watch?v=lPV6Ue5a0Ww
img
dude I jus downloaded the nexus rom file and extracted it...all the four files showing .img extension..by going x recoveru try to flash it..its tellin cudnt open tis file...
you must place that files in /xrecovery/backup/nexus
and then in xrecovery select backup/restore => restore and select nexus
mohan7490 said:
dude I jus downloaded the nexus rom file and extracted it...all the four files showing .img extension..by going x recoveru try to flash it..its tellin cudnt open tis file...
Click to expand...
Click to collapse
Do not extract the downloaded file. Place it directly in /sdcard/xrecovery/backup/. Boot into xRecovery and select restore and select that file.
Let it restore.....
DONE!
If its still not working, the file you downloaded might be corrupt.
__________________
If you like my post, click the
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
button!!
death214 said:
Do not extract the downloaded file. Place it directly in /sdcard/xrecovery/backup/. Boot into xRecovery and select restore and select that file.
Let it restore.....
DONE!
If its still not working, the file you downloaded might be corrupt.
__________________
If you like my post, click the
button!!
Click to expand...
Click to collapse
I did...bt wen I restore its showin md5 mismatch..wat does tat mean
mohan7490 said:
I did...bt wen I restore its showin md5 mismatch..wat does tat mean
Click to expand...
Click to collapse
Try redownload it
mohan7490 said:
I did...bt wen I restore its showin md5 mismatch..wat does tat mean
Click to expand...
Click to collapse
You have to unpack downloaded file to get:
system.img
data.img
cache.img
nandroid.md5
put these files in /sdcard/xrecovery/backup/somefolder/
Go to recovery. Backup and restore. Restore. Select backup name which is the "somefolder" name. Select yes. Reboot.
blagus said:
You have to unpack downloaded file to get:
system.img
data.img
cache.img
nandroid.md5
put these files in /sdcard/xrecovery/backup/somefolder/
Go to recovery. Backup and restore. Restore. Select backup name which is the "somefolder" name. Select yes. Reboot.
Click to expand...
Click to collapse
guys redownloaded still stuck with the same prob..md5 mismatch..nexus rom sucks!!
@mohan7490
Don't put 'space' in folder name.
Sent from my E15i
I know what's your problem.. XD restore everything you have on your sd card and then format.. now, everything will be fine
Sent from my X8 using XDA App
LuisDias said:
I know what's your problem.. XD restore everything you have on your sd card and then format.. now, everything will be fine
Sent from my X8 using XDA App
Click to expand...
Click to collapse
sorry I don't understand..

[Tool] RomCleaner 1.0

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi guys,
Here i want to show my Rom Cleaner, its idea comes from => Here , so credits for the idea and the ini files i used as base belong to him
this app allows you to clean out unneeded crap and bloatware from your roms, before you flash them.
List of files to remove is about 100 different ones now.
i hope some of you will test this and provide feedback.
PS, program is coded in autoit, which some old AV's tend to flag, i'll offer admins a look at the source code if needed.
PS2, Only supports CWM type roms.
Greetz,
Damian
Changelog: version 1.0
fixed bug with repacking >.<
Click to expand...
Click to collapse
Download here
I'm assuming course that it would course invalidate md5 checksum, and as a result there's no real assurance that the zip had been repacked correctly prior to flashing.
no, it wont pass that test, but seeying its a regular zipfile, you can always test the zip itself.
DamianSixSixSix said:
no, it wont pass that test, but seeying its a regular zipfile, you can always test the zip itself.
Click to expand...
Click to collapse
True. What about the repacking of system.img ?
this basicly only works on the CWM based roms, which are zipfiles, so i dont touch those
DamianSixSixSix said:
this basicly only works on the CWM based roms, which are zipfiles, so i dont touch those
Click to expand...
Click to collapse
Ahh. Hrm odd I don't recall ever actually using a CWM based rom, every rom I've tried after CM7.2 have been mostly ICS roms, and every i've ever unpacked have had each of the partitions saved as img files.
yes that is weird, every rom i use can be flashed by cwm, and when unpacked, only bootimage is a img file, rest is folders and files.
Interesting idea, cool. So far, I've been deleting manually files from the zips. One suggestion, could you add someday ability to add programs into the selected ROM?
Or even better, enable user to create batch package/batch deletion of his apks/always-deleted-apks that could be added/removed with a single click to/from every consecutive ROM ? Just a loose idea.. Thanks!
Deathmehr said:
Interesting idea, cool. So far, I've been deleting manually files from the zips. One suggestion, could you add someday ability to add programs into the selected ROM?
Or even better, enable user to create batch package/batch deletion of his/her apks /always deleted apks that could be added/removed with a single click to/from every consecutive ROM ? Just a loose idea.. Thanks!
Click to expand...
Click to collapse
you can allready do that, just place the apk's in the files/add folder' it allready has system and data in there, just make a apps folder and drop them in
good idea, ill let program save removal settings on exit, so it can load them when it starts
DamianSixSixSix said:
you can allready do that, just place the apk's in the files/add folder' it allready has system and data in there, just make a apps folder and drop them in
Click to expand...
Click to collapse
I'm afraid I don't follow. Drag and dropp doesn't work in any case. I tried dnd on apks, zips with structured folders or folders alone. Give me a tip
chech the program folder, in the files/add folder, are 2 more folders, data and system.
if you make an app folder in there, and drop your apk's in there, they will be pushed to your rom
example, 'files/add/system/app/MyTestApk.apk'
DamianSixSixSix said:
chech the program folder, in the files/add folder, are 2 more folders, data and system.
if you make an app folder in there, and drop your apk's in there, they will be pushed to your rom
example, 'files/add/system/app/MyTestApk.apk'
Click to expand...
Click to collapse
Ok, thanks for the advice! I assume that it won't push apks that aren't supported in removal? I'm talking specifically about Cerberus.apk - it is very advantegous to integrate the app with a ROM.
Deathmehr said:
Ok, thanks for the advice! I assume that it won't push apks that aren't supported in removal? I'm talking specifically about Cerberus.apk - it is very advantegous to integrate the app with a ROM.
Click to expand...
Click to collapse
thats totally unrelated, any file you place there gets pushed, any file.
Come to think of it, I might actually be thinking bout backups I do recall a lot of roms do have the folders set where they're migrated to the existing filesystem.
true, CWM backups are img files
Very nice idea for a program. Is it limited to only roms for our device or literally any CWM flashable zips?
it works on all actually, but i only have HTC phones, so others arent much supported in the apk department, simply because i cant check them
DamianSixSixSix said:
it works on all actually, but i only have HTC phones, so others arent much supported in the apk department, simply because i cant check them
Click to expand...
Click to collapse
Fair enough, and thank you for the prompt reply!
Sent via carrier pigeon
updated to version 0.7 changelog in first post
anyone found bugs or has suggestions?

Solution Found!: CWM Restore says "Couldn't open directory. No files found."

Solution Found!: CWM Restore says "Couldn't open directory. No files found."
I used the Nexus 4 Toolkit to make a Nandroid backup. Now when I try to restore, it copies the files from my computer to the phone and then asks me to do a restore in CWM. However, when I click on Restore, it says: "Couldn't open directory. No files found."
It doesn't even give me the option to select the directory...
Ideas anyone?
RESOLVED!
[B]Solution: Install ROM Manager from Google Play. Open it and "Flash ClockWorkMod Recovery". It will install the latest CWM version. Then go to"Manage and Restore Backups" and you will find your *previously lost) backup there. If you don't see it, then reboot and open ROM Manager again. You can initiate a restore from within the ROM Manager app.
If you boot into Recovery and try to restore the nandroid backup, it will still not find it. But it will work from within the ROM Manager app. This is not an ideal solution but it works. [/B]
Re: Bogus Nexus 4 Toolkit- CWM Restore says "Couldn't open directory. No files found.
montrealguy said:
I used the Nexus 4 Toolkit to make a Nandroid backup. Now when I try to restore, it copies the files to the phone and then asks me to do a restore in CWM. However, when I click on Restore, it says: "Couldn't open directory. No files found."
It doesn't even give me the option to select the directory...
Ideas anyone?
Click to expand...
Click to collapse
The tool kit is to install the proper tools to your computer and phone so you can unlock bootloader, root, and install custom recovery from which you can perform nandroid backups and restore them when desired or necessary among many other options.????
Sent from my Nexus4, how's that feel?
Re: Bogus Nexus 4 Toolkit- CWM Restore says "Couldn't open directory. No files found.
OP, you're already talking about this in another thread. Why open a new one? You could have just edited the title of the other thread.
mustangtim49 said:
The tool kit is to install the proper tools to your computer and phone so you can unlock bootloader, root, and install custom recovery from which you can perform nandroid backups and restore them when desired or necessary among many other options.????
Click to expand...
Click to collapse
You are assuming that I am doing the backup and restore on the same phone. I made a Nandroid backup on my old Nex4 and want to restore on my new Nex4. The toolkit copies the Nandroid backup from my computer to sdcard/clockwordmod/backup, but CWM doesn't recognize it.
Furthermore, I tried to do a backup to find out where it stores them, and I couldn't figure it out!
Re: Bogus Nexus 4 Toolkit- CWM Restore says "Couldn't open directory. No files found.
montrealguy said:
You are assuming that I am doing the backup and restore on the same phone. I made a Nandroid backup on my old Nex4 and want to restore on my new Nex4. The toolkit copies the Nandroid backup from my computer to sdcard/clockwordmod/backup, but CWM doesn't recognize it.
Furthermore, I tried to do a backup to find out where it stores them, and I couldn't figure it out!
Click to expand...
Click to collapse
No I wasn't. I knew exactly what was going on before I made my previous post. The question stands.
estallings15 said:
OP, you're already talking about this in another thread. Why open a new one? You could have just edited the title of the other thread.
Click to expand...
Click to collapse
There are numerous older threads on this particular subject and none of them have a solution. Hopefully someone here will suggest an actual working solution and it will save everyone else a lot of endless searching...
Re: Bogus Nexus 4 Toolkit- CWM Restore says "Couldn't open directory. No files found.
montrealguy said:
There are numerous older threads on this particular subject and none of them have a solution. Hopefully someone here will suggest an actual working solution and it will save everyone else a lot of endless searching...
Click to expand...
Click to collapse
Please learn to use the edit button.
Re: Bogus Nexus 4 Toolkit- CWM Restore says "Couldn't open directory. No files found.
montrealguy said:
You are assuming that I am doing the backup and restore on the same phone........
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Furthermore, I tried to do a backup to find out where it stores them, and I couldn't figure it out!
Click to expand...
Click to collapse
Sent from my Nexus 4 using Tapatalk 2
Thanks guys! The problem was resolved and I updated the OP with the solution.
Thanks for the solution, it worked for galaxy s3. anyone stuck with not finding the restore file can try this out.

[Q] How do I clear the update prompt? [RESOLVED]

It downloaded over night without any interaction from me. :-/
Stock, rooted.
EDIT: Here is how I resolved it:
Cloaker said:
Long press on the notification, select app info, uncheck the box. Profit.
Sent from my SPH-L720 using Tapatalk 2
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LAYGO said:
It downloaded over night without any interaction from me. :-/
Stock, rooted.
Click to expand...
Click to collapse
What I did is let it download and reboot into custom recovery and then stopped the flash. Told TWRP to cancel the flash, then rebooted the system and got rid of the update. Then went into /cache and deleted the update file. Never been prompted again.
Usually you can let it try to install and fail to get rid of any nagging. Say if you make a backup of S-Health app and uninstall/freeze it and maybe some other stock system apps the update will fail anyways since it can't update those.
Thanks.
Cant find file
CCallahan said:
What I did is let it download and reboot into custom recovery and then stopped the flash. Told TWRP to cancel the flash, then rebooted the system and got rid of the update. Then went into /cache and deleted the update file. Never been prompted again.
Usually you can let it try to install and fail to get rid of any nagging. Say if you make a backup of S-Health app and uninstall/freeze it and maybe some other stock system apps the update will fail anyways since it can't update those.
Click to expand...
Click to collapse
I cant find the update file to delete. shows nothing in /cache even made sure hidden files were shown. Whats the name of the file?
Thanks!
Coder302 said:
I cant find the update file to delete. shows nothing in /cache even made sure hidden files were shown. Whats the name of the file?
Thanks!
Click to expand...
Click to collapse
Double check the OP for the resolution I used that was successful, way easier.
Coder302 said:
I cant find the update file to delete. shows nothing in /cache even made sure hidden files were shown. Whats the name of the file?
Thanks!
Click to expand...
Click to collapse
LAYGO said:
Double check the OP for the resolution I used that was successful, way easier.
Click to expand...
Click to collapse
And if you still want to know what the name of the file is, take a look at the attached.
Sent from my SPH-L720 using Xparent Skyblue Tapatalk 2
MoHoGalore said:
And if you still want to know what the name of the file is, take a look at the attached.
Sent from my SPH-L720 using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
Ahh, found it & deleted it from my cache.

Unable to create new folders or save anything to the internal memory

So ill try to put all the other information that's important here.
I tried flashing the Stock rom back to this phone through TWRP and I feel like I've flashed it about 8 times now. It comes up normally and I can go through the setup wizard and when I hit the home screen I tired getting Adaway. When I tried to download the apk to my phone and I try to choose a save location it keeps saying that I can't find a save location. Then I tried opening up the file manager and tried creating a new folder it says that the operation cant be performed. I have plenty of storage available on my 6T and I cant see what I'm doing wrong. I've flashed and reflashed both TWPR and the Stock ROM both Beta and official and I still run into the same issue. Is anyone able to lend a hand? Thank you in advance!
Edit: Fixed it!
I get this anytime I try to download anything to my PHONE. SD card not found
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Mi MIX 2S using Tapatalk
Coolaaron88 said:
I get this anytime I try to download anything to my PHONE. SD card not found
Click to expand...
Click to collapse
Format Data in TWRP
Sent from my OnePlus6T using XDA Labs
Mannan Qamar said:
Format Data in TWRP
Sent from my OnePlus6T using XDA Labs
Click to expand...
Click to collapse
Let me try that and I’ll report back
Sent from my iPhone using Tapatalk
Coolaaron88 said:
So ill try to put all the other information that's important here.
I tried flashing the Stock rom back to this phone through TWRP and I feel like I've flashed it about 8 times now. It comes up normally and I can go through the setup wizard and when I hit the home screen I tired getting Adaway. When I tried to download the apk to my phone and I try to choose a save location it keeps saying that I can't find a save location. Then I tried opening up the file manager and tried creating a new folder it says that the operation cant be performed. I have plenty of storage available on my 6T and I cant see what I'm doing wrong. I've flashed and reflashed both TWPR and the Stock ROM both Beta and official and I still run into the same issue. Is anyone able to lend a hand? Thank you in advance!
Edit: Fixed it!
Click to expand...
Click to collapse
Hi, I'm facing same issue. Flashed many times stock ROM on both slots, and can't write any file or create folder.
How did you fixed it?
2be3_80 said:
Hi, I'm facing same issue. Flashed many times stock ROM on both slots, and can't write any file or create folder.
How did you fixed it?
Click to expand...
Click to collapse
As stated before enter twrp and format data/ factory reset. Something went wrong and your date was encrypted.
bladestonez said:
As stated before enter twrp and format data/ factory reset. Something went wrong and your date was encrypted.
Click to expand...
Click to collapse
Actually my data was encrypted but accessible through twrp. I did format data, couldn't boot system, but then I wiped data and it worked.
Thanks
Thanks!
bladestonez said:
As stated before enter twrp and format data/ factory reset. Something went wrong and your date was encrypted.
Click to expand...
Click to collapse
I ran into this same issue and this fixed it for me!

Categories

Resources