hack to disable htcs performance lock
linaro 4.8 fixes and really messy commit