Sign in to follow this  
Followers 0
mankian

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

2 posts in this topic

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

2

Share this post


Link to post
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
0

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  
Followers 0

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