Hello, I want an init.d script to write optimized minfree values everytime AFTER THE FIRST BOOT. On the first boot, I do not want it to write any value. Can anyone help me with making a script that will only write the value after the first boot?
Why don't you want an execution on the first boot?
Otherwise you could put the script into /data/local/userinit.d ...
Ohh ... writing this I've got an idea: you could write / modify firstboot.sh in that way, that you copy your minfree-settings script to /data/local/userinit.d
-> first boot: copy
-> next boots: executing