github HuskerMinion/techo5 v1.2.16

latest releases: v1.6.58, spot-v1.4.58, dot-v1.0.85...
one month ago

TECHO5 now runs on the Echo Show 8 2nd gen (ATHENA)

When the unlock for this Show came out, I figured it would be quick. It wasn't.

Amazon ships it with a 32-bit kernel. It now runs TECHO5 on a 64-bit mainline Linux kernel. The first OS other than Fire OS on this Echo, and the first Echo Show on a mainline kernel that I can find. Getting there took a serial port soldered to the back of the board and a lot of reading Amazon's kernel to see how it did things.

Some highlights:

  • The audio chips share a bus with a coprocessor that isn't running, so we talk to them by toggling pins in software.
  • Two of the four mics needed a setting nobody documents. We found it by taking Amazon's kernel apart.
  • There's no hardware echo reference, so TECHO5 keeps track of what it played and lines it up with what the mics hear.
  • Phones dropped Bluetooth right after pairing. The chip makes one kind of key and encrypts with another, and Linux didn't like that. Fixed in the driver.
  • Wi-Fi and Bluetooth share one chip and fought over it at boot. Bluetooth now waits its turn.

What works:

  • Screen and touch. The screen has a real display driver now.
  • All four microphones and the speaker.
  • Bluetooth audio with your phone.
  • The light sensor.
  • Wi-Fi. Set it up on the screen, or pass --wifi to the installer.

The speaker uses Amazon's own tuning for the amp. TECHO5 doesn't ship it. The installer reads it from
your unit's backup and checks it against the known versions.

Only one screen for now

Amazon used several screens in this model. TECHO5's kernel supports one: the ILI9881C with BOE glass.
The installer checks your unit and stops if it has a different one. Those units can still run TECHO5
on Amazon's kernel (--kernel amazon).

How to install

  1. Update the Show to the latest Fire OS (7080).
  2. Unlock it with saiyaku-athena (XDA thread).
    You end up in TWRP.
  3. Run python3 tools/install-athena.py --name Kitchen with the unit in TWRP.
  4. Add it in Home Assistant with the key the installer prints.

The installer backs up every partition first. Keep that backup. It's your way back to Fire OS, and
the speaker tuning comes from it.

Full steps: docs/install-athena.md.

Known issues

  • Light sensor values aren't calibrated yet.
  • The microphone beamformer is off.
  • Only Fire OS 7080's speaker tuning is known. On another version the installer stops and says so.

Kernel source

TECHO5's kernel for this Show is Linux 6.18.56 with TECHO5's patches. The patches, device tree, config
and build script are in the repository at this release's tag:
tools/linux/athena/kernel.
The matching full kernel source, as a tarball, is attached to this release.

Other Shows

  • The 1st gen Show 8 no longer reads its touchscreen (fts_ts) for buttons. It never had buttons there.
  • The Spotify Connect program no longer carries the build computer's file paths.
  • The USB cable's network link is left out of the addresses the Show announces on your network.

Credits

The unlock is saiyaku-athena and kaeru, by R0rt1z2 with bengris32 and FieryFlames (jackmthws).
Thanks to nuno407 for the META mode idea.
XDA thread.

The Linux port is by HuskerMinion.

Nothing to do after updating on the other Shows.

Verify this release was built by CI from its own tag:

gh attestation verify echod-arm --repo HuskerMinion/techo5 --source-ref refs/tags/v1.2.16

Don't miss a new techo5 release

NewReleases is sending notifications on new releases.