A quick and dirty script to backup and restore Android apps...

I recently wrote 2 Windows scripts that very quickly pulls all Android apps from the Android phone, and install them back to the Android phone, for disaster recovery purposes.

Pulling Android apps from the Android phone

adb shell ls /data/app > apps.txt
c:\cygwin\bin\unix2dos --u2d apps.txt
for /F %%i in (apps.txt) do adb pull /data/app/%%i .

Restoring Android apps to the Android phone

for /f %%i in (apps.txt) do adb install %%i

Published Tue, 6 Oct 2009 @ 7:07 PM by chuacw
Related articles: