Sign in to follow this  
mankian

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

Recommended Posts

mankian    7

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".

Share this post


Link to post
Share on other sites
orlox    4

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.