Guest Kayusumi Posted December 11, 2011 Report Posted December 11, 2011 (edited) Dear all, I am using cm7 v3.0 with dta2sd, and I have mounted data/app to sd-ext But I don't want to mount data/dalvik-cache since it causes battery to drop very fast First of all, I use TPT to change the partition to 200sys 2cache And follow the guide below to redirect cache to data/ http://android.modac...-for-your-apps/ After doing so, I got FCs in market downloading, the pics below are the screenshots before and after redirection How do I fix this problem, thx! Edited December 12, 2011 by Kayusumi
Guest xiaoyaoswim Posted December 11, 2011 Report Posted December 11, 2011 I'm not sure but I think CM7 redirects cache to RAM by default. I'm using it with a 2M cache partition and a FAT32 MicroSD card, it works well even when I download big size (>20M) apps from the market.
Guest Kayusumi Posted December 12, 2011 Report Posted December 12, 2011 (edited) I'm not sure but I think CM7 redirects cache to RAM by default. I'm using it with a 2M cache partition and a FAT32 MicroSD card, it works well even when I download big size (>20M) apps from the market. But I got "Size is not enough" while downloading big sizes. I have solved this problem by redirecting /cache to ram I made a little modify which just redirecting cache/download to ram instead of redirecting whole /cache #### START - mount /cache/download as tmpfs #### mount -t tmpfs -o size=42M,nr_inodes=42k,mode=0770 tmpfs /cache/download chown system.cache /cache/download #### END - mount /cache/downlad as tmpfs #### And the results Now I am wondering if it is possible to redirect /cache/download to /sd-ext/download? Edited December 12, 2011 by Kayusumi
Guest Kayusumi Posted December 12, 2011 Report Posted December 12, 2011 Finally I got my cache/download redirected to /sd-ext/download #!/system/bin/sh # # #### START - Redirect /cache/download to /sd-ext/download #### mkdir /sd-ext/download chown system.cache /sd-ext/download chmod 770 /sd-ext/download rmdir /cache/download ln -s /sd-ext/download /cache/download #### END - Redirect /cache/download partition to /sd-ext/download #### Thus I have 1GB ext3 for data/app and cache/download at sd-ext and 238MB for data/
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now