Android TV on a Banana Pi M5

2026-10-28Banana Pi M5androidtvsbcbanana-pi

The M5 is a neat little board: quad A55, 4GB, eMMC, and a proper HDMI output. I wanted a cheap Android TV box that doesn't fight me over the remote, and this was the cheap option. It now runs official LineageOS Android TV. Here's how it went.

Why the M5

Specs

Specs come straight from the official docs. Two things in them disagree, so don't quote them: the A55 clock is listed as "2.0xxGHz" on one page and 1.5GHz in their own comparison table, and the microSD max is 2TB in the docs but 256GB in the wiki.

Installing LineageOS

It runs the official LineageOS Android TV build for the m5 (currently 22.2 / Android 15 on the device page). I did the whole install from a Windows PC, using the AML USB Burning Tool for the first step and PowerShell for the rest — no Linux, no VM. Sources: the Windows guide on XDA and the LineageOS wiki (whose first step uses a different tool; the Windows route is the one below).

The short version:

1. Prep. Fit the HAT first. From the LineageOS build for m5, grab aml_install_package.img, super_empty.img, boot.img, recovery.img, dtbo.img, vbmeta.img, the LineageOS zip, and GApps if you want it. Install platform-tools, drop all those files into the platform-tools folder, and open a terminal there (right-click the folder → Open in Terminal, or type powershell in the address bar). The .\ prefixes below are for PowerShell; in Command Prompt you can drop them.

2. Burn. Install the AML USB Burning Tool (Windows only; Banana Pi hosts it here). Hold SW4 while plugging in USB-C; release once the tool sees the board. In the tool: File → Import image → aml_install_package.img, set Normal Erase, hit Start. When it finishes, unplug and reconnect without holding SW4. (The XDA guide does a stock-image pass with Full Erase before this.)

3. Fastboot. Keep it connected to a TV/monitor — it boots into LineageOS recovery. Go to Advanced → Enter fastboot and run, from the platform-tools folder:

.\fastboot.exe -w wipe-super super_empty.img
.\fastboot.exe flash boot boot.img
.\fastboot.exe flash recovery recovery.img
.\fastboot.exe flash dtbo dtbo.img
.\fastboot.exe flash vbmeta vbmeta.img
.\fastboot.exe reboot recovery

4. Sideload. Back in recovery: Factory reset → Wipe data/factory reset, then (per the XDA guide) Wipe system and ignore any errors there. Select Apply update → Apply from ADB, and in the same terminal:

.\adb.exe -d sideload lineage-22.2-...-m5.zip

Things worth knowing before you start: it's eMMC only (an SD card alone won't boot it), the Wi-Fi/BT addon has to be fitted before flashing, and GApps needs sideloading in the same session before the first boot. If Windows doesn't see the board in fastboot/ADB, install the Google USB Driver from SDK Manager; the burn-mode driver comes with the AML tool.

Remote & CEC

WiFi & Bluetooth

The board has no radio of its own. LineageOS actually requires a Wi-Fi/BT peripheral to be connected before flashing or booting: either the official Banana Pi M5 Wi-Fi/BT Combo GPIO HAT, or most USB rtl8822cs dongles. Without one it can fail to boot or lose functionality. That's why I bought the HAT — it wasn't an optional upgrade, it was the price of entry for the ROM.

Mine is the official HAT with a Realtek RTL8822CS. In practice:

Issues so far

Verdict

For the price, better than the cheap no-name boxes. Not a Shield, but it doesn't need to be.