[SOLUTION] Bulk installing user apps after wipe - Captivate Themes and Apps

1. Use Titanium Backup->Batch->Backup user apps
2. Download backed up apks into your PC:
>mkdir c:\TitaniumBackup
>adb pull /sdcard/TitaniumBackup c:\TitaniumBackup
3. Install new ROM which will wipe your user apks.
4. Decompress your apks using 1 of following:
>lzop -x *.apk.lzop
or
>gunzip *.apk.gz
5. Install your apks:
>for %F in (*.apk) DO adb install %F
6. Restore your apps settings using Titanium Backup->Batch->Restore user apps (data only)
Voila!

Nice find man. No more tedious one by one installations.
Thanks!
Sent from my Captivate. Andromeda 3, Onix 2.0.5 @ 1.2Ghz

Hmmm, how is this different from just using TiBu Pro?

Escape311 said:
Hmmm, how is this different from just using TiBu Pro?
Click to expand...
Click to collapse
Assuming TiBu is titanium backup pro... Then this method would be free. If it isnt, sorry for the mistake

TibuPro differences
1. Sugar free - zero added calories.
2. You get extra backup of your apks on your PC.
Escape311 said:
Hmmm, how is this different from just using TiBu Pro?
Click to expand...
Click to collapse

I guess this is nice if you dont want to pay for TiBuPro
bravomail said:
1. Sugar free - zero added calories.
2. You get extra backup of your apks on your PC.
Click to expand...
Click to collapse
with TiBuPro:
1- before I wipe my phone, I backup my apps and then move the "titaniumbackup" folder from my sdcard to my PC.
2- wipe the phone/install new ROM.
3- Copy (not move) the folder back onto my sdcard and restore
Now you have a copy of the backups on the PC and your phone. Just as easy and no need for uncompressing anything.

Don't forget about Dropbox sync within TiBu Pro. Most people overlook this feature.

terrigan said:
Don't forget about Dropbox sync within TiBu Pro. Most people overlook this feature.
Click to expand...
Click to collapse
thats right. I keep forgetting about that too

bravomail said:
6. Restore your apps settings using Titanium Backup->Batch->Restore user apps (data only)
Click to expand...
Click to collapse
Recently updated TB from the market. I can't seem to find the data only restore option.
I did make a small .sh script to run in terminal emulator if you want me to post it (no need for computer/adb).

apk mass-reinstall with linux
bravomail said:
5. Install your apks:
>for %F in (*.apk) DO adb install %F
Click to expand...
Click to collapse
Or (if linux or macosx with bash3):
$ for apk in *apk; do adb install $apk; done
or, to combine a temporary unzip with installation:
$ for apkgz in *apk.gz; do apk=${apkgz%%.gz}; gzip -dc $apkgz > $apk; adb install $apk; rm $apk; done
I've since bought TiBu for the automatic batch restore, so I don't need to use this workaround anymore.

Smasher816 said:
Recently updated TB from the market. I can't seem to find the data only restore option.
Click to expand...
Click to collapse
That's because the data-only restore option isn't a stand-alone entry in the batch restore menu. Instead, you'll find the "Data only" radiobox option on the next screen only after choosing "Restore all apps with data".

Thanks for Linux/MacOSX script
Nice touch!
The reason for me posting this without many details or screenshots is that knowing how to run "adb" assumes many things ;-)
U r welcome to post any extra scripts, info etc here.

Related

Paid app backup.

Hi.
I´ve tried to backup a couple of paid apps. Astro tells me the apps are private and won´t backup. On Mybackup Pro the apps are not even on the app list.
Is it even possible to make a backup of a paid app ?
Filgaliel said:
Hi.
I´ve tried to backup a couple of paid apps. Astro tells me the apps are private and won´t backup. On Mybackup Pro the apps are not even on the app list.
Is it even possible to make a backup of a paid app ?
Click to expand...
Click to collapse
If your paid apps get deleted, the market will still show them as having been purchased. All you need to do is re-download them.
Wow, I forgot posting this..
The problem is that I paid for a couple of apps while running an Android 2.0 ROM. Now i´m running a hero 1.5 based ROM some of the apps I paid for don´t show up in market.
Did you try to back them up with "Backup for Root"? It should backup every apk without bothering you with protected ones, I think.
Otherwise you can backup all your apps with a single command using adb (I personally do it that way) :
assuming you want to put them in the same folder as Astro...
adb shell cp -r -f /data/app/*.* /sdcard/backups/apps
Hope this helps
Edit : I forgot that the protected apps were put in the app-private folder so to have all apps you have to do two commands, here is the second one
adb shell cp -r -f /data/app-private/*.* /sdcard/backups/apps
I'll try both methods. Thanks a bunch.
swissp said:
Did you try to back them up with "Backup for Root"? It should backup every apk without bothering you with protected ones, I think.
Otherwise you can backup all your apps with a single command using adb (I personally do it that way) :
assuming you want to put them in the same folder as Astro...
adb shell cp -r -f -p /data/app/*.* /sdcard/backups/apps
Hope this helps
Edit : I forgot that the protected apps were put in the app-private folder so to have all apps you have to do two commands, here is the second one
adb shell cp -r -f -p /data/app-private/*.* /sdcard/backups/apps
Click to expand...
Click to collapse
SwissP
Must the phone be rooted to execute this ? I'm running a Droid on 2.0.1 - TIA
swissp said:
Did you try to back them up with "Backup for Root"? It should backup every apk without bothering you with protected ones, I think.
Otherwise you can backup all your apps with a single command using adb (I personally do it that way) :
assuming you want to put them in the same folder as Astro...
adb shell cp -r -f -p /data/app/*.* /sdcard/backups/apps
Hope this helps
Edit : I forgot that the protected apps were put in the app-private folder so to have all apps you have to do two commands, here is the second one
adb shell cp -r -f -p /data/app-private/*.* /sdcard/backups/apps
Click to expand...
Click to collapse
I tried the adb method and after i type out the "adb shell cp -r -f -p /data/app-private/*.* /sdcard/backups/apps"...it says multiple values entered or something along those lines and gives me a list of option with the definition of each -r -f etc. I dont know if that is supposed to happen and if it is...whats the next step.
As well i tried the backup for root users and i had one paid app "crystallight" that i was experimenting with...the crystallight app was backed up as a .zip while majority of the other apps were .apk...
How can i reinstall the crystallight on to my phone...i tried the restore function in backup for root users and nothing happens.
I also tried the method as stated here: http://theandroidsite.com/2009/11/2...ns-for-root-users/comment-page-1/#comment-517
And i get errors with this method too.
I have a HTC Hero rooted and running firmware 1.5
Thanks in advance
Sorry I forgot this thread.
Yes, you will need root as I think you wouldn't be able to access the content of the /data folder without it.
I just tested and found that you cannot use the -p parameter with the app-private folder (I don't think it's needed for the app folder either so you can remove it on both adb commands), sorry for that. I don't know what could be the problem on the Hero though. It should work the same.
About the app in .zip, I'd just try to rename it to .apk and install as usual
Filgaliel said:
The problem is that I paid for a couple of apps while running an Android 2.0 ROM. Now i´m running a hero 1.5 based ROM some of the apps I paid for don´t show up in market.
Click to expand...
Click to collapse
If the app require 2.0 (or more likely 1.6) as a minimum OS level then they are not going to show up, or work, if you are now running 1.5. Your phone tells the Market what version of OS you are running, and the Market filters the available apps, based on that.
Titanium Backup
You can use Titanium backup on the market, if your phone is rooted and has SQLite and busybox, to backup/restore all of your apps, and market data for them - just search for it.
But, I dont know how to recover paid apps without buying them again, unless you use this.
Hope this helps.
HunteronX said:
You can use Titanium backup on the market, if your phone is rooted and has SQLite and busybox, to backup/restore all of your apps, and market data for them - just search for it.
But, I dont know how to recover paid apps without buying them again, unless you use this.
Hope this helps.
Click to expand...
Click to collapse
what is and how do you know if you have SQlite? is it an app?
Filgaliel said:
Hi.
I´ve tried to backup a couple of paid apps. Astro tells me the apps are private and won´t backup. On Mybackup Pro the apps are not even on the app list.
Is it even possible to make a backup of a paid app ?
Click to expand...
Click to collapse
Titanium backup will work for all paid apps. I just tryed it myself. It makes it nice....
bjtheone said:
If the app require 2.0 (or more likely 1.6) as a minimum OS level then they are not going to show up, or work, if you are now running 1.5. Your phone tells the Market what version of OS you are running, and the Market filters the available apps, based on that.
Click to expand...
Click to collapse
Yes, based on your explanation, the above is exactly why you cannot see them in the market. Apps are filtered by version. Even if you have the apps backed up, it doesn't mean you can run the 2.0 apps on 1.5.
SQLite
DeSim said:
what is and how do you know if you have SQlite? is it an app?
Click to expand...
Click to collapse
If you open titanium backup and it says YES to SQLite on the opening screen, then its in your rom. I think SQLite is for queries and databases, but is not an apk, but a system binary - sorry if i'm wrong.

Angry Birds Save File

Is there a way to save the progress? I'm on World 5 with 3 Stars for all of them
Whenever I flash a different Rom I have to restart..... It doesn't save on memory card which is sad, so how can I backup the save file wherever its located?
I just wanted to try the new CM 6.1 RC1
I backuped the AB with titanium backup and when i changed the Rom (miui->kor) and restored it i had my all achievements.
gieja said:
I backuped the AB with titanium backup and when i changed the Rom (miui->kor) and restored it i had my all achievements.
Click to expand...
Click to collapse
Thanks, trying now!!!!!!.
in Titanium backup do I tap AB then backup and thats it?
I've backuped all my apps, then after changing to kor i tapped the AB to be restored
ok i just restored with option app+data and all working fine. Thanks
It wont work if its installed from market will it?
You ment if you DL it from the market after changing ROM? I don't thinks so...
It will still work if you installed from market or not.
Sent from my Nexus One
If you need to save/restore things manually it's not too difficult if you have some knowledge of adb and think of it before you wipe (or if you have a Nandroid backup).
Here is how I've done it before. This is from memory so please forgive if you have to think a bit to follow along. I don't think everyones setup is /data/data it might be just /data.
You can use this or similar to check the path:
adb devices (verify it sees your device and to start daemon)
adb shell
adb busybox ls /data/data/com.rovio/angrybirds/files
Before you go to the new ROM.
boot to amonra recovery
go to mount section
mount /data
mount /sdcard
connect USB cable
adb devices
adb pull /data/data/com.rovio.angrybirds/files/highscores.lua
adb pull /data/data/com.rovio.angrybirds/files/settings.lua
unmount /data
unmont /sdcard
Update your ROM to whatever and reinstall Angry Birds then:
boot to recovery again
mount /data
mount /sdcard
connect USB cable
adb devices
adb push highscores.lua /data/data/com.rovio.angrybirds/
adb push settings.lua /data/data/com.rovio.angrybirds/
unmount /data
unmount /sdcard
reboot
If you forgot to save before you wiped, but you have a nandroid backup you can copy the nandroid backup folder to your computer and use "unyaffs" for your computer type to unpack the data.img file. Then navigate to the folder to copy your highscores.lua and settings.lua to the folder with adb.
Here is a download link to a Windows version of unyaffs.exe that you can use in Cygwin
http://cygwin.com/
Click to expand...
Click to collapse
http://rapidshare.com/files/438273592/unyaffs-x86-win.zip
Click to expand...
Click to collapse
Yeah do all that ^
OR, you know, just use titanium backup -.-
+1 for Titanium Backup.
If you are going to be playing with your phone ALOT, flash new ROMs, and stuff like that, then invest the few dollars and get Titanium Backup.
Let's see - Titanium Backup was already suggested, so adding more posts saying use it adds zero value to the thread. If someone didn't have Titanium Backup then my information could be useful, so it does add value to the thread. Why knock it?
On the other hand, I agree completely that if you are going to play with ROM's, buy Titanium Backup - it's a big time saver.

[TOOL] Automated Backup update.zip maker.

I have written a script to backup installed apps from your current rom, as well as some databases, and data, and package it nicely into an update.zip that can be flashed from CWM, which GREATLY decreases the amount of time it takes me to get back up and running after a flash.
Now, I share it with you.
Requirements: Have ADB on your system, and have it in your PATH variable... the same goes for JAVA.
Usage: Run the batch file, and follow the instructions.
Enjoy.
does this backup market links?
It does not, and you will have to repair permissions on the files in /data/data and /dbdata/ manually as the script does not do that yet. I am half way through a .net app that will add that functionality to the .zip
Sent from my SAMSUNG-SGH-I897 using XDA App
sweet ive been looking for a desktop tool that could do something like that or to even create a whole nandroid backup, but none of them backup market links.
Doesn't TiBu already do this?
if you could make a backup of widgets on my homescreen.. then that would be great lol.
darkamikaze said:
if you could make a backup of widgets on my homescreen.. then that would be great lol.
Click to expand...
Click to collapse
Don't think we will see this until maybe gingerbread. It is posted on the Launcher pro website that the android system isn't setup to do that yet.
That would be so nice tho
d1g1talphyre said:
Doesn't TiBu already do this?
Click to expand...
Click to collapse
...this?
And would this work for the Vibrant?
?? compatible with vibrant, or only captivate?

Removing System apps ?

Hey i just rooted my Optimus 2x and removed two system apps with Titanium Backup Pro..
before that i made a backup of the apps with Titanium backup, but there is just one problem, it only made a backup of DATA not the APP....
so now i have removed the CAR HOME APP and F-Secure APP and don't have backup...
my question is....
Do I have a problem, if i need to make a hard reset with VOL + HOME, POWER. when im missing those system APPs ??
No problem
@dk_iceman
What did you do to remove f-secure? Could you please provide a very short summary of what you did? I'm curious if it's really enough to remove the apk? And what do you mean by data? After a restart of the phone, did the app really disappear?
thanks!
Mehrsau said:
@dk_iceman
What did you do to remove f-secure? Could you please provide a very short summary of what you did? I'm curious if it's really enough to remove the apk? And what do you mean by data? After a restart of the phone, did the app really disappear?
thanks!
Click to expand...
Click to collapse
What about his post is unclear? he uninstalled the program using titanium backup pro. (you need to root first)
And yes... It sticks efter reboot and factory reset.
dk_iceman said:
Hey i just rooted my Optimus 2x and removed two system apps with Titanium Backup Pro..
before that i made a backup of the apps with Titanium backup, but there is just one problem, it only made a backup of DATA not the APP....
so now i have removed the CAR HOME APP and F-Secure APP and don't have backup...
my question is....
Do I have a problem, if i need to make a hard reset with VOL + HOME, POWER. when im missing those system APPs ??
Click to expand...
Click to collapse
you can just use ADB to push the apk's back on your system if you want.
Odd. For some reason i cant mount system as rw with adb "remount failed: Operation not permitted"
But you can just put the apk's on your sd card in stead and then copy them to system/app using root explorer
Duplication
dk_iceman said:
Hey i just rooted my Optimus 2x and removed two system apps with Titanium Backup Pro..
before that i made a backup of the apps with Titanium backup, but there is just one problem, it only made a backup of DATA not the APP....
so now i have removed the CAR HOME APP and F-Secure APP and don't have backup...
my question is....
Do I have a problem, if i need to make a hard reset with VOL + HOME, POWER. when im missing those system APPs ??
Click to expand...
Click to collapse
gensplejs said:
you can just use ADB to push the apk's back on your system if you want.
Odd. For some reason i cant mount system as rw with adb "remount failed: Operation not permitted"
But you can just put the apk's on your sd card in stead and then copy them to system/app using root explorer
Click to expand...
Click to collapse
Guys, this is a duplicated discussion.
Rather than reposting, please point people to the source of the information.
http://forum.xda-developers.com/showpost.php?p=12002292&postcount=35
http://forum.xda-developers.com/showpost.php?p=12005575&postcount=48
This is a young sub-forum, let's start it the way we hope to continue using it.
djmcnz said:
Guys, this is a duplicated discussion.
Rather than reposting, please point people to the source of the information.
http://forum.xda-developers.com/showpost.php?p=12002292&postcount=35
http://forum.xda-developers.com/showpost.php?p=12005575&postcount=48
This is a young sub-forum, let's start it the way we hope to continue using it.
Click to expand...
Click to collapse
Just trying to be helpful. Sorry
Anyway... i cant get root access via ADB... i get a permission denied when typing su (titanium backup and root explorer work perfectly.)
gensplejs said:
Just trying to be helpful. Sorry
Anyway... i cant get root access via ADB... i get a permission denied when typing su (titanium backup and root explorer work perfectly.)
Click to expand...
Click to collapse
Open the SuperUser app and "forget" the entry "unknown" then:
Code:
adb shell
$ su
#
And you'll get prompted on the phone screen to allow root access.
djmcnz said:
Open the SuperUser app and "forget" the entry "unknown" then:
Code:
adb shell
$ su
#
And you'll get prompted on the phone screen to allow root access.
Click to expand...
Click to collapse
Yeah... my bad... just realised that 2 mins ago... was about to post.
So if you take a backup with titanium backup, it will not backup the app. And if you delete apps, with titanium backup are they removed completely from the ROM/ROOT, and a factory reset will not bring them back?
Man just deleted F-secure, SNS, App advisor and the live wallpapers, with titanium backup, and these will not come back if I make hard reset, does anyone have the SNS 1.0 and the Christmas/Firework live wallpapers?
whc said:
So if you take a backup with titanium backup, it will not backup the app. And if you delete apps, with titanium backup are they removed completely from the ROM/ROOT, and a factory reset will not bring them back?
Man just deleted F-secure, SNS, App advisor and the live wallpapers, with titanium backup, and these will not come back if I make hard reset, does anyone have the SNS 1.0 and the Christmas/Firework live wallpapers?
Click to expand...
Click to collapse
Download my rom dump, extract files and just copy files back with root explorer.
http://forum.xda-developers.com/showthread.php?t=987989
You should user soft "SystemApp Remover" to remove app you want. This is very cool app . There are many bloatware you can remove.
Another way to disable apps is to use Titanium backups "freeze" or the "disable" with adb. Both prevents the app from running BUT leaves it intact and give you a possibility to restore all apps with a hard reset.
Here is a guide from Paul at Modaco:
http://forum.xda-developers.com/showpost.php?p=8633061&postcount=1
Basically its use adb to run a PM command:
pm disable com.Apps.apps (change the file name to the apk you want to disable.
Note: titanium "freeze" do same thing
I've made backups with Titanium Backup and synced them with my dropbox account. But when i look at what he saved i can see the apk files. So i'm not really sure but it looks to me like he also saved the app itself and not only the data.
update:, hmmmm i just looked at the content of my backup dir in dropbox and it seems like he didnt send the system apps. So if you want to restore them you have to use the system dump. Or back them up yourself.
mirsalimov said:
Download my rom dump, extract files and just copy files back with root explorer.
http://forum.xda-developers.com/showthread.php?t=987989
Click to expand...
Click to collapse
Thanks for this mate .
Zanr Zij said:
You should user soft "SystemApp Remover" to remove app you want. This is very cool app . There are many bloatware you can remove.
Click to expand...
Click to collapse
Yes find it very useful, better UI than Titanium.
DocRambone said:
Another way to disable apps is to use Titanium backups "freeze" or the "disable" with adb. Both prevents the app from running BUT leaves it intact and give you a possibility to restore all apps with a hard reset.
Here is a guide from Paul at Modaco:
http://forum.xda-developers.com/showpost.php?p=8633061&postcount=1
Basically its use adb to run a PM command:
pm disable com.Apps.apps (change the file name to the apk you want to disable.
Note: titanium "freeze" do same thing
Click to expand...
Click to collapse
and adb is? Sorry not sure what it is short of .
whc said:
and adb is? Sorry not sure what it is short of .
Click to expand...
Click to collapse
Android Debug Bridge
http://android-dls.com/wiki/index.php?title=ADB
Hello everyone!
I'm trying to tweak this Stock rom because i don't wanna install mostly broken custom roms where i can't use apps i want (installed from market).
I was just wondering that which system apps can be uninstall from LG Optimus 2X for not being worried about any errors or so?
I have uninstalled now sns, wallpapers, most of widgets i don't need but can i remove remotecall app? Do i need it for makeing calls, sending sms or connecting to mobile network, wifi or Bluetooth?
Or is google quick search necessary for some apps?
and what about Smartshare, talk, voicesearch or voicerecorder?
Please answer to this if you have time and knowledge of these apps!
Thank you in advance!
Just out of curiosity, why dont you guys just install a clean Vanila ROM?
Wouldn't that be easier as it will not contain any of LG's software/modifications etc?
Not trying to be a smart alec here, just wondering that's all.
I got my 2X today and I want to install a clean Vanila ROM and have posted a thread asking for help as to how to go about doing it.
I'm currently using Launcher Pro which works a treat and the ROM itself seems very fast but I just hate the tweaks to the Messaging apps and also all the bloatware.
Or do you guys just find LG's software useful?
Cheers

[ZIP] Sick of losing all your installed apps/widgets when flashing a ROM? Look here!

I don't know about you, but I was sick of that.
I flash new ROMs a few times a day on my phone, losing my /data/app apps some times a day.
So I made a flashable zip that solves this problem.
This ZIP is ONLY for pushing apps into /data/app!
Right, there are a few things you need:
- The flashable zip, download it below
- Root Explorer
- WinZip
Do the following:
- Using Root Explorer, copy the apps installed in /data/app to /sdcard
- They will have names like com.***.***-1, leave them like that. DO NOT RENAME!
- Connect your phone through USB to your PC
- Copy the apps from /sdcard to your pc
- Unzip 'data_app_install.zip' and put the apps into /data/app
- Select '/META-INF' and '/data', rightclick, 'Add to archive'
- Choose .ZIP as type
- Let it zip
- Copy the new .ZIP file to your external SD
- Flash a new ROM
- Flash the new .ZIP file containing your /data/app apps
- Reboot and enjoy!
Click to expand...
Click to collapse
Nice one, i use MyBackup Pro
ionhide said:
Nice one, i use MyBackup Pro
Click to expand...
Click to collapse
Titanium backup free edition
peewster said:
Titanium backup free edition
Click to expand...
Click to collapse
same same Works for me..
Does it keep also all the settings in the apps?
When the app settings are saved in the app itself, then yes.
When the app settings are saved somewhere else (meaning NOT in /data/app), then no.
Does that mean it should also be possible to exchange the data folder in a ROM zip and flash it directly with it?
When you know how to edit the updater-script so that it adds the /data folder to your phone aswell, then, yeah, it's possible.
I haven't found the mounting command for /data tho so I can't help you there.
my backup root
My backup root sukcs, it did not recover any settings for me. Titanium backup is nice, but it takes too long to get the apps one by one.
<3 this but is there any way how i could backup app data which are not saved in data/app?
Good zip for flash app direct in data,thanks
martan1981 said:
My backup root sukcs, it did not recover any settings for me. Titanium backup is nice, but it takes too long to get the apps one by one.
Click to expand...
Click to collapse
I can explain that one for you.. You came from a stock MRXX rom, flashed a CM7 nightlies and lost your backed up data.. Because MyBackup uses 1st sd partition on stock rom, and sd-ext/mnt on CM7.. Your backup is still there after flash, you just need to move it from sd to sd-ext..
Sent from my Optimus 2X using XDA App
martan1981 said:
My backup root sukcs, it did not recover any settings for me. Titanium backup is nice, but it takes too long to get the apps one by one.
Click to expand...
Click to collapse
Get titanium backup pro. It has a batch restore feature. I use all the time and am very happy with it. Now I'm flash-frenzy

Categories

Resources