Amlogic Generic TV Box (amlogic-tvbox)

From postmarketOS Wiki
Amlogic Generic TV Box
Amlogic
Amlogic
Manufacturer Amlogic
Name Generic TV Box
Codename amlogic-tvbox
Released 20XX
Type generic
Hardware
Chipset Amlogic
Architecture aarch64
Software
Original software Android
FOSS bootloader partial
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel 6.x.x
Unixbench Whet/Dhry score 0.0
Features
Flashing
Broken
USB Networking
Internal storage
Works
SD card
Multimedia
3D Acceleration
Works
Built-in DVB
Broken
Audio
Works
Camera Flash
IR TX
IR RX
Works
Connectivity
Ethernet
Works
Miscellaneous
USB-A
Works
HDMI/DP
Works
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer


This is a generic port for various Amlogic-based set-top boxes.

Contributors

Devices

Device Chipset Architecture USB Net Flashing Screen Wifi FDE Battery 3D Audio Bluetooth HDMI/DP USB-OTG
OTT OTT X96 Amlogic S905X aarch64 - - - N - Y -
Videostrong KII Pro Amlogic S905 aarch64 - N - Y - Y Y Y Y -
Xiaomi Mi Box 3 Amlogic S905X-H aarch64 N Y Y - Y P Y
Xiaomi Mi TV Stick Amlogic S805Y aarch64 - N -

How to enter flash mode

(See Amlogic#Boot process)

Installation

  1. Run pmbootstrap init and select amlogic as vendor and tvbox as device.
  2. Select the kernel variant based on your device
  3. Follow the onscreen instructions and configure as your needs.

Sample output:

[13:12:47] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[13:12:47] Work path [/home/UwU/.local/var/pmbootstrap]:
[13:12:48] Choose the postmarketOS release channel.
[13:12:48] Available (10):
[13:12:48] * edge: Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
[13:12:48] * v24.06: Latest release / Recommended for best stability
[13:12:48] * v23.12: Old release (unsupported)
[13:12:48] Channel [edge]:
[13:12:49] NOTE: pmaports is on master branch, copying git hooks.
[13:12:49] Choose your target device vendor (either an existing one, or a new one for porting).
[13:12:49] Available vendors (91): acer, alcatel, amazon, amediatech, amlogic, apple, ark, arrow, asus, ayn, beelink, bq, clockworkpi, cubietech, cutiepi, dongshanpi, epson, essential, fairphone, finepower, fly, fxtec, generic, goclever, google, gp, hisense, htc, huawei, inet, infocus, jolla, klipad, kobo, lark, leeco, lenovo, lg, librecomputer, linksys, mangopi, medion, meizu, microsoft, mobvoi, motorola, nextbit, nobby, nokia, nvidia, odroid, oneplus, oppo, ouya, pine64, planet, pocketbook, postmarketos, powkiddy, purism, qcom, qemu, qualcomm, radxa, raspberry, realme, samsung, semc, sharp, shift, sipeed, sony, sourceparts, surftab, t2m, thundercomm, tokio, tolino, trekstor, valve, vernee, vivo, volla, wexler, wiko, wileyfox, xiaomi, xunlong, yu, zte, zuk
[13:12:49] Vendor [qemu]: amlogic
[13:12:54] Available codenames (1): tvbox
[13:12:54] Device codename: tvbox
[13:13:00] Which kernel do you want to use with your device?
[13:13:00] Available kernels (4):
[13:13:00] * p201: Kernel for Amlogic P201-based TV box (S905)
[13:13:00] * p212: Kernel for Amlogic P212-based TV box (S905X)
[13:13:00] * videostrong-kii-pro: Kernel for Videostrong KII Pro (S905)
[13:13:00] * xiaomi-once: Kernel for Xiaomi Mi Box 3 (S905X)
[13:13:00] Kernel [xiaomi-once]:

Then flash to an USB stick/SD card:

$ pmbootstrap install --sdcard=/dev/device # Replace device with your storage device

Next, boot pmOS on your device. This might depend on which device you're trying to boot. On most devices, you need to hold a button hidden in the AV port or at the bottom while booting. For other devices where this does not work, look at your device's page. E.g. Xiaomi Mi Box 3 (xiaomi-once) requires some more setup before it'll boot.

See also