Jump to content

[Guide] Making CM utilise both /cache and /data for Dalvik-Cache


Guest mankian

Recommended Posts

Guest mankian

If like me you just made a massive /cache partition and want to utilise it, this worked for me.

- Download Cyanogenmod. Extract the zip.

- In the system folder should be build.prop.

- Open this in a Linux friendly editor (Notepad++). REMOVE the following line:


dalvik.vm.dexopt-data-only=1

- Save the file and re-zip the folder.

- Boot ClockworkMod, before installing CM make sure you mount /cache (this seems to be required to pass a check CM does at install-time).

Sorted!

Make sure you have a decent size cache if your doing to do this. If you download big apps off Market I'd say 256MB should be enough.

I also do not know any positive or negative effects of doing this. I purely did it "to see if I can".

Link to comment
Share on other sites

i did this from cwm adb

mv /data/dalvik-cache /cache/dc

ln -s /cache/dc /data/dalvik-cache

My dc was 190mb with around 400 apps installed. Now I have 700mb free for moar apps MOUHAHAHAHA

Edited by orlox
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.