Skip to main content

How to try Android Auto before you buy

Android Auto — whether it came in your car from the factory or you're using an after-market head unit — is a pretty complicated piece of equipment. There's a lot going on in there, especially now that car makers can tap the power of Android to monitor things like your tire pressure or when you need an oil change. But when it comes to what you actually see on the screen, most of that work is being done on your phone. That means you can use a neat developer tool to reproduce it on your computer.

As mentioned, this is primarily a developer tool. That means you'll need to be able to install and use the Android SDK and have any necessary USB drivers for your phone installed on the computer — toolkits or zip files you might have used to root a phone or unlock a bootloader aren't going to cut it here. But that's OK, installing the SDK and setting things up isn't too difficult, and you'll find plenty of assistance in the forums no matter which operating system you're using. Here's exactly what you'll need to do, as outlined at the Android Developer site.

Android SDK manager

  1. Install the Android SDK and any needed USB drivers. If you're using a computer that runs Linux, install portaudio, libpng, sdl2, and sdl2_ttf libraries. Refer to the documentation to get that sorted.
  2. Open the SDK manager and install the Desktop Head Unit (DHU). You'll find it under extras > Android Auto Desktop Head Unit emulator. (See image above.)
  3. Enable USB debugging on your phone that runs Lollipop or higher.
  4. Plug your phone into the computer and start the adb (Android Debug Bridge) by entering adb devices in the terminal or command line.
  5. Forward socket connections from your computer to your phone by entering adb forward tcp:5277 tcp:5277 on the command line.
  6. Start the DHU program on your computer. You'll find it in the SDK folder under extras > google > auto.

Now you're ready to start the Android Auto app on your phone and enable Android Auto developer mode. With the app open, tap the header bar (where it says Android Auto at the top) 10 times. In the app overflow menu (the three dots), you will now be able to start the head unit server. Then magic will happen.

You're now running Android Auto on your computer. And it's the same Android Auto you'd be using if you plugged into a car, since Android Auto lives on your phone. Any AA-compatible apps will be there, and will work.

The DHU in action

If you're developing an app for Android Auto, there are plenty of other tools you might need. You can simulate a jog dial, test the mic input using pre-recorded audio files or switch between day and night modes. You'll find all the information about doing that and more at the Android Developers site.

For the rest of us who just want to see what Android Auto is all about, we can just use it the way it starts up. Use your mouse cursor like a finger to "tap" the controls, check out the apps on your phone that work with Android Auto, even get messages to play through your computer speakers. There's a little bit of legwork to get it up and running the first time, but it's really worth it if you've been curious about all this Android Auto news and aren't ready to buy it without a demo on how it all works, or if you just like to mess with stuff. Give it a shot!

And this is what the end result looks like!

Jerry Hildenbrand
Jerry Hildenbrand

Jerry is an amateur woodworker and struggling shade tree mechanic. There's nothing he can't take apart, but many things he can't reassemble. You'll find him writing and speaking his loud opinion on Android Central and occasionally on Twitter.

6 Comments
  • Thanks for sharing. I though Google was making an Android Auto app for the phone-only as well. Isn't it similar to the Car Mode offered by AT&T?
  • Not sure how good AT&*T's is, but yes. Google's making a standalone version. More on that here.
  • This is probably a stupid question and most likely for an entirely different thread, but would this be possible using a Chromebook? I haven't had a personal computer in about 5 years and just recently bought a Toshiba Chromebook 2. Posted via the Android Central App
  • If Google is developing auto for the phone that would be great. I'm sure it will be available for the Nexus line first so I'll be patiently waiting.. Posted via the Android Central App
  • I've been using AutoMate and it's very well done. It's very much like what I've seen of Android Auto. Posted via the Android Central App
  • Me too. Awesome car dock based on Android Auto. Posted via my glorious Nexus 6P