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...
I'm having a little trouble understanding nandroid vs. other forms of backup and would appreciate some clarification. I'm running CM nightly on my Fido (Canada) G4. I took a nandroid as well as titanium backup of the factory stock image before I flashed CM.
A poster in the last thread I made suggested if I wanted to restore to stock, I could simply restore the nandroid, but I've also seen people say you shouldn't use nandroid to go across ROMs. My understanding is that nandroid is like having a filesystem backup, which would obviously not react well if you restored it over a new operating system (e.g. two different versions of windows). Or is nandroid more like say Acronis, which takes an entire disk image and overwrites everything?
Other misc questions:
- If I do restore via nandroid, do I need to wipe all data / cache / system data before or after the restore?
- I assume I can use titanium to restore SMS + all non-system apps across ROMs, which would save a lot of time.
- If I'm going from one CM nightly to another, would titanium work for system apps (e.g. all my settings, or contacts, etc)
- If I want to flash a new CM nightly, do I need to follow the entire wipe procedure just as if it were going from one ROM to a completely different one?
Thanks!
always make a nandroid in recovery. i recommend keeping it on your micro sd card. in the event you need to return your device to it's previously functioning state, restore the nandroid in recovery. if you are running an aosp rom and your nandroid is touchwiz, wipe data, cache & dalvik before restoring the nandroid. if the backup is on your micro sd then feel free to wipe system as well.
if you want to flash a nightly or update to a rom you are currently running, simply wipe cache and dalvik then flash the update, gapps and any custom kernel that you may be running.
i cannot answer your titanium backup questions because i do not use that program
xBeerdroiDx said:
always make a nandroid in recovery. i recommend keeping it on your micro sd card. in the event you need to return your device to it's previously functioning state, restore the nandroid in recovery. if you are running an aosp rom and your nandroid is touchwiz, wipe data, cache & dalvik before restoring the nandroid. if the backup is on your micro sd then feel free to wipe system as well.
if you want to flash a nightly or update to a rom you are currently running, simply wipe cache and dalvik then flash the update, gapps and any custom kernel that you may be running.
i cannot answer your titanium backup questions because i do not use that program
Click to expand...
Click to collapse
yes, that's about what I have. ok, thank you for the clarification of what to wipe! that's good to know.
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
and thanks, I'll hold out hope that someone with titanium expertise will be able to answer that one
kabutar said:
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
Click to expand...
Click to collapse
yes, system/user data will remain. understand, however, that if you perform one of these dirty flashes and you have a problem with the functionality of the ROM, you'll need to do a full wipe and flash to see if this clears the issue before you report the problem in the development thread.
kabutar said:
yes, that's about what I have. ok, thank you for the clarification of what to wipe! that's good to know.
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
and thanks, I'll hold out hope that someone with titanium expertise will be able to answer that one
Click to expand...
Click to collapse
Your right on both titanium questions.. However its not recommended to restore system apps you backed up on a aokp/aosp ROM to a touchwiz ROM and the other way around... Other than that like I said your fine
Sent from my WANAM'ED AT&T S4
I was wondering if it is possible to delete parts of a nandroid backup? I basically only want the system, boot and recovery images and NOT the data (2.5 GB) and cache partitions. I know I can restore parts of a backup, but I just don't want them around and take up space?
The bottom line is that I would like to be able to restore a clean system img, and then use TB to restore apps and data. Now the data is back-upped in duplicate which is unnecessary?
Why not just flash the ROM then or am I missing something?
Sent from my Nexus 4
pepdavies said:
Why not just flash the ROM then or am I missing something?
Sent from my Nexus 4
Click to expand...
Click to collapse
I run the N4 stock Android rom. I don't think there is a version I can flash via CWM?
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
Hello everyone, I am a newbie in flashing ROM's rooting etc.
I am currently running on CM11 on my nexus 4 with android version 4.4.4 . I want to flash a CM11 based rom for my nexus 4 which is 4.4.2. Do I need to wipe data before flashing it?
ROM LINK THAT I AM GOING TO FLASH http://forum.xda-developers.com/nexus-4/development/rom-xl-z1-rom-v2-0-xperia-z1-style-t2630043
Thanks in advance!!
Make a nandroid backup of your current ROM and flash the new ROM after wiping cache, Dalvik, and system. If the phone bootloops, wipe the data in recovery. If the phone then boots, you know that some of the apps may not be compatible.
Thanks
balarishinoob said:
Thanks
Click to expand...
Click to collapse
Another option would be to use titanium back-up user apps, wipe data and then flash new rom. (definently shoul do an nandroid regardless)