I have been reading all kinds of threads but still don't really understand what happens when a new or updated rom is installed.
My example is that I am currently running a basic root with alternative launchers and apps installed. My plan is to wait until cm9/3.x is available as a fully functional sd for dual boot.
When I install cm9 am I able to keep my installed and configuredapps or do I need to reinstall & reconfigure? How about look/feel custmization? Do I need to do something with titanium inorder to do that? Whatabout when updates to cm9 come after I have done my initial install/config?
Similarly, I read refs to clearing cache & dalvik. When exactly& how is that done?
if there are some threads with basics that coverthese topics please just point me to them.
thanks
New rom:
Backup apps via titanium backup.
Install rom. Install appropriate gapps package. Wipe data/cache.
Boot into rom. Install titanium backup and restore apps/data. The data restore of whatever your launcher is will restore your configuration.
Updating a rom:
Install rom. Install appropriate gapps package. No need to wipe data unless specified. If you have any issues, treat as a new rom and wipe data.
And as always, make a nandroid prior to flashing everything.
Sent from my Xoom using Tapatalk
Related
Hi all.
I'm looking to update my version of xtrSENSE from 4.6.5 to the newest 5.0.1 version. My issue is that I have enabled apps2sd on my current version, and have far more apps installed than available stock app memory on the phone. Titanium Backup is up to date, as is a complete Nandroid+ext backup. The install instructions for the rom suggest wiping factory/data reset, dalvik cache, and ext partition. So my question is, will wiping the ext partition on my sd card cause me to lose all my apps/data? What sort of order should I follow in terms of booting, wiping, restoring, etc.
Thanks for any help in advance.
There is no reason to wipe if you are installing over another version of xtrSENSE.
See http://forum.xda-developers.com/showpost.php?p=12129548&postcount=1764
thirtynation said:
Hi all.
I'm looking to update my version of xtrSENSE from 4.6.5 to the newest 5.0.1 version. My issue is that I have enabled apps2sd on my current version, and have far more apps installed than available stock app memory on the phone. Titanium Backup is up to date, as is a complete Nandroid+ext backup. The install instructions for the rom suggest wiping factory/data reset, dalvik cache, and ext partition. So my question is, will wiping the ext partition on my sd card cause me to lose all my apps/data? What sort of order should I follow in terms of booting, wiping, restoring, etc.
Thanks for any help in advance.
Click to expand...
Click to collapse
If you pay for Titanium Backup, use the Batch option to backup all your User Apps and Data, but NOT System Data.
From recovery, wipe Factory/Data/Dalvik and flash the new xtrSENSE.
Set up the ROM with at least the basics including running the Apps2SD Gscript and so on. Reboot if necessary (don't recall if it is needed for Apps2SD but can't hurt).
Install Titanium Backup and Batch restore User Apps and Data.
Reboot again if necessary and should be 'voila!
doogald said:
There is no reason to wipe if you are installing over another version of xtrSENSE.
See http://forum.xda-developers.com/showpost.php?p=12129548&postcount=1764
Click to expand...
Click to collapse
I saw that, but I know the instructions have also said that it's always best to wipe for best results. The fact that I'm skipping a version also makes me weary of not wiping. I suppose I could try and always restore the nandroid...
Still, if I were to go about it the OCD way.. My apps are still intact in the Titanium Backup, correct? Just wipe factory/dalvik/ext, flash the new rom, set up my partition and apps2sd, then restore them all via TiB?
thirtynation said:
I saw that, but I know the instructions have also said that it's always best to wipe for best results. The fact that I'm skipping a version also makes me weary of not wiping. I suppose I could try and always restore the nandroid...
Still, if I were to go about it the OCD way.. My apps are still intact in the Titanium Backup, correct? Just wipe factory/dalvik/ext, flash the new rom, set up my partition and apps2sd, then restore them all via TiB?
Click to expand...
Click to collapse
Yes, but I would still recommend (since you have a Nandroid and a TiBu backup) to just flash over. If it's messed up, you can just go back and do a full wipe instead.
I've flashed xtrSENSE over stock and it worked just fine.
Definitely do a nandroid before whatever you try. Easiest way to get back. Otherwise, yes at least if you use Titanium Backup to backup your apps and data if you want it...
I'll go ahead and apologize for the length of this, I just want to provide as much information as possible.
I have a rooted Thunderbolt. My original issue was that I was having numerous restarts daily, and I would drop the mobile network all the time and thus couldn't send/receive texts or calls. I posted on AndroidForums and it was suggested to me to flash the rom and update the radio. My previous phone was a rooted incredible, but this was my very first time messing with the radio and/or rom. I did a nandroid backup and followed the guides to do both. I flashed the das bamf 2.1 rom with mr2.5 radio. Everything seemed to be ok, I didn't have any weird issues, but since I am new at this, I'm not completely sure if something went wrong or not. Here is the current problem I am now having...
I can no longer sync my google calendar, I keep getting the com.google.process.gapps force close error. And I get the com.android.phone force close error as well and will loose connection with the mobile network for a few minutes. Also I cannot get any pic messages to send/receive. And I just noticed that when someone calls me, my screen turns on, but it doesn't come up with the answer call screen it just lights up, and I can't answer the call.
I have tried searching for solutions but haven't found anything to work. I fixed permissions with rom manager, and have tried toggling sync on and off on the calendar and cleared data under manage applications with no success. Is there maybe something that I missed along the way or maybe some other solution to try that anyone can suggest? Or is there any additional information that I need to provide? Thanks!
Did you use Titanium Backup to restore apps? Also did you use ROM Manager to flash ROM or did you do it directly from Recovery? Also did you wipe before flashing the ROM?
jasonxlee01 said:
Did you use Titanium Backup to restore apps? Also did you use ROM Manager to flash ROM or did you do it directly from Recovery? Also did you wipe before flashing the ROM?
Click to expand...
Click to collapse
droidforums.net/forum/thunderbolt-roms/140736-how-flash-roms-thunderbolt.html
I followed the guide on that site.... I did use titanium backup to restore the apps. I used rom manager to flash, but I did wipe before flashing (I think!). I have the new rom manager so what I did was download the zip files for the rom, move them to sd card and use rom manager's install rom from sd card, and selected backup, wipe data & cache and dalvik when prompted.
ahbrown32 said:
droidforums.net/forum/thunderbolt-roms/140736-how-flash-roms-thunderbolt.html
I followed the guide on that site.... I did use titanium backup to restore the apps. I used rom manager to flash, but I did wipe before flashing (I think!). I have the new rom manager so what I did was download the zip files for the rom, move them to sd card and use rom manager's install rom from sd card, and selected backup, wipe data & cache and dalvik when prompted.
Click to expand...
Click to collapse
Don't flash from ROM Manager. It seems to cause problems with some phones. Flash the ROM directly from Recovery (Make sure you wipe). Also when you successfully do that and everything is working, download the latest version of Titanium Backup from the market. The Titanium Backup included in the ROM caused problems for me as well. Just to be safe, download the ROM again.
jasonxlee01 said:
Don't flash from ROM Manager. It seems to cause problems with some phones. Flash the ROM directly from Recovery (Make sure you wipe). Also when you successfully do that and everything is working, download the latest version of Titanium Backup from the market. The Titanium Backup included in the ROM caused problems for me as well. Just to be safe, download the ROM again.
Click to expand...
Click to collapse
Thanks, I'll give that a shot later tonight and see if it fixes everything!
Haven't personally had any problems with RM on the Tbolt yet. Performs each function just fine. Since he said he wiped, sounds like he's restoring something from TiBu that's causing problems.
If it's lots of things with FC's:
Wipe and don't restore using TiBu. If you still get FC's then that's not the problem and you may want to reflash the rom.
If it's only a few things, you can wipe the data for those particular apps in Settings->Applications->Manage Applications
This might be off topic, but you mentioned Titanium backup. I had my first major issue with Titanium backup last night. I too am on MR2.5 and everything went fine when I flashed the ROM but after I ran Titanium backup my phone kept going to the HTC screen as if it was doing a fast boot. I ended up having to clear out all my Titanium backups and restoring my applications directly from market to get my phone back to par. I hope that helps someone.
Things that were mentioned and things to add.
*Always flash roms from CWM (Clockwork Recovery Manager) not ROM Manager
*Always do a full wipe before flashing any new ROM. That means, go into CWM, Wipe Cache Partition/ Factory reset, Wipe Data, go to advanced and select wipe davlik.
*Run the ROM for a couple minutes to test if it's running smoothly and can connect to Google market.
*If it's running well, then proceed to titanium backup.
I just recently rooted the phone, and was not planning to replace the stock ROM, but in the last couple of days, I've been reconsidering this. BUt I do have some questions:
1. Can the new ROM be flashed as an "upgrade", IE, not loose everything and have to re-install apps.
2. I've had my eye on the Shooter XE or the Olympus XE ROMs, the instructions say I need to do a complete wipe before installing. Is that necessary?
3. What about updated Kernels? I'm curently running 1.11.651.3, and there's a newer version available here (Stock 1.13.651.7). Will updating to this newer kernel mess up my existing data?
4. Is there a way to backup all my apps, settings, data etc, then restore it all automatically. Titanium Backup can let you back everything up, including all the system bits and pieces, but how do I know what to back up and restore without doing any damage to the new system (like over-writing new settings and files with old ones)
Yes you must do a full wipe when changing ROMs. If you are installing a newer version of the same ROM then you can just wipe cache and dalvik cache and you won't lose anything. When using Titanium Backup it is a bad idea to restore any system apps. Stick to backing up and restoring user apps only and you will be good to go. It may backup the system apps, but I would advise to only restore the user apps. As far as your settings go, your Google account keeps them backed up if you allow it to and will restore them to your new ROM if you choose that option. Every ROM has a kernel. If you are flashing a custom kernel then just wipe cache and dalvik cache and flash the kernel. You will not lose any data when flashing a kernel by itself.
One reason why I chose to buy this device (aside from official Google support) is the overwhelmingly large amount of developer enthusiasm for it. And with that enthusiasm comes a lot of custom ROMs.
I haven't had time to test all of them, but I will - and here's a guide I made that'll hopefully make testing different ROMs easier.
Prerequisites
Before continuing with this guide, make sure that you have:
a LOT of free time, depending on how many ROMs you want to test;
unlocked and rooted your device;
downloaded all the ROMs you want to test;
have installed a good recovery - I would recommend the latest version of TWRP;
common sense.
(OPTIONAL) a spare microSD card of at least 8GB. This'll make everything easier, as you won't have to delete stuff in order to fit all your ZIPs and backups.
Things to remember
Make sure you know how exactly to restore your device to how it was before following this guide.
You should know what you're doing. One small mistake can lead to your device being completely unusable!
You should know what features you're looking for in a ROM. It's never nice to have gone all the way to flash a different ROM, only to discover that feature X doesn't work. Ask questions in the ROM thread, if you like.
You can always ask help from others, should you have any trouble with your device.
When using custom ROMs (or any customization, for that matter), do NOT ask for ETAs. Our developers are doing their work at their own leisure and during their own time, and they don't get their pay from you.
Ready? Let's get going!
Getting started
A good Android user always backs up before doing anything radical to their phone, and that's precisely what we're going to do. There are three ways to go about this:
The easy way
The easy way is through making a Nandroid backup. This is particularly easy to do in TWRP, as all you need to do is reboot into recovery, press Backup, select the partitions you want to back up and whether to compress them, and start backing up. Simple as that.
Pros: Easy to restore your data once you're finished testing ROMs.
Cons: It's somewhat hard to restore individual pieces of data (such as messages and apps) instead of the whole thing.
The (slightly) more complicated way
This way deals with TitaniumBackup, an absolute must-have app for every Android user out there.
With TitaniumBackup, you can choose to back up individual apps (and even update their individual backups). TB isn't limited to backing up/restoring data, though; it can do so much more - remove bloatware, freeze apps you don't use, make a flashable ZIP out of your backups... the list goes on.
Pros: Finer control over what data gets backed up. Very powerful tool in migrating ROMs.
Cons: Somewhat outdated and intimidating interface; and features are reduced without buying the PRO version.
The Google way
This one is the simplest way of all three, though it only works if you have a) GApps and have signed in to your Google account, b) if you've agreed to let Google back your data up when you first set up your device, and c) if you have Settings > Backup & reset > Back up my data enabled.
Google automatically backs up almost all of your data to its servers, ready to be restored when you do a factory reset/switch to a new phone. A list of all data that are backed up can be seen by going to Settings > Accounts > Google > (your email address).
Notable exceptions to the data backed up are messages, which you have to back up yourself - I recommend SMS Backup & Restore for that.
Now that you have your data backed up, let's get flashing.
Flashing
Put your ROMs/kernels/GApps on your SD card, then reboot to recovery.
1. Wiping / factory resetting
This is why we back up your data in the first place. Different ROMs need different data, and data left over from one ROM can cause another ROM to get stuck in a bootloop.
Tip: If you're using TWRP, try enabling Use rm -rf instead of formatting in Advanced settings. Formatting doesn't really have any perceivable advantages over simply removing the contents of your data partition (unless you somehow corrupted it), and it actually causes higher wear on your storage chip. (Storage doesn't last forever - I've had my old Samsung bricked because I reformatted too much.)
Click to expand...
Click to collapse
In CWM, it's called wipe data/factory reset; in TWRP, it's simply called Wipe. Wipe your data, dalvik-cache, and cache partitions.
2. Flashing the ROM and other addons
In CWM, it's called install zip (from sdcard); in TWRP, it's simply called Install. Browse to your ROM zip and install.
Tip: If you're using TWRP, you can add ZIPs to the ZIP queue in this order: ROM > GApps (if any) > Kernel (if any) > Addons/Patches (if any).
Users of CWM must manually flash each ZIP, in the same order.
Click to expand...
Click to collapse
3. Finishing up
Now all that's left to do is pray for the best and reboot.
Testing
If you flashed GApps, do NOT let Google restore data yet. We'll do that later.
Click to expand...
Click to collapse
After initial setup completes and your newly-installed ROM settles down, it's time to get testing. It would be helpful if you listed down all the features you need and check/cross them out one by one if they work or not. For example, I need working screen cast and usable video recording, both of which do not work in all the CM-based ROMs I've tested.
Some ROMs, especially sprout4 ROMs, require patches when installing on sprout8 devices in order to provide the most optimal experience. Try flashing those to see if the ROM gets any better for you.
Rinse & repeat?
So, have you decided that this ROM is for you?
Yes, this ROM is awesome! I love it!
If you backed up earlier using Google, do another factory reset and this time, let Google restore your data.
If you used Titanium for backup, you can safely restore your data now.
If you made a Nandroid backup, you technically can restore your backup as-is since most of the ROMs available for sprout are CM-based; but I wouldn't recommend this as this can cause bootloops. Otherwise, you can manually restore your data one-by-one - but this is a time-consuming process.
I'm not quite sure I like this ROM yet.
Well that's okay, just repeat this guide from the start.
Finishing up
Now that you've decided on what ROM to use, you can safely delete your backups and ZIPs - though it would be better to keep them as they might come in handy if your device starts having problems.
Notes
If you're flashing a Marshmallow ROM, don't flash Xposed right after you flash your ROM as this may cause a bootloop.
Never ask for ETAs on ROM threads. That's rude.
That's it for this guide! Happy flashing! :fingers-crossed:
Reserved 1
Reserved 2
Reserved 3
Awesome post. Enjoyed it!?
aureljared said:
Reserved 3
Click to expand...
Click to collapse
Sry for digging up this old thread. I was wondering if there is a tutorial for Titanium Backup specifically targeting a switch between custom roms, having different versions of android.
I'm in the midth of moving from cm 13 to lineageos 15 and just tried to backup apps+data in Titanium Backup and restore them and the new system is now somewhat buggy..I'm not sure if the restored backup is the reason for this or not....Maybe there are specific settings to be set..... I mean it's common sense for me not to backup and restore system data but maybe I am missing other important things to be set prior to a backup in Titanium Backup.
trohn_javolta said:
Sry for digging up this old thread. I was wondering if there is a tutorial for Titanium Backup specifically targeting a switch between custom roms, having different versions of android.
I'm in the midth of moving from cm 13 to lineageos 15 and just tried to backup apps+data in Titanium Backup and restore them and the new system is now somewhat buggy..I'm not sure if the restored backup is the reason for this or not....Maybe there are specific settings to be set..... I mean it's common sense for me not to backup and restore system data but maybe I am missing other important things to be set prior to a backup in Titanium Backup.
Click to expand...
Click to collapse
It's hard to say, some apps might work improperly or refuse to terminate in the background due to a mismatch in the restored data. I only backup/restore game data nowadays, as Google Backup takes care of my contacts, SMS, settings, and customization. No problems encountered so far.
The only setting I change in TiBkp is the compression method, as the default (gzip, I think) produces somewhat large backups. I use bzip2.
If you really need to restore everything, it might help for you to wipe /data and restore apps in TiBkp one by one until you find the culprit.
aureljared said:
It's hard to say, some apps might work improperly or refuse to terminate in the background due to a mismatch in the restored data. I only backup/restore game data nowadays, as Google Backup takes care of my contacts, SMS, settings, and customization. No problems encountered so far.
The only setting I change in TiBkp is the compression method, as the default (gzip, I think) produces somewhat large backups. I use bzip2.
If you really need to restore everything, it might help for you to wipe /data and restore apps in TiBkp one by one until you find the culprit.
Click to expand...
Click to collapse
Trying the Google Way was also my thought, unfortunately it does not work for me. I posted this today in the rom I used until now:
https://forum.xda-developers.com/showthread.php?p=76022005#post76022005
The initial setup was quite some time ago and now I cannot recall what I may have done to insult the google sync service
Thanks for this.
Can I ask something?
If I'm on stock rom and have magisk and modules installed. To switch rom, do I need to uninstall those first?
or when using nandroid backup... is its okey to backup with magisk+module on it?
watatara.102 said:
Can I ask something?
If I'm on stock rom and have magisk and modules installed. To switch rom, do I need to uninstall those first?
or when using nandroid backup... is its okey to backup with magisk+module on it?
Click to expand...
Click to collapse
You might want to uninstall your modules first to be safe, but if you're sure they're compatible with the ROM you're switching to, then you might be fine keeping them. As always, backup before trying anything dangerous. :good:
Nandroids are whole-device backups, so if you backup while Magisk is installed, Magisk and your modules will still be there when you restore the backup. If that's what you're aiming for, then go ahead and backup. Just make sure to backup the boot image too, since that's where Magisk is installed.
Sent from my starlte using XDA Labs
Can I install a nandroid backup of a totally different ROM to replace the current ROM I'm using with TWRP?
Hey, everytime I want to flash a new ROM or even new version of the same ROM,
I like to clear everything beforehand and factory reset my device.
The issue is everytime I do that I have to download all my apps again and configure the device all over again (apps & phone settings) .
I need some guide about backing up the maximum data possible (settings and applications) while still keeping the new flash as clean as possible.
I own Titanium paid version.
Thanks a lot!
if u have titanium backup than all you need to do is backup all your user apps + data. then when flashing a new rom you can rather manually wipe the phone through recovery. in twrp you can go to wipe and then advanced wipe and choose Cache,Dalvik,Data and System..DONOT choose internel storage else youll wipe everything even ur media and backups.
in titanium you can create titanium backup as a zip file for you to flash, so create that.after flashing a new rom flash the titanium backup as well, so as soon as your phone is up and running you can go straight to titanium backup batch actions and restore all user apps and data. you wouldnt need to download your apps again.
hope it makes sense and helps