CM10 / CWM : error while restoring /sdcard/.android_secure - Defy Q&A, Help & Troubleshooting

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

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] Titanium Backup Question

Say for example, I have Angry Birds installed in my 'phone' (internal). Since it's too big, I decided to use App2SD to move it to microSD. Then afterwards I decided to upgrade to the latest nightly. In order to keep my apps, I used titanium backup. I have my backup directory located somewhere at the eMMC. If I continue on and flashed the latest nightly, wiping Dalvik Cache + Data + System/Data/Cache, and reinstalled Titanium Backup, if I restore my apps, will they be restored in the same directories? Like some at the internal and some at the microSD?
No, it goes into internal, so you might run out of space and not fully restore, suggest that you restore the biggest files/culprits and move them to the sd, then batch restore the smaller ones.
if you're using a cm7 rom you may want to check this out......
Im running s2e on my htc aria. it works great. loving it
s2e: for cm7 roms only.
https://market.android.com/details?id=ru.krikun.s2e&feature=search_result
or: not sure if it would work on other phones.
http://forum.xda-developers.com/showthread.php?t=790786
You can choose where to restore actually (in the newer versions)
Prefs> Restoration Settings > Restore Backup To:
Looks like the only gotcha's are it only applies to Android 2.2 and up.

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

How to restore apps only from CWM backup

So what happened was I was dumb enough to try and flash a theme on a non-deodexed stock rom. I got boot looped.
What I did was I made a back up with CWM. My SD card didnt have enough space though so I got an error message with regards to having an error with android secure. What I did was copy the incomplete CWM backup, and the .androidsecure folder in my sd card.
My question is, can I make/edit the zip file so I can restore via CWM all my apps? Not the whole rom (cuz its broken) - just the apps.
glennlevi said:
So what happened was I was dumb enough to try and flash a theme on a non-deodexed stock rom. I got boot looped.
What I did was I made a back up with CWM. My SD card didnt have enough space though so I got an error message with regards to having an error with android secure. What I did was copy the incomplete CWM backup, and the .androidsecure folder in my sd card.
My question is, can I make/edit the zip file so I can restore via CWM all my apps? Not the whole rom (cuz its broken) - just the apps.
Click to expand...
Click to collapse
You have two options friend-
:thumbup: One is-Go to CWM then choose Backup and Restore option and you will find there a option named Advanced Restore.select it and you can see your backed up rom.then select it and you will see more options; to restore the apps only,select the Restore Data option from there. well.... you have done to flash the apps not whole rom.
If not works....
:thumbup:Another is-Extract your backed up rom's data folder archive and then go to- /data/apps/****.And install the apk files of your backed up rom from here...
Give me a thanks if I have a bit success to helping you....
Sent from my GT-S6102 using Xparent BlueTapatalk 2
TECHNO_THUNDER said:
You have two options friend-
:thumbup: One is-Go to CWM then choose Backup and Restore option and you will find there a option named Advanced Restore.select it and you can see your backed up rom.then select it and you will see more options; to restore the apps only,select the Restore Data option from there. well.... you have done to flash the apps not whole rom.
If not works....
:thumbup:Another is-Extract your backed up rom's data folder archive and then go to- /data/apps/****.And install the apk files of your backed up rom from here...
Give me a thanks if I have a bit success to helping you....
Sent from my GT-S6102 using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
My backup was corrupted since I didnt have enough space in my SD card. So that didnt work. As for extracting the data, the app folder only includes apk's of apps which are saved in internal memory. I'll just redownload my apps. I still hit thanks for your effort to help.

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

Categories

Resources