Post Reply

how to bypass market problem when using small cache

OP bob1369

26th April 2011, 04:53 PM   |  #1  
OP Senior Member
Thanks Meter: 29
 
216 posts
Join Date:Joined: Feb 2011
Found this on desire forums useful for those wanting to maximise internal storage

Quote:
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:

Code:
export DOWNLOAD_CACHE /mnt/asec/download
and add the following right under the section titled "# Secure container public mount points":
Code:
     # 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:
http://wbss.ro/coolexe/Extra/init.rc
.

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 ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes