I pointed Claude Code at the cheap Chinese head unit in my Civic. What it found in the firmware was wild.
retained text
I bought one of those cheap Android head units off Amazon for my 2016 Civic. The listing said 8 cores and Android 15. What showed up had ads in the menus, a pile of preinstalled apps, and a voice assistant that wanted me to pay to "activate" features. https://reddit.com/link/1xf2lur/video/02m87lzykkxh1/player People debloat Android TVs with adb all the time, so I figured why not the car. I gave Claude Code the Amazon listing and the manual (a 14-page phone scan with no selectable text) plus some rules: * backup everything before changing anything * show me the list and wait for my OK * disable apps, don't uninstall them * don't touch CarPlay, Android Auto, the radio, the backup camera or the steering wheel buttons * never sign into anything for me * only install apps from their official GitHub releases I figured we'd kill a few apps, maybe swap the launcher, and call it a day. That is not what happened. **The box lied** My first question was whether I'd have to pull the stereo back out of the dash. Nope. Claude read the manual, worked out that the USB ports on the back are host ports (for phones and flash drives, not a laptop), and said to do the whole thing over Wi-Fi. It wrote the scripts on my desktop along with a handoff doc, and a second session on my Linux laptop picked it up from the driver's seat, rewrote the PowerShell scripts in bash and kept going. The first thing it checked was what the unit actually runs. 8 cores was 4. Android 15 was Android 9, with a last security patch from October 2021. Off to a great start. Then it went through every installed app and sorted them into keep, junk, and "not sure, leave it alone". The junk pile: * a voice assistant that was always listening for its wake word, and ran a hidden WebView that sat at about 30% CPU even when nobody was talking to it * Baidu location services * a vendor log collector * a preinstalled call recorder service, on the thing that handles my phone calls over Bluetooth * the vendor's update app, built on Alibaba's IoT cloud, which can push new firmware to the unit whenever the vendor feels like it * factory burn-in and self-test apps, plus a "watermark" demo service * network radio and weather apps that only work after you pay to activate them * a DAB radio app (I'm in the US, there is no DAB here) * Adobe Acrobat. On a car stereo. In case I need to review a PDF at a red light. **The startup scripts were the best part** One was set up to reinstall QQMusic, Ximalaya and a Chinese app store if they ever went missing, and to quietly make Baidu's keyboard the default. Separately, it checked a hidden folder on every boot and installed any APK it found there without asking, then deleted the file. The folder was empty when we looked, and having the mechanism isn't proof anyone used it, but I did not expect my car stereo to have a silent app installer baked into its boot process. It also found a root "su" backdoor the vendor left in (Claude's own notes from the moment it found them are below). Both got shut down, along with some other questionable security defaults I'm not going to detail here. https://preview.redd.it/dgzragxfmkxh1.jpeg?width=2516&format=pjpg&auto=webp&s=24d2ead4a90b40808e8692a5bdfca02bf85ae280 **Cleaning it up** On the first pass we only disabled the junk. Later, once every APK was backed up, I OK'd removing 18 of them from the unit for good, and Claude wrote a restore script that puts them all back. Then: * disabled that Alibaba-cloud updater, since one firmware push could undo all of this * AdGuard private DNS for ad and tracker blocking across every app * system WebView from version 66 (2018) to 138, the newest Google still ships for Android 9 * backup camera guide lines recalibrated with actual Civic sedan numbers, and the dynamic ones now bend with the steering wheel * climate pop-up in Fahrenheit * a custom Civic boot logo * swapped the vendor's home screen for our own: an open-source launcher (Kvaesitso) with a dock for CarPlay, phone, radio, maps, YouTube and music * an icon pack Claude generated, built, signed and installed itself * Organic Maps, NewPipe and Fossify Music from their GitHub releases, each SHA-256 checked * CarPlay auto-connect Before it touched any system file it saved the original. It kept an undo command for every change and wrote me a cheat sheet on top of that. https://preview.redd.it/13y9bic0lkxh1.jpeg?width=1884&format=pjpg&auto=webp&s=53d9d1cb22871973710463a40b23ba9952816a1e https://preview.redd.it/214pz301lkxh1.png?width=1120&format=png&auto=webp&s=dfe4c3f51c52d800a6dc6a33820dbe2cd297a36a https://i.redd.it/1m8iwqm1lkxh1.gif **Numbers** ||Before|After| |:-|:-|:-| |Available RAM|2.10 GB|2.59 GB| |Enabled packages|123|108| |Voice assistant CPU hog|\~30% |gone| Not a lab benchmark, since the two snapshots were taken at different uptimes, but the CPU hog is just gone. Afterwards it watched every network connection for two minutes and saw Google, AdGuard DNS, my router and my laptop, nothing else. CarPlay, Android Auto, the radio, Bluetooth, the backup camera and the steering wheel buttons all still work, which for a car stereo was kind of the whole point. https://preview.redd.it/f8fkkpw2lkxh1.png?width=1280&format=png&auto=webp&s=82cd0154ef9d437d5bdb3673f6cf52eec35a9b45 **The ending** The last thing Claude did was lock the stereo down so only my laptop can connect to it. Everyone else on the network gets nothing. Then, in case I ever lose the laptop, it built me a backdoor: a key file on a USB stick. Plug the stick into the stereo and the door opens, pull it out and it closes again. So the stereo still has a backdoor, it's just mine now. Lesson learned: never trust the Android version printed on a cheap head unit. Video up top is the "before" (with commentary). Pics: Claude's notes when it found the backdoor, stock vs new home screen, the icon pack, the boot animation, and the climate controls still working.
document fetched 2026-10-26 00:36 · canonical https://reddit.com/r/ClaudeCode/comments/1xf2lur/i_pointed_claude_code_at_the_cheap_chinese_head