Remove All Ads from XDA

how to bypass market problem when using small cache

216 posts
Thanks Meter: 29
By bob1369, Senior Member on 26th April 2011, 04:53 PM
Post Reply Email Thread
Found this on desire forums useful for those wanting to maximise internal storage

Originally Posted by ClassicalDude

Fixing market downloads
If you wish to bypass the problem of the small cache partition limiting market downloads, then do the following steps:
1. Use the wonderful dsixda kitchen to unpack your boot.img
2. Edit the init.rc. In the exports section add the following:

export DOWNLOAD_CACHE /mnt/asec/download
and add the following right under the section titled "# Secure container public mount points":
     # Market downloads
     mkdir /mnt/asec/download  0777 root system
     mount tmpfs tmpfs /mnt/asec/download mode=0777,gid=1000
This will place all market downloads into a temporary ram disk, which will be deleted upon the completion of the installation.
3. Repack your boot.img and place it in the rom.

You can see an example of an edited init.rc here:

If the need exists i may create boot.img's for noobs for several roms with these modifications
The Following 2 Users Say Thank You to bob1369 For This Useful Post: [ View ] Gift bob1369 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes