[Q] Nandroid backup gives me error for /data everytime - Acer Iconia A500

I get an "error backing up /data" every time I try a full CWM backup. I want to do a full backup before I wipe for a new Rom. I know there's an error on one file, but I don't know where it is. Is there another way to backup the files on /data?

GaryLW said:
I get an "error backing up /data" every time I try a full CWM backup. I want to do a full backup before I wipe for a new Rom. I know there's an error on one file, but I don't know where it is. Is there another way to backup the files on /data?
Click to expand...
Click to collapse
Did you update to the newest recovery from Thor's site?
www.tegraowners.com

Yep!
I have the latest of Thor's, and have done a titanium backup for every thing else. But, I'm paranoid and want a backup before I wipe it completely.

GaryLW said:
I have the latest of Thor's, and have done a titanium backup for every thing else. But, I'm paranoid and want a backup before I wipe it completely.
Click to expand...
Click to collapse
I get the error on mine all the time. I just ignore it and haven't had an issue yet. (been too lazy to update my recovery, so wanted to see if it fixed the message)
Just stay with the 3 wipe method before you flash, and you will be ok Also, if you worry about leftover data, you can go to Mounts, and format them as well.
But, I typically do the 3 wipes.
Also, with Titanium, make sure you did not backup any system apps, then try and restore them to a new rom. Sure fire way to brick the device.
Generally it's useful for things like game data. The new market pretty much remembers most of the free apps you downloaded, and all of the paid apps.

I don't think I was quite clear in my original post. I need to backup the /data.img because I have a load of stuff I don't want to lose, and I don't know where everything is stored. Can anyone tell me what is stored (folders, etc.) in the data.img of a nandroid backup so I can maybe just copy it to my ext sd?
(I have a persistent adware/malware that I can't find/remove. My antivirus doesn't detect it. So I want to wipe it, and selectively restore apps without losing my data/media.)

Related

[Q] Using backups that I have created...

This is probably a really dumb question but how do I use the backups I've created?
When I flash a ROM that I don't like and I try to restore to an earlier backup I've created it is not working. It either says something about the MD5sum or just aborts in general...
What process do I take in order to restore the phone to an earlier backup?
And better yet, if I install a new ROM and don't want to go through the process of installing all my apps again is there a way to just restore my files from a backup?
You can do an advanced restore and restore only data to get your apps, etc. back. There is also titanium backup that is great for backing up and restoring between roms (the only way to restore apps when using a different rom... restore data from one rom onto another can cause serious issues).
If you're getting MD5 sum errors, the backups are being corrupted. So unless your messing with them on your sdcard, then there may be some bad areas on that sdcard and it might be time for a new one.
danaff37 said:
You can do an advanced restore and restore only data to get your apps, etc. back. There is also titanium backup that is great for backing up and restoring between roms (the only way to restore apps when using a different rom... restore data from one rom onto another can cause serious issues).
If you're getting MD5 sum errors, the backups are being corrupted. So unless your messing with them on your sdcard, then there may be some bad areas on that sdcard and it might be time for a new one.
Click to expand...
Click to collapse
Wait so in order to keep my apps I can go to advanced restore and restore only data but it could cause serious issues? So basically it is possible but risky?
and normally should my restore points flash just like a rom when I go to "Restore"? do I need to wipe everything before I restore?
I did copy and paste them onto my computer so I had them in two places... maybe that corrupted them. Anyways a new, bigger, faster SD card is in the mail so that's kind of a coincidence.
a restore in clockwork is an image restore, so everything in that partition will be wiped anyways.

[Q] Backup procedure so tedious? Whats your method?

Im not a noob user, but im not obsessed with changing ROMS daily. However when I want to try a new ROM I procrastinate because I find the whole process so tedious. I have TB Pro, and backup all apps and data, without the system data though. After flashing a new ROM, the setup of everything takes so long. Nova launcher, all my widget placements, options etc. And often times, Im missing data from an app.
With the N7 as well I gotta transfer all the mp3s as well because a full wipe clears everything out.
Is there an easier way? Am I missing something here? What is your procedure for a quick way to change a ROM.
Thanks for your time and input.
You're wasting a lot of time and effort by wiping your virtual sd card partition when changing roms. You don't need to wipe it and copy everything back again.
Keep your mp3s and titanium backups on the device, though no harm in making a local copy of your TitaniumBackup folder on PC or cloud for safekeeping.
When you change roms, a full wipe just needs a wipe of everything except the sdcard.
I've also use titanium backup pro. the batch backup and restore of user apps and data has never failed me, never lost any data. it's time consuming with a lot of apps, but at least you can select all and let it do its thing.
nova launcher should also have an option to create a local backup of all your home screen preferences and settings etc, don't know if it includes the widget layout, possibly some limitations there.
Titanium backup pro can make flashable zips of all your user apps and data, which you can simply flash after installing a rom, though i've never tried it, just used to batch restore within the app. you may have to reboot in between flashing this zip. guide will be out there somewhere. EDIT: found it, menu->batch actions, then scroll down, there's an option under 'Recovery'.
So procedure:
- Titanium backup of all user apps + data (create flashable zip)
- Nandroid backup (just in case!)
- Full wipe (not virtual sdcard partition)
- Flash Rom
- Reboot
- Boot back into recovery and flash the zip of your backups.
Yeh can be time consuming, but a lot is automated. Saves a lot more time than needlessly backing up all of your sd card partition, wiping and restoring it :good:
Give it a try next time, might try it myself.
eddiehk6 said:
You're wasting a lot of time and effort by wiping your virtual sd card partition when changing roms. You don't need to wipe it and copy everything back again.
Keep your mp3s and titanium backups on the device, though no harm in making a local copy of your TitaniumBackup folder on PC or cloud for safekeeping.
When you change roms, a full wipe just needs a wipe of everything except the sdcard.
I've also use titanium backup pro. the batch backup and restore of user apps and data has never failed me, never lost any data. it's time consuming with a lot of apps, but at least you can select all and let it do its thing.
nova launcher should also have an option to create a local backup of all your home screen preferences and settings etc, don't know if it includes the widget layout, possibly some limitations there.
Titanium backup pro can make flashable zips of all your user apps and data, which you can simply flash after installing a rom, though i've never tried it, just used to batch restore within the app. you may have to reboot in between flashing this zip. guide will be out there somewhere. EDIT: found it, menu->batch actions, then scroll down, there's an option under 'Recovery'.
So procedure:
- Titanium backup of all user apps + data (create flashable zip)
- Nandroid backup (just in case!)
- Full wipe (not virtual sdcard partition)
- Flash Rom
- Reboot
- Boot back into recovery and flash the zip of your backups.
Yeh can be time consuming, but a lot is automated. Saves a lot more time than needlessly backing up all of your sd card partition, wiping and restoring it :good:
Give it a try next time, might try it myself.
Click to expand...
Click to collapse
Thanks for the reply and detailed response. Just seems when I do the full wipe it wipes out the SD card on the N7 which is internal. Or perhaps its the flash of the ROM. Anyway, the standard wipe on TWRP is not supposed to include the internal storage. Ill try again listing your outline.
Thanks
Hightower68 said:
Im not a noob user, but im not obsessed with changing ROMS daily. However when I want to try a new ROM I procrastinate because I find the whole process so tedious. I have TB Pro, and backup all apps and data, without the system data though. After flashing a new ROM, the setup of everything takes so long. Nova launcher, all my widget placements, options etc. And often times, Im missing data from an app.
With the N7 as well I gotta transfer all the mp3s as well because a full wipe clears everything out.
Is there an easier way? Am I missing something here? What is your procedure for a quick way to change a ROM.
Thanks for your time and input.
Click to expand...
Click to collapse
You probably already know it but nova launcher has its own backup/restore feature,that sets up your widgets/desktop layout/etc. Although I get your point it can be a chore getting everything setup again, like wifi passwords, alarms and other settings.
What holds me back from flashing rooms on the n7, is having multi user set up, as I haven't found a way to backup/restore the other persons apps/settings/data which is a pain.
Sent from my HTC Sensation Z710e using xda app-developers app
Hightower68 said:
Thanks for the reply and detailed response. Just seems when I do the full wipe it wipes out the SD card on the N7 which is internal. Or perhaps its the flash of the ROM. Anyway, the standard wipe on TWRP is not supposed to include the internal storage. Ill try again listing your outline.
Thanks
Click to expand...
Click to collapse
Dont use the manual wipe data option. Just do factory reset from recovery. No need to do anything else to wipe
Sent from my Galaxy Nexus

CM10 / CWM : error while restoring /sdcard/.android_secure

Hi all,
My Defy green lens is on Quarx CM10 2013-03-18 ROM, I have an issue when I want to restore a nandroid backup.
CWM displays "error while restoring /sdcard/.android_secure" at the end of the process.
I have tried a lot of things to get rid of this but no luck :
- I tried to search on XDA forums, no luck. No appropriate answers...
- I googled it, no luck.
- when I try to do a "utimate full wipe", then flash again CM10, restore my data and make an nandroid backup, then, finally, when I want to restore my nandroid, it says "error while restoring /sdcard/.android_secure"
- I tried to format my sdcard, no luck after a new try of backup / restore.
- I tried to move all my app on the internal memory instead of the sdcard, then tried to do a new nandroid backup. Then again, I have the same message "error while restoring /sdcard/.android_secure".
I know there is more recent builds but I still use 2013-03-18 because, IMO, it's the last stable one.
If I do the same with CM7 ROM, I haven't this issue about android_secure !
Any ideas ?
@fpriot said:
Hi all,
My Defy green lens is on Quarx CM10 2013-03-18 ROM, I have an issue when I want to restore a nandroid backup.
CWM displays "error while restoring /sdcard/.android_secure" at the end of the process.
I have tried a lot of things to get rid of this but no luck :
- I tried to search on XDA forums, no luck. No appropriate answers...
- I googled it, no luck.
- when I try to do a "utimate full wipe", then flash again CM10, restore my data and make an nandroid backup, then, finally, when I want to restore my nandroid, it says "error while restoring /sdcard/.android_secure"
- I tried to format my sdcard, no luck after a new try of backup / restore.
- I tried to move all my app on the internal memory instead of the sdcard, then tried to do a new nandroid backup. Then again, I have the same message "error while restoring /sdcard/.android_secure".
I know there is more recent builds but I still use 2013-03-18 because, IMO, it's the last stable one.
If I do the same with CM7 ROM, I haven't this issue about android_secure !
Any ideas ?
Click to expand...
Click to collapse
I have never been able to restore .android_secure with any CWM version. I extract the backup into the folder.
hotdog125 said:
I have never been able to restore .android_secure with any CWM version. I extract the backup into the folder.
Click to expand...
Click to collapse
So, I just have to restore my Nandroid backup, ignore the error message, reboot and then, once booted on Android, extract android_secure from backup to sdcard android_secure folder ? That's all ? It works like this for you ?
Sent from my Defy MB525 green lens
@fpriot said:
So, I just have to restore my Nandroid backup, ignore the error message, reboot and then, once booted on Android, extract android_secure from backup to sdcard android_secure folder ? That's all ? It works like this for you ?
Sent from my Defy MB525 green lens
Click to expand...
Click to collapse
Yes, this works for me (And reboot after extraction). Make sure system and data are restored properly though.
error restoring .android_secure
Hi I understand this thread maybe dead but I recently restored a nandroid from a 4.1.2 ROM and .android_secure had an error, I have read the above posts about rebooting (ignoring the error message) but when I look in sdcard I already have a folder called .android_secure and on the extsdcard I also have a folder called .android_secure but this one is empty, the one on the sdcard has data on it.
Therefore, I have some apps on the phone as I should have, and others are simply not there or are highlighted as not being installed.
From the above posts you talk about taking the backup nandroid and finding '.android_secure folder' and placing it onto the sdcard under .android_secure folder name, but given I already have a folder and data there do I delete the one already there or is this simply the same info being overwritten?
I have also tried to install missing apps/data via TB but this freezes or at least it doesn't process the install.
I figured if I sorted out the .android_secure this moght allow the missing apps/data to be installed from a reboot, is this anyway right?
Also, I do believe the apps that had been moved to the extsdcard are the apps that I'm having issues with, but given I have a TB backup then what issues would be that prevents them from being installed from the TB backup aswell (or are they separate issues), as I said they stall/freeze on install from TB.
All I want it my apps/data back, I have the info on the phone for sure, just how to execute it that it isn't painfully slow or repetitive for me to do, gaining the apps/daa back.
Thanks in advance for any and all advice.
smash
solution
FLooDW said:
Hi all,
My Defy green lens is on Quarx CM10 2013-03-18 ROM, I have an issue when I want to restore a nandroid backup.
CWM displays "error while restoring /sdcard/.android_secure" at the end of the process.
I have tried a lot of things to get rid of this but no luck :
- I tried to search on XDA forums, no luck. No appropriate answers...
- I googled it, no luck.
- when I try to do a "utimate full wipe", then flash again CM10, restore my data and make an nandroid backup, then, finally, when I want to restore my nandroid, it says "error while restoring /sdcard/.android_secure"
- I tried to format my sdcard, no luck after a new try of backup / restore.
- I tried to move all my app on the internal memory instead of the sdcard, then tried to do a new nandroid backup. Then again, I have the same message "error while restoring /sdcard/.android_secure".
I know there is more recent builds but I still use 2013-03-18 because, IMO, it's the last stable one.
If I do the same with CM7 ROM, I haven't this issue about android_secure !
Any ideas ?
Click to expand...
Click to collapse
hello I got same problem.
on my account i find what cause the error
it was on the my sdcard which has no more space for .android_secure files
so i've freed up my sdcard so a 700 mb .android_secure files would fit

[Q] Unsuccessful Nandroid Backup Eats Up Memory Space

Hi everyone,
I have a situation here with my Nexus 4. I am running CWM Recovery 6.0.4.3 and AOKP nightly builds. I was using Stock ROM before AOKP. That time, before I upgraded I was trying to make a nandroid backup. I had around 7GB free space before performing the backup. Eventually the backup went wrong, it said "Error while backing up /data". I don't know what to do so I just reboot and re-run the backup process, but it still gave me the same error. I then boot into my phone and realized something... my free memory space has lessened to around 2GB only! I then decided not to make the backup and just flash my ROM to AOKP. I thought this will clear the problem, but it's not.
So, my question is, how to clear this used space? I checked in the nandroid backup folder and found absolutely nothing there, so it must be somewhere else... Any help would be appreciated! Thanks in advance
james.abcde said:
Hi everyone,
I have a situation here with my Nexus 4. I am running CWM Recovery 6.0.4.3 and AOKP nightly builds. I was using Stock ROM before AOKP. That time, before I upgraded I was trying to make a nandroid backup. I had around 7GB free space before performing the backup. Eventually the backup went wrong, it said "Error while backing up /data". I don't know what to do so I just reboot and re-run the backup process, but it still gave me the same error. I then boot into my phone and realized something... my free memory space has lessened to around 2GB only! I then decided not to make the backup and just flash my ROM to AOKP. I thought this will clear the problem, but it's not.
So, my question is, how to clear this used space? I checked in the nandroid backup folder and found absolutely nothing there, so it must be somewhere else... Any help would be appreciated! Thanks in advance
Click to expand...
Click to collapse
Just as you said, it must be somewhere. Check other folders or even the rood of the virtual SD card. If you still don't find anything you may have to factory reset the device and wipe the SD card partition. Before you jump the gun though, make sure (assuming you're using windows as your PC OS, show hidden folders.
Did you check of have a Clockworkmod folder? Each time you create a backup, it creates a new folder with a new time stamp.
Use a file manager to delete the unnecessary or aborted backups. The backup folder should be visible with having to use an app such as Root Explorer.

Backup, Unrooting and Restore

So i have a samsung s8 G950F Rooted running android 7.0, But im having lots of troubles, apps crashing etc etc, so i want to factory reset, unroot and then upate to 8.0 and then root again. so my questions are
1. what is the best method of backing up everything ? like apps positions, apps data, photos, videos, and contacts , so basically a full backup?
2. how to properly unroot My device?
3. how to restore my full backup?
any help is appreciated, thank you, i looked around, but all the posts are from 4-5 years ago, so id like to know the most recent and advanced way
Bump
ZainHikary said:
So i have a samsung s8 G950F Rooted running android 7.0, But im having lots of troubles, apps crashing etc etc, so i want to factory reset, unroot and then upate to 8.0 and then root again. so my questions are
1. what is the best method of backing up everything ? like apps positions, apps data, photos, videos, and contacts , so basically a full backup?
2. how to properly unroot My device?
3. how to restore my full backup?
any help is appreciated, thank you, i looked around, but all the posts are from 4-5 years ago, so id like to know the most recent and advanced way
Click to expand...
Click to collapse
Hello, i am gonna answer your questions one by one
1. by apps positions if you mean the apps on the screens of the android then they are gonna moved after format, even after restore your backup. second you are gonna need titanium backup from playstore. Since you have root download lucky patcher from your browser or from your pc and patch the titanium backup you just downloaded from PlayStore .. and then select backup your apps, i suggest you to backup the on a usb with the adapter from the box of your phone , or on a sd card, be carefull do not wipe them . the contacts you can go to the Contacts apps and on the settings back them up to your Sd Card or to your Usb Otg.. Unless if you have them moved on your Sim Card then no need to backup them
..
Your videos and your other personal data move them all from the internal storage to your Usb or to Sd card too ..
2. you dont need to unroot your device to update your device, which methods are you gonna use to upgrade your phone? firmware from odin ? You are gonna need to root your device after the update then .
3. if you use titanium backup then you are gonna find the restore option on the app . your personal data from your usb or sd you are need to move them on your internal storage , and restore the contacts.
Get titanium, backup needed apps on external sd. Instal twrp through odin, insall custom rom like alexega or sac (wipe system and data before or some roms already offer this options).
Later restore backups of needed apps through titanium. All files on sd card/s will remain after new rom installation (if you are unsure backup your media files to computer), just dont wipe media/internal sd. Forget about restoring full backup, if you have a lot of rubbish code flowing around you need get rid of it, just back up apps with data that are important. That's how you should do it.
Ps: Ideally everyone should format data once 3 months and restore backups of needed apps later, it's the only way to keep it in excellent working condition
Extreemator said:
Get titanium, backup needed apps on external sd. Instal twrp through odin, insall custom rom like alexega or sac (wipe system and data before or some roms already offer this options).
Later restore backups of needed apps through titanium. All files on sd card/s will remain after new rom installation (if you are unsure backup your media files to computer), just dont wipe media/internal sd. Forget about restoring full backup, if you have a lot of rubbish code flowing around you need get rid of it, just back up apps with data that are important. That's how you should do it.
Ps: Ideally everyone should format data once 3 months and restore backups of needed apps later, it's the only way to keep it in excellent working condition
Click to expand...
Click to collapse
probably you didnt read my post above.
StonebridgeGr said:
Hello, i am gonna answer your questions one by one
1. by apps positions if you mean the apps on the screens of the android then they are gonna moved after format, even after restore your backup. second you are gonna need titanium backup from playstore. Since you have root download lucky patcher from your browser or from your pc and patch the titanium backup you just downloaded from PlayStore .. and then select backup your apps, i suggest you to backup the on a usb with the adapter from the box of your phone , or on a sd card, be carefull do not wipe them . the contacts you can go to the Contacts apps and on the settings back them up to your Sd Card or to your Usb Otg.. Unless if you have them moved on your Sim Card then no need to backup them
..
Your videos and your other personal data move them all from the internal storage to your Usb or to Sd card too ..
2. you dont need to unroot your device to update your device, which methods are you gonna use to upgrade your phone? firmware from odin ? You are gonna need to root your device after the update then .
3. if you use titanium backup then you are gonna find the restore option on the app . your personal data from your usb or sd you are need to move them on your internal storage , and restore the contacts.
Click to expand...
Click to collapse
Thanks a lot worked like a charm
Extreemator said:
Get titanium, backup needed apps on external sd. Instal twrp through odin, insall custom rom like alexega or sac (wipe system and data before or some roms already offer this options).
Later restore backups of needed apps through titanium. All files on sd card/s will remain after new rom installation (if you are unsure backup your media files to computer), just dont wipe media/internal sd. Forget about restoring full backup, if you have a lot of rubbish code flowing around you need get rid of it, just back up apps with data that are important. That's how you should do it.
Ps: Ideally everyone should format data once 3 months and restore backups of needed apps later, it's the only way to keep it in excellent working condition
Click to expand...
Click to collapse
Thank you so much !!
Also while we are at it!
What's the difference between wipe and format
So I got the oem lock thing and i have to wait 7 days etc
So when I get the poem unlock I'll be rooting my device
But to install tarp and magisk I have to "wipe" data
What exactly will be wiped?
My pictures and videos or apps or what exactly so I know before rooting
ZainHikary said:
Also while we are at it!
What's the difference between wipe and format
So I got the oem lock thing and i have to wait 7 days etc
So when I get the poem unlock I'll be rooting my device
But to install tarp and magisk I have to "wipe" data
What exactly will be wiped?
My pictures and videos or apps or what exactly so I know before rooting
Click to expand...
Click to collapse
It's same but it very differnt. it's confusing. Format data in this case applies to full data wipe. While if you go to twrp wipe menu and choose to wipe data, it won't touch media (folder with all user files) folder in data. While format will erase all patrition and reformat it.
All will be deleted, since it's full data wipe with media. Just data wipe without media deletes just apps. You won't need to install magisk or su separately if you install custom rom like i mentioned.
Extreemator said:
It's same but it very differnt. it's confusing. Format data in this case applies to full data wipe. While if you go to twrp wipe menu and choose to wipe data, it won't touch media (folder with all user files) folder in data. While format will erase all patrition and reformat it.
All will be deleted, since it's full data wipe with media. Just data wipe without media deletes just apps. You won't need to install magisk or su separately if you install custom rom like i mentioned.
Click to expand...
Click to collapse
Well I ended up installing the official rom for oreo I'm waiting for oem unlock soon, I wanna install twrp and root using magisk, but one of the requirement is to "wipe" in this case it's just the apps? I'm gonna backup just in case anyway! But I want to make sure
All will be deleted no reason to make surerer. I hope you understood titanium part, although i recommend it only if you have important apps, with data that i use (i have only a few), otherwise throw them out.
Then after you installl, you can make full backup of data through twrp. I usually do it after a week i installed rom i choose, and if i install a lot of apps i no longer need, and overall android gets slower, i just restore this back up and always have os that is 1 week old without any setting up to do. After just a couple of apps i restore recent data to them with titanium. If you had this with phone it becomes problematic as you said, i suggest you to remember how to do it.

Categories

Resources