I want to permanently change the OOM value of an app or PID
I have an app that I want to change the oom value of permanently either when my phone boots up or right after it boots and stay that way until I either close the program myself or turn off my phone.
I am currently using the terminal command of:
echo “-1” > /proc/$PPID/oom_adj
and it will change the oom value immediately but it will go back to the normal oom value within the next 3-5 minutes or even the very next time I leave the app and hit home or go to another app and come back to it.
Is there any hack that I can use to make the oom value of the app change and stay changed the duration that the phone is turned on or until I kill that app myself.
Any help In this matter would be greatly appreciated.
01-17-2012 02:55 PM
you need the v6 supercharger
ios 5 has 200 new features...turn off 198 of them for good battery life.