I hate this way of thinking.
First of all, the problem was TOO MUCH **** in memory that I don't want and you want to load EVEN MORE ****?
Milestone has only 256 mb ram. And no swap.
News flash genius: HOME APP don't die when supercharged because I did do something about it.
If you didn't break android's memory system you could supercharge and actually test the script before talking out of your ass.
overload oom killer, keep as much **** in memory as possible, use a 3rd party app killer... you should make a script and call it SuperLagger.
Sorry, to disappoint you, but you're doing it asswards.
There isn't a prompt. After 98kickasskernel runs on boot or if you run it manually, noop should be used as it's applied a bit later in the script. What do you have available?
Well i am on HD2 and got 411RAM + 256 SWAP
And we have different kernel. its' not working as yours.
So please don't talk something about what you dont know.
For us it's the only way to stop the HOME APP from been killed.
I used your script tested 2 hours and still HOME APP killed, not with OOM_ADJ , with Service Manager that dont care what set on OOM_ADJ -17 or 17
it's killed any way to free RAM.
and when i set echo -17 > PROC/PID/OOM_ADJ (home app)
it's getting the setting, but when i open any app and HOME app in background the OOM_ADJ changed back to 8 or 6 and will be killed any way.
So please get HD2 test the ROMS then bull**** my work.
My ROM is ONE of the best for now in HD2 NAND ROM.
Give some respect.
We can work together, i gave you all my scripts and you just spit on it?
I think you have lots to offer but do you know every option in your script?
Please share with us, what they do?
I use them, with or without all the same, so what did i missed?
I have used your script!
and this what i took from your work..
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=3
ro.PERCEPTIBLE_APP_ADJ=2
ro.HEAVY_WEIGHT_APP_ADJ=4
ro.SECONDARY_SERVER_ADJ=5
ro.BACKUP_APP_ADJ=6
ro.HOME_APP_ADJ=2
ro.HIDDEN_APP_MIN_ADJ=25
ro.EMPTY_APP_ADJ=15
ro.FOREGROUND_APP_MEM=1536
ro.VISIBLE_APP_MEM=2048
ro.PERCEPTIBLE_APP_MEM=1024
ro.HEAVY_WEIGHT_APP_MEM=5632
ro.SECONDARY_SERVER_MEM=5632
ro.BACKUP_APP_MEM=6144
ro.HOME_APP_MEM=1024
ro.HIDDEN_APP_MEM=6144
ro.EMPTY_APP_MEM=6656
IN HD2 the task killer is here ro.HIDDEN_APP_MIN_ADJ=25
so when i overloaded it, all tasks now on ro.EMPTY_APP_ADJ=15
But there is no one to kill them
So my task killer do the work.
This i set in my script.
echo "Applying Kernel Tweaks and RAM Manipulations"
echo "1536,2048,5632,6144,6656,6656" > /sys/module/lowmemorykiller/parameters/minfree
echo "1536,2048,5632,6144,6656,6656" > /sys/module/lowmemorykiller/parameters/minfile
echo "0,3,5,25,14,15" > /sys/module/lowmemorykiller/parameters/adj
echo "0" > /sys/module/lowmemorykiller/parameters/debug_level
echo "64" > /sys/module/lowmemorykiller/parameters/cost
echo "DONE"
Well ROM works as was!
But i have also LIGHT rom that do work with task killer,
and the get this:
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=3
ro.PERCEPTIBLE_APP_ADJ=2
ro.HEAVY_WEIGHT_APP_ADJ=4
ro.SECONDARY_SERVER_ADJ=5
ro.BACKUP_APP_ADJ=6
ro.HOME_APP_ADJ=2
ro.HIDDEN_APP_MIN_ADJ=7
ro.EMPTY_APP_ADJ=15
ro.FOREGROUND_APP_MEM=1536
ro.VISIBLE_APP_MEM=2048
ro.PERCEPTIBLE_APP_MEM=1024
ro.HEAVY_WEIGHT_APP_MEM=5632
ro.SECONDARY_SERVER_MEM=5632
ro.BACKUP_APP_MEM=6144
ro.HOME_APP_MEM=1024
ro.HIDDEN_APP_MEM=6144
ro.EMPTY_APP_MEM=6656
echo "Applying Kernel Tweaks and RAM Manipulations"
echo "1536,2048,5632,6144,6656,6656" > /sys/module/lowmemorykiller/parameters/minfree
echo "1536,2048,5632,6144,6656,6656" > /sys/module/lowmemorykiller/parameters/minfile
echo "0,3,5,7,14,15" > /sys/module/lowmemorykiller/parameters/adj
echo "0" > /sys/module/lowmemorykiller/parameters/debug_level
echo "64" > /sys/module/lowmemorykiller/parameters/cost
echo "DONE"
I will tell you if it's better for them or not.
Any way thanks for you hard work.