[MOD] Move dalvik-cache to /cache STOCK ROM ONLY
**THIS WELL ONLY HELP YOU IF YOU ARE ON A STOCK ROM. **
**THIS OVERWRITES ANY KERNEL YOU HAVE.**
Dalvik-cache to /cache mod frees up some space on the data partition for more applications. I bumped from 120mb free to around 160 mb free.
After having a bunch of trouble using pre-made scripts posted around different forums, I decided to try a different method and edited the init.rc in boot.img.
Anyways, flash this zip in Recovery. After the first boot is complete, reboot into recovery and clear dalvik cache. Now you should have some extra space to work with.
v2: better method, proper kernel lol..
- 01-07-2011, 04:44 AM #2
- 01-07-2011, 04:59 AM #3
- 294 Posts
- Rooted Jellybean, CM 7.2
How are you guys editing the boot.img files?
I want to try and edit one to remove the sprint logo boot images or at least
change them so that they are all the same image, the last file.
Like in this post:
- What is the normal before and after amount with this update script.How are you guys editing the boot.img files?
- 01-09-2011, 04:22 AM #5
- 01-09-2011, 09:21 AM #6
- 80 Posts
HOWTO: Unpack, Edit, and Re-Pack Boot Images - Android Wiki
And on the optimus T, I was able to remove the tmobile boot animation by removing the .rle images in the boot images folder. They could also be edited with photoshop to create a custom slideshow.
- 02-09-2011, 03:50 PM #9
- 05-26-2011, 07:56 PM #12
ok I want to do this,but I am a noob......So what i need to know is how to do this exactly!
I am rooted with stock rom (no bells and whistles). Only rooted to gain the extra space and to use titanium backup.
First where do i put the zip file?
Second when i go into recovery i have 4 options
1.roboot system now
3.wipe data/factory reset
4.wipe cache partition
So now with this information what do I do? I do want to make any selections without know what they do. I figure I would have to press the second option but does this give me another menu to select the zip file for this?
Nick7 I would really....really....really appreciate it if you could give me some step by step instructions!!!
- 05-26-2011, 08:31 PM #13
- 05-26-2011, 09:04 PM #14
- 432 Posts
- Quatrimus / CM10
The first thing you should do after rooting your phone should be install custom recovery, you should really be doing this whether you are changing the rom or not cause it gives you the option to use nandroid backup and restore.
You should NOT flash anything to your phone without first backing up in nandroid (emphases not to be mean but to try to protect your phone )
In answer to your question regarding how to flash the zip, yes it should let you choose which zip but never having used the standard recovery I'm not certain.
Final bit, notice there is no clear dalvik cache option in your current 'standard' recovery?
I think before you do anything else you are going to need to look into the matter of recovery a little further. Check out this sticky it should point you in a good direction.
Lastly, good luck and have fun
- 05-28-2011, 02:26 PM #15
- 05-28-2011, 04:32 PM #16
- 432 Posts
- Quatrimus / CM10
I don't believe thunderc has this support at this time, otherwise I've heard good things from it.
I just don't trust people not to do stupid stuff, including myself