5
5

Backing up Android Market apks

So you downloaded some kewl apps onto your G1 and now you gonna flash your phone to get r00t but don’t want to spend time re-downloading apps from Market? Or some sneaky developer is now charging for a previously free app? Well, I have good news for you! You download the apk files to your pc to install later.

**NOTE**:
This won’t save your preferences, just the install file. Also, if you end up screwing up your phone, don’t blame me, kthx.

Pretty simple method:

1) Grab the SDK and extract it, you need adb: Download it here
2) Install the USB driver and keep the phone connected.
3) On the phone, open the app you want to save the apk for.
4) Open up shell/command prompt, cd to the sdk/tools folder.
5) Find the app package name. Run ‘adb -d logcat’ (or ‘adb -d logcat > somefile.txt’ if you prefer to get the info from a file). You can also use ‘adb -d shell top > file.txt’ and then leave it for about 10 seconds before stopping it (ctrl+c))
6) Look for something like: “Displayed Activity: com.some.package/.some.file: 100ms” The important part is “com.some.package”. If you used ‘adb -d shell top > file.txt’, look for the package names of running apps and see which one is likely to be the one you want.
7) Run ‘adb -d pull /data/app/com.some.package.apk savedFile.apk’.

Congrats, savedFile.apk is your market app, saved for later installs.

To install it, use ‘adb -d install /path/to/apk’

Example with Bubble app on the market (Click for larger):

example

5 Responses to “Backing up Android Market apks” comments

  1. thanks you so much !!!!

  1. The article is usefull for me. I’ll be coming back to your blog.

  1. sorry didn’t work for me trying to get purchased Weeworld from android market on my SD card. Everything up to ‘adb -d pull /data/app/com.some.package.apk savedFile.apk’ worked but it kept showing ‘remote object ‘/data/app/novoda.weeworld.apk’ does not exist’
    Any other ideas………:-(

  1. You’re trying to pull a file that doesn’t exist. You need to find the correct file name first.

  1. I’m delighted that I’ve noticed this weblog. Finally anything not a junk, which we go through extremely frequently. The web site is lovingly serviced and kept as much as date. So it have to be, thanks for sharing this with us.

Leave a Comment add_comment




grin ! ? P wub wink whistle wassat w00t unsure smile sleeping silly sideways sick shocked sad pouty pinch ninja lol kissing heart happy getlost face dizzy devil cwy cool cheerful blush angry angel alien