Any way to auto-install a bunch of apps?

gIMpSTa

Senior Member
Sep 8, 2009
1,169
167
0
Maine
You could write a batch script with a loop to install all the apks in a folder via adb.
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
 

mikeybags

Senior Member
Sep 22, 2007
128
0
0
Naperville, IL
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

Senior Member
Sep 8, 2009
1,169
167
0
Maine
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?
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.

Hah, that's awesome!

[Edit]: Will they not show up in the Market as described above if installed via adb?
I think they will, but if not, try the titanium backup method i mentioned.
 

lolittle

Senior Member
Jan 22, 2010
187
1
0
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 :)
 

maedox

Senior Member
Nov 14, 2008
759
54
0
Oslo
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. ;-)
 

Paul22000

Senior Member
Jan 19, 2008
3,522
155
0
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.
Just downloaded. It looks like auto-install is only for the $4 version?
 

Karolis

Senior Member
Jan 2, 2008
808
15
0
You can also use AppBrain for batch reinstalling.

Actually, my Nexus One reinstalls all the apps from the market after I wipe.

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?
Use Amon_RA recovery and do "Fix UID mismatches" or whatever it's called. It will match your apps to the Market.
 

Moe5508

Senior Member
Jun 18, 2007
3,037
312
213
www.manicorp.com
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?
 

Paul22000

Senior Member
Jan 19, 2008
3,522
155
0
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?
http://forum.xda-developers.com/showpost.php?p=5875487&postcount=4

:cool:
 

khaytsus

Senior Member
Apr 8, 2008
7,263
1,176
243
Central Kentucky
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.