Use cm libhardware legacy