[Q] Restoring Backups question - Nexus 4 Q&A, Help & Troubleshooting

After making a nandroid backup before updating/switching ROM's, do you need to have the Rom's zip file in your phone in order to restore, or can it be deleted to save space?

Leave it until you see the ROM has no problem at all (sometimes re-flashing ROM fix some issues) after that, you can delete rom .zip but keep nandroid backup ofc.

You're awesome! Thank you kindly, that will definitely help in saving space
Sent from my Nexus 4 using xda app-developers app

Related

Flashing and data question

Hello quick question here If my phone is already rooted with stock rom and I flash CM on it will I lose my data?
JayMix said:
Hello quick question here If my phone is already rooted with stock rom and I flash CM on it will I lose my data?
Click to expand...
Click to collapse
Yes. to prevent any issues it is advised to wipe all data before flashing. One of the things you learn to deal with when flashing custom roms.
JayMix said:
Hello quick question here If my phone is already rooted with stock rom and I flash CM on it will I lose my data?
Click to expand...
Click to collapse
You'll want to wipe your data partition when you flash between ROMs. You can use Titanium Backup to backup your user apps before you flash CM (it might be a good idea to copy the TitaniumBackup folder off of your phone after you've made the backup if you aren't familiar with flashing or wiping, if you wipe the internal SD you're backups will be deleted!). Once you've flashed CM you can download Titanium Backup from the market and restore from your backup.
While you can backup/restore system apps as well you'll get weird results between ROMs (which usually results in wiping and starting over again anyway), so my advice is to only restore system apps/data when flashing the same ROM.
Your virtual SD card will not be wiped.
Sent from my Nexus 4 using Tapatalk 2
Thx very helpful.
Sent from my Nexus 4 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...

HELP!!! :'( Restore only apps and data from nandroid?

Hey guys!
So yesterday, I installed the app 'Android Control Center'. I messed around with a few settings and ended up in a bootloop. I do not have anything backed up in Titanium backup. So I made a nandroid backup in the hope that id be able to restore my apps out of that by using nandroid manager, but all of my app data were not extracted from the nandroid. So now im planning to restore the nandroid backup and use TWRPs file manager to remove that apk and its data. Are there any other things I should do to fix this problem? Will this work??
Guys, any help is appreciated!!!
Hardly believe that app can cause your system into bootloop... anyway, if you want to try.
Titanium Backup can restore apps from Nandroid backup, preferably CWM tar backup. However, this function is currently having issues with Android 4.3, so if you want to reflash the ROM, pick ROM with 4.2.2.
I believe TWRP backup should also works, but I haven't try it before. If you need to use TWRP, do it without compression & encryption.
IMO your problem can be a simple fix by remove the faulty app and reflash the ROM.
just reflash your rom via recovery, dont wipe, you wont lose any data
Alright thanks for the response. I copied my TWRP backup to my PC, extracted it and now I'm trying to copy the data folder from my TWRP backup to my ROM's data folder. Hopefully, this will work.
PS - I removed the app and i reflashed the rom but that didn't seem to fix the problem.
Sent from my Nexus 4 using Tapatalk 4

What is a nandroid backup and how does it differ from titanium backup?

I am new to this rooting world....I rooted my nexus 4 a week back using Nexus root toolkit v1.8.
I then flashed cm11 onto my phone.
I have TWRP recovery on my phone.
I want a full backup of my apps+data+ROM. How's this possible?? Which of these backups allow this..... And how to do these backups.
Also can anyone explain what a kernel is??
Titanium backup can only backup part of your data. Simply because apps can't access everything.
If you want a full backup, you should make a nandroid backup. Which is simply the name for a backup you do through your recovery. (TWRP in your case)
And the explanation of a kernel is really easy to find. So you'll have to use Google for that (I can't really think of a good explanation atm)
Sent from my Nexus 4, want to know my current project? Check http://team-fun.eu
How to perform a full nandroid backup using TWRP recovery??
Also can I do the nandroid backup directly to my PC
Sent from my Nexus 4 using xda app-developers app
sPaMFouR said:
How to perform a full nandroid backup using TWRP recovery??
Also can I do the nandroid backup directly to my PC
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Just use the backup toggle in twrp. And no, you can't backup direct to your pc. But afterwards you can copy the backup to your pc. It's good practice to have at least one recent backup there just in case something happens where you'll need it.
jd1639 said:
Just use the backup toggle in twrp. And no, you can't backup direct to your pc. But afterwards you can copy the backup to your pc. It's good practice to have at least one recent backup there just in case something happens where you'll need it.
Click to expand...
Click to collapse
Some More Question Regarding Backups :-
Backing Up Using The ROM Manager (By Clockwork Mod) also performs the Nandroid Backup ???
Also when I Restore My Nandroid Backup (Of ROM1) while i am using some other ROM(ROM 2) .....flash the device into the ROM 1 settings and all the systems settings+apps.???
sPaMFouR said:
Some More Question Regarding Backups :-
Backing Up Using The ROM Manager (By Clockwork Mod) also performs the Nandroid Backup ???
Also when I Restore My Nandroid Backup (Of ROM1) while i am using some other ROM(ROM 2) .....flash the device into the ROM 1 settings and all the systems settings+apps.???
Click to expand...
Click to collapse
First, don't use rom manager. You don't need it
A nandroid is like a copy of the entire os and all your apps and user settings. If your running rom2 and you restore rom1 all your settings of rom 2 will be forgotten and the ones you had in rom 1 when you backed it up will be restored.
sPaMFouR said:
Some More Question Regarding Backups :-
Backing Up Using The ROM Manager (By Clockwork Mod) also performs the Nandroid Backup ???
Also when I Restore My Nandroid Backup (Of ROM1) while i am using some other ROM(ROM 2) .....flash the device into the ROM 1 settings and all the systems settings+apps.???
Click to expand...
Click to collapse
yeah rom manager perform nandroid backup
sPaMFouR said:
I am new to this rooting world....I rooted my nexus 4 a week back using Nexus root toolkit v1.8.
I then flashed cm11 onto my phone.
I have TWRP recovery on my phone.
I want a full backup of my apps+data+ROM. How's this possible?? Which of these backups allow this..... And how to do these backups.
Also can anyone explain what a kernel is??
Click to expand...
Click to collapse
Although this is not really accurate, but this is as close as I can get to. Think of a phone like a car. The engine part which is essential to make your car runs is your kernel while the body, doors, sidemirrors and everything else are part of a rom. Kernel is in the deeper layer of the system.

TWRP missing backups

Went into recovery to install a backup ROM.. but none of my backups are listed...it's blank. Might have something to do with me renaming them? The latest backup did show until I renamed it.
Any advice to how to solve this issue?
* backups are present when looking through file explorer*
Sent from my LG-D800 using xda app-developers app

Categories

Resources