Backup phone settings and customizations in TWRP - General Questions and Answers

I'm on a custom rom for redmi note 7 pro.
The rom has got great options with tons of settings to tweaks to every element.
I keep fiddling with my phone/rom by doing something or other.
What I want to know is can I simply take backup of the precious settings I had made to various elements of the phones using TWRP and restore it back after a full re-flash of the rom instead of again going through the pain of customizing/manually doing every tiny setting?

nri_tech1183 said:
I'm on a custom rom for redmi note 7 pro.
The rom has got great options with tons of settings to tweaks to every element.
I keep fiddling with my phone/rom by doing something or other.
What I want to know is can I simply take backup of the precious settings I had made to various elements of the phones using TWRP and restore it back after a full re-flash of the rom instead of again going through the pain of customizing/manually doing every tiny setting?
Click to expand...
Click to collapse
Typically, trying to backup system data and system settings in one ROM then restore them in a new ROM doesn't work. ROMs don't like system data from other ROMs because it creates conflicts due to the ROMs not having the same setups or the same set of system settings, one ROM might have settings that the other doesn't, which is where the conflicts come from.
If the ROM you are flashing is an update to a ROM that you already have installed(i.e. if you have LOS 9.0 from March installed but you want to flash the newest build of LOS 9.0) you don't necessarily need to make a backup of your settings or restore them after flashing the new ROM. You can just flash the new ROM update without factory resetting and without wiping cache and dalvik, this is called a "dirty flash". Everything will be the same as it was after you flash the updated ROM.
This doesn't work if you are going from stock to LOS though, or from LOS 9.0 to Resurrection Remix, for example. It only works if the ROM you are flashing is a newer or older version of your ROM than the version you already have. In other words, you can flash LOS over LOS or Resurrection Remix over Resurrection Remix without wiping, but not LOS over Resurrection Remix or Resurrection Remix over LOS. In these scenarios, you will have to wipe, then flash the new ROM and manually set everything back up the way you want it.
Sent from my SM-S767VL using Tapatalk

Droidriven said:
Typically, trying to backup system data and system settings in one ROM then restore them in a new ROM doesn't work. ROMs don't like system data from other ROMs because it creates conflicts due to the ROMs not having the same setups or the same set of system settings, one ROM might have settings that the other doesn't, which is where the conflicts come from.
If the ROM you are flashing is an update to a ROM that you already have installed(i.e. if you have LOS 9.0 from March installed but you want to flash the newest build of LOS 9.0) you don't necessarily need to make a backup of your settings or restore them after flashing the new ROM. You can just flash the new ROM update without factory resetting and without wiping cache and dalvik, this is called a "dirty flash". Everything will be the same as it was after you flash the updated ROM.
This doesn't work if you are going from stock to LOS though, or from LOS 9.0 to Resurrection Remix, for example. It only works if the ROM you are flashing is a newer or older version of your ROM than the version you already have. In other words, you can flash LOS over LOS or Resurrection Remix over Resurrection Remix without wiping, but not LOS over Resurrection Remix or Resurrection Remix over LOS. In these scenarios, you will have to wipe, then flash the new ROM and manually set everything back up the way you want it.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
One hell of an explanation!
I know Nandroid backups aren't cross compatible due to the obvious nature or various roms.
I will be just doing nandroid backup for system data and system settings just for one rom and will restore the same on same rom if anything goes messy.

nri_tech1183 said:
One hell of an explanation!
I know Nandroid backups aren't cross compatible due to the obvious nature or various roms.
I will be just doing nandroid backup for system data and system settings just for one rom and will restore the same on same rom if anything goes messy.
Click to expand...
Click to collapse
Yes, that should work.
Sent from my SM-S767VL using Tapatalk

nri_tech1183 said:
One hell of an explanation!
I know Nandroid backups aren't cross compatible due to the obvious nature or various roms.
I will be just doing nandroid backup for system data and system settings just for one rom and will restore the same on same rom if anything goes messy.
Click to expand...
Click to collapse
It doesn't just apply to nandroid backups. What I posted is true even when using something like Titanium Backup or even adb backup, nothing system related can be backed up then restored in an OS that is different. Only user data and user related stuff can be backed up and restored across ROMs, but even that doesn't work 100% of the time.
Sent from my SM-S767VL using Tapatalk

Related

[Q] Question about updating ROMs

Hello,
I recently installed custom Jellywiz rom on my Verizon S3.
My question is if I have new custom rom versions or if I want to switch to a different rom, do I always have to go back to stock firmware and then install the custom rom or can I directly flash over my existing custom rom ?
tomalrocks said:
Hello,
I recently installed custom Jellywiz rom on my Verizon S3.
My question is if I have new custom rom versions or if I want to switch to a different rom, do I always have to go back to stock firmware and then install the custom rom or can I directly flash over my existing custom rom ?
Click to expand...
Click to collapse
New custom rom versions: Unless otherwise stated by the developer you can go ahead and just dirty flash right on top of the current one, but if you experience issues then i'd wipe data and cache and do a clean install.
Switching to a different rom: ALWAYS do a clean install (wipe data, and cache), i can't urge how important that is, while you may not have any issues whatsoever, you definitely could encounter issues because each developer may have different changes, and you don't want stuff to mix and match.
Neverendingxsin said:
New custom rom versions: Unless otherwise stated by the developer you can go ahead and just dirty flash right on top of the current one, but if you experience issues then i'd wipe data and cache and do a clean install.
Switching to a different rom: ALWAYS do a clean install (wipe data, and cache), i can't urge how important that is, while you may not have any issues whatsoever, you definitely could encounter issues because each developer may have different changes, and you don't want stuff to mix and match.
Click to expand...
Click to collapse
Thanks. So just flashing over existing rom after wiping data and cache will work. Will do that. I do not want to go back to stock rom always as that is time consuming.
tomalrocks said:
Thanks. So just flashing over existing rom after wiping data and cache will work. Will do that. I do not want to go back to stock rom always as that is time consuming.
Click to expand...
Click to collapse
Yeah this is fine. The way I've always done it. Also in clockwork, go to advanced >wipe dalvic
Neverendingxsin said:
New custom rom versions: Unless otherwise stated by the developer you can go ahead and just dirty flash right on top of the current one, but if you experience issues then i'd wipe data and cache and do a clean install.
Switching to a different rom: ALWAYS do a clean install (wipe data, and cache), i can't urge how important that is, while you may not have any issues whatsoever, you definitely could encounter issues because each developer may have different changes, and you don't want stuff to mix and match.
Click to expand...
Click to collapse
aypeeootrek said:
Yeah this is fine. The way I've always done it. Also in clockwork, go to advanced >wipe dalvic
Click to expand...
Click to collapse
Thanks :good:
Do you know whether I am use CWMod recovery to flash stock roms or do i need to use ODIN for that?
tomalrocks said:
Thanks :good:
Do you know whether I am use CWMod recovery to flash stock roms or do i need to use ODIN for that?
Click to expand...
Click to collapse
You can flash stock roms in CWM, but be careful if they don't include a kernel. If you go from AOSP to Stock, you might get a boot loop unless you also flash a stock compatible kernel, and vice versa. Boot loop is easily recoverable of course, but it will scare new users
thnx123
yhnk you for
Zalithian said:
You can flash stock roms in CWM, but be careful if they don't include a kernel. If you go from AOSP to Stock, you might get a boot loop unless you also flash a stock compatible kernel, and vice versa. Boot loop is easily recoverable of course, but it will scare new users
Click to expand...
Click to collapse
hehehe I already got that scare after flashing new rom and it was taking a long time to boot during first boot.
Thanks anyways

Pac-Man 4.2.2 Rom Question?

Hi, I am currently running stock TouchWiz 4.1.2 ROM, using CWM Recovery, I tried to install the Pac-Man Rom, but after phone rebooted it kept hanging on the PAC-MAN image with the ghosts, phone hung there for a bit, tried to reboot "removed the battery", went back to CWM Recovery, reflashed the Pac-Pam ROM and latest gaps, rebooted phone and the same thing happened,at some point it wiped out my CWM recovery, so I got fed up and reinstalled the TouchWiz factory 4.1.2 image using ODIN, had to reload all my apps and what not.
I want to give this one more try, but do not want to go through all this trouble again. I did a casche wipe and devlick cache wipe, but no data/factory wipe "heard people had success with a dirty flash routine", do I need to do a factory/data wipe for this to work.
I am not new to flashing, but have not flashed a non stock ROM yet, kind of leary after the PAC-Man fiasco, by the way what do you guys think of Cynogenmod or AOKP. Do I have to wipe all my data every time I try a new ROM. Is there a stock, pure android JB 4.2.2 ROM out there. Thanks again.
You have to wipe data/factory reset before flashing. Two different bases. One heavily nodded framework to stock(ish) won't work. Also, if you use something like titanium backup, you don't have to worry about losing things as much.
Sent from my SCH-I535 using Tapatalk 2
tylerlawhon said:
You have to wipe data/factory reset before flashing. Two different bases. One heavily nodded framework to stock(ish) won't work. Also, if you use something like titanium backup, you don't have to worry about losing things as much.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
So you are saying I can not flash this ROM do to it beign a 4.2.2 fro stock 4.1.2. So what ROM should I try before trying PAC-Man, I love PAC-Man
cybertec69 said:
So you are saying I can not flash this ROM do to it beign a 4.2.2 fro stock 4.1.2. So what ROM should I try before trying PAC-Man, I love PAC-Man
Click to expand...
Click to collapse
He is saying do not dirty flash ROMs you MUST do a factory reset as none of these ROMs are the same. By dirty flashing you are flashing one ROM over another which is a boneheaded move as you are likely to be stuck on the bootloader. The ONLY time you should dirty flash is when you are flashing a newer version of the same ROM.
jmxc23 said:
He is saying do not dirty flash ROMs you MUST do a factory reset as none of these ROMs are the same. By dirty flashing you are flashing one ROM over another which is a boneheaded move as you are likely to be stuck on the bootloader. The ONLY time you should dirty flash is when you are flashing a newer version of the same ROM.
Click to expand...
Click to collapse
Thank you sir, don't be angry at me, by the way it is much appreciated.
Basically. Don't dirty flash an aosp ROM over a touchwiz and vice versa
Sent from my SCH-I535 using Tapatalk 2
---------- Post added at 10:24 PM ---------- Previous post was at 10:23 PM ----------
Also don't dirty flash if the Android version is different.
Sent from my SCH-I535 using Tapatalk 2
My advice is to do a clean flash every time, and also a full backup. Here's what I do -
- backup all apps using your choice of app - I use MyBackup, there's also Titanium, Rom Toolbox and many others
- backup all sms, call logs
- backup launcher settings
- nandroid backup
- factory reset, wipe system/boot
- make sure you don't wipe internal or external sd card
- update to latest radio or rpm if needed
- flash rom
- flash kernel if needed
- flash gapps
- setup new rom, don't let google restore apps
- install your backup app and launcher
- restore apps, sms, calls etc
- restore launcher and android system
once you get comfortable with this procedure it doesn't take long. And it guarantees a clean phone with the latest apps and new rom with no issues.
ECrispy said:
My advice is to do a clean flash every time, and also a full backup. Here's what I do -
- backup all apps using your choice of app - I use MyBackup, there's also Titanium, Rom Toolbox and many others
- backup all sms, call logs
- backup launcher settings
- nandroid backup
- factory reset, wipe system/boot
- make sure you don't wipe internal or external sd card
- update to latest radio or rpm if needed
- flash rom
- flash kernel if needed
- flash gapps
- setup new rom, don't let google restore apps
- install your backup app and launcher
- restore apps, sms, calls etc
- restore launcher and android system
once you get comfortable with this procedure it doesn't take long. And it guarantees a clean phone with the latest apps and new rom with no issues.
Click to expand...
Click to collapse
Ok everything went fine, installed the Pac-Man ROM 4.2.2. seems much smoother and faster, my first question is how do I enable car mode where all my text messages are spoken out when received, including phone calls, my other question is now my screen is more cluttered by the on screen buttons at the bottom, the back home and systems button. The full clean wipe did help, thanks again.
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator

[Q] Flashing a new Rom help

If i clean flash a new Rom but restore the data part from a backup i did earlier from another rom from recovery will it work? Im using TWRP recovery.
ive always had mixed results on this. if youre going from a TW ROM to an AOSP or AOKP rom, likely not. If you use TiB and backup your apps and their respective data, and restore them via the same method, that 99.9999% of the time works

freezing issues. how to change rom without losing data

Hi, i am currently using syberia os latest version and is facing a lot of freezing issues. I have several multi authentication apps which is needed for official purposes and cant do a complete wipe of data! How can i install a new rom on top of it? Will a dirty flash of another custom rom will help it? What should be wiped inorder to avoid losing of apps/data of them mainly data inside MFA apps?
Adil22jaleel said:
Hi, i am currently using syberia os latest version and is facing a lot of freezing issues. I have several multi authentication apps which is needed for official purposes and cant do a complete wipe of data! How can i install a new rom on top of it? Will a dirty flash of another custom rom will help it? What should be wiped inorder to avoid losing of apps/data of them mainly data inside MFA apps?
Click to expand...
Click to collapse
Can't you just backup your mfa? They usually have export options. If not, maybe apps like titanium backup.
Even dirty flashing on top of working roms is discouraged. Dirty flashing on top of a broken rom will probably leave you with a still broken rom

Lineage Os update

If i got Lineage Os 15.1 installed on phone, can i update to 18.1 without reset using adb, or full wipe is
necessary?
klucik47 said:
If i got Lineage Os 15.1 installed on phone, can i update to 18.1 without reset using adb, or full wipe is
necessary?
Click to expand...
Click to collapse
Not sure, it depends on what kind of changes were made between 15.1 and 18.1 and exactly what kind if wipe you are referring to. Data wipe? Or system wipe?
Technically, when flashing an update of the exact same ROM that you already have, wipes should not be neccessary, you should be able to "dirty flash" the new ROM. But, that is not always the case, sometimes there are major changes to android from one version to the next which requires wiping before you flash the update to remove any conflicting data that would interfere with the update. When flashing a different ROM than the one you have(for example, when coming from stock to Lineage or when coming from Lineage to Revolution Remix, etc...), wipes are always necessary.
Boot into TWRP and use the Backup option to create a nandroid backup. Then try flashing 18.1 without doing any kind of wipes, then boot into the new system. If it doesn't work correctly, you probably need to wipe the system oartition before you flash the updated ROM. Boot back into TWRP and restore the backup that you made to return to where you started then flash the updated ROM and do the wipes this time.

Categories

Resources