adding graphite / snapdragon optimizations

Signed-off-by: Bryan Smith <zarboz@gmail.com>
fixup pocket detection

Signed-off-by: Bryan Smith <zarboz@gmail.com>