[VIDEO] Rom Toggler - via Tasker - Galaxy Note II General

Hey guys!
I saw Modaco's toggler for the HTC One and the S4 to switch between google play edition and touchwiz and i said "hey....thats pretty cool"
So i made a tasker project that does something similar, and the main objective is to allow you to toggle between two different Rom's via Nandroid backups.
Obviously this has its plus's and minus's, but hey it works! Ill post a video with a demo and instructions.
i like aosp for my personal use. But when i go to a party the camera on touch wiz is muuuuch better, and when i go to class, touch wiz has indispensable features. So i made this to not have to compromise.
I used this to fix my GPS on CM10.1 by toggling to my TW rom, getting a lock then toggling back to CM10.1, and it works! wheras before it didnt. of course.
Its intended to be a tool that just sits there till you need it. And it's nice to be able to switch roms whenever i get bored of the current one.
So first, lets get the requirements out of the way:
REQUIREMENTS
1. Must have an external SD card! (if you want me to make one for internal only, let me know!)
2. You must have these things on BOTH Nandroid Backups so do these step by step if youre installing a new rom:
a. Tasker (duuuh)
b. Secure Settings, Install helper! (https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin)
c. Busybox (https://play.google.com/store/apps/details?id=stericson.busybox)
d. Flash Onandroid Tool (http://forum.xda-developers.com/showthread.php?t=1620255)
or you can get Obackup tool from the playstore and install the script from there. its probably easier.
(https://play.google.com/store/apps/details?id=com.pommedeterresautee.twoborange3)
e. My projects XML (https://docs.google.com/file/d/0B7iTLxpFAyDRQXZqTnlKN2NWeWc/edit?usp=sharing)
f. This is Optional but i really really recommend it...Helium (https://play.google.com/store/apps/details?id=com.koushikdutta.backup.license)
3. Tasker, secure settings, and busybox must have root access.
You can go to your supersu app or the supersu option at the bottom of settings (if youre on AOSP) and check it.
Now we can start setting it up! Its not difficult, it just takes a bit of time to let android do its thing..
SET-UP
FIRST MAKE A NANDROID BACKUP OF YOUR CURRENT ROM AND STORE IT ON YOUR COMPUTER!!! not on your phone, just in case.
1.
If youre on a TouchWiz Rom:
Put the XML on your SdCard (internal or external)
Open tasker
Press menu / Preferences / make sure begginer mode is unchecked
long press the Home button on the bottom left, its a picture of a house.
Press import
Navigate to the XML file on your phone and import.
Now go to your homescreen
add a 1x1 tasker widget to your homescreen (or you can export the project as an app by long pressing it / export / export as app)
Find "TW's Rom toggle" in the list, press it, press the back button on your phone.
Go to helium and backup all the things you may want (SMS, user dictionary, tasker, so on and so forth)
Press the widget, and press "Nandroid Backup"
If youre on an AOSP Rom:
Put the XML on your SdCard (internal or external)
Open tasker
Press menu / Preferences / make sure begginer mode is unchecked
long press the Home button on the bottom left, its a picture of a house.
Press import
Navigate to the XML file on your phone and import.
Now go to your homescreen
add a 1x1 tasker widget to your homescreen (or you can export the project as an app by long pressing it / export / export as app)
Find "AOSP's Rom toggle" in the list, press it, press the back button on your phone.
Go to helium and backup all the things you may want (SMS, user dictionary, tasker, so on and so forth)
Press the widget, and press "Nandroid Backup"
2.
Now, go to recovery, wipe cache, dalvik, system, data, and preferably internal storage.
If youre on TW, flash an AOSP rom of choice &Restore helium backup
if youre on AOSP, flash a TW rom of choice & Restore helium backup
Go back to Step 1.
AWESOME!
So now you have a button on your phone that allows you to do backups and restores back and forth between two roms!
Keep in mind that the first backup can take a while...especially on touchwiz. but afterwards it goes much faster!
You have to do a helium backup before you switch and a restore after you switch to sort of semi-kind of keep the data pool shared...im going to see if i can remedy that somehow..
I just set up helium to do backups of certain apps every few hours ia the schedule function so that makes it easier.
Thanks to ameer1234567890 and Snoopy33 for the onandroid tool, because its cooool.
MY XML:
https://docs.google.com/file/d/0B7iTLxpFAyDRQXZqTnlKN2NWeWc/edit?usp=sharing
Just as a heads up, you can easily use one or more of these profiles to automate nandroid backups. The backup profiles will save the nandroid to your extSdCard and replace the previous one.
If anyone has an idea of how to deal with app data between TW and AOSP please let me know!
And of course, and questions concerns requests are very welcome!

The video is up!

Very nice dude!
Sent from my GT-N7100 using xda app-developers app

Thanks!
Sent from my SCH-I605 using Tapatalk 4 Beta

Your .xml cant be imported to tasker
Gesendet von meinem GT-N7100 mit Tapatalk 2

This is awesome, but... Would it not be easier to do this with ders dual bout recovery and kernel?
I'm sure taker would be able to handle the required steps there as well. Could you look into that for us?
T0LTE : DEVIL : SLIM

Related

Useful Tips for using Titanium Backup for newbies

Quick Tip for using Titanium Backup
1. Backup "application widgets". Once you restore your launcher, restore this and reboot so that your widgets will work and you don't have to reconfigure your home screen widgets (which would say "problem loading widgets" otherwise).
2. Backup "accounts" to remember the fact that you have "allowed" access to your google account for various apps (mainly google apps and any app that accesses your google account). This is also required to remember your facebook and skype passwords.
3. Backup "LogProvider" for the call log. A lot of people think call logs are backed up by "contacts storage" but they're not.
4. "contact storage" backups your speed dial
5. "dialer storage" backups your SMS/MMS. After you restore you need to reboot for it to take effect.
6. No need to backup "calendar 1.0". Just calendar 1.1. (this backups the setting not the actual content provided that you sync with google)
7. Most settings in Setting cannot be backed up (ie. Voip account, wifi hotspot ssid, ringtones, volume, etc). Simply re-enter them.
8. After upgrading your rom version or migrating to a different rom, before you restore, for "system" apps, make sure you check each one to see if the version has changed. If so, don't restore or you will probably have force-closes down the road. This is especially true if you move to cyanogen or miui, don't restore system apps at all.
9. Generally you don't need to save system apks unless you plan on uninstalling them to experiment instead of freezing.
10. Don't backup/restore "market" settings or you'll lose market links to your apps. In fact after you restore all your user apps you won't see all of them linked in the market even if titanium backup is set up to remember the links. Just use titanium to clear the market user data, restart market and you're ready to go.
11. Titanium backup does not save your default programs. (ie. DEFAULT browser, dialer, and for different file types).
12. Let TB save the settings to sd card. The next time you install TB you won't need to install the "pro" app. It remembers.
13. TB does not remember what apps are frozen. So after a reinstall, you need to refreeze whatever apps you want to freeze.
Other things good to know:
If you migrate to a new rom, although titanium Pro has an option to attempt to restore system apps to be compatible, try only restore user apps just to avoid force closes.
If you have a fixed set of apps you know you want to freeze, create a filter containing these apps. If you install a new rom, you can freeze all of them all at once without having to go through each.
Can you expand on what you mean in point 1.
Sent from my GT-I9100 using XDA App
Scenario:
I have, say, go launcher or touch wiz as my launcher, I put widgets on my home screen like weather, google search bar and maybe a music player widget. I can use TB to backup my launcher, which would supposedly backup where these widgets are located on your home screen. However after reinstalling the rom, if I restore my launcher without restoring "application widgets", the place where these widgets are supposed to be will show "problem loading widgets". And you would have to remove these problematic widgets and recreate them.
So when you backup your launcher, backup "application widgets" as well. When you restore, restore both of them. And preferably after restoring, reboot before you go back to your launcher
By the way "application widgets" is an actual backupable item in TB (shown in green)
Is this making any sense?
Thanks and yes you are making perfect sense.
Many times I've had to delete then replace widgets from my launcher after restoring using TB so I'm interested in where in TB to find this option.
I'm probably looking right at it but just can't see it. Can you steer my in the right direction in TB?
Sent from my GT-I9100 using XDA App
Nice to learn new things, especially the widgets, hate having the "problem loading widget" all the time.
Thanks for highlighting these.
Ok found it.
It's an item in the app list called "application widgets" with the TB icon next to it.
Cool thanks never noticed it before.
Great tip.
Sent from my GT-I9100 using XDA App
Having a Problem
Ok so I am tring to do an Extract from CWM Backup...
Just Flashed Jugg. 2.0 everything is running great!!!
But TBP is just stuck at Restoring 0% on my first program... I have even followed their help page. cleared the market memory... What am i doing wrong please help...
T-mobile - SGH - T989
ROM: Juggernaut 2.0
Bardouns said:
Ok so I am tring to do an Extract from CWM Backup...
Just Flashed Jugg. 2.0 everything is running great!!!
But TBP is just stuck at Restoring 0% on my first program... I have even followed their help page. cleared the market memory... What am i doing wrong please help...
T-mobile - SGH - T989
ROM: Juggernaut 2.0
Click to expand...
Click to collapse
Have you enabled USB debugging and UNKNOWN sources?!
yes on both
---------- Post added at 08:32 AM ---------- Previous post was at 08:16 AM ----------
Ok... Don't know WTF... but its working like lightning now... have no idea... didn't do anything except download google text to voice... weird
Been using it for years and didn't figure out the speeddial backup. Good post. A couple thoughts in general as far as backup strategy.... IMO freezing is better than removing system apps because space is not an issue with the sgs2 like it is with some (older) phones. Swap a lot of roms and sooner or later your are going to either on accident or purpose delete something you shouldn't have and then have to restore. Going down the list and freezing them only takes a minute and is readily reversible with the same end result. If you must be rid of them freeze them first and give it a few days for any oddness to show up. Then uninstall.
Agree on restoring system apps. Always a good way to get odd behavior or fc's and the like. Normally there is no need anyways as the new rom has the same system apps in it and most of the settings can be remembered elsewhere. I do back up system apps though in case I want to grab an apk that isn't in the new rom.
Also IMO its a good idea to copy the entire contents of the internal sd over to the pc after doing a nandroid and ti backup. This way if things go to hell you have everything. The process I use is to do a ti backup and then nandroid in recovery. I mount while still in recovery and copy everything over to a folder on the pc. Now I have all my pics, everything. I use the external sd for music and other items that I know will move from rom to rom so that I don't have to hassle with them. Do this and your covered in every way if you have problems with your ti backup or nandroid. Both can happen sometimes. Also if your phone dies, goes missing etc at least you have a backup as recent as your last rom swap which for us is probably not too long ago. lol I keep the most recent two backups and delete the oldest as I make new ones with each new rom. This only takes a few minutes extra during the rom swap and if you need it you will be glad you have it.
Thank you for tips!
Very helpful. Been using TB for a while now but did not know all the details!
thanx for your efforts...
got some useful tips. I thought I know TB, but I didn't.
Nice write-up!
Any advice on what to do when you try to restore an app and it tells you "problem parsing the package"?
Seam to happen more often with apps that did not come from Android Market or Amazon Appstore...
Very good guide and not just for newbie's.
Thank you.​
App Folders i nApp Draw
i cant seem to figure out where the folders in the app draw are actually stored. i tried to do a restore from a previous rom (apps only, widgets ect) but im not sure where to go for app folders, thats if it will even do this for me.
Many Thanks...
...to the OP & others for this thread & the tips in it ;-)
Just rooted yesterday & ran TI backup. Have run it again incorporating the tips in this thread. Very good suggestion to copy the lot over to PC as well.
Also, people should remember to make a copy of their EFS file & keep that somewhere safe off the phone (keep a copy on your external SD card as well).
Everything I've read so far suggests you're royally boned if you trash your EFS, so making a couple of copies & keeping them in various spots (one on the external SD/one on PC) makes sense to me. Hellcat's kTool does a bangup job & is a nice little app to have handy ;-)
Hi everyone. If someone can give me the confirmation about the following:
1. is Titanium backup saving the settings for the backed up app or only the app itself?
2. are social hub, readers hub, game hub, talk, IM, safe to freeze or unistall cos I don't use that?
3. When you freeze the app, is the icon gone or it stays under "menu"?
4. is Email app safe to freeze/uninstall or I need that for using Gmail app?
I'm on stock 2.3.3 + CF-Root-SGS2_XX_OXA_KH1-v4.1-CWM4 for now.
thank you and regards.
Thanks - very helpful to have more information.
3. Backup "LogProvider" for the call log. A lot of people think call logs are backed up by "contacts storage" but they're not.
This was really helpful. Thank you.
Sent from my GT-I9100 using xda premium

[GUIDE] How to easily Backup and Restore data using Titanium Backup

DISCLAIMER : This guide assumes that you already know how to flash a custom ROM. Also, these instructions work well on my Desire HD running ICS. They should ideally work on any device/ROM/Recovery combination, just that you may have to figure out the system settings/apps that correspond to the ones that I'm referring to. But remember that if you choose to follow these steps, you are doing it at your own risk, and you assume any and all potential consequences, including (but not limited to) loss of data, corrupting your sdcard, bricking your device, physical damage to your phone or self, and/or loss of bladder control.
WARNING : Following this guide may lead to ORD, or worsen your condition of ORD.
When you flash a custom ROM, a full wipe is always recommended. And it definitely is a stressful process, especially if you like to try out a lot of different ROMs. I now follow a method which I find is quite reliable, not as stressful and is fast, so I thought i should share it. I must warn you though, that this is quite an organized approach, so it will require patience from your part to set it up. But I assure you, once you've done it, your ROM wiping and flashing process becomes much easier
I'm going to detail this out in both offline and online methods. With the "Offline(OFF)" method, you will not require an Internet connection to restore all your data. Everything is backed up using Titanium Backup. With the "Online(ON)" method, part of your data will be restored from the amazing "Cloud"
Most of this guide is common to both methods, so I've highlighted the specific methods accordingly. If you're following the offline(OFF) steps, then you dont need to follow the online(ON) steps, and vice versa
APPS YOU'LL NEED
1) Titanium Backup - The free version will serve the purposes of this guide, but its just easier and faster to restore using the Pro version. The Pro version doesnt ask you to tap "Install" every time you restore an app. And if you forget to backup something, you can retrieve it from your Nandroid Backup(provided you remembered to do that ).
2) ES File Explorer - This app allows you to backup an app to the sdcard. Any other file manager/app that can do the same thing will work too..
(ON) 3) SMS Backup+ - This app allows you to backup all your call logs and sms/mms to your Gmail account.
INITIAL SETUP
1) Open Titanium Backup
2) Choose Menu->Filters
3) Tap the "Create Label" button, name your label, and then tap the "Add/Remove elements" button to pick which apps this label will be assigned to.
I have an "Important" label - for apps that I absolutely need on every flash, an "Extras" label - for more occasionally used apps, and a "Games" label. Make sure you dont add any system settings like Accounts, Application widgets, Bluetooth Pairings etc. to any of these labels. We will be handling them separately.
4) Choose Menu->Preferences and enable Auto-sync TB settings
(ON) 5) Now open SMS Backup+
(ON) 6) Set it up to backup your call logs, sms and mms to your Gmail account. You can assign labels to each of them so that they are neatly categorized in your GMail. You can also setup auto-backup for convenience.
1ST BACKUP
1) Open Titanium Backup
2) Choose Menu->Filters, scroll down, select all your labels and tap Apply.
3) Choose Menu->Batch->Backup all user apps + system data.
You'll need to backup system settings separately -
4) Choose Menu->Filters, and in Filter by type, choose System
5) Scroll down and make sure none of your custom labels are selected and then tap Apply.
6) Backup the following, these are the ones important to me, you may want to add more to this -
i) Accounts
ii) Application Widgets - Widgets placed on the homescreen of your favorite launcher.
(OFF) iii) Calendar Storage
(OFF) iv) Contacts Storage - Your contacts and call logs.
(OFF) v) Phone/Messaging Storage - Your sms/mms
vi) Settings Storage - Be careful when you restore this. For eg: its not a good idea to restore CM9 settings to an AOKP ROM or vice versa. This is best used when you know exactly what you are doing. Also, a lot of differences between ROMs will probably be the fact that it provides some new customization options in the settings. So restoring this doesnt make sense unless you know for sure that they are the same. Handle with care.
vii) User Dictionary
viii) Wi Fi Access Points
(OFF) Now you need to backup Titanium Backup itself, since thats the first app you will want to install, after a ROM flash.
(OFF) 8) Open ES File Explorer,
(OFF) 9) Choose Menu->Manager->App Manager.
(OFF) 10) Press and hold Titanium Backup and then choose Backup(the apk will be saved in /sdcard/backups/apps)
(ON) 11) Now open SMS Backup+ and tap Backup
Thats it !! You're all set now !
See post #2 for info on how to easily backup and restore your data.
Hope this helps in making ROM flashing an easier task
If you thought this was helpful, hit "Thanks" !
If you have any suggestion that might make this an even easier process for everyone, please do share !
And Happy Flashing !
Now before you flash any new ROM, just follow these steps.
BACKUP
1) Open Titanium Backup, make sure none of your filters are selected, then choose Menu->Batch->Redo backups for modified data
(OFF) 2) You can optionally backup Titanium Backup's apk again using ES File Explorer. This is only to ensure that when you install it in the new ROM, you have the latest version
3) Take a Nandroid Backup if you wish to(recommended).
Perform a full wipe, flash the new ROM, and reboot.
When the startup wizard pops up -
(OFF) Skip the sign in to Google part, but complete the wizard.
(ON) Sign in using your Google account, and complete the wizard.
RESTORE
(OFF) 1) Open the File Manager that came with the ROM, and go into backups/apps(or wherever you saved your apk) and tap on the Titanium Backup apk to install it
(ON) 1) Open Play Store, and download Titanium Backup
2) Open Titanium Backup, and go to Backup/Restore
3) Choose Menu->Filters, scroll down, select your label("Important") and hit Apply.
4) If any of your "Important" apps are already installed, tap it and choose Restore->Data Only.
5) After that Menu->Batch->Restore missing apps with data
6) Deselect the apps that you dont need and tap "Run the batch operation"
7) You can repeat steps 3,4,5 and 6 for all your labels now or at a later time.
(OFF) Before proceeding, you need to make sure that all the apps that were added to the Accounts & Sync section in the previous ROM, are now installed in the current ROM. Apps like Google+, Facebook, HaxSync, LinkedIn, Twitter, Whatsapp etc. This is because we are about to restore the Accounts, and these apps need to be there if you want their "Accounts" to get restored correctly. Also, when we eventually restore Contacts, the restoration will be more complete if the accounts related to those contacts already exist. So we need to set this up beforehand.
This is where you start restoring System data. Now you need to be careful with this. ROMs that are completely different from each other may start acting buggy if you restore this data. I would suggest not doing this across different versions of Android. And if you know that the 2 ROMs are from different bases then you should definitely pick what you're restoring here.
8) Choose Menu->Filters.
9) In Filter by status, choose Backed up
10) In Filter by Type, choose System and hit Apply
11) And then Menu->Batch->Restore all system data. Now before you run the operation, deselect Contacts Storage. If your new ROM is very different from your old one, then deselect Settings Storage too. If you see anything else that you feel may not be compatible, deselect those too.
12) Tap "Run the batch operation"
13) Reboot(or Hot Reboot)
(OFF) 14) Now open Titanium Backup, Backup/Restore, tap Contacts Storage and restore Data Only
(OFF) 15) Reboot(or Hot Reboot)
(ON) 14) By now, your Calendar and contacts should have gotten sync'ed automatically. Just add other accounts to your Settings->Accounts&Sync section, and the rest of your data should get sync'ed up
(ON) 15) Open SMS Backup+ and Restore your call logs and sms/mms.
wow. after posting it feels like a really really long process !
but trust me, its just how i've explained it. Once you set it up, its a piece of cake
Ha ha quality post for persons that are unaware of how simple this is.
I use MyBackup pro myself for apps and data. Does the same thing imo. But also does a great job of everything else. Sms, bookmarks, dictionary, ect ect all in one application
Sent from my Desire HD using xda premium
Guys when I was on Sense roms I was able to restore my syncs accounts and all my emails accounts with Titanium... but since I'm on ICS, no matter what I do, I can't seem to restore those two things....
I restore data from Accounts (something backed up from TB itself) and data from Email but no go...
Anyone?
Restoring Accounts has worked for me on ICS. There are 2 things you need to do.
1)Before restoring, make sure all the apps needed for those sync accounts are already installed/restored. For eg: Facebook, Google+, Whatsapp, HaxSync, etc...
2) After restoring Accounts, reboot/hot reboot your phone.
crazyjc81 said:
Restoring Accounts has worked for me on ICS. There are 2 things you need to do.
1)Before restoring, make sure all the apps needed for those sync accounts are already installed/restored. For eg: Facebook, Google+, Whatsapp, HaxSync, etc...
2) After restoring Accounts, reboot/hot reboot your phone.
Click to expand...
Click to collapse
Normal sync accounts, ie FB Twitter Google etc, I also can restore...
The problem is restoring email and exchange accounts... no matter what I do, cannot seem to restore them... they don't appear on the sync accounts nor inside the email app...And of course, I reboot the phone...
I guess the problem is probably from Titanium...
Too bad that the support for the TB is crappy as hell...
Strange. Not sure why it is not working for you.
I got a chance to test this out today, and it worked.
1) Restore Accounts. reboot
2) Restore Email app - Data only.
Assuming exchange accounts would work the same way.
Next time I'm going to try again... thkx for the feedback...
This can't be the first guide for how to backup before flashing can it?
rootingdestroyer said:
This can't be the first guide for how to backup before flashing can it?
Click to expand...
Click to collapse
I'm sure you'll find other "how to backup" topics, but I've not found one as in-depth as this one. This is just the way I feel is the easiest to do it, specially because I like to flash ROMs a lot, and am very particular about my data. If that is the case, this is a really good way to do it.
Sent from my HTC Desire HD using XDA
Thanks for the tutorial.
After restore the apps that should auto launch after reboot only start auto launch after I open them once. After that everything runs smoothly. Is there any option I'm missing in order to prevent having to open this apps one by one?
Thanks in advance.
I'm not sure I understand the question. Are you asking about the app defaults? Like say of you have 2 browser apps and you set one of them as the default, you want that to be restored? I'm not sure how :-(
Sent from my Desire HD using XDA
Nope that's not the question. For example tasker or accuweather when i restore them they will only start working on the background after i open each of them manually first.
That's a good point. I'm not sure where the "start at boot" data is stored. SystemUI maybe? Something to try for my next ROM flash
Sent from my A500 using XDA
If you find out, please let know
Sorry i havent tested this out yet, but if it is in the system settings or SystemUI, I wouldn't recommend restoring it, since most ROMs differ from each other in these areas. It might just screw things up.
Will let you know once I find out.
Sent from my A500 using XDA
Tested it out.
1) Restore the app.
2) Restore settings storage
3) Reboot twice.
I dont know the reason. But when you reboot the second time, the app automatically starts.
Try it out and let me know.
Sent from my A500 using XDA
Just happen to have found this post via search. Just a quick question.
Any way we can manage batch restores without the hassle of tapping "install" and "done" for almost every app? Thanks.
Sent from my GT-I9505 using Tapatalk 4 Beta
wEgGiE_wORm said:
Just happen to have found this post via search. Just a quick question.
Any way we can manage batch restores without the hassle of tapping "install" and "done" for almost every app? Thanks.
Sent from my GT-I9505 using Tapatalk 4 Beta
Click to expand...
Click to collapse
If you buy titanium you don't have to do that.
Sent from my HTC Desire HD using xda app-developers app

What do you do before changing roms to ease the migration

Well here's what I do...
Go through my individual apps and if there's a "backup" setting I create those (including SMS backup).
Run titanium backup of all apps.
Take screen shots of my home screens (to remember icon/ widget placement).
Any other ideas to help ease the migration?
You can get a custom launcher and save all your settings and placements...I use nova launcher
Sent from my Nexus S using Tapatalk 2
Only feel calm knowing that is a game, Like a puzzle...
Sent from my Nexus S using xda app-developers app
I use Titanium, and... that would be it.
Titanium back up.
That's all as well
Sent from my Nexus S 4G using xda app-developers app
Imppy said:
You can get a custom launcher and save all your settings and placements...I use nova launcher
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
I use nova as well. Still has the stock feel with all the customizations and the backup and restore feature is very nice, especially if you're a flashaholic.
Sent from my Nexus S 4G using xda app-developers app
Titanium to backup all my apps
SMS backup & restore for my sms
Nova launcher to backup home setup+ widgets
titanium backup for apps
mybackup pro (you'll need to crack it if you want to do restores between CM and MIUI) - because it does MMS unlikes SMS restore & backup.
and a recovery backup ..
I use My Backup Pro to backup app+data, homescreen with shortcuts/widgets, settings, call logs, SMS, contacts (Though I prefer to sync with google contacts),
Can't believe nobody listed nandroid 1st. My apps are backed up by schedule, don't need to do that. 1st I back up SMS, then use a wipe-all script in recovery to speed things up. After flashing on reboot, I have a TB .apk on the SD ready so I can pop that on quick without hitting the play store. I created a label of all the apps I want to restore so I don't waste time choosing apps one by one, and then BAM...! One button restore. Restore SMS, reboot, profit!
Since I change ROMs often as I change shirts , all I do is nandroid if it's a real good ROM; other than that I start from scratch and install apps as I need them.
if i press advanced restore and restore /data. its same as TPB ? he restore on data or apk + data ? thanks
Ok, wait woah. I feel stupid. Now, I've been flashing roms since back when Oxygen GB was all the rage, but I never realized I could use Titanium Backup&Restore, to backup and restore all of my apps! Derp. So how do I go about restoring them?
I use this method from the AOKP FAQ:
5. Best way to restore apps with Titanium Back up?
Open TiBu.
Menu/ Preferences/ App processing mode/ AUTO Direct
Create backup (Menu/ Batch/ backup/ Click the gray Run button: Backup all user apps) Do not backup or restore system data
Choose Pause active apps/ Run the batch operation
Back/ Menu/ More/ Create "update.zip."
Under "Titanium backup will be install as: "choose “System application”
Move update.zip to root of the sdcard
Flash the ROM, GApps and BEFORE rebooting,mount /system
Choose install zip, and select the zip you created
Reboot
Skip the initial device setup screen Tap top-left, top-right, bottom-right, and bottom-left corners in that order
Launch TiBu and do Menu/ Batch/ Restore all user apps plus data
Reboot
Settings/ Accounts and Sync/ Add your Google account
More info: Titanium Backup WikI
Using this method I usually just restore essential apps and other apps only when I'm sure I'm going to be staying on the new ROM for awhile.
Sent from my Crespo using xda premium
google backup and restore is fair enough lol
Titanium Backup and SMS Backup + .
And just for save backup all my new photos/videos/wallpapers to PC. That should be enough.
Came across Go Backup and it can backup everything like SMS , MMS , contacts, call logs, stock launcher settings and Apps with data as well.
Importantly, you can restore all at once without clicking on install button for every app
Sent from my Nexus S using xda app
I still do not understand why people backup and restore SMS. Do you people not delete them ever either?
karnoff said:
I still do not understand why people backup and restore SMS. Do you people not delete them ever either?
Click to expand...
Click to collapse
Nor really. Since the phone as memory enough to save all SMS. Beside that sometimes for me already helped to find some SMS with the date that someone told me something and with that I just search for it and turn my point right.
Nun3s said:
Nor really. Since the phone as memory enough to save all SMS. Beside that sometimes for me already helped to find some SMS with the date that someone told me something and with that I just search for it and turn my point right.
Click to expand...
Click to collapse
+1

[VIDEO] Rom Toggler - via Tasker

Hey guys!
I saw Modaco's toggler for the HTC One and the S4 to switch between google play edition and touchwiz and i said "hey....thats pretty cool"
So i made a tasker project that does something similar, and the main objective is to allow you to toggle between two different Rom's via Nandroid backups.
Obviously this has its plus's and minus's, but hey it works! Ill post a video with a demo and instructions.
i like aosp for my personal use. But when i go to a party the camera on touch wiz is muuuuch better, and when i go to class, touch wiz has indispensable features. So i made this to not have to compromise.
I used this to fix my GPS on CM10.1 by toggling to my TW rom, getting a lock then toggling back to CM10.1, and it works! wheras before it didnt. of course.
Its intended to be a tool that just sits there till you need it. And it's nice to be able to switch roms whenever i get bored of the current one.
So first, lets get the requirements out of the way:
REQUIREMENTS
1. Must have an external SD card! (if you want me to make one for internal only, let me know!)
2. You must have these things on BOTH Nandroid Backups so do these step by step if youre installing a new rom:
a. Tasker (duuuh)
b. Secure Settings, Install helper! (https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin)
c. Busybox (https://play.google.com/store/apps/details?id=stericson.busybox)
d. Flash Onandroid Tool (http://forum.xda-developers.com/showthread.php?t=1620255)
or you can get Obackup tool from the playstore and install the script from there. its probably easier.
(https://play.google.com/store/apps/details?id=com.pommedeterresautee.twoborange3)
e. My projects XML (https://docs.google.com/file/d/0B7iTLxpFAyDRQXZqTnlKN2NWeWc/edit?usp=sharing)
f. This is Optional but i really really recommend it...Helium (https://play.google.com/store/apps/details?id=com.koushikdutta.backup.license)
3. Tasker, secure settings, and busybox must have root access.
You can go to your supersu app or the supersu option at the bottom of settings (if youre on AOSP) and check it.
Now we can start setting it up! Its not difficult, it just takes a bit of time to let android do its thing..
SET-UP
FIRST MAKE A NANDROID BACKUP OF YOUR CURRENT ROM AND STORE IT ON YOUR COMPUTER!!! not on your phone, just in case.
1.
If youre on a TouchWiz Rom:
Put the XML on your SdCard (internal or external)
Open tasker
Press menu / Preferences / make sure begginer mode is unchecked
long press the Home button on the bottom left, its a picture of a house.
Press import
Navigate to the XML file on your phone and import.
Now go to your homescreen
add a 1x1 tasker widget to your homescreen (or you can export the project as an app by long pressing it / export / export as app)
Find "TW's Rom toggle" in the list, press it, press the back button on your phone.
Go to helium and backup all the things you may want (SMS, user dictionary, tasker, so on and so forth)
Press the widget, and press "Nandroid Backup"
If youre on an AOSP Rom:
Put the XML on your SdCard (internal or external)
Open tasker
Press menu / Preferences / make sure begginer mode is unchecked
long press the Home button on the bottom left, its a picture of a house.
Press import
Navigate to the XML file on your phone and import.
Now go to your homescreen
add a 1x1 tasker widget to your homescreen (or you can export the project as an app by long pressing it / export / export as app)
Find "AOSP's Rom toggle" in the list, press it, press the back button on your phone.
Go to helium and backup all the things you may want (SMS, user dictionary, tasker, so on and so forth)
Press the widget, and press "Nandroid Backup"
2.
Now, go to recovery, wipe cache, dalvik, system, data, and preferably internal storage.
If youre on TW, flash an AOSP rom of choice &Restore helium backup
if youre on AOSP, flash a TW rom of choice & Restore helium backup
Go back to Step 1.
AWESOME!
So now you have a button on your phone that allows you to do backups and restores back and forth between two roms!
Keep in mind that the first backup can take a while...especially on touchwiz. but afterwards it goes much faster!
You have to do a helium backup before you switch and a restore after you switch to sort of semi-kind of keep the data pool shared...im going to see if i can remedy that somehow..
I just set up helium to do backups of certain apps every few hours ia the schedule function so that makes it easier.
Thanks to ameer1234567890 and Snoopy33 for the onandroid tool, because its cooool.
MY XML:
https://docs.google.com/file/d/0B7iTLxpFAyDRQXZqTnlKN2NWeWc/edit?usp=sharing
Just as a heads up, you can easily use one or more of these profiles to automate nandroid backups. The backup profiles will save the nandroid to your extSdCard and replace the previous one.
If anyone has an idea of how to deal with app data between TW and AOSP please let me know!
And of course, and questions concerns requests are very welcome!
Kind of a good idea but using Devil, Siyah or googy-max dual boot kernels just seems quicker and easier.
rootSU said:
Kind of a good idea but using Devil, Siyah or googy-max dual boot kernels just seems quicker and easier.
Click to expand...
Click to collapse
Well im on the note 2, and the dual boot kernel has been giving people problems. I guess youre right though. I happen to really like a particular kernel on the note 2 for AOSP roms (plasma kernel) so i dont have to compromise that, but hey if people are happy with those dual boot kernels, im all for it!
The video is up!

Noob friendly guide to clean install ROM.

Noob friendly guide to clean install ROM.
Ok friend here posting some steps to clean Install ROM and how to keep device ready to clean install ROM with minimal risk of loosing data with keeping data restore handy.
I have devided this guide in Three sctions.
If you are first time flashing custom ROM then first part of this guide is not much helpful to you. Move to section 2 (installing ROM) as well read post#2
1.Pre Flashing - How to keep device ready to clean install ROM/Wipe
2.Installing ROM
3.Post flashing data restore.
1.Pre Flashing preparation and data backup management.(for rooted device)
Here for this I do prefer titanium with schedule backup to keep my data protected on daily basis and describing below how do I prefer to manage it.
Ok let's start with schedule backup with titanium. This step will secure you to keep your data backup everyday without your interference.
- Install Titanium backup from play store (features mentioned here best managed with Pro version only)
- Now open titanium application and select click to edit filter as shown in screenshot below
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-In next screen select create label. see image below
-Now give this filter a desired label like here i gave data only in below screenshot. After this select add/remove elements in same screen. This is very inportnt step and you have to decide what elements you requires to backup daily. In my case giving you some examples like
contact storage ( look for contac storage green color to make contact backup), Messages (yellow colored) to make backup of SMS. like this. You can select your desired application data to make backup according your needs. But I strongly recommend to make backup od these two only from system application part. Though another important app is Launcher which can helpful to restore your launcher setting (Homescreen) for that you need to select TouchWiz home (red color). Also note that when you restore red color backup, select only to restore data only. we will discuss again in restoring section. Ok you can also select third party elements which changes data frequently. in my case I don't use stock launcher so selecting third party launcher so whenever i do change my homescreen setting, i need not to worry about it. Anyway it's enough to make clear what you have to select here is only application which data frequently get changes.
Once you finish this setup you will see your filter in nect screen
-Now come to main screen and select Schedule. See image below
-Now here you can see two pre defined rule here on ths page. see image below
-Select first rule by tapping on edit on first rule. Now next screen is very important and you will find three tables. Here in below screenshot as I shown select first tab to "Backup new user app and New version" This will ake backup of all user app which backup is not present. Also it will make re backup if you update application version.
second tab is keep no filtering so all user app will backup and third tab should setup to 'Any' so it can make backup without any power condition.
Also in lower part select desired day and time when to make backup. You can select daily or on selected day. I prefer to do during our sleeping time so it can do silently.
-Now click on edit button of second rule. This is for backup of all app and data for which you have created lebel.
Now on first table select 'All user App + System data" and in next table (filter) select label which you have created earlier. So this will make backup of only stuff which you have selected in add/removal elements while creating label. Also recommended to keep 'Any' under power condition of third table.
Same as before here defined your prefered time to make backup. Keep considerable time between first and second rule so app will remain free at time od backup of second rule.
-Ok most of setup is now finished and select menu key - preference from titanium app and Check mark 'Auto-Sync TB setting' This will save setting on SD card and when you install Titanium next time all above made setting will be retrived autometically.
-I prefer to keep titanium backup folder on Ext SD because many times you may needs to wipe IntSD too. Also prefereable to make periodic manual backup of titanium backup folder to PC from Ext SD card. you can set loaction from Menu - preernce - Backup folder location.
-also recommended to keep multiple copy of backup by selecting Number of backup under menu-preference. This is important when one backup failed then old to that backup may be useful
So this is all about keep device ready to make backup of your device anytime on daily basis. Though you can manually run scheduled backup by selecting 'RUN' in schedule-rule just before flashing ROM to assure latest settings are being backup already.
2.Flashing ROM
1.Flash your desired CWM/TWRP if you are still on stock recovery. - READ POST #2 FOR DETAIL ABOUT FLASHING RECOVERY.
Note that your device not required to be rooted to flash custom ROM. Just having CWM/TWRP (what is recommended by your ROM developer)
2.Download and copy ROM file to your SD card (Int/Ext)
(Here I am showing example of Philz recovery and some option may be different in case of you are using other recovery)
3.Reboot to recovery and select wipe data (for clean installation) (see image)
4.Select Install zip and then select zip from SD (where you copied) (see image)
5.Now wait here and don't immediately confirm by pressing 'yes' but wait till it finish md5 check. (see image) MUST READ
Once it finish md5, compare it with below provided md5 sum and select yes only if it matches. If it doesn't match that means your download is corrupted and needs to redownload.
Ok Next important thing to mentione here is management of bootloop
So many users experiences bootloop after flashing ROM, even after clean install. This is most of due to corrupt data and common issue on kitkat based ROM.
Here recommended steps in case you get bootloop.
1.Make sure you have checked MD5. I have desribed here how to check md5 on device above wit Philz recovery. I strongly recommend to check MD5 on device because sometime file can be corrupted while transffering from PCto device. In case you are using other recovery then you can use root explorer from play store to check MD5. Open root explorer - navigate to ROM file - Long press and select properties. Vait for some time while it finish calculating MD5 and once it matches with one provided on ROM thread.
2.Use recovery which is recommended by developer of ROM.
3.Before flashing ROM wipe data and then install ROM.
4.If still issue then you can try flashing stock recovery and then wipe data with stock recovery. NOTE that wiping data with stock recovery will erase all data from Int SD too.
5.Even after this issue persist then last final way is to flash stock ROM with Odin and then wipe data using stock recovery. After that follow install instruction as said above.
Now After successful flashing ROM last step is to restore data
3.Post flashing Restoring data.
1. First complete setup wizard and wait till you get homescreen. Now here wait for your device to become cool. On first boot after clean install media scanner will scan all drive and Index srvice also will run that will make device quite hot. and this depends on data on your device (5 to 30min) Don't intall anything during this period and wait till device gets cool. (This waiting period is optional but still recommended to prevent any unwanted issue)
2.Now reboot device and add your google account. If you have cloud backup for your contacts then let sync to finish and as soon as you add google account your contacts will be restored autometically. Ifyou don't want to sync contact data then immdiately open account-google and select 'Cancel sync' now you can manually select each option which you want to select if you needs selected data to sync only.
3.In case you don't sync contacts with google server then now time to restore from backup you made by other way. Apart from titanim other way to backup contacts is from contact application itself. for that you needs to make bachup before wiping device by
Contact - menu -Impoort/Export - export (SD/ExtSd)
If you have make backup this way then now restore it by doing this in reverse. Contact-men-Import/Export-Import (from where you created backup)
In case you have created backup by titanium then
Open titanium app - look for contact storage (green color) and select it - restore -data only. Remeber this step you have to do after adding google account only otherwise you can't see contacts.
Next is restore SMS
Open titanium - look for Messages (Yellow color) - select - restore -data only
Now reboot device and check contacts and messages are restored correcly
4.Restore rest of app and data.
For this open titanium - menu - batch action - Select "Restore missing app with data" option Here very important thing on next screen is to keep selected two option a.App + data and b.Exclude System apk. This option a will restore all your app including data like game level (may not with few app), credential of app, settings/preferences of app etc and option b will prevent any junk file of preveios ROM to inject.
After confirming of these two options now check list of app which going to restore. Have a look again and deselect any app you don't needs as well an app you don't know what is it (sometimes old ROM junk can be seen here)
Once restore process start, keep patience and let it finsh. During this time device getting hot is normal. and once restore finish, simply reboot device and open application whih requires to give auto notification. Also open applications manually which require root permission. Remember some application can't work unless you manually open it once after titanium restore.
Also to remind that if you find lots of application causing force closes after restoring titanium then may e your ROM is not fixed for it and you needs to Install TB restore fix from play store and needs to apply fix. Also to note you needs to do it everytime you restore titanium data.
OK friends I think lots for now and will update if I find anything missin here. Thiugh it's long to read but I can assure once you do it, you will never worry about wiping device. and it's one time investment to keep device clean
All the best and happy flahing !
This is for users who first time ever flashing custom ROM.
First you should know difference between stock recovery and custom recovery at least visual difference. So if you don't know how stock recovery looks then first put device in recovery this way
Turn off device. Press Vol UP + Home + Power simultaneously. once you see samsing logo on screen just release power button and keep holding other two. Soon you will see some menu on screen. Note down options available and this is stock recovery. Now move On
1.First make backup of your contacts and SMS. you can do it without having device rooted too. For contacts you can sync with google account OR making backup locally from contact app-menu-Import/Export-Export to (USB/Rxt SD) I recommend ExtSD if you have ext SD card because sometime you needs to wipe IntSD card and may you lose data from IntSD (USB storage) For SM you can use samsung account OR offline with third party app like SMS Backup/Restore
2. Remember that for Installing custom ROM you don't needs to have device rooted. Just only having custom recovery (CWM/TWRP) is enough.
Here is guide to flash custom recovery.
First download tar OR tar.md5 format recovery. If you don't know where to get then seek help from ROM thread which you want to flash and get download link of recovery recommended by respective ROM developer.
Once you get custom recovery in tar format, you needs odin. Also make sure you have installed Kies OR Samsung USB drivers on your PC. I prefer samsung driver only.
Remember you don't connect device to PC while flashing with any extension cable. Simply use single cable to connect device with PC. If it is desktop machine then choose one from backside (direct connects to MoBo
Also make sure your machine's firewall is Off and also turn off antivirus if any you have installed on machine.
Now you are ready to go.
3.Turn off your device. Once it turn off completely, press three button Vol Down + Home + Power to put device in download mode.
Now you will see warning screen and press Volume up to continue
After this you will see green android logo and text Downloading...
4.Open Odin from PC and select PDA (On new version of Odin it will be AP) and navigate to custom recovery which you have downloaded in tar/tar.md5 version. See image below for No3
5.Connect your device to PC and soon ID:COM tab will be turn to different color once device is detected. (see No 1 in above Image)
6. Keep selected Auto reboot and Reset time as shown in Image above
7. Now click on start button (no5 in image above)
8.It will take few seconds to finish process and you will see Pass/RESET msg on first tab of Odin. Now you can disconnect device and it will auto reboot.
9.Turn off device and put device in recovery as said very first on this post. If your recovery is changed from first look of stock recovery then you have successfully finished first task. Now move to post 1 above and part 2 Installing ROM section to continue to flash custom ROM.
10.If even after flashing custom recovery you recovery not changes and same as stcok look you have before flashing then follow this.
11. Follow steps 3 to 5 above and after this uncheck Auto reboot option (no 2 in above image) and finish steps 7.
12. Now this time your device won't reboot auto but when you see Pass/REST msg simply disconnect devie and put device in recovery manually bu Vol UP + Home +Power (as said initially)
13.Now you should have custom recovery. and you are ready to proceed for Flashing custom ROM. Head toward post #1 avove section 2 (Installing ROM)
GoofLuck.
reserved
Thanx doc
Hey, what a really useful post! Thanks doc, I'm finally gonna understand something about this titanium label thing!
Thanks alot Ketan Bhai for this great noob friendly guide.. :good::good::good:
Mod Edit
Good work.
Thread stickied
malybru
Forum Moderator
Very very thank you Dr.ketan...
Can I ask you...
Which are the apps requiring root permission and/or to be given auto notification, that you advise to manually open after titanium data restore?
I think I have never read something so useful in any thread about flashing roms...Great??
Great thread. I would just add to backup external datas for certain apps like WhatsApp: they're stored in the internal sd and may get lost when formatting it, since usually Titanium doesn't include them in its backup.
Sent from Galaxy Note 8.0 GT–N5100
jasminedd said:
Very very thank you Dr.ketan...
Can I ask you...
Which are the apps requiring root permission and/or to be given auto notification, that you advise to manually open after titanium data restore?
I think I have never read something so useful in any thread about flashing roms...Great??
Click to expand...
Click to collapse
I said that about third party (User) applications. Like any third party app you have restored with titanium and that requires root you should trigger supersu permission by asking it. sometimes what happen that it ask supersu permission while you are not monitoring device and you may miss it and app can't perform action. Also some app are not having auto restart option so these kind of app also needs to open it once after restoring with TB
In short user Applications you restored with titanium needs to open once to get it activated.
Very thank you Dr.ketan... Never done so even more precious is your advice ?
This is such a fantastic guide. Thanks Doc, would save hours for a newbie... You rock
Thanks this is really a great guide
Very thank you Dr.ketan. you are the best!!
Inviato dal mio GT-N7100 utilizzando Tapatalk
Great thread dr .. but I missed such thread during my nooby days
Better late than never. Hopefully this will cut off cluttering many thread development. Also easy to direct newbies here for you like helping friends.
Sent from my SM-N900 using xda premium
Doc, lets say XDA v1.2 is install and i did TB backup manually for that on my microSD card. Later on XDA v1.3 is installed how can i make it automatically overwrite the previous verison on the microSD card without deleting it manually?
Not sure if im asking this correctly
It depends on how many backup to keep is selected under preferences. If you select one then earlier will be erased automatically once you backup new.
Sent from my SM-N900 using xda premium
Alternatively, if one has problems with any backups on external SD, mostly on KitKat firmwares due to write to SD permission revoked for 3rd party apps, one can use this app - https://play.google.com/store/apps/details?id=com.genie9.gcloudbackup to make backup on cloud storage and keep it secure forever and restore hassle free(until you forget your password ).
Does not require root, so its fine for those coming from stock to custom directly without rooting.
Sent from my RPG with auto targeting
WOW!
I have been using Titanium Backup Pro for several years--but, there is stuff in your guide, dr. ketan, that was completely new to me--it is so very useful.
Now doing a clean install will be soooo much easier.
thanks,
Glad that this has been made a 'Sticky'.

Categories

Resources