Help with CWM restore - Nexus 4 Q&A, Help & Troubleshooting

I flashed a file and I'm trying do a nandroid backup but every time i tried i get this
.android_secure.img not found skipping restore of /sdcard/.android_secure.
Restoring cache.
Complete
Whats going on and can it be fixed?
Sent from my Nexus 4 using xda app-developers app

Raul69.atl said:
I flashed a file and I'm trying do a nandroid backup but every time i tried i get this
.android_secure.img not found skipping restore of /sdcard/.android_secure.
Restoring cache.
Complete
Whats going on and can it be fixed?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
It looks like you're trying to do a restore, not a backup. CWM goes through several items to try and restore. If one of those items isn't there, in this case .android_secure, it is skipped. What's the problem? Does the rest of the restore not work? The only other thing in there is the cache. There should also be system, data, boot, etc.

Related

[Q] Incomplete TWRP Restore

Hello,
I have a Nexus 10 (manta) tablet and made a full nandroid backup 10 days ago of the stock+root Android installation. I did that so I would be able to revert back to it if need be after trying out CM 10.1. I found that CM still required some refinement for manta so I wiped the system, did a factory reset and wiped the dalvic cache, then tried restoring the previous backup I made, of the stock system. The backup folder is 2.46GB big and the /data partition is split between two archives. When restoring, the system partition and first data archive seem to backup properly, but after that, the tablet reboots, omitting the second data archive which is pertinent for me to restore all of my apps.
I've installed the latest TWRP, version 2.4.0.0 just in case there was a bug.
How can I fix this and get my tablet back to normal?
Thanks XDA,
Spike
Note: My tablet isn't bricked, I can still boot to the stock rom after doing the incomplete restore but my apps are incomplete.
Edit: I've just updated TWRP to 2.4.1.0 and get a little farther this time. It begins restoring the second /data archive but still reboots during the process.
I'm currently having this issue. Did you ever get it resolved?
Sent from my Nexus 7 using xda app-developers app
I had the same problem, posted a day ago or so about it, but I used this http://forum.xda-developers.com/showthread.php?t=2121673 and now everything is all good. I just flashed the super wipe zip and then restored and it did NOT reboot during the restore.
Sent from my Nexus 10 using xda app-developers app
I had this problem as well. It was really pissing me off, I think it happens when you have a large backup. Anyways, I just kept trying it, and on the third time it worked for me. Maybe I just got lucky. When restoring it wipes everything anyways, but you can try wiping data, system, and cache beforehand and see if it helps.
Sent from my SCH-I535 using Tapatalk 2
My backups are 10GB+ each(I basically make full images to restore to for each ROM) and I never had this issue in the dozens of restores I've done. I always factory reset, wipe cache/dalvik, and then format system(wipe ROM) in that order before restoring the image. In a worst case scenario you can factory image the tablet if the restore fails after the stock ROM has been wiped.
Also you said two archives? My backups are just 1 folder with the 5 partitions and 5 md5 files?
I had this issue as well, after trying to restore from checking out the Ubuntu preview. Ended up giving up on it and enjoying as best I can the clean install. Would still like to restore it if possible though.
I was "finally" able to do a full restore of a backup. I had to break up the restore process though. First I restored system and boot. Once that restored I restored data and was able to get a full data restore as well.
Sent from my Nexus 7 using xda app-developers app

[Q] Need Clarifications

Hi Guys!
Unlocked, flashed TWRP and rooted phone via twrp su for the first time in my life. Next move is installing custom PA rom. After browsing xda and other sites for many days to learn how to do it, basically, its just doing it in trwp recovery mode the factory reset, clearing cache and clearing delvic cache, then install rom and gapps then clear again then you are done. Is this right?
now, about factory reset, clearing cache and delvic cache in twrp, when you do this, does it in anyway delete or removes any data or setting in my phone just like when doing it in factory reset in the "Backup & Reset" in "settings" or just like what happens when you unlock/lock your phone? Or it does not really "erase anything"? Coz I do not know if I should backup first and if I must back up, I do not know which to backup or if I should have to make a full backup? Because I might not have to do backups after all for flashing PA custom rom and save time and internal space. If clearing caches and factory reset in TWRP doesnt really delete or mess up anything in android mode then I will go ahead now and install the custom PA ROM. so I need your advice before I proceed.
About flashing back stock recovery, I DL the stock 4.2.2 rom from google dev. do I just flash recovery using this file or is there another specific stock recover file to DL and flash into the phone just like what I did when I flashed TWRP which I was able to DL from goo.im?
Hope you could help me with these clarifications. I did try to search and learn from different threads about this but I not 100% sure I understood it correctly. So I made this thread to make sure of facts and clarify these things.
Hope you could enlighten me. Thanks!
Isn`t this clear enough!
Quoted from PA OP:
INSTRUCTIONS,
1. UPDATE RECOVERY
2. FACTORY RESET
3. INSTALL ROM, GAPPS, FIX-IF ANY
4. WIPE CACHE & DALVIK CACHE
5. REBOOT
PA 3+ UPDATES DO NOT NEED A FACTORY RESET,
BUT YOU NEED TO INSTALL GAPPS ASWELL.
gee2012 said:
Isn`t this clear enough!
Quoted from PA OP:
INSTRUCTIONS,
1. UPDATE RECOVERY
2. FACTORY RESET
3. INSTALL ROM, GAPPS, FIX-IF ANY
4. WIPE CACHE & DALVIK CACHE
5. REBOOT
PA 3+ UPDATES DO NOT NEED A FACTORY RESET,
BUT YOU NEED TO INSTALL GAPPS ASWELL.
Click to expand...
Click to collapse
I think you misundestood me. I am aware already of how to do it but I was just hoping on some clarifications as I have mentioned in my concerns.
now, about factory reset, clearing cache and delvic cache in twrp, when you do this, does it in anyway delete or removes any data or setting in my phone just like when doing it in factory reset in the "Backup & Reset" in "settings" or just like what happens when you unlock/lock your phone? Or it does not really "erase anything"? Coz I do not know if I should backup first and if I must back up, I do not know which to backup or if I should have to make a full backup? Because I might not have to do backups after all for flashing PA custom rom and save time and internal space. If clearing caches and factory reset in TWRP doesnt really delete or mess up anything in android mode then I will go ahead now and install the custom PA ROM. so I need your advice before I proceed.
Click to expand...
Click to collapse
I hope you would be considerate enough that I have no experience yet on this and I did some browsing and learning thru the guides and threads here in xda and other forums which is why I know the proceedure. I was only clarifying some things this matter that I have quoted now.
also, if someone would be kind enough to lead me to a link where I could find a stock recovery img. the only latest I have found is not JDQ39.
Thanks
Perform a backup of your current ROM first as this will be replaced by paranoid and all app data will be lost when factory resetting.
I don't know where all the need to wipe caches comes from.
Wiping cache and dalvik cache will not erase any of your data
Factory reset will erase all user data (apps, app data, signed in accounts, phone contacts (Google contacts will be downloaded again when you sign into your Google account during setup of new ROM) and SMS messages etc.
Here is the process I usually follow.
Place new ROM & gapps on phone storage
Reboot into twrp
Perform a backup of my working ROM
Factory reset from main page in twrp (the one that says it won't touch your sdcard)
Flash ROM &gapps
Reboot
Once fully setup. Move my old backup from phone storage to pc
Sent from my Nexus 4 using xda app-developers app
Alex240188 said:
Perform a backup of your current ROM first as this will be replaced by paranoid and all app data will be lost when factory resetting.
I don't know where all the need to wipe caches comes from.
Wiping cache and dalvik cache will not erase any of your data
Factory reset will erase all user data (apps, app data, signed in accounts, phone contacts (Google contacts will be downloaded again when you sign into your Google account during setup of new ROM) and SMS messages etc.
Here is the process I usually follow.
Place new ROM & gapps on phone storage
Reboot into twrp
Perform a backup of my working ROM
Factory reset from main page in twrp (the one that says it won't touch your sdcard)
Flash ROM &gapps
Reboot
Once fully setup. Move my old backup from phone storage to pc
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thank you very much for the reply! So in making a backup, i could use the backup feature of twrp and this is enough and would make a FULL backup? Meaning all data, app, settings, vault app and files inside vault and go back into its original state as if nothing happened? Or i am wrong? Should i be making or using another backup method aside from the backup feature of the twrp?
Sent from my Nexus 4 using xda premium
The twrp backup is in essence creating a custom ROM of your phone. Exactly the way it currently is. Including all apps & their data.
If you flash a different ROM and decide you don't like it.
Restore the twrp backup and you will be right back as you was before flashing the custom rom.
If you factory reset (erasing all your data) then restore the backup. It will restore all your data etc...
It's just like a save game. If you mess up. Just reload from there
Note it's not the ultimate tool. If you mess with partitions that are not included in the backup then you might have problems. But for the average user just flashing custom roms . it will backup everything you need
Sent from my Nexus 4 using xda app-developers app
Alex240188 said:
The twrp backup is in essence creating a custom ROM of your phone. Exactly the way it currently is. Including all apps & their data.
If you flash a different ROM and decide you don't like it.
Restore the twrp backup and you will be right back as you was before flashing the custom rom.
If you factory reset (erasing all your data) then restore the backup. It will restore all your data etc...
It's just like a save game. If you mess up. Just reload from there
Note it's not the ultimate tool. If you mess with partitions that are not included in the backup then you might have problems. But for the average user just flashing custom roms . it will backup everything you need
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thanks again for the reply. Now another clarification. So when you say the twrp back is just like making a rom of its current status or like a saved game and if i did not want the new rom then i could revert back to this backed up rom. So does it mean that if i install PA rom then restore the backup from twrp, will it overwrite the PA rom and go back to my original rom that i have backed up or will it only restore the apps and settings, etc.?
Also about this twrp backup, will it also backup and return to old state when restored certain apps like notepad and the notes i have saved in this app. The same goes to the vault app and all the files i have hidden in this app, will it back it up as well and will be restored?
Thanks for your patience..
Sent from my Nexus 4 using xda premium
vinz_bangiz said:
Thanks again for the reply. Now another clarification. So when you say the twrp back is just like making a rom of its current status or like a saved game and if i did not want the new rom then i could revert back to this backed up rom. So does it mean that if i install PA rom then restore the backup from twrp, will it overwrite the PA rom and go back to my original rom that i have backed up or will it only restore the apps and settings, etc.?
Also about this twrp backup, will it also backup and return to old state when restored certain apps like notepad and the notes i have saved in this app. The same goes to the vault app and all the files i have hidden in this app, will it back it up as well and will be restored?
Thanks for your patience..
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Correct. It will revert the entire ROM back to what it was.
Basically how your device is when you backup. Is how it will be when you restore.
All app preferences and settings. All apps. Widgets everything.
The only thing it doesn't alter is what's on your internal storage
And a point to note.
If you make changes to contacts or have received texts after the backup. It will revert them if you restore back to what they were when you backed up.
It is just like turning back the clock on your phone. Putting everything back to the point you backed up except files you have put on to the internal storage
Sent from my Nexus 4 using xda app-developers app
I think you are saying that you will want to restore data on PA. You can backup/restore data with titanium backup or carbon.
Sent from my Nexus 7 using Tapatalk HD
Whoops yes didn't read fully. You get no choice with a twrp backup. It's just the full lot that gets restored. If you want specific apps to be restored onto a new ROM you need to make backups of them using something like titanium backup on your current ROM. Then restore them on your new ROM.
You can use app like SMS backup and restore for taking your SMS history into a new rom
Sent from my Nexus 4 using xda app-developers app
Thanks guys for the replies. Yes, what i exactly wanted was to install PA but be able to restore all data, apps nd settings back to what it was except that now it would be running under PA rom. If this is the case then titanium back up is what i am looking for? With titanium, is there a specific setting or option that i shld select or just press backup button? Sorry, its my first time to use titanium. Also, does the backup of the titanium also covers my notes on my "note everything" app as well as the files that i hid in my "vault" backup? Or should i make a separate backup using the apps on backup feature? And in the case of the "vault" app, should i unhide them first, backup with titanium then after restore just hide them again?
Im really appreciating the help..
Sent from my Nexus 4 using xda premium
bump..
Sent from my Nexus 4 using xda premium
vinz_bangiz said:
Hi Guys!
Unlocked, flashed TWRP and rooted phone via twrp su for the first time in my life. Next move is installing custom PA rom. After browsing xda and other sites for many days to learn how to do it, basically, its just doing it in trwp recovery mode the factory reset, clearing cache and clearing delvic cache, then install rom and gapps then clear again then you are done. Is this right?
now, about factory reset, clearing cache and delvic cache in twrp, when you do this, does it in anyway delete or removes any data or setting in my phone just like when doing it in factory reset in the "Backup & Reset" in "settings" or just like what happens when you unlock/lock your phone? Or it does not really "erase anything"? Coz I do not know if I should backup first and if I must back up, I do not know which to backup or if I should have to make a full backup? Because I might not have to do backups after all for flashing PA custom rom and save time and internal space. If clearing caches and factory reset in TWRP doesnt really delete or mess up anything in android mode then I will go ahead now and install the custom PA ROM. so I need your advice before I proceed.
About flashing back stock recovery, I DL the stock 4.2.2 rom from google dev. do I just flash recovery using this file or is there another specific stock recover file to DL and flash into the phone just like what I did when I flashed TWRP which I was able to DL from goo.im?
Hope you could help me with these clarifications. I did try to search and learn from different threads about this but I not 100% sure I understood it correctly. So I made this thread to make sure of facts and clarify these things.
Hope you could enlighten me. Thanks!
Click to expand...
Click to collapse
Sent from my PC36100 using xda app-developers app
---------- Post added at 07:50 AM ---------- Previous post was at 07:48 AM ----------
hondafreak513 said:
Sent from my PC36100 using xda app-developers app
Click to expand...
Click to collapse
atqAtwood
Vcl
Sent from my PC36100 using xda app-developers app
vinz_bangiz said:
Thanks guys for the replies. Yes, what i exactly wanted was to install PA but be able to restore all data, apps nd settings back to what it was except that now it would be running under PA rom. If this is the case then titanium back up is what i am looking for? With titanium, is there a specific setting or option that i shld select or just press backup button? Sorry, its my first time to use titanium. Also, does the backup of the titanium also covers my notes on my "note everything" app as well as the files that i hid in my "vault" backup? Or should i make a separate backup using the apps on backup feature? And in the case of the "vault" app, should i unhide them first, backup with titanium then after restore just hide them again?
Im really appreciating the help..
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I'm not really sure how either of those apps work, but I'm guessing your notes will be fine. You might have to do some experimenting with the vault app. You should do a TWRP backup in addition to Titanium. In Titanium Backup, you just press the batch button in top right corner and "backup all user apps/data" or whatever it says.
As far as system settings go, they should be restored if you choose that option after logging into your Google account (only during initial setup).
Sent from my Nexus 7 using Tapatalk HD
Side note: In order for batch processing to work within Titanium, you must purchase the Pro key. Otherwise, you will have to backup and restore each app individually.
Sent from my Nexus 4 using Tapatalk 4 Beta
Great! Thanks for clearing these things for me.
Sent from my Nexus 4 using xda premium
fernandezhjr said:
Side note: In order for batch processing to work within Titanium, you must purchase the Pro key. Otherwise, you will have to backup and restore each app individually.
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
It still does batch, but it's a pain...

How do you respite your Apps and settings after installing a new ROM?

I have read that when installing a new ROM you should boot into recovery and wipe data & factory reset, wipe the cach partition and dalvik cache.
As this wipes all your Apps and settings, how do those of you who regularly do this replace all your Apps and settings?
I have also read that it is not wise to restore the using backups from a different ROM so does that mean going back to Google Store?
Sent from my GT-I9505 using xda app-developers app
Read this for what to wipe. http://forum.xda-developers.com/showpost.php?p=43785399&postcount=7
Also check out APK Batch Installer.
jcodde said:
I have read that when installing a new ROM you should boot into recovery and wipe data & factory reset, wipe the cach partition and dalvik cache.
As this wipes all your Apps and settings, how do those of you who regularly do this replace all your Apps and settings?
I have also read that it is not wise to restore the using backups from a different ROM so does that mean going back to Google Store?
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
Titanium Backup is your friend. Introduce yourself to it on the Play store and enjoy the goodness!
Sent from your phone. You should be careful where you leave that thing.
jcodde said:
I have read that when installing a new ROM you should boot into recovery and wipe data & factory reset, wipe the cach partition and dalvik cache.
As this wipes all your Apps and settings, how do those of you who regularly do this replace all your Apps and settings?
I have also read that it is not wise to restore the using backups from a different ROM so does that mean going back to Google Store?
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
I use Titanium Backup and Backup all my Apps+data with it. So After installing a New rom i just restore everything back including call logs,SMS

Restore data partition

Can I restore data partition from my current stock Rom to the yet to be installed CM10.2?? IF not suggest a restore method.
Sent from my rooted Nexus 4 using xda app-developers app
harsh.ea said:
Can I restore data partition from my current stock Rom to the yet to be installed CM10.2?? IF not suggest a restore method.
Sent from my rooted Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Titanium Backup.
Restoring the data partition could cause ROM problems, like FCs, and stuff that doesn't worn properly.

[Urgent] Unstable after flashing ROM update, nandroid restore doesn't fix it

I was on CM12 nightly, and it was working fine. I decided to flash the latest update, but before I did I performed a nandroid backup. Right after rebooting after flashing, I kept getting errors about Timely has stopped working, or Google Play Services has stopped working. In short, the phone was unusable.
So I restored my nandroid backup, and the first thing I got was that Nova Launcher has stopped working. I couldn't get it to launch into my home screen. I went with Trebuchet, and opened WhatsApp, and it says that the messages have been corrupted.
What is happening?
It's urgent because I'm flying off soon.
Did u change the kernel of your phone? Did u wipe dalvik cache and cache after installation?
Sent from my SM-N9005 using Tapatalk
kurpen said:
Did u change the kernel of your phone? Did u wipe dalvik cache and cache after installation?
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
I think it's related to this: when restoring the nandroid backup, it never gets to completion. Instead, somewhere around 2/3 through, it shuts off and reboots into recovery. So the restore isn't complete.
I'm thinking of switching my custom recovery to TWRP. I'm currently on CWM-based Recovery v6.0.4.7 Compiled by Xiaolu. Do I just download the new recovery in .zip and flash it as per normal?
It might just show it's 2/3 but in fact finish it anyways however I am not sure about this ;/ try to wipe everything (dalvik, cache, data) and then restore your backup. If that doesn't help do the wipes again and this time wipe system partition as well.
Sent from my SM-N9005 using Tapatalk
kurpen said:
It might just show it's 2/3 but in fact finish it anyways however I am not sure about this ;/ try to wipe everything (dalvik, cache, data) and then restore your backup. If that doesn't help do the wipes again and this time wipe system partition as well.
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
I think the backup is faulty. I tried using PhilZ recovery to restore, and the /data and /system restores were incomplete (I know because it says Done: 600/700MB). Now it's unbootable. I'm gonna try using Chenglu to restore, then get it partially working, then use TiBa to backup all my apps before clean-flashing the latest ROM.
Let me know what the outcome is
Sent from my SM-N9005 using Tapatalk
kurpen said:
Let me know what the outcome is
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Ended up reflashing Chenglu's recovery to restore the nandroid backup, went in to backup everything with Titanium Backup, then flashed the latest ROM (wiped everything) and set up everything from scratch
Have moved on to Philz recovery now.
fterh said:
Ended up reflashing Chenglu's recovery to restore the nandroid backup, went in to backup everything with Titanium Backup, then flashed the latest ROM (wiped everything) and set up everything from scratch
Have moved on to Philz recovery now.
Click to expand...
Click to collapse
Hey, but u got it working I hope you're not gonna need to do it again
Cheers
Sent from my SM-N9005 using Tapatalk

Categories

Resources