move libx to the device