copy app data between wipe - Hero CDMA General

i was wondering if its possible to copy application data between wipe. e.g. right now i have k-9 mail set up for my work e-mail with all my appropriate settings and such. if i want to perform a wipe is there anyway i can backup all my settings for the app and restore them after perfoming a wipe and installing a new rom? my biggest annoyance right now is setting up all my apps again after switching roms.

my guess would be to just pull the .apk and .odex (if available) files from the app and push them back once the new ROM is installed.

Titanium
ajaholic said:
i was wondering if its possible to copy application data between wipe. e.g. right now i have k-9 mail set up for my work e-mail with all my appropriate settings and such. if i want to perform a wipe is there anyway i can backup all my settings for the app and restore them after perfoming a wipe and installing a new rom? my biggest annoyance right now is setting up all my apps again after switching roms.
Click to expand...
Click to collapse
Titanium Backup...its in the market. I would swear by it. I've never had to re-setup an app since I started using it. There is a free version and a donate version. The free version works great but its worth the donate if you can.

True, titanium back up is the best. You get every thing back. If your phone is rooted.

Will titanium work between frameworks? Say, swapping from Fresh 2.1 to Darch Legend

yes, it will. though it won't restore market links unless you pay for the donate version.

Hrm, it's popping an error:
"Busybox works but the "su" command does not elevate to root: "Whoami" reports "whoami: unknown uid 10091" instead of uid 0. I think your superuser whitelist system app does not work. Please check with your ROM provider."

Superuserpermission.apk fixes the uid issue. Search for it in a post from mercado79. The author of titanium knows the solution.
http://forum.xda-developers.com/showthread.php?p=5764463#post5764463

thanks guys ill check this out.

Related

Any way to auto-install a bunch of apps?

For example, after wiping and re-flashing a new Desire rom
Paul22000 said:
For example, after wiping and re-flashing a new Desire rom
Click to expand...
Click to collapse
Back them up with titanium backup (free version is fine) first then you can batch reinstall with it after.
You could write a batch script with a loop to install all the apks in a folder via adb.
britoso said:
You could write a batch script with a loop to install all the apks in a folder via adb.
Click to expand...
Click to collapse
That's a good idea and doable with one line
from windows command line
for %a in (c:\path\to\files\*.apk) do adb install %a
or in batch file (2 % signs)
for %%a in (c:\path\to\files\*.apk) do adb install %%a
Question relating to this type of thing...
I backed everything up with Astro prior to flashing Cyanogen's ROM...after doing so and reinstalling, all apps work, however only apps that I've installed from the market since that time show updates available...the others never notify me, I only find out if I use a program like atrackdog to track the version #'s. Is this a known issue, and is there a fix?
gIMpSTa said:
from windows command line
for %a in (c:\path\to\files\*.apk) do adb install %a
Click to expand...
Click to collapse
Hah, that's awesome!
[Edit]: Will they not show up in the Market as described above if installed via adb?
mikeybags said:
Question relating to this type of thing...
I backed everything up with Astro prior to flashing Cyanogen's ROM...after doing so and reinstalling, all apps work, however only apps that I've installed from the market since that time show updates available...the others never notify me, I only find out if I use a program like atrackdog to track the version #'s. Is this a known issue, and is there a fix?
Click to expand...
Click to collapse
Try backing them up with titanium backup (free edition is fine) and then restoring them, i think that will rewrite your packages file. At least, everything i've restored via titanium updates.
Paul22000 said:
Hah, that's awesome!
[Edit]: Will they not show up in the Market as described above if installed via adb?
Click to expand...
Click to collapse
I think they will, but if not, try the titanium backup method i mentioned.
Use Titanium Backup (It will save all app data and restore that as well) Also Donate version has batch install without prompts to install each app
Titanium Backup Donate. Seriously worth the money man
Any other method of installation than Titanium Backup will cause apps not to show in Market, and you will not be notified of updates. So, use Ti Backup. ;-)
gIMpSTa said:
Try backing them up with titanium backup (free edition is fine) and then restoring them, i think that will rewrite your packages file. At least, everything i've restored via titanium updates.
I think they will, but if not, try the titanium backup method i mentioned.
Click to expand...
Click to collapse
Just downloaded. It looks like auto-install is only for the $4 version?
Paul22000 said:
Just downloaded. It looks like auto-install is only for the $4 version?
Click to expand...
Click to collapse
It's worth the money, but you can batch reinstall without the pay version, you just have to click "ok/done" for each one, but it's quick and easy.
+1 For titanium Backup donate. I dont know how I ever got along without it
Albaholic said:
+1 For titanium Backup donate. I dont know how I ever got along without it
Click to expand...
Click to collapse
But how do I batch-install apps that I did not backup using TiBackup before? e.g. I downloaded a couple of apk files somewhere and want to batch install them, how do I do that?
You can also use AppBrain for batch reinstalling.
Actually, my Nexus One reinstalls all the apps from the market after I wipe.
mikeybags said:
Question relating to this type of thing...
I backed everything up with Astro prior to flashing Cyanogen's ROM...after doing so and reinstalling, all apps work, however only apps that I've installed from the market since that time show updates available...the others never notify me, I only find out if I use a program like atrackdog to track the version #'s. Is this a known issue, and is there a fix?
Click to expand...
Click to collapse
Use Amon_RA recovery and do "Fix UID mismatches" or whatever it's called. It will match your apps to the Market.
I thought if you sign into your google account it will automatically reinstall apps after wipe, or am i missing something?
Mokurex said:
I thought if you sign into your google account it will automatically reinstall apps after wipe, or am i missing something?
Click to expand...
Click to collapse
Yes. Root/custom ROM. The auto-install is for 100% stock I believe.
Am talking more about apps that I didn't have before on my device before wiping/upgrade. Or lets just start with a fresh device where I have absolutely nothing installed: apps or custom settings:
I have a bunch of apk files which I downloaded before via my PC
I haven't even set up my Market/Google account yet on my device
I want to conserve my bandwidth (3G or Wifi, it doesn't matter) and rather want to batch-install the whole bunch of my 100+ apk apps
how do I do that? what app do I use? from the Market?
Moe5508 said:
Am talking more about apps that I didn't have before on my device before wiping/upgrade. Or lets just start with a fresh device where I have absolutely nothing installed: apps or custom settings:
I have a bunch of apk files which I downloaded before via my PC
I haven't even set up my Market/Google account yet on my device
I want to conserve my bandwidth (3G or Wifi, it doesn't matter) and rather want to batch-install the whole bunch of my 100+ apk apps
how do I do that? what app do I use? from the Market?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=5875487&postcount=4
I have set up a category on AppBrain personally.. My must-install apps... So when I install a new ROM (when I get around to doing so) I should hopefully be able to easily pick and choose which are installed and none of the misc stuff I like but don't need for day to day use, or to make testing the new ROM faster etc.

[Q] Port backup from Hero to DesireHD?

Hi,
I currently own an HTC Hero, and will most likely be getting an HTC Desire HD.
Now, I have almost 150 apps on my Hero, and I really dread the hassle of re-installing and setting up everything to my liking. It has taken me almost a year to set this up the way I want it.
Would it be possible, using Titanium Backup, to make a backup of EVERYTHING possible on the Hero, and then switch the memorycard to the Desire HD and restore it there, maybe without the app settings? I am thinking that this could be a problem because of the different specs, but I do not know too much under-the-hood-stuff regarding Android.
I am hoping to not have to go through the market for that many downloads.
Any thoughts on this?
Kingkeld.
Market apps will automatically re-install when you sign in into your new phone. For the rest there is Titanium backup
I planned on doing the same, but doesn't Titanium require root?
I can't remember what it's like to not have root, the thought is scary
Try Android commander for the PC, Plug in your hero, goto application manager, select all the apps and click backup, then when you get your new phone selsct all the backed up apps and click install Hope it helps
christonabike said:
I planned on doing the same, but doesn't Titanium require root?
I can't remember what it's like to not have root, the thought is scary
Click to expand...
Click to collapse
It does need root that is correct but I'm sure, as stated there are other ways to backup apps. I'm not sure about if you have your apps on ext partition though. I wager root wont take long and then comes recovery roms and then customs... mmm custom
Thank you for the replys. I can not sleep.
Now we just need a root confirmation. Yes, the thought of owning an unrooted phone is scary. Not sure what to think of it. I hope it will not last long.
All I ask is root. I can wait for the custom ROMs. There will be plenty to play with.
You just need to pick your apps from /data/data, copy them over with adb, and do a fix_permissions
See?
OR chmod by hand
;]
I used Titanium to migrate my app settings from Milestone to Nexus One, but they're on similar versions of Android and both are HDPI devices.
I can tell you that Market apps don't always reinstall automatically if you're going from one phone to another. In any case I suggest a fresh market install of your most important apps, and then restore their data by Titanium if necessary. If this causes a crash, wipe their data again. Less important apps, could just try restoring them directly. Run Titanium's Market Doctor when that's done.
I also suggest using apps like BookmarkSB, SMS Backup Restore, Call Log Backup Restore, etc to transfer those records. May work better than trying to Titanium restore data across different OS versions, and doesn't require root. Good luck! Let us know how it goes.
Sent from my Nexus One using XDA App

Ti backup - Android commander ?

Have a few questions I am sure some one can help with. I have been using Ti Backup to backup apps when updating Roms. No problem with the apps and bookmarks. Having trouble figuring out how to save text messages. I have tried saving MMS app and restoring but no prior texts. I have tried restoring just data and no go. What am I missing? What folder are the actual text messages saved in?
I also would like to pre load the ROM with apps before installing, but keep getting errors. Is this a signing issue or just me?
I have just started to use android commander to backup apps. I have tried to reinstall them back into the updated ROM, but also keep getting errors.
I really like Ti Backup, but it really takes a long time to run batch, go through each app, install, and hitting done for each app. May be there is a faster/easier way with Ti Backup.
Any help would be appreciated
Mac
You can make a zip using TB with all your apps which flashers them into /data.
il Duce,
Sorry for being so stupid. Do you mean zipping the backup file that TB uses? I don't see any option for making a zip with TB. Is it in the pro version?
Sorry again for my ignorance
Well I have pro, but I think its in both? Its in menu, more, create update zip. If you dont have that you can do an advanced restore of data with CWM. There are times you wouldn't want to, like going from froyo to ginger or back. Also sense to aosp. Full wipes are generally recommended, but these other things may work for you.
I used the create update.zip earlier today, and I got an error saying that it needed to use Edify. I might have an older version of TiBu, though. I was hoping to get it added to the list of things to flash from the start along with gapps, but no luck. It's not much more work to install the .apk and then batch restore from there, though.
I think switching to Pro allows you to do the batch without having to approve and accept each individual app installation. Not to mention that nice Dropbox storage.
Just use SMS Backup+ to backup SMS and MMS.

Rooting 2.3.3 - Does Flashing Erase All Data?

Basically, I'm running unrooted FW2.3.3 and was wondering if there was a method to root my device in which I can keep all my data/settings? Cheers
No. To get rooted on 2.3.3 your will have to flash 2.3.2 (which will wipe everything on your phone, sd card data wont be wiped) then root then do the ota update. Best you can do is try backing up apps/settings without root.
I think (not used myself) MyBackup pro will let you backup apps but the free version only lets you back up 2mb of data lol. So you will need the piad version.
App List Backup to help reinstalling of market apps.
MyPhoneExplorer Client use to backup text messages, call logs e.t.c
Or just see some of the free backup apps on the market https://market.android.com/search?q=backup&so=1&c=apps
Thank you! Backed everything up using your suggested programs - but there was an option to 'keep all user data' during flashing which didn't seem to lead to any issues for me, always good to be doubley sure though so thanks for your advice
crimsonnight said:
Thank you! Backed everything up using your suggested programs - but there was an option to 'keep all user data' during flashing which didn't seem to lead to any issues for me, always good to be doubley sure though so thanks for your advice
Click to expand...
Click to collapse
If you flash without ticking the wipe user data box you could get alot of system errors / force closes. Its best to wipe user data and do a clean install to avoid problems. I suppose its ok aslong as no problems appear, maybe?

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

Categories

Resources