[Q] Restoring Custom ROM System Apps - General Questions and Answers

I know that most people say to only restore User Apps on a custom ROM and I understand that. However, is it relatively safe, in general, to restore system apps from a custom ROM on a slightly different version of that same ROM? I assume the answer is that it depends on the changes between those versions, but I'm asking in general.
For instance, if I had a backup of all apps (user and system) for CM 12, would it be OK to restore them all on CM 12.1? Again, I'm asking in general so this is just an example and I'm not asking about the differences between CM 12 and CM 12.1.

Related

Apps from Stock to Cyanogenmod

Hi. This is my first time installing a custom ROM, CM 12.1 in this case. I'm really liking the ROM and I would like to stay with it, but my main problem right now is that I can't restore the apps I backed up using Titanium Backup. Is there a way I can restore my user apps to this ROM?
I even have many linked apps with Link2sd and none of them showed with CM (I recreated mount script, rebooted and nothing).
I know restoring data through different ROMs can cause problems... but I would like my user apps, I don't need to restore system apps or data.
Another question is, can I use some moto apps (camera, gallery, FM radio basically) with CM? I really like them, especially the camera interface, and I don't like the camera that CM has.
Thanks for any answers! Sorry if it's a noob question, but I've managed to restore full backups in the same ROM, and I don't know why now Titanium Backup doesn't even shows my apps now.
Stock apps - http://forum.xda-developers.com/showthread.php?p=62823450
Sadly you may just have to re download your user apps from the play store, I can't dig too far into the issue because TI is always annoying.
Thanks a lot!! Really nice to have moto camera and gallery back again. And for the apps, I made a zip with all mi apk and restored them later, but thats better than nothing!
Thanks again.
Glad ya sorted it!

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

How to save all registered Gmail accounts in android?

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.

Question Picking a ROM for the X3 Pro

After a what seemed to be a long wait, my bootloader is finally unlocked. So now's the fun time.
Before I get started though, where can I actually get the ROM for my *current* device? (I have the Global version of the X3 Pro) in case I want to go back to it?
What I would like to say next, is that I am not trying to DeGoogle. I still want to be able to backup stuff on my phone to GoogleDrive, and I also plan to use a range of Google applications (Playstore, Google maps etc.). However, I would prefer if I didn't have to have the entire suite of Google application pre-installed, be able to just install what I want from the Playstore.
And this also applies for other applications. For instance, Netflix comes pre-installed on my device, but I do not use Netflix at the moment, and would much prefer not having it taking up space, and would rather be able to download it myself from PlayStore if I ever need it. Same with stuff like Facebook where I would rather use the much leaner Facebook Lite.
When people talk about "debloating", does it involve removing all traces of the pre-installed app, or is it only disabling/hiding from view?
I need root, and being able to pass safety net is preferable but not required (I keep an unrooted phone just in case, but it is old, and it would be nice if every app I may want to use will work).
Keeping those point in mind, what would make sense for me to do next?
Would it make sense to flash the xiaomi.eu and debloat? Or is it still be worthwhile to look into Lineage / Arrows even though I plan to use some GApps?
One more question, Xiaomi has it's own cloud backup system through it's Mi account. How does it differ from Google, and do custom ROM make use of those functionalities?
Thanks.
Debloating means to remove unwanted apps, usually those advertisement apps.
xiaomi.eu removed all the advertisement / sponsors apps like games etc, providing a clean MIUI experience.
Depending on the custom roms variant you installed, in general, most custom roms provide a clean android experience without any google related services. Basically like a fresh installed windows with very basic things. If you want google playstore and its related service, then you need to flash gapps and install the relevant stuffs from the apps store.
Afaik, MIUI backup is similar to titanium backup, in such that it can backup apps beyond google playstore.
Google only backup the list of playstore apps you use and data you configurated to backup.
Custom rom does not have MIUI backup for obviously because it isn't MIUI. You only can access google backup if you flash gapps.
Some people like MIUI but hate all the craps that come with it, so they either use debloater or xiaomi.eu
Some people like andriod so they use custom rom
For old phones, some people want to use latest android but stock rom has reached EOL, so they use custom rom.
Lu5ck said:
Debloating means to remove unwanted apps, usually those advertisement apps.
xiaomi.eu removed all the advertisement / sponsors apps like games etc, providing a clean MIUI experience.
Depending on the custom roms variant you installed, in general, most custom roms provide a clean android experience without any google related services. Basically like a fresh installed windows with very basic things. If you want google playstore and its related service, then you need install flash gapps and installed the relevant stuffs from the apps store.
Afaik, MIUI backup is similar to titanium backup, in such that it can backup apps beyond google playstore.
Google only backup the list of apps you use and data you configurated to backup.
Custom rom does not have MIUI backup for obviously because it isn't MIUI. You only can access google backup if you flash gapps.
Some people like MIUI but hate all the craps that come with it, so they either use debloater or xiaomi.eu
Some people like andriod so they use custom rom
For old phones, some people want to use latest android but stock rom has reached EOL, so they use custom rom.
Click to expand...
Click to collapse
Thanks. Does Xiaomi.eu count as MIUI as far as MIUI backup etc. is concerned? Since it is still a modified ROM, I wonder if it is considered a "custom" ROM or not.
TBH, I am not even sure if I -want- to link a Xiaomi account to my phone, but just in case.
xAxB said:
Thanks. Does Xiaomi.eu count as MIUI as far as MIUI backup etc. is concerned? Since it is still a modified ROM, I wonder if it is considered a "custom" ROM or not.
TBH, I am not even sure if I -want- to link a Xiaomi account to my phone, but just in case.
Click to expand...
Click to collapse
It is MIUI and also a custom rom.
Okay, now silly question perhaps, but is there a reliable / trusted site where I can get the stock ROM for my device (Global 12.0.4 Stable) if I do want to restore to stock?
xAxB said:
Okay, now silly question perhaps, but is there a reliable / trusted site where I can get the stock ROM for my device (Global 12.0.4 Stable) if I do want to restore to stock?
Click to expand...
Click to collapse
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Thank you!
One more question, where can I find information about kernels / compatibility with various ROMs etc.?
When Google I sometime see Reddit users praise a certain ROM/Kernal combination, but I never see any proper comparison. Even a feature comparison table would be handy.
xiaomi.eu is basically a debloated stock miui rom with no ads + some extra functions added from Chinese rom variant....
everything miui will work fine; it will be as if your're still on stock rom
I've been using xiaomi.eu rom for quite a while now; found no bugs.

How to backup apps and data (non-rooted) when installing custom ROM?

Have just upgraded a 7 Pro from OOS 11 to Paranoid Android 12 and had a rough experience trying to restore apps/data. Getting ready to help a friend do the same for another 7 Pro.
It doesn't seem like Clone Phone can do local backup/restore and I can see some noticeable differences in the backup/restore functionality between what is available on OOS 11 and PA 12. Are there any recommended (non-root and non-TWRP for that matter) options to backup and restore non-system apps and data for this type of ROM upgrade?

Categories

Resources