Skip to content

PlayThing 0.1.0-beta.3

Pre-release
Pre-release

Choose a tag to compare

@tatujan tatujan released this 18 Oct 17:20
· 6 commits to main since this release

Beta. I tested it on one Car Thing only (S905D2, 512 MiB RAM, ST7701S panel). Known issues: docs/known-issues.md. Use it at your own risk: read the warning in the README.

New in 0.1.0-beta.3

  • python3 flash.py diag (hold preset 4 while you connect): a diagnostic folder for problem reports. It writes nothing. Post its summary.txt; send its data/ folder (Android logs with device data) only privately.
  • Since 0.1.0-beta.2, the flash tool supports Car Things with the newer Spotify U-Boot.
  • The images and the install steps are the same as in 0.1.0-beta.2.

Android 9 on the Spotify Car Thing as a wired Apple CarPlay receiver, with DiPlay.

What you need

  • A Spotify Car Thing whose stock software runs from slot A
  • A USB-C hub with Power Delivery input and USB-A ports (tested: Anker 6-in-1), and a PD charger
  • A USB-C cable, and a Mac or a Linux computer with Python 3.8 or later, git, and libusb (macOS: brew install libusb). Windows is not supported.

First install

  1. Download plaything-0.1.0-beta.3.zip below, unzip it, and open a terminal in the folder plaything-0.1.0-beta.3.
  2. Disconnect the Car Thing. Hold presets 1 and 4 (the left and right ends of the top row), connect it directly to the computer, and release after about 3 seconds.
  3. Run python3 flash.py install, and push Enter at each question. The tool backs up the full eMMC first (about 6 minutes; keep the backups/ folder), and it tells you when to connect again with preset 4.
  4. When the tool says DONE, connect the Car Thing to the hub with the charger. PlayThing starts in about 1 minute.

If PlayThing or superbird-android is already installed: hold preset 4 while you connect, then run python3 flash.py install. On a Car Thing with the newer Spotify U-Boot, the tool asks for one more connection with preset 4.

Hold preset 1 while you connect to start the stock software at any time. The README in the folder has all the steps, the buttons, and what to do if something goes wrong.

In the zip

File Content
system.raw.xz, boot-area.img, manifest.json The image, with placeholders
flash.py, blobs.py The flash tool. It downloads the Mali GPU driver, the video decoder firmware, and DiPlay 0.2.20 from their public sources, and checks their SHA-256.
kernel-source.tar.xz, aosp-gpl-source.tar.xz The source code of the GPL and LGPL parts
README.md, SHA256SUMS

SHA-256 of the zip: dc5623572c98e8ca1371bbdcb6250ed247c20d217fd74ad929dd75cc22dcc1b0
SHA-256 of the finished image (after the tool adds the downloaded files): 283ed927abe91ea458a28106f57bb88d2c3a9a0d71873b6856976e62ef2e1cd6

Thanks to DiPlay by shihabal3amri, which does the CarPlay work.