The following is NOT my work!!! Credit goes to Samsonite801 for the Redraw Fix and to GirLuvsDroid (she is so awesome) for her "How To" on disabling/enabling compcache!!! I am just creating a thread here in the LFY sub-forum by request from Raziel23x for everyone to use! Believe me, this does work and some of you may have already seen this (maybe even most of you) but feel free to comment!! Here is how to accomplish these task:
Go into Terminal Emulator and type:
That will stop compcache, at least until you reboot. Then, if you want it permanently disabled, in Root Explorer, if you go into /etc/init.d, tap Mount R/W, then long press 90compcache, select Rename and rename the file to 90compcache.bak, I believe that will keep compcache from enabling at start-up.
After that, if you want to enable compcache temporarily (only until you reboot), you can go into Terminal and type:
Or, you can go to init.d and remove the .bak extension if you want it to enable permanently again.
As always, make a backup before you start making changes.
As soon as I disabled compcache (and also went into the Advanced menu in ClockworkMod recovery and wiped Dalvik cache -- don't worry, it rebuilds itself in short order, with just the stuff it needs), and used.....
Samsonite801's Redraw Fix :
If you use ADW or LauncherPro and if after using any memory intensive application you head back to your Homescreen... you know the drill.....lag, lag, redraw, redraw, then finally you are able to function again.
#1 MAKE A NANDROID BACKUP
In your terminal application on your phone (if you have to ask what this is, Google it, download it from the market)
echo ro.HOME_APP_ADJ=1 >> /data/local.prop (enter)
If you want to undo what this command does, simply remove that toggle from: /data/local.prop, or if you did not have this file (like I did not) prior to the mod...remove it entirely.
This should work on all ROMs and from my understanding this only needs to be done once, on each fresh flash of a new ROM...Enjoy!