use own forked libhardware_legacy