[Q] Unsuccessful Nandroid Backup Eats Up Memory Space - Nexus 4 Q&A, Help & Troubleshooting

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.

Related

HERO gone nutso... (NANDROID useless?)

I'm kinda pissed, I'm running Modaco 1.1 but already had WaveSecure when I installed the rom. I tried to remove WaveSecure via App Manager and after, my phone started showing no wireless connection so I soft reset.
On restart, I had about 20 Force Closes, and still no signal. Time for Nandroid Restore right? Wrong...
Did a Nandroid Restore, and the same thing happened. Still getting Force Closes, still no wireless signal. Apps that weren't on my phone at the time of the Nandroid Backup, are still on. So what is Nandroid actually for, because I thought it was a complete copy of your phone, and would return it to the time I made the backup?
I guess my only option now is to completely wipe my phone and start over....?
So I am currently working on integrating apps2sd in to my rom (fresh rom) because users who currently have apps2sd on their phones via modaco are receiving errors during install.
I have been working with apps2sd and getting it in my rom for 8 hours now and personally I have come to dislike it. It is a wonderful amazing idea and will be great once it's supported by google or HTC.
But think of it this way... apps2sd stores all apps on your SD card. nandroid doesn't backup your sd card or do anything with it. We have all come to rely on nandroid but if you need to restore because an app you installed broke something and that app is installed on your sd... nandroid isn't going to remove it.
Something to think about before everyone starts using apps2sd...
flipzmode said:
We have all come to rely on nandroid but if you need to restore because an app you installed broke something and that app is installed on your sd... nandroid isn't going to remove it.
Click to expand...
Click to collapse
I thought about this, but I thought that just because the app is installed on the SD card, doesn't mean the info to find it on the SD is on the phone.
But, if this is the problem, just make a backup of your SD at the same time as each Nandroid, and you can revert each time together.
Just realized... maybe just wipe the ext portion of the SD card, where all the app2sd is, and it will rewrite itself on reboot, just like when installed the rom? or is it the rom that writes the apps over to sd?
jirafabo said:
Just realized... maybe just wipe the ext portion of the SD card, where all the app2sd is, and it will rewrite itself on reboot, just like when installed the rom? or is it the rom that writes the apps over to sd?
Click to expand...
Click to collapse
What I do is I nandroid restore to the backup I made of the stock rom, then go into the recovery, wipe the ext partition, then install what custom rom I want.
I did a clean/wipe from the recovery image, and it left the modaco rom on there. Thought this would've returned the phone to the original rom, but guess not.
Sounds like your ext2 partition got hosed. Effectively your /data/app got wiped. You need to replace them somehow. Downloading and installing the apps from the market might be worth a shot, that might save your data and stuff.

[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] Nandroid backup gives me error for /data everytime

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.)

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] Help a (desperate) newbie (how to back-up rom)

Hello all,
Firstly, please bear with me if my question seems simple... I have flashed a couple of roms without problems, have recovered a bricked mobile and have generally messed around without too many disasters - unless you count the many hours spent setting-up my mobile after re-flashing... and this is the point... I will give a background and then questions will follow...
background:
I have finally found the rom for me (Albe 95 v2 btw - highly recommended, the guy did a truly grand job) and since I reckon that sooner or later I will become "restless" again and want to re-flash or mess around, I would like to make a back-up of my complete system... not app-by-app but do the backup in such a way that I get a single .zip file at the end of it all, and no matter how badly I might mess things up further down the road I can always return to my current status with in a flash (sorry for the poor pun)...
should be easy, right? well I've tried following some simple steps with clockwork mod (basically trying some of the functions in the backup directory, where there is an option that says something that amounts to "make a zip") and just now for the second time I've had a failure... after seemingly working and copying files for some 5-10 minutes it suddenly stops, says there was an error, and that's it... time to exit cwm and reboot... and that's when the real problems begin...
upon exiting CWM, i get a weird message (something about maybe losing root, and having to fix it before exiting)... after exiting (I selected the option to "fix it" btw) upon reboot the mobile works fine (rooted and all) except one detail - the sim card doesn't receive signal anymore... this happened just the same way first time round and I want to know what I´m doing wrong.. I did read some guides about making a backup and they seem easy enough when I read them, but then this happens...
so question #1 - can somebody point me to a newbie-friendly, step-by-step, idiot-proof guide for how to reach my holy grail in the form of a zip file?
...all this brings me to question #2:
after installing the new rom, there is some 3Gb left of memory... after a day or so of using, theres about 700mb left... I formatted the SD card and wanted clockworkmod to backup directly onto the sd_card... is there an option for this? there is simply no way I will ever be able to free up space on the internal memory alone...
question #3 - where does all that space disappear??? and speaking of space disappearing, after clockworkmod did its partial backup, the internal storage was reduced from some 700mb to under 300... now even if the phone is strictly speaking working, I cannot so much as update an application, or download a new one... unfortunately this is where my ignorance shows, as I understand that the internal storage is split in two sections, but I have no idea how (if?) I can access the "main" one, where CWM is presumably writing its files and which I guess by now is chock-full... what can I do here? where does CWM hide its backups (and yes, I´ve searched around and read somewhere that its supposed to be in a directory such as Data/Media/clockworckmod, but I cannot find it... and I can see the hidden files...
in fact, out of 9Gb of internal storage, the directories & fiels I can see amount to a pitiful 1,3Gb, and yet if I check space available in system settings I get 300 Gb!!! that means I have a good 7,4 Gb of storage unaccounted for! that's not even considering that total space of internal card is 9gb, not the 16gb that it should be... in other words, I can account for almost exactly 10% of my internal storage... what the hell????? either my internal memory is made of dark matter or I need a charitable colleague on this board to explain to me what is going on... or maybe suggest a link that you learned from back in the day when you were a newbie...
that's it... for now... sorry for the extremely long post, but I am frustrated, as I have to flash this bugger, again...
Thank you in advance for any help, info, and advice...
P.
1. Not in a zip file. The backup feature in ClockworkMod and all other custom recoveries is what we call a nandroid backup. They generally are backed up and restored using the appropriate functions, and not via a flashable zip file.
2. On the Galaxy S4, the internal storage is labeled "sdcard0". Thus ClockworkMod apparently thinks it's a MicroSD card. Looking at another device running a current version of CWM, it doesn't appear that you can select the location. If you want to be sure the backup is made on the MicroSD card, change your recovery to TWRP 2.8.4.0. You can select where the backup goes on that recovery.
3. You likely made multiple backups with ClockworkMod. An odd thing, at least the the copy of ClockworkMod on my tablet, is that if you delete backups, the space itself is still allocated to the backups that no longer exist. To free up this space, in the backup and restore menu is an option to "free unused backup data". Horribly misnamed, if you select this option you should see your space return. In addition, keep in mind that Android stores hidden files and folders on the internal storage. If you download large games, you may find yourself running out of space as the game stores parts of itself on the internal storage in a hidden directory.
Once you get your space back, switch your recovery to TWRP so you can select the MicroSD card.
Thanks for your answer strephon.... but now i need to understand the next steps and to avoid a re-re-reinstall, i would like to ask what version of TWRP should i use?
I have Rashr to help me get this recovery app but i have a list of options to choos from and none seems correct...
if i run Phone Info, it tells me the following:
- device type: jflte
- Product name: kltexx
...but on rashr none of the TWRP versions seem applicable... the closest would be jfltexx (ver 2.8.5.0 )... there is also a ver 2.8.4.0 but also in this case only for jfltexx... is this what i'm after?
Please note that CWM and Philz both have jflte versions... maybe i should try Philz? Does it let me do nandroid backup on my Sd card?
Again, thanks in advance
You probably will have better luck using the TWRP Manager app, but the version you want is 2.8.4.0, for jfltexx. Philz is a derivative of ClockworkMod, but I don't know if it has the same limitations.
Thank you man... got twrp and ran the backup. Looks like just what i was after...
Much obliged ?
...now that i've managed to get the backup done i would like to make sure about one point :
This will work if i mess install a new rom and for whatever reason i want to revert to my backed up rom... but what if i brick my mobile?
Thats happened to me before and i downloaded a rom which I flashed using Odin and with the phone in download mode... is there a way i can merge these files in a zip (or whatever format )that i can then flash with Odin?
If you brick and need Odin, you won't be able to use these files in it. However, if you have to install a ROM via Odin, you can afterward install the recovery and restore from the nandroid backup. The backup would then restore the S4 back to the state it was in when the backup was made.
...but is there no way of doing that in one step only? I mean just as someone prepared that rom to be flashed via odin can i not create one myself? There's gotta be a way. ...
platypus78 said:
...but is there no way of doing that in one step only? I mean just as someone prepared that rom to be flashed via odin can i not create one myself? There's gotta be a way. ...
Click to expand...
Click to collapse
What you want is not possible.
You won't brick your phone, it's almost impossible.
If a situation like you describe emerges, then just flash a custom recovery trough Odin and restore the backup.
Damn that sucks ?
But at least its cleared so thanks for that...

Categories

Resources