Android driver with hal platform