remember previous freq and suspend state
code cleanup
use macros to iterate over cpus
code cleanup and comments
verify that app is a child of zygote process

this eliminates linux processes (like su) launched by android apps