I used Claude Code to replace the software on a spyware-laden AliExpress car screen (2015 chip, no root)
My 2006 BMW X3 has a cheap Junsun Android head unit from AliExpress. Sold as Android 12, actually Android 9 on a 2015 MediaTek MT8163 with 2 GB of RAM. Over about a month and 40-odd builds, Claude Code replaced everything I touch on it with a custom home screen app. The video is the real app UI.
How it went:
- Recon first. I ran an SSH server (Termux) on the unit so Claude Code could look around itself, read-only. It found the ADUPS backdoor, a second hidden updater, Baidu location tracking, silent firmware updaters, root connections phoning home and an open port. Bootloader locked, no root, so it could only disable what Android allows. It made a keep/disable list and I approved it before anything changed.
- Live reload in the car. The app is a Kotlin shell with a WebView UI that loads from my Mac's dev server during development. Claude edits a file and the car screen updates in about 2 seconds. The app also serves a screenshot of its own screen, so Claude checks its work on the real unit.
- A Mac preview with simulated driving data, for UI work without sitting in the car.
- Real data for bugs. The app writes drive logs. After a drive Claude pulls them over SSH and fixes from what actually happened (that's how it found the OBD link dropping about once a minute).
- Reverse engineering the vendor apps. FM radio control through the stock radio app's service via reflection and a raw Binder call. The dashcam turned out to be a USB card reader with a private protocol, so Claude drove it through the vendor's own native library, and disassembled that library to track down a crash.
What the app does: live engine data from a cheap Bluetooth OBD dongle, an offline 3D map with offline routing (MapLibre + BRouter), speed limits and speed camera warnings, a live 3D model of the car with fault code reading, dashcam remote, FM radio with RDS, and a data strip that floats over CarPlay. All on that 2015 chip.
Where it hit walls: no root, so the spyware system apps stay. Play Protect hard-blocks any sideloaded build that asks for Accessibility or notification access. Generic OBD only, so no BMW-specific modules.
Even the video was Claude Code: it recorded the real UI with Playwright on a fake clock (timers, animation frames and CSS animations stepped one frame at a time, so the WebGL map and car come out at a smooth 30 fps), then put it together with ffmpeg.
Happy to answer questions about the workflow.
If you have the same Junsun unit, say so in the comments.