This is really handy when changing ROMs.

If you need adb setup on your Debian GNU Linux system go here
Once adb is functional:

Code:
mkdir apks
cd apks
adb pull /system/app
adb pull /data/app
You can simply install them from your directory
Code:
cd apks
for i in *.apk; do adb install $i; done
Any apk's that are already installed on the device will simply fail to install again:
Code:
511 KB/s (430701 bytes in 0.821s)
pkg: /data/local/tmp/com.twistedapps.wallpaperwizardrii-2.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
Alternatively, you can tar them up:
Code:
cd ..
tar czvf `date +%m-%d-%y`-apks.tgz apks/
Push them to the device
Code:
adb push *apks.tgz /sdcard/
And install from the device
Code:
adb shell
tar xzvf *apks.tgz
cd apks
for i in *.apk; do pm install $i; done

Tags for this Page

Posting Permissions

Posting Permissions
  • You may not create new articles
  • You may not edit articles
  • You may not protect articles
  • You may not post comments
  • You may not post attachments
  • You may not edit your comments