How to save all registered Gmail accounts in android? - General Questions and Answers

I have a galaxy S9 which I find perfect for what I do, everything.
But I usually reset the phone to install new custom ROMs and I have about 30 email registered in my Gmail app and in my phone. I need the most of then everytime I reinstall a Rom to my phone so adding them every time is annoying because I need to put email and password for each one.
Is there a solution to backup and restore them every time I install a rom? Is there a system file where they are stored?

Pierfranc said:
I have a galaxy S9 which I find perfect for what I do, everything.
But I usually reset the phone to install new custom ROMs and I have about 30 email registered in my Gmail app and in my phone. I need the most of then everytime I reinstall a Rom to my phone so adding them every time is annoying because I need to put email and password for each one.
Is there a solution to backup and restore them every time I install a rom? Is there a system file where they are stored?
Click to expand...
Click to collapse
ROMs don't play well with data that was created/restored from a different ROM. That won't work if you are flashing ROMs that are different from the one you have installed, but, it may or may not work when flashing updates of the ROM that you already have installed. For example, if you have a LineageOS ROM installed and then flash a RemixOS ROM, you can't restore data from LineageOS in the RemixOS ROM but if you have LineageOS 16 installed and then you flash an updated LineageOS 16 or a LineageOS 17, then you can restore data from LineageOS 16 in the updated LineageOS 16 or LineageOS 17.
It requires root and some form of app that can backup and restore system data and user data. Titanium Backup used to be what you would use but it is no longer supported, it doesn't work like it used to, you'll have to find an app similar to Titanium Backup.
Sent from my SM-S767VL using Tapatalk

Droidriven said:
ROMs don't play well with data that was created/restored from a different ROM. That won't work if you are flashing ROMs that are different from the one you have installed, but, it may or may not work when flashing updates of the ROM that you already have installed. For example, if you have a LineageOS ROM installed and then flash a RemixOS ROM, you can't restore data from LineageOS in the RemixOS ROM but if you have LineageOS 16 installed and then you flash an updated LineageOS 16 or a LineageOS 17, then you can restore data from LineageOS 16 in the updated LineageOS 16 or LineageOS 17.
It requires root and some form of app that can backup and restore system data and user data. Titanium Backup used to be what you would use but it is no longer supported, it doesn't work like it used to, you'll have to find an app similar to Titanium Backup.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Thanks. I am moving to an os based on the same rom so I could restore the backup, but the doubt is which system app should I backup to save the email I have registered.

Pierfranc said:
Thanks. I am moving to an os based on the same rom so I could restore the backup, but the doubt is which system app should I backup to save the email I have registered.
Click to expand...
Click to collapse
The same ROM, not a ROM that is "based" on the same ROM, there is a difference. In other words, you can't restore system data and system settings from a lineageOS ROM in a ROM that is "lineageOS based". Most ROMs are AOSP and LineageOS based, if what you are thinking were possible, we could restore system data and system settings from one LineageOS, ROM in any other ROM that is based on LineageOS, but we can't. Being "based" on the same ROM does not make them "similar enough" to use sysyem data and system settings from one in the other. If you have a lineageOS ROM, you can only restore that system data and system settings in another LineageOS ROM. If you have a lineageOS "based" ROM, you can only restore system data and system settings from that ROM in an updated version of that same LineageOS "based" ROM, not another LineageOS "based" ROM. RemixOS and many other ROMs are all LineageOS based but you can't restore system data and system settings from LineageOS in a RemixOS, this leads to issues, bugs and crashes.
What you are looking to backup and restore isn't a system app. What you want to backup and restore is system data and system settings. But, be aware, this doesn't always work even when restoring that data in an updated version of the exact same ROM.
Am I making this any more clear for you?
This only applies to system data, restoring user data from one ROM to a different ROM is usually not an issue because the system itself being different, generally, has no effect on user data, only system related data.
One thing you can try that sometimes works is to flash your new ROM without doing any of the wipes, this is called a "dirty flash". It leaves all of your data untouched and flashes the new ROM without touching your existing data. But, you might get a bootloop or you might get repeated crashes, force closes and random reboots, which indicates that your data can't be used by the new system.
Sent from my SM-S767VL using Tapatalk

Droidriven said:
The same ROM, not a ROM that is "based" on the same ROM, there is a difference. In other words, you can't restore system data and system settings from a lineageOS ROM in a ROM that is "lineageOS based". Most ROMs are AOSP and LineageOS based, if what you are thinking were possible, we could restore system data and system settings from one LineageOS, ROM in any other ROM that is based on LineageOS, but we can't. Being "based" on the same ROM does not make them "similar enough" to use sysyem data and system settings from one in the other. If you have a lineageOS ROM, you can only restore that system data and system settings in another LineageOS ROM. If you have a lineageOS "based" ROM, you can only restore system data and system settings from that ROM in an updated version of that same LineageOS "based" ROM, not another LineageOS "based" ROM. RemixOS and many other ROMs are all LineageOS based but you can't restore system data and system settings from LineageOS in a RemixOS, this leads to issues, bugs and crashes.
What you are looking to backup and restore isn't a system app. What you want to backup and restore is system data and system settings. But, be aware, this doesn't always work even when restoring that data in an updated version of the exact same ROM.
Am I making this any more clear for you?
This only applies to system data, restoring user data from one ROM to a different ROM is usually not an issue because the system itself being different, generally, has no effect on user data, only system related data.
One thing you can try that sometimes works is to flash your new ROM without doing any of the wipes, this is called a "dirty flash". It leaves all of your data untouched and flashes the new ROM without touching your existing data. But, you might get a bootloop or you might get repeated crashes, force closes and random reboots, which indicates that your data can't be used by the new system.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
No I can't do a dirty flash because this rom has bugs and I don't want find again them. I want a clean install.
But also don't want to add again all the email which I am logged in on this rom. So I just want find a fast way to save them. Do you know any alternatives? Maybe a file where these logins are saved in system folder so I can edit it in the new rom.
Also because all these email registered in any Google applications, once you add them in Gmail, you can login with them in PlayStore and other apps. So there should be a general file which store this data.

Pierfranc said:
No I can't do a dirty flash because this rom has bugs and I don't want find again them. I want a clean install.
But also don't want to add again all the email which I am logged in on this rom. So I just want find a fast way to save them. Do you know any alternatives? Maybe a file where these logins are saved in system folder so I can edit it in the new rom.
Also because all these email registered in any Google applications, once you add them in Gmail, you can login with them in PlayStore and other apps. So there should be a general file which store this data.
Click to expand...
Click to collapse
You should be able to use something like Titanium Backup or Helium to backup the data for each account and you may be able to restore them that way. It requires root though.
Or, you can do some searching involving using adb backup to achieve this.

Related

[Q] How to save data before ROM upgrade

Hey guys,
so, I have already flashed my ROM from stock to something else. That was a year ago.
But this ROM got old, ICS is out, and I want it.
Is there a way to save all my data? I have some games, that have progress that I dont want to loose.
I have contacts that I dont want to loose. Messages and pictures that I still need.
What is the right procedure for me to upgrade ROM to newer one? I'm upgrading to Fallout v2 if that matters.
Thank you for answers
Regards, Anze
You need to read up about Nandroid backups that you take from recovery (cwm or 4ext) these are extremely useful if you wish to revert the device after you've flashed a new one rom as they take a snapshot of the devices partitions.
You should ensure that you take one of these before flashing a new rom.
I'd recommend that you sync your contacts with google (in the cloud) that way they'll always return to your device following a clean install
Otherwise the best application is titanium backup which enables you to make backups of your applications and there associated data, which is useful to reinstall your applications after a rom upgrade.
You may also wish to restore data with apps together selectively after flashing a new rom due to possible data incompatibilities with versions resulting in FC. If so, within TB you could try PREFERENCES > RESTORATION SETTINGS > MIGRATE SYSTEM DATA or leave out data only restoring the app.

What is the easiest method to change between ROM's?

Hello, and thank you for reading.
I'm a newbie when it comes to ROM's and all concerning them.
So I've been running the latest version of TrickDroid for quite a while now but would like to try some AOSP ROM's also (Liquid/CM/etc.).
As it might happen that I don't like them or I wanted to try an unstable ROM (for testing JB), how could I easily switch back to TrickDroid?
Is there such a thing as multi-boot or anyhting similar?
Should I take a full back with TWRP or what?
And can I have the same apps working with same system/app data on different ROM's; if I restore a full TB it should work fine, right?
Thank you very much.
No multi boot, but take a backup in TWRP and you're back to trickdroid quick enough if you restore it. I never tried restoring apps and appdata with TB as its not recommended especially when going to a ROM on another base like say from trickdroid to liquid or CM. Also stuff like SMS and call logs are tricky since the HTC mms and dialer are not available on AOSP roms so nowhere to restore appdata to.
So other apps should be fine except SMS and call logs?
But shouldn't 'SMS Backup & Restore' be able to put your messages into any ROM no matter what it's based on?
Sent from my HTC One S using xda premium
I use titanium backup to restore APPS + DATA on every rom and it has never failed me once.
It even works when jumping between all types of roms i've installed, including: CM, AOSP, sense based and MIUI.
My procedure is always.
1. Make a full backup in TWRP
2. use SMS Backup & Restore for my messages
3. use titanium backup > click batch selection > select Backup all new user apps & newer versions
4. still in Titanium batch selection > select Redo backups for modified data
This way you are straight back to the way you had everything, no matter what rom your on. you only have to redo your home screen
Tb can backup and restore user apps on any Rom.
But you cannot restore system apps between sense and asop
User apps are only downloaded apps so you can restore anywhere even on different phones
You could also if your using a diff launcher back it up and restore it then u won't even have to set up your homescreens.
Hope that clears it up.
Sent from my HTC One S using xda premium
Thank you everyone.
This helps a lot.
Sent from my HTC One S using xda premium
you could also use ROM manager or Goo manager BETA.. those two apps are available in play store and you can flash ROMs directly from there

Moving to a new ROM

I've been using RobbieL811 Uber rom for quite a while but now development seems to have come to a halt. A couple of posters say move to a new ROM so I tried Resurrection Remix. I don't have time to move my data (Inc save games that don't cloud save) individually, so I Googled the best way to do this. I got a load of 2013 posts about restoring the data partition from the nandroid backup. After installing RR and restoring the backup of the data I just get boot freeze. Is there something I'm missing?
Gingepie49 said:
I've been using RobbieL811 Uber rom for quite a while but now development seems to have come to a halt. A couple of posters say move to a new ROM so I tried Resurrection Remix. I don't have time to move my data (Inc save games that don't cloud save) individually, so I Googled the best way to do this. I got a load of 2013 posts about restoring the data partition from the nandroid backup. After installing RR and restoring the backup of the data I just get boot freeze. Is there something I'm missing?
Click to expand...
Click to collapse
I don't know who said to restore a data backup from a nandroid, that's wrong, it's a huge no-no. The data backup includes all data from the ROM, not just apps, so it's attempting to restore incompatible system settings and stuff like that. You can just use Titanium Backup to make backups of your apps and then restore them after you've flashed your new ROM.
Yep titanium is what u need
Sent from my A0001 using Tapatalk
Got 99 problems
Thanks for your assist guys, tried what you suggested and it worked! Until I rebooted. Now it just boots for ages. And nothing else. I've unselected any system apps.
Gingepie49 said:
Thanks for your assist guys, tried what you suggested and it worked! Until I rebooted. Now it just boots for ages. And nothing else. I've unselected any system apps.
Click to expand...
Click to collapse
Exactly what did you do? You need to provide a detailed account of everything that lead to this point. What did you restore with Titanium?
I did two over the course of the night, the first I restored everything, including system apps like dialler, Gmail etc. But this broke it. So I wiped, installed, and restored only missing apps and data. Still broken on reboot.
Gingepie49 said:
I did two over the course of the night, the first I restored everything, including system apps like dialler, Gmail etc. But this broke it. So I wiped, installed, and restored only missing apps and data. Still broken on reboot.
Click to expand...
Click to collapse
You can't restore system apps/data, that's why it was borked the first time. It's also possible that you restored system/app data the second time too. Only ever restore user apps.
Heisenberg said:
You can't restore system apps/data, that's why it was borked the first time. It's also possible that you restored system/app data the second time too. Only ever restore user apps.
Click to expand...
Click to collapse
After using titanium to restore user apps and data, some apps just force closed on opening unless I removed the data then it worked. Decided to restore from backup and give it up until 6.0 rom appears.
Make sure you start with a clean slate. Factory reset and flash new Rom before restoring any backup. Are you good up to that point?
I don't know what you're doing wrong man, I change ROMS every now and then, and I just backup my games and apps with Titanium Backup, install new ROM, and restore my apps, always works unless you mess up real bad
titanium backup pro (worth it for flashaholics) or zipme
---------- Post added at 08:19 PM ---------- Previous post was at 08:18 PM ----------
Gingepie49 said:
After using titanium to restore user apps and data, some apps just force closed on opening unless I removed the data then it worked. Decided to restore from backup and give it up until 6.0 rom appears.
Click to expand...
Click to collapse
i have never had that issues on 5 different phones and multiple different roms... try rom toolbox or zipme
Finally gave it one last ditch attempt (well two, actually).
Tried flashing Sultan Cm12 rom, but it unroots the device so bailed on it.
Put latest Resurrection Remix on, restored user apps but was more careful about when I restored. Mostly Google apps and some xposed apps, some Robbie rom stuff that wasn't needed and voila! Posting this from a working rom! Had to reinstall xposed framework and Waze from scratch but that's fine.
Thanks for the support guys!

Can i restore recovery Backup data from one rom to another rom of same android

Can someone tell please tell me that.......
can i restore only data from twrp of one rom to another of same android.....
As an example
i had installed ressurection remix rom(first rom) and i wanna install CM 13(second rom) both are android 6.0....
now i want to restore the data backup from first rom (not system,recovery or anything else ) to another rom......
will it work properly if i use same data from first rom to second rom..........
please help.....
thanks in advance.....:fingers-crossed:
Data include your apps, so if they include system apps like messaging applications, there are chances it breaks, since AOSP and CM are not the same.
You could give it a try, but beware. You should take another option (save sms/mms with an app, system apps data and apps with titanium backup, and so on.
I guess that it's longer than simple restore but also safer.

[GUIDE]: To transfer all app data + settings + all user configuration from old os to

TWRP METHOD ONLY
HOW TO TRANSFER ALL APP DATA + SETTINGS + ALL USER CONFIGURATION FROM PREVIOUS ANDROID OS TO NEW ANDROID CUSTOM ROM
Greetings, i have Great info for everyone for RESTORING User App + Data as it was before from TWRP. I used pixel experience 10 official rom for 2 days and after flashing it i restored my app data from titanium backup which after that took time to configure everything which is a bummer hectic to configure phone settings as per our likes and install & configure every app. Official Pixel 10 showed me little lags and slower performance compared to MIUI 11. Caution: TWRP DOES NOT BACKUP users Internal Storage data so make sure you backup your internal storage data like Photos, videos anything in internal flash storage backup somewhere else.
Now here's what i did, i rebooted to TWRP > Backup > Backed-up system image(incase anything goes wrong), boot and specially DATA (All user app + its data + settings stored in this). Make sure you backup data in external storage like memory card or OTG flash drive.
Then i installed EvolutionX Pixel 10 latest version released on 5th Dec after complete format, flashed DFE, Flashed Drunk Kernel, Flashed Magisk and wiped cache & dalvik cache. Then rebooted phone and configured the new os startup> rebooted to TWRP > Restore > selected only DATA and restored it > BOOTED SUCCESSFULLY WITH SAME APP DATA AND SETTINGS including same wallpaper and everything was same.
WARNING: After you boot your fresh backed up data & it asks for password after boot & gets stuck then reboot to TWRP and Install ResetScreenLock.zip (find it in XDA or CLICKHERE and boot successfully.
You can ONLY do this on SAME VERSION OF ANDROID OS. Like i had Pixel Experience 10 Official so it's data can only be transferred to any other Pixel Experience 10 custom Rom. I'm not sure about transferring Data from different versions of Android example android 9 Pie TO android 10 Q let me know if it's possible.
I didnt backup from titanium backup because usually restoring backup from titanium freezes & it cannot restore specific User App data to a new rom and it was a headache restoring apps manually after titanium backup didn't restore half of my apps & its data
You are welcome have blessed day. God Bless:laugh:
This is twrp 101. But mind that every problem and every force close you will encounter (and you most probably will) is going to be because of this.
Phone overheating, battery drain, apps crashing etc.
Developers suggest clean flashing for a reason, old ROM data interference with the new ones.
What you did is called dirty flashing and is the same as wiping system, davlik, cache and flashing ROM and gapps.
Your data backup is very useful when you want to try a new rom, clean flash it and then want to go back to your previous one.
sotosgolf said:
This is twrp 101. But mind that every problem and every force close you will encounter (and you most probably will) is going to be because of this.
Phone overheating, battery drain, apps crashing etc.
Developers suggest clean flashing for a reason, old ROM data interference with the new ones.
What you did is called dirty flashing and is the same as wiping system, davlik, cache and flashing ROM and gapps.
Your data backup is very useful when you want to try a new rom, clean flash it and then want to go back to your previous one.
Click to expand...
Click to collapse
Not a single problem till now, No phone heating, no abnormal battery drain, not a single app crashed. Phone is working perfectly smooth and not even a mili second lag. Basically Technically what actually i did is transfer my previous Pixel 10 data to New Pixel 10 data so there are no changes at all in Data.
You can test it if you follow my steps exactly you will successfully transfer Data to any New custom rom, i have tried. Just make sure the data you want to transfer is between same base roms like i transferred from Official Pixel 10 TO EvolutionX Pixel 10, similarly you can transfer to any Custom rom that is based on same base rom which you are using currently.
NOTE: Before you go & do TWRP backup, make sure you do complete system cleanup, app cleanup, corpse cleanup from SD Maid Pro and then do clean backup from TWRP
After you flash new custom rom make sure you boot it and go through its initial startup process then go back to TWRP and restore rom and flash ResetLockScreen.zip
Enjoy
eladamcain said:
Enjoy
Click to expand...
Click to collapse
I'm using custom ROMs since 2014, i have certainly enjoyed the issues i'm describing above.
Dirty flashing causes a lot of unwanted stuff.
Anyway, that's my two cents.
sotosgolf said:
I'm using custom ROMs since 2014, i have certainly enjoyed the issues i'm describing above.
Dirty flashing causes a lot of unwanted stuff.
Anyway, that's my two cents.
Click to expand...
Click to collapse
If you don't know what you are doing, you will face problem. This method works perfectly IF you are on Stock Rom and it is not bloated and you are transferring your data to custom rom who's made from the same base stock os. Example heavily bloated and transferring its settings to a different setting os is going to create instability its common sense. Backing up non bloated stock rom data to custom rom works
You saved my life... I tried a similiar method but it didn't work. But this... this saved my LIFE
(2FA Problems...)

Categories

Resources