Jump to content

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
Whether pre-built images are available here.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
6.x.x
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
0.0
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Broken
Internal storage
eMMC, SD cards, UFS, ...
Works
SD card
Also includes other external storage cards


Multimedia
3D Acceleration
Works
Built-in DVB
TV tuner/DVB device
Broken
Audio
Audio playback, microphone, headset and buttons.
Works
IR TX
Untested
IR RX
Works
Connectivity
Ethernet
Works
Miscellaneous
USB-A
Full-sized USB-A port works (Usually applicable to SBCs and laptops).
Works
HDMI/DP
Video and audio output with HDMI or Display Port works.
Works


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 X96 Amlogic S905X aarch64 - - - N - Y -
Ugoos AM3 Amlogic S912 aarch64 N N - Y Y Y - 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 Y - - N - P Y N Y Y

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 --disk=/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