[RAM Tweak] ~ Free Up More RAM, Make Apps Load Faster ~
This a good tweak for those devices that have low ram like the Motorola Droid A855. It works for any devices btw.
I give credit to Nibras Reeza & Danzano from XDA. Just trying the spread this tweak out :happy3:
Original thread is here: (TWEAK'S) Deodex/odex tweak build.prop tweaks etc - xda-developers
This requires edits in build.prop and the use of terminal emulator.
**Make a nandroid backup before proceeding -- just for safety purposes. Author of this does is not responsible for any damage that this may cause to your device.**
WAIT. Before you start, I'm going to say it again, make a NANDROID BACKUP. Also, if you have any V6 Supercharger tweaks installed, un-supercharge before doing these tweaks. Once finished, you may re-supercharge.
1) Open Terminal Emulator on phone or adb shell from PC and type the following.
This will give a performance boost in deodexed ROMs as much as odexing system & data apps. This is an alternative for odexing. It's not that you can't apply this tweak on an odexed ROM but rather, it's useless to do so.
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.dexopt-flags v=n,o=v
2) Add these lines to the bottom of build.prop using Root Explorer -- or any other app of your favorite.
(If lines starting with dalvik.vm.verify-bytecode or dalvik.vm.dexopt-flags exist already in build.prop, please modify them as shown below. Obviously if it isn't already in build.prop, just add it in.)
dalvik.vm.verify-bytecode = false
After this, run these two commands in adb shell or terminal emulator
**If you are using the Motorola Droid 1, PLEASE skip this part and go to step 3. Thank you.**
**This step is ideal for OG Droid users -- only.**
3) Okay, this step is only for those who experience errors from typing the following lines from Step 2:
**If you got the error, make sure to undo the tweak since now you are probably experiencing FC's right now and start all over. The undo process is located at bottom of this post.**
So just make sure you have done Step 1 and the edits of build.prop from Step 2 correctly. After that, reboot into recovery and clear cache partition and clear dalvik-cache. Thats all.
- More free RAM.
- Faster launch for system & user apps during the second launch.
- Gives as much as of a performance boost as ODEX without odexing. Themer friendly.
- Smoother app switching.
- Might break some apps. ( I have not had any break you probably wont either but you have been warned!!!! )
How to UNDO this tweak
Type the following in adb shell or terminal emulator
Motorola Droid 1 users, skip the 3rd and 4th lines. That starts with "rm" and instead, reboot in recovery and clear cache partition and dalvik-cache
setprop dalvik.vm.verify-bytecode true
CREDIT GOES TO: Nibras Reeza & Danzano from XDA