added suport for dynamic frequency scaling (http://forum.xda-developers.com/showthread.php?t=2308040)