WARNING: This is far from complete, read carefully to know whether it is safe!
I created a tiny mod that automatically moves dalvik-cache to your /system partition in order to gain space on /data. The idea to do it came from here: http://petermolnar.eu/linux-tech-coding/how-to-move-dalvik-cache-to-system-partition-in-android/
Fiddling with the bootimage seemed to cumbersome and on a ROM supporting init.d-scripts, it should be possible to fix all from there (remount /system rw and check whether symlink is damaged from a dalvik-cache wipe attempt). This is my first working-for-me zip to automate the process in a flashable zip.
The installer contains an option to revert the mod -- works for me.
Prerequisites
For this to work, you need:
Limitations
Benefits
Downsides
TODOs
dalvik-syscache_0.2a_ALPHA.zip - use at your own risk.Nandroid keeps you safe, so please test after backup !
Older versions
Changelog
* 0.2a:
I created a tiny mod that automatically moves dalvik-cache to your /system partition in order to gain space on /data. The idea to do it came from here: http://petermolnar.eu/linux-tech-coding/how-to-move-dalvik-cache-to-system-partition-in-android/
Fiddling with the bootimage seemed to cumbersome and on a ROM supporting init.d-scripts, it should be possible to fix all from there (remount /system rw and check whether symlink is damaged from a dalvik-cache wipe attempt). This is my first working-for-me zip to automate the process in a flashable zip.
The installer contains an option to revert the mod -- works for me.
Prerequisites
For this to work, you need:
- A ROM that supports init.d scripts
- busybox installed (of course)
- A custom recovery with all busybox links in place (should work on most)
- Enough free space on /system for dalvik-cache
Limitations
- Untested -- so far tested only on my Sensation with SuperXE 4.2.1 ROM
- Prerequisites unchecked -- this includes busybox and space requirements on /system. Check yourself for now before flashing
- Dalvik cache wipe non-functional -- at least for me on 4EXT Touch recovery. But it doesn't do any harm, at least.
Benefits
- More space on /data -- around 150 MB for me
Downsides
- /system must be kept rw
TODOs
- Check some prerequisites to make it safer to flash
- Analyze why dalvik-cache wiping does not work, maybe provide own wiping-option in AROMA
- Check whether this works on ROMs with dalvik-cache on /cache; it already looks there after /data, so it SHOULD work
dalvik-syscache_0.2a_ALPHA.zip - use at your own risk.Nandroid keeps you safe, so please test after backup !
Older versions
Changelog
* 0.2a:
- Added dalvik-cache wipe option in AROMA
- Minor cosmetic changes
Last edited: