Jump to content


Photo

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

- - - - -

  • Please log in to reply
1 reply to this topic

#1
mankian

mankian

    Enthusiast

  • Members
  • PipPipPip
  • 186 posts
  • Location:Macclesfield
  • Devices:LG Optimus X2
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

#2
orlox

orlox

    Regular

  • Members
  • PipPip
  • 114 posts
  • Devices:optimus 2x
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, 11 October 2011 - 04:48 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users