enable AVC, small code fix

enable S2W/DT2W. ported from
(https://github.com/faux123/htc-m7/tree/jb422_SENSE) - not working