valueforvalue
Well-Known Member
I made a quick script that can be used with init.d to clear you app cache. No need for an app to do it for ya anymore.
This script doesn't touch the app data so all your settings will remain. You can also just run it from scripter or terminal, instead of installing to init.d. Make sure it's ran as root from the terminal.
To use it with init.d just extract it to your /etc/init.d folder and set permissions to 777 and your done. Don't forget to remove that useless app that used to serve this purpose that's taking up precious space. ;-)
This is version 2 of the script I might improve on it later if necessary if so I will update it here.
EDIT: Ok I made some changes and removed busybox and got the script working properly. It worked before but definitely wasn't the best way to do this.
*Thanks to stayboogy for his help on this!*
*Thanks to Redfield for being one more person who doesn't like busybox *
Him and stayboogy gave me a reason to figure out how to get it to work without it.
This script should be perfectly safe to use on your phone I tested it thoroughly. That being said I am not responsible for any damage you do to your phone with it. Use at your own risk and discretion.
New Download Here:http://www.sendspace.com/file/hu1w9r
This script doesn't touch the app data so all your settings will remain. You can also just run it from scripter or terminal, instead of installing to init.d. Make sure it's ran as root from the terminal.
To use it with init.d just extract it to your /etc/init.d folder and set permissions to 777 and your done. Don't forget to remove that useless app that used to serve this purpose that's taking up precious space. ;-)
This is version 2 of the script I might improve on it later if necessary if so I will update it here.
EDIT: Ok I made some changes and removed busybox and got the script working properly. It worked before but definitely wasn't the best way to do this.
*Thanks to stayboogy for his help on this!*
*Thanks to Redfield for being one more person who doesn't like busybox *
Him and stayboogy gave me a reason to figure out how to get it to work without it.
This script should be perfectly safe to use on your phone I tested it thoroughly. That being said I am not responsible for any damage you do to your phone with it. Use at your own risk and discretion.
New Download Here:http://www.sendspace.com/file/hu1w9r
