m7att: add device guard