Thanks to the recent developments by AlphaRev X, I’ve finally been able to S-OFF and root my HTC Wildfire. This in turn means I can put custom ROMs on it, and the best available seems to be CyanogenMod, which is a customised version of Android 2.3 (Gingerbread). The Wildfire is now working better than ever, but I did come across a problem when trying to download larger apps from the Android Market, such as Google Maps or Angry Birds.

The problem here is that the Android Market uses a cache to download the .apk files. This cache is stored in /cache, but in HTC devices /cache is pretty small and is shared with other caches, such as the Dalvik cache. One method of getting around this limitation is to set up a download folder elsewhere and change /cache/download to be a symlink. Instructions on how to do this are on the CyanogenMod forum, but I’ve reproduced them below.

You’ll need a terminal emulator installed on your device (which needs root, but if you’re reading this you’ll almost certainly have root anyway). Open this up, then enter the following commands:

mkdir /mnt/sdcard/market-download-cache
cd /cache
mv download download.bak
ln -s /mnt/sdcard/market-download-cache download
ls -ahl .

The final line is just to check that the symlink has been set up correctly. Now larger apps should download and install without any problems at all.

5 thoughts on “Problem downloading large apps from Android Market with HTC running CyanogenMod

  1. I have terminal emulator and this not work for me.I have htc wildfire and when i type
    mkdir /mnt/sdcard/market-download-cache

    i get
    mkdir /mnt/sdcard/market-download-cache not found

    su comand ok

    cd /cache not found
    so what is problem?My problem when trying to download larger apps from the Android Market.

    1. Hi,

      It’s difficult to know why the mkdir command doesn’t work – have you definitely got an SD card in the phone? If so, it might not be mounted in the same place as mine was (mine was mounted at /mnt/sdcard – if yours is in a different place you’ll need to change this). The easiest way to find out paths is to use an app like Root Explorer.

      If those directories aren’t found on your phone, I’d definitely caution against following this guide as something might go wrong. Sorry I can’t be of more help.

  2. I do it again and again and finaly it works all comand and i try to download angry birds just crash some error,i go in manage app market/delite updates/same thing now,there is no insufficient space.

    1. Hi,

      Unfortunately I no longer have the Wildfire so can’t look into this further. It might be worth checking out the thread on the CyanogenMod forum. Sorry I can’t help you any further, hope you manage to get it fixed.

Leave a Reply

Your email address will not be published. Required fields are marked *