[Q] TWRP 2.7.0.1 fails to make nand backup - Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot

As I've been trying out custom ROMs lately I've made several nand backups using TWRP. Now today when I try to create a backup it always fails. There's plenty of room on my extSDcard. Here's what it says on the screen:
Backing up Boot...
*Generating md5...
*MD5 Created
Backing up System
That's where it stops. It will work for a while but then fails.
Any ideas? Thanks in advance.

Well, I checked "Enable Compression" and the backup worked. Is this advisable, or should I avoid the compression setting?

It does what it says and I've never had any problems with it.

Related

Nandroid Backup v2.2 Issue

So I'm having a problem with Nandroid. It seems that every time I try to perform a backup, I get the same message:
Code:
Performing backup..
Error running nandroid backup. Backup not performed.
I even tried re-flashing the recovery, and that did not work either. What's going on?
I had this problem before. Turned out I had too many Nandroid backups saved on the SD card. Try deleting the older ones.

[Q] Does Acer Recovery Actually Back UP and Restore The ROMs?

Noob here. It doesn't "seem" like Acer Recovery is actually making backups of my ROMs. I'm really missing something either in terminology or execution and I'd like to understand what it is.
I don't know how to explain it other than to relate exactly what happened
I purchased one A500, but had to return it. I kept the backups taken with Acer Recovery, all Build A500_4.010.13_COM_GEN2
Got a new tab with Build Acer_A500_4.010.07_COM_GEN2
I immediately did a full backup:
Root (Iconiaroot 1.3)
Acer Recovery Installer
select "ClockworkMod Recovery rev1.3.4 by thor2002ro"
click "Install Recovery Image"
click "Yes" when asked to backup the current image!!!
Reboot into CW recovery.
Create a full backup: "backup and restore" -> "Full Backup"
The backup proceeded normally.
Rather than re-installing everything, I restored one of the backups from the old tab with Build A500_4.010.13_COM_GEN2
Backup installed fine, but instead of Build A500_4.010.13_COM_GEN2, I had Acer_A500_4.010.07_COM_GEN2, the same as the new tab.
I thought that was odd and I still don't know why it happened, but as I had just made a fresh new backup, I let the new tab go through the OTA updates to Build A500_4.010.13_COM_GEN2
Got everything working OK and decided to restore my new stock backup and make fresh incrementals of all the OTA updates.
Restored the original backup and now my original backup shows Build A500_4.010.13_COM_GEN2 instead of the original Build Acer_A500_4.010.07_COM_GEN2.
From these two instances, it doesn't "seem" like Acer Recovery is actually backing up or restoring the original ROM.
What is it that I'm either missing or don't understand about this process?
Thanks
If I understand the process, Acer Recovery will make backups of your recovery image. CWM does a full backup of ROM/kernel.
So, I'm not sure if I understand where you are restoring from.
If you restore through the Acer Recovery Installer, you should be just getting the old recovery image.
If you restore through the CWM menus after botting into recovery, then you are doing a full restore.
First.. it's not Acer recovery installer that's giving you the issue. The backup and restore are functions of clockworkmod.
The problem was that your flexrom did not get restored due to a bug that I demonstrated on thor's clockworkmod thread.
When doing a restore that restores data.img, it will also attempt to restore .android_secure.img and will fail, skipping flexrom which is supposed to follow. I bet you don't ever see the "Restore Successful" message after a full restore.
You need to either delete .android_secure.img from your backup set or restore flexrom separately.
Sent from my A500 using Tapatalk
PS. Clockworkmod does not backup anything from /data/media
Sent from my A500 using Tapatalk
So how to do a full backup of the image and restore if not from cwm.
Euclid's Brother said:
You need to either delete .android_secure.img from your backup set or restore flexrom separately.
Click to expand...
Click to collapse
Thanks Euclid,
Sorry about the confusion in the thread title. I thought Acer Recovery Installer had several functions: backup and restore recovery images and load CWM recovery to do the actual backup and recovery. Since I thought it did both, I assumed it was O.K. to use Acer Recovery Installer generically.
I did another restore to check what was done:
Fixing a500 Boot/recovery Checksums...
Running itsmagic
Done
Checking MD5 sums...
Erasing boot before restore
Restoring Boot Image
Restoring System
Restoring Data
Done
Screen refreshed to "Reboot Now".
As you said no "Restore Complete" message.
I wonder how many people including myself, assumed that the restore had completed successfully when they got the "done" message?
Both fixes worked well. I hope this helps someone else.
Below is the text from within CWM Recovery when .android_secure.img was deleted from the backup folder and a restore was run:
Fixing a500 Boot/recovery Checksums...
Running itsmagic
Done!
Checking MD5 sums...
Erasing boot before restore
Restoring Boot Image
Restoring System
Restoring Data
.android_secure.img not found, Skipping restore of /sdcard/.android_secure.
Restoring cache
Restoring flextrom
Restore Complete!
Restored my original stock ROM. So nice of it to ask me to update to a newer version immediately after the restore!
I did have one problem. I tried deleting .android_secure.img while rooted, using ES File Explorer with the Root Explorer and Mount File System options selected. I could never see the file on my external SD in the clockworkmod/backup
folder, so I pulled the card and manuall deleted it from my PC. I'm curios as to why this happened, but it didn't affect the result.
It was just as easy using backup and restore/advanced restore/your restore folder/ - Restore flexrom from within CWM Recovery.
I've read hundreds of post, in I don't know how many threads, sticky's included and never saw the advice about deleting .android_secure.img, manually restoring flexrom or even checking to make sure that you got "Restore Complete" I wish these things were part of an updated guide.
Lesson learned,
Thanks again
Just wondering, is there anyone working on a new recovery which will complete backups and restores without additional deletions, etc.?
bug was in thors post
The bug was mentioned.but I don't think there was much discussion about it.I don't think Thor acknowledged or tried ti fix.
With that said I could be incorrect. I however even with the bug think its a awesome tool.don't. Consider this as complaint.
Its like on page 3 or 4of the Thor recovery thread if im not mistaken
The blonde chic erica Renee
Yeah we need something reliable when restoring from backup. I tried once, cwm sees it but can't do the restore so I gave up even though I had all my apps backed up so did all one by one.
Sent from my SPH-D700 using XDA App

TWRP v2.3.2.3 Failed to Backup?

Hi
When I attempt to make a backup using TWRP v2.3.2.3 from Matt's 1.20 Utility I get this message:
"[BACKUP STARTED]
* Backup Folder: /external_sd/TWRP/
E: Unable to locate sd-ext partition.
Updating partition details..."
It finishes almost instantly and under the white text "Backup Complete" at the top of the screen it displays in red Failed.
I have 100% battery charge
Stock 4.1.2 with out the latest OTA
I already made one successful backup right after installing TWRP v2.3.2.3 on my phone from Matt's Utility the other day.
Phone is Rooted utilizing Matt's Utility
Bootloader is unlocked (Matt's Utility)
Under Settings I have checked Force MD5 check on all zips. and Enable MD5 verification on backup files.
Under Mount Menu all but Mount System are checked.
I am attempting to save the backup to my External SD. But it also fails when I try the internal storage
I don't know if this is a major issue but my time zone doesn't select the proper time.
Under the Advanced tab I selected Fix Permissions and it still fails.
I haven't messed with much else because I'm not sure what they will do. ADB Sideload, Reload Theme etc,...
I find this extremely odd. I have used Hash-code's Safestrap 3.12 for nearly a year with flawless performance always made a back up when I needed it to. when I unlocked my bootloader i was under the impression that TWRP was way better than SS, but here I am having problems the second attempt at making a backup?
Does it only save one backup at a time?
Is there a setting that I need to adjust?
Do I need to update/Upgrade to a new version?
Is there a version of Safestrap users like me with an unlocked bootloader?
Why cant it find the ext partition the TWRP folder is there and even tho it fails it places an empty folder in the proper location with the name I gave to my failed backup?
My SD card is partitioned for use with Link2SD. But that was never an issue with SS or the first TWRP backup I made the other day.
I have plenty of space (42 GB) on my external. so that shouldn't be the issue.
I'm starting to miss Safestrap. But I really want this to work. Help please. Thank you.
SARM1084 said:
Hi
When I attempt to make a backup using TWRP v2.3.2.3 from Matt's 1.20 Utility I get this message:
"[BACKUP STARTED]
* Backup Folder: /external_sd/TWRP/
E: Unable to locate sd-ext partition.
Updating partition details..."
It finishes almost instantly and under the white text "Backup Complete" at the top of the screen it displays in red Failed.
I have 100% battery charge
Stock 4.1.2 with out the latest OTA
I already made one successful backup right after installing TWRP v2.3.2.3 on my phone from Matt's Utility the other day.
Phone is Rooted utilizing Matt's Utility
Bootloader is unlocked (Matt's Utility)
Under Settings I have checked Force MD5 check on all zips. and Enable MD5 verification on backup files.
Under Mount Menu all but Mount System are checked.
I am attempting to save the backup to my External SD. But it also fails when I try the internal storage
I don't know if this is a major issue but my time zone doesn't select the proper time.
Under the Advanced tab I selected Fix Permissions and it still fails.
I haven't messed with much else because I'm not sure what they will do. ADB Sideload, Reload Theme etc,...
I find this extremely odd. I have used Hash-code's Safestrap 3.12 for nearly a year with flawless performance always made a back up when I needed it to. when I unlocked my bootloader i was under the impression that TWRP was way better than SS, but here I am having problems the second attempt at making a backup?
Does it only save one backup at a time?
Is there a setting that I need to adjust?
Do I need to update/Upgrade to a new version?
Is there a version of Safestrap users like me with an unlocked bootloader?
Why cant it find the ext partition the TWRP folder is there and even tho it fails it places an empty folder in the proper location with the name I gave to my failed backup?
My SD card is partitioned for use with Link2SD. But that was never an issue with SS or the first TWRP backup I made the other day.
I have plenty of space (42 GB) on my external. so that shouldn't be the issue.
I'm starting to miss Safestrap. But I really want this to work. Help please. Thank you.
Click to expand...
Click to collapse
first, I would recommend to uninstall SS via the app (not using the OS manage apps interface). secondly, I almost always mount system prior to making a backup - not sure if that makes a difference or not. thirdly, I have gotten the "failed" message before - and that usually happens when I have 3+ backups and/or running out of room on my external SD card. typically, I will delete one of the backups, and then it will back up. also, the process takes about 20 minutes, so I usually plug in my phone during this time (sometimes when the phone is plugged in, it performs better).
another issue could be that you are using 2.3.2.3 with the latest OTA - you mean the latest TWRP version. however, that said, I'm still using 2.3.2.3
hope this helps.
jco23 said:
first, I would recommend to uninstall SS via the app (not using the OS manage apps interface). secondly, I almost always mount system prior to making a backup - not sure if that makes a difference or not. thirdly, I have gotten the "failed" message before - and that usually happens when I have 3+ backups and/or running out of room on my external SD card. typically, I will delete one of the backups, and then it will back up. also, the process takes about 20 minutes, so I usually plug in my phone during this time (sometimes when the phone is plugged in, it performs better).
another issue could be that you are using 2.3.2.3 with the latest OTA - you mean the latest TWRP version. however, that said, I'm still using 2.3.2.3
hope this helps.
Click to expand...
Click to collapse
jco23
Thanks for the help brother. I appreciate it. But I found the answer on an older post on another forum. What corrected my issue was going to settings and pressing restore defaults. That's it! lol but after that it worked like a charm. thanks again.
respectfully:victory:

TWRP 2.6.0 restore data

Ladies and gentlemen,
Recently, whilst flashing a new ROM, I had an issue. I tried to restore a backup that I created with TWRP 2.6.0 with the same version. I got to the "Restore data" stage in the logs, and it failed.
I have two data.ext4 files in my TWRP backup folder: the first is data.ext4.win000 and data.ext4.win001. I'm thinking this is the issue.
I have already flashed a ROM and booted, so I am out of the woods. Just wanted to know if anyone has had any success with split data files in a TWRP recovery.
Thanks for your time.
richardpunch said:
Ladies and gentlemen,
Recently, whilst flashing a new ROM, I had an issue. I tried to restore a backup that I created with TWRP 2.6.0 with the same version. I got to the "Restore data" stage in the logs, and it failed.
I have two data.ext4 files in my TWRP backup folder: the first is data.ext4.win000 and data.ext4.win001. I'm thinking this is the issue.
I have already flashed a ROM and booted, so I am out of the woods. Just wanted to know if anyone has had any success with split data files in a TWRP recovery.
Thanks for your time.
Click to expand...
Click to collapse
Look for TWRP-Recovery-jfltespr-2.5.0.2 seems to be the most reliable for backup and restores right now.
The 'splitting of the EXT/data is NOT the problem. That's the way twrp is compressing the images.
Also there are some ROMs that have partition problems with certain kernels, so take note of that.
I make a crap load of nandroids and switch back and forth pretty often. 2.5.0.2 has been the most reliable for me.
Once more thing I do is verify the nadroid via the AFV app. I boot to recovery, create backup (always of every partition) then boot to ROM and run the AFV app on the backup and make sure it verifies. Then I'll boot back to recovery and wipe/format and flash away according to the dev's instructions.
Leader,
Thanks for such an informative write up. I will check into rolling back to a different twrp build. It's an unpleasant solution, but if it works I'll have to bite the bullet.
Thanks again!
-Mobile post

[solved]can not restore after efs corruption (online nandroid/twrp)

hi !
i ran into a problem and i couldn´t find a working fix(if any) by myself, hope the community can help.
i had an issue with corrupted efs. i was able to restore efs from an older backup i made with twrp - phone is working again.
i then restored my latest backup which is made with the online nandroid backup app.
it restores but all my apps, settings - everything beside custom boot animation is gone.
when i open the backup in the nandroid backup manager manager, i am able to restore apps manually, so they are present in this backup.
in twrp, normally it says "backup completed". this does not happen, at the end of the process the ui resets(teamwin splashscreen showing) but no error is shown.
already wiped, flashed stock rom and twrp again with odin.
thanks for helping
A.N.Droid said:
hi !
i ran into a problem and i couldn´t find a working fix(if any) by myself, hope the community can help.
i had an issue with corrupted efs. i was able to restore efs from an older backup i made with twrp - phone is working again.
i then restored my latest backup which is made with the online nandroid backup app.
it restores but all my apps, settings - everything beside custom boot animation is gone.
when i open the backup in the nandroid backup manager manager, i am able to restore apps manually, so they are present in this backup.
in twrp, normally it says "backup completed". this does not happen, at the end of the process the ui resets(teamwin splashscreen showing) but no error is shown.
already wiped, flashed stock rom and twrp again with odin.
thanks for helping
Click to expand...
Click to collapse
Which variant do you have?
donalgodon said:
Which variant do you have?
Click to expand...
Click to collapse
it´s the international 9005, snapdragon.
i use x-note 6.0 rom.
problem solved.
it didn´t have anything to do with the efs corruption.
all online nandroid backups i made were faulty.
tried several things to make it work.
seems like reinstalling busybox finally fixed it.

Categories

Resources