ADB, root & tinkeringReviewed
Set Up Your AI Box at Home With Android's Desktop Head Unit
Set up your AI box on a PC instead of in the car: Google's Desktop Head Unit acts as an Android Auto screen. Install, drivers, USB mode, TBox Ultra fixes.
Carlinkit TBox UltraCarlinkit TBox Ultra 2Carlinkit TBox Ultra 3Carlinkit TBox Ultra 4Quick answer
Install the Android Auto Desktop Head Unit (DHU) from Android Studio's SDK Manager, stop the ADB server, start desktop-head-unit in USB mode in a retry loop, then switch the box to Android Auto and plug it into the PC; the box's screen appears in a window on your desktop. Four owners set up TBox Ultra units this way, with no ADB needed on the box. If DHU never finds the box on Windows, install both the ADB-interface and the Android Open Accessory USB drivers.
Before you start
- A Windows 10 or 11 PC (standard edition, not a cut-down build) with about 2 GB of free disk space
- Android Studio, or at least its SDK Manager
- A USB-C data cable, ideally the one supplied with the box
- A way to switch the box to Android Auto (button, engineering menu or SD-card file)
- Optional: the box's extra power lead, if your PC port is weak
Time: about 45 minutes. Tools: Windows PC, Android Studio / SDK Manager, Android Auto Desktop Head Unit, USB-C data cable.
Applies to
- Connection to the car
- Android Auto
- Highest risk on this page
- Advanced
Why set the box up on your desk?
An AI box only starts its interface when a car’s head unit asks for it, so most owners do their first setup in a cold car with a laptop on their knees. Google’s Desktop Head Unit (DHU) is the emulator Android developers use to test Android Auto apps. It plays the part of the car on your PC, and the box cannot tell the difference.
On a desk you can sign in to accounts, install and arrange apps, try a launcher, install a firmware update and check sound, all with a mouse and keyboard. One owner set up a new TBox Ultra completely this way, updated it, and only then fitted it to the car.
How the connection works
DHU in USB mode waits for an Android device that speaks the Android Open Accessory (AOA) protocol. When you plug in a box that is in Android Auto mode, it first appears to Windows as an ADB-interface device; DHU asks it to switch, and it reappears as an AOA device. From then on the box streams its screen and sound to the DHU window and receives your clicks as touches.
Two practical consequences follow. Windows needs a working driver for both stages, and DHU must already be waiting when the box is plugged in, because the box only looks for a head unit once at start-up. That is why owners run DHU in a loop that restarts it every time it exits.
Before you start
Android Studio is a large download. Unofficial bundles with DHU and drivers inside also circulate, but they cannot be checked, so install DHU through Google’s SDK Manager as described below. You need Android Studio only for its SDK Manager; you will not write any code.
Plan the session on a desk near a wall socket. The box draws more current while it boots and installs apps than a laptop port may supply, so keep its extra power lead and a USB charger at hand. Use the data cable that came with the box; charge-only cables are a common reason a computer sees nothing at all.
Finally, note how your box is switched between CarPlay and Android Auto, because you will switch it twice: to Android Auto for DHU, and back if your car uses CarPlay.
Steps
Install the Desktop Head Unit
- Safe
- Time: 15 minutes
- Recommended in the community FAQ
- Install Android Studio from developer.android.com and open it once.
- Open SDK Manager and switch to the SDK Tools tab.
- Tick Android Auto Desktop Head Unit Emulator. Tick Android SDK Platform-Tools and Google USB Driver too.
- Click Apply and wait for the download.
- Note the install folder. DHU goes into
extras\google\autoinside your SDK folder; on Windows that is usually the path below.
cd "$env:LOCALAPPDATA\Android\Sdk\extras\google\auto"
dirYou should see desktop-head-unit.exe and a config folder with sample configuration files. On macOS and Linux, Google’s instructions add chmod +x ./desktop-head-unit before the first run, and Linux needs GLIBC 2.32 or later.
Install the two USB drivers on Windows
- Advanced
- Time: 10 minutes
- Worked for 1 of 1 report
Warranty warning: this uses developer or engineering access. Follow the undo steps afterwards; some sellers refuse warranty claims on units with debugging left enabled.
- Plug the box into the PC in Android Auto mode and open Device Manager.
- If it appears with a warning sign, or as an unknown device with hardware ID
USB\VID_18D1&PID_4EE1, install the Google USB Driver for it (right-click → Update driver → Browse → theextras\google\usb_driverfolder of your SDK). It then shows as an ADB interface. - Start DHU (next step). When the box switches, a second device with ID
USB\VID_18D1&PID_2D00may appear: that is the Android Open Accessory stage. If it has no driver, install one for it in the same way. - When both stages have drivers, the box shows up under a name such as “Android Composite ADB Interface” and then as an accessory device.
An owner who mapped this out found that the second stage was why others’ boxes never connected: Windows had no driver for the AOA device ID. Forcing the Google driver onto it worked for him, though Windows warned it might not fit. Google’s own DHU page notes that Windows may need a WinUSB driver for the device and that a running ADB server can interfere.
Switch the box to Android Auto
- Advanced
- Time: 2 minutes
- Recommended in the community FAQ
Warranty warning: this uses developer or engineering access. Follow the undo steps afterwards; some sellers refuse warranty claims on units with debugging left enabled.
- If the box is already in Android Auto mode (blue LED on Carlinkit units), skip this step.
- Otherwise switch it as you would in the car: a short press of the protocol button on a running box, or the protocol option in the engineering menu (Settings → Other → Factory settings → 4545).
- Unplug the box from the car or charger when the switch is done.
Switching the box’s protocol covers all methods, including the SD-card file for boxes you cannot see. The button is the simpler route; the engineering-menu route counts as an advanced change on this site, like every factory-settings code.
Run DHU in USB mode and connect the box
- Advanced
- Time: 10 minutes
- Worked for 4 of 7 reports
- Recommended in the community FAQ
Warranty warning: this uses developer or engineering access. Follow the undo steps afterwards; some sellers refuse warranty claims on units with debugging left enabled.
- Open PowerShell in the DHU folder.
- Stop any ADB server, because it can hold the USB device:
adb kill-server- Start DHU in USB mode inside a loop, so it restarts each time it gives up:
while ($true) {
.\desktop-head-unit.exe --usb -c .\config\default_720p.ini
Start-Sleep -Milliseconds 25
}- Only now plug the box into the PC with the data cable.
- Wait for the box to boot. The DHU window shows the box’s screen; click to tap, drag to swipe.
- To stop, close the DHU window and press Ctrl+C in PowerShell.
Owners with a TBox Ultra, Ultra 2 and later units confirmed this. One switched a new box to Android Auto, connected it to DHU, installed a firmware update, cleared the network warning and set up all his software at home; another called the pinned DHU method “very convenient”. Three attempts did not work: a Windows PC where DHU closed after three seconds, a Mac where the box was never detected though a phone was, and a PC that kept printing “No device found ready yet”, the driver problem from the previous step.
Swap default_720p.ini for another file in the config folder to change the resolution. If your monitor allows it, a config that matches your car’s screen shows the launcher layout one to one.
What to set up while the box is on your desk
Work through this list in one session; it covers what owners most often did at home before fitting the box:
- Accounts. Sign in to Google Play and to your music and navigation apps. Typing passwords with a real keyboard is the main reason owners use DHU.
- Apps and launcher. Install your apps, set the default home app and arrange widgets. If you plan a third-party launcher, read set the stock launcher before any firmware update first.
- Firmware. Install pending updates with the FOTA local update while the box has stable power from the desk.
- Engineering menu. Open Settings → Other → Factory settings → 4545 and photograph every page, so you can restore the settings later. Start-up delay and the navigation bar are the ones that decide how the box behaves in the car; the engineering codes reference lists what each code opens.
- Network. Insert the SIM and confirm mobile data works, or join your phone’s hotspot. Owners who saw the network exclamation mark cleared it at the desk with the exclamation mark fix.
What DHU cannot test
DHU is a stand-in for the screen, not for the whole car, so some things only show up on the road:
- Car GPS and sensors. DHU sends no vehicle data, so the box uses its own GPS indoors, usually with no fix. Check navigation in the car.
- Steering-wheel buttons and the car’s microphone. Button mapping and call audio depend on the head unit.
- CarPlay mode. DHU only speaks Android Auto, so CarPlay-specific behaviour cannot be checked.
- Power under load. A desk charger is steadier than a car’s USB port; reboots that appear only in the car are a power question, not a setup one.
- Screen fit. The DHU window uses the resolution in its config file; the car’s panel may be wider, taller or portrait.
Verify it worked
You know it works when the DHU window shows the box’s launcher and responds to clicks. Then check three things before relying on the setup:
- Open Settings → About on the box and note the firmware date.
- Play music: sound from the box comes out of the PC’s speakers. One owner caught audio crackle during his DHU session and cleared it by lowering the volume and rebooting; if crackle persists, see crackling or muffled sound.
- Unplug and plug in again with DHU waiting. The box should reconnect without a reboot loop.
Undo / rollback
DHU is read-only from the box’s point of view; it acts as a screen and does not install anything on the box. Everything you change while connected (apps, settings, firmware updates) is a normal change on the box, undone the normal way.
The one setting to put back is the protocol. If your car uses CarPlay, switch back from Android Auto before you go to the car, or the head unit will not see the box.
Troubleshooting this guide
DHU prints “No device found ready yet” over and over. Windows has no driver for one of the two USB stages. Install the Google USB Driver for the ADB-interface stage and an AOA driver for PID_2D00, as in the driver step, and run adb kill-server again.
The DHU window stays black and nothing is detected. One owner had this on a heavily stripped-down Windows build. After installing a standard Windows 11 the setup worked at once. Try another PC before reinstalling anything.
DHU closes after a few seconds. Without the loop, DHU exits when it finds no device. Run it in the loop and plug the box in after the loop is running.
The box keeps restarting while connected to the PC. Some PC ports cannot power the box under load. Connect the box’s extra power lead to a USB charger, or use a powered port; AI box keeps rebooting explains the power side.
“Video focus is off” on a black screen after clicking a DHU menu item. An Ultra 2 owner hit this after clicking the CAR menu by accident; it then appeared at every connection. Nobody reported a fix, so leave DHU’s menus alone during setup.
You want DHU over ADB instead of USB. Google’s page also describes an ADB tunnel mode, which needs the Android Auto app on the device with its developer head-unit server. Nobody reported using it with an AI box; the USB mode above is the one with reports. If you do need ADB for other jobs, see enable ADB on an AI box.
The box is in Android Auto mode but the car only does CarPlay. That is expected after a DHU session. Switch it back before going to the car.
Related fixes
- Enable ADB on an AI Box: USB, Wi-Fi and Ottocast Port 65535Advanced
- Update TBox Firmware Locally With FOTA and a microSD CardAdvanced
- Recover a Bricked TBox Ultra With QFIL (EDL, Firehose, UFS)Brick risk
- Crackling or Muffled Sound? Turn Off Voice-Assistant Hot-WordSafe
- Enable Multitouch Pinch-Zoom on TBox Ultra, Plus and AmbientBrick risk
Did this work for you?
Tell us which fix worked (or didn't), with your box, firmware date and car. Reports are how fixes get confirmed and re-ranked.
Send a reportChangelog
- Last reviewed against new community reports:
- Confirmed by 6 community reports on Carlinkit TBox Ultra 2.
- Page updated:
"Confirmed" means a community member reported that the fix worked on their unit. We have not tested it on our own hardware. How we verify.