Custom libhardware_legacy