removed HTC debug; modified apr_set_q6_state