[Q] Need Clarifications - Nexus 4 Q&A, Help & Troubleshooting

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

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

Quick Backup Question

Just a quick question regarding a backup I created. I decided to back up on twrp only the system and boot partitions. I know that doesn't include my user apps and information but that is enough to allow me in the case of an emergency to restore a clean version of android correct?
Sent from my Nexus 4 using xda app-developers app
well, i think it might suffice but it is always good to have a toolbox and a factory rom with up to date set of gapps in case something goes wrong and need to go back to factory settings. if you dont have a pc at hand i would highly suggest to do a FULL nandroid backup, i know the storage maybe limited, but you'd rather be safe than sorry
tsmith9191 said:
Just a quick question regarding a backup I created. I decided to back up on twrp only the system and boot partitions. I know that doesn't include my user apps and information but that is enough to allow me in the case of an emergency to restore a clean version of android correct?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yes.
Just make sure to factory reset** and wipe cache before booting it.
** in principle you could "dirty restore" the backup without wiping the contents of /data (especially /data/media, of course) but this would only be advisable if it was an essentially identical ROM as what was previously installed. For instance if you: did the backup, made a mod in /system or the kernel image, and then your tablet wouldn't boot.

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

From 4.3 to 4.4 boot looped....

Hello all,
I learned this by trial and error and cost me data lost.
I received an ota to update to 4.4, my bad was that i was rooted and with custom recovery twrp 2.6.0.0. So, i pressed the update file from task bar and came into boot loop, to try to save my data, went to recovery and i created a backup to try to save my pictures, pdf, videos, etc. But it seems that it doesnt restore my files.
I have a big file of 3 gb and when i restore it, on camscanner, gallery, camera, there are not files in the system.
Anyone have had this issue before or can help me to recover my supposed data?
Sent from my Nexus 5 using xda app-developers app
Hi,
First of all, what did you do after you made your backup? Did you flashed it stock again? Please answer in a clear and detailed way what you did and I may try helping you .
~Lord
http://forum.xda-developers.com/showpost.php?p=48378855&postcount=7
Follow these to help restore if can reboot to recovery you can follow these and be able to re-apply the patches and be off and running.
XxLordxX said:
Hi,
First of all, what did you do after you made your backup? Did you flashed it stock again? Please answer in a clear and detailed way what you did and I may try helping you .
~Lord
Click to expand...
Click to collapse
Lord, after i created a backup with twrp 2.6.0.0 and it was looped at that time, i used wugs root kit to unsoft brick and flash the stock 4.4, i added a newer version of twrp and used my usb flash to restore the data and it restored applications but no pictures, media files even the important data, it shows on camscanner like it had my files there,,but when i click, there are not pdf, just broken images replaced with a puzzle icon on each image, i am very frustated because i thought that i made a proper data backup and it really did not
Sent from my Nexus 5 using xda app-developers app
planet_x69 said:
http://forum.xda-developers.com/showpost.php?p=48378855&postcount=7
Follow these to help restore if can reboot to recovery you can follow these and be able to re-apply the patches and be off and running.
Click to expand...
Click to collapse
Planet 69,
Crossing my fingers to recover my impotant data files, let me read your link
Sent from my Nexus 5 using xda app-developers app
rayosx said:
Lord, after i created a backup with twrp 2.6.0.0 and it was looped at that time, i used wugs root kit to unsoft brick and flash the stock 4.4, i added a newer version of twrp and used my usb flash to restore the data and it restored applications but no pictures, media files even the important data, it shows on camscanner like it had my files there,,but when i click, there are not pdf, just broken images replaced with a puzzle icon on each image, i am very frustated because i thought that i made a proper data backup and it really did not
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Hi,
I already understand what happened there, you made a TWRP backup of your data and put it in a USB flash, then you installed the Stock ROM with a toolkit right? If so, I have bad news... TWRP makes a backup of /data partition without the /data/media, which makes sense in a sort of way, as you're talking about using its Factory Reset, but when you install a Factory ROM, if you flash userdata.img (which is what the toolkit does too) it formats your whole internal data, including the /data/media. Which means that it deleted all your data there, if you check the storage in settings you'll probably see that there's much more free space than you had before.
I believe you misunderstood what a Recovery Backup is... Sorry... Next time I recommend performing a backup in your PC, which is more assured (remember that you get access to /data/media/ on PC, for /data/ you still need a recovery or an app like Titanium Backup).
~Lord
"Time is too short to cry, long enough to try." - March of Time (Helloween)
Sent from my KitKat Nexus 10
For future reference if you select Advanced under Create Recovery for TWIRP you can select and deselect partitions.
Lord and all crew thanks for all answers, I will be very careful next time. Thanks again.
Sent from my Nexus 5 using Tapatalk

Upgrading Roms, should I restore from titanium?

OK, I've been doing this for a while but was thinking this could be an issue. I usually SWP Roms pretty often, but lately have been just upgrading to the latest Purity ROM when available. Before I upgrade I do a full titanium back up with titanium pro. I factory reset my phone, install ROM, gapps, and custom kernel. I go through the normal Google setup and make sure titanium downloads as quickly as possible. Then I restore apps and system data from backup. I'm wondering if it actually defeats the purpose of the factory reset if I am restoring system data. Should I change my process?
Thanks
Sent from my Nexus 4 using xda app-developers app
Gjohnson7771 said:
OK, I've been doing this for a while but was thinking this could be an issue. I usually SWP Roms pretty often, but lately have been just upgrading to the latest Purity ROM when available. Before I upgrade I do a full titanium back up with titanium pro. I factory reset my phone, install ROM, gapps, and custom kernel. I go through the normal Google setup and make sure titanium downloads as quickly as possible. Then I restore apps and system data from backup. I'm wondering if it actually defeats the purpose of the factory reset if I am restoring system data. Should I change my process?
Thanks
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
If you are just upgrading/updating the rom that's already installed, normally it's ok to dirty flash. When I do that, I normally wipe the cache and dalvik via recovery then flash the new version. If the devs say not to dirty flash and to do a full wipe (not the sdcard), then I would go with what they say to do.
Sent from my Nexus 7 (2013)
Gjohnson7771 said:
OK, I've been doing this for a while but was thinking this could be an issue. I usually SWP Roms pretty often, but lately have been just upgrading to the latest Purity ROM when available. Before I upgrade I do a full titanium back up with titanium pro. I factory reset my phone, install ROM, gapps, and custom kernel. I go through the normal Google setup and make sure titanium downloads as quickly as possible. Then I restore apps and system data from backup. I'm wondering if it actually defeats the purpose of the factory reset if I am restoring system data. Should I change my process?
Thanks
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Titanium backs up the system apps. ( although I only backup the user apps ) And when u wipe everything from the recovery, you are basically wiping away the rom. So I dont think it 'defeats the purpose' .
Just some advice, I have run into problems with titanium restoring system apps and data, so I recommend u just backup the user apps. And if u are updating the rom, its ok to dirty flash ( flash without wiping data )
It recommended to only backup user data apps only as once you changed to other ROM, the system data app might cause issue.
When upgrading to a newer version of the same ROM, save yourself the time and just dirty flash. But do make the backups in case anything goes wrong. If you have issues after a dirty flash, just try a clean flash.
Sent from my Nexus 4

Categories

Resources