Amlogic TV box wiki page

EDIT

The Manjaro Amlogic TV box wiki page is here:

https://wiki.manjaro.org/index.php/Amlogic_TV_boxes

ORIGINAL POST:

I’ve looked at the Manjaro and Arch wikis and currently there is little to no info about running Manjaro on a (Amlogic) TV box so I’d like to fix that but I thought it would be best to consult the community first about how best to do this. All current TV box info is scattered across this forum and it would be much nicer if it was neatly collected together on the wiki.

This seems to be the main Manjaro ARM wiki page, which makes no mention of any TV boxes, because they’re not officially supported, most likely:

https://wiki.manjaro.org/index.php/Manjaro-ARM

These are some of the things I will be covering:

  • (Working around) (the lack of) compatibility and support for TV boxes

  • Installing Manjaro ARM to an Amlogic TV box inc. onto USB disks

  • Overview of dtbs, recommended dtbs for specific models

  • Accelerated X, Wayland and updating mesa

  • Reflashing the Android ROM (from Linux)

  • Rooting Android using TWRP

  • Anything else useful and specific to Amlogic TV boxes eg cooling systems

I think I have three main options for creating such a wiki page, I could:

  • Create a new (Amlogic) TV box wiki page on the Manjaro wiki, I think this is probably the best option?

  • Extend the above linked Manjaro ARM wiki page to cover TV boxes. I don’t think this is a valid option really because there is no official Manjaro ARM release for TV boxes yet and maybe there won’t be.

  • Create a new page on the Arch wiki

If nobody likes any of those then I will write it anyway and just stick it on github for my own reference.

I own several ARM Linux devices going back as far as the Sharp Zaurus PDA and I have made hundreds of contributions to the Arch wiki over the years. I also own a couple of Allwinner H6 based TV boxes but I’m not interested in documenting them. They’re not as powerful as my Amlogic boxes with less hardware features and I haven’t worked out how to reflash them from Linux, if that is possible at all with existing tools?

Is there any interest in this? Your thoughts please.

4 Likes

I’ve signed up for the Manjaro wiki and submitted a small attempted change to the Manjaro ARM wiki page to add a new section for Android TV boxes with a link to a new, separate dedicated wiki page.

I feel that this amlogic TV box specific info should go on a separate, new wiki page to the ‘officially’ supported platforms, rather than sticking it onto the end of the vim section and/or modifying the other sections on the main Manjaro ARM wiki page to cover TV boxes. We’ve got too many models and corner cases we could potentially cover and so I’d rather not muddy up what is currently a nice and uncomplicated Manjaro ARM install page with all out talk of clones, DTBs, flashing, mismatching models and fakes etc.

We shall see if the wiki gods agree soon enough.

@spikerguy @Strit

Who is the main admin for the Manjaro wiki? My modification has still not been approved.

What are you thoughts about me adding some notes about AML TV boxes to the wiki? Do you agree it belongs on a separate page rather than being fully integrated into the existing one? I think I will easily (more than) double the length of the existing page if I add it there because I’m not just covering installation.

Do you plan to release aml builds soon, with the next release?

Is there a bug report open with u-boot for the eMMC install issue?

1 Like

What do you mean aml build?
Vim releases are aml image already.

Yes go ahead with it but I dont know who maintains wiki.

No idea what you mean by this. Still never got it to install on emmc with bsp uboot as chainloader uboot cannot find emmc drive.

ok i validate wiki (not make before @spikerguy agree : I don’t know arm)
moderators list

1 Like

“aml build” - currently amlogic TV box users have to install a vim3 image. Post installation they can install the linux-aml kernel, either manually or from the repos after updating to unstable. Is there no plan for Manjaro ARM aml images that already contain the linux-aml kernel?

Thanks!

I have mostly ‘finished’ the Amlogic TV boxes wiki page now, the initial version at least:

https://wiki.manjaro.org/index.php/Amlogic_TV_boxes

What it needs now is more users to add more info re the best dtb file for their box to the ‘Recommended .dtb files’ section.

I have read your wiki. A few hints to improve it.

  • A95X F2 tv box with meson-g12a-u200.dtb works without ethernet and wifi/bluetooth. Great dtb for a newbie first trial with S905X2 socket because net adapters can easily make boot failing.
  • Soc and dtb compatibility.
    gxbb → S905
    gxl → S905X
    g12a → S905X2
    g12b → S922X
    gxm → S912
    sm1 → S905X3
    -Software for image burning Balena Etcher because dd is too dangerous as just a wrong character can wipe your hard disk.
  • HDMI sound problem can be sometimes resolved executing ./g12_sound.sh from https://gitlab.manjaro.org/manjaro-arm/packages/community/oc4-post-install
1 Like

Thanks for your suggestions SickOS! I have added them all to the wiki page. If you can’t see my changes then they haven’t been approved yet.

You’re right about dd, I just use it out of habit and because its always installed on every Linux box by default but it is risky. The wiki now recommends balenaEtcher and gnome-disks.

Thanks to you Danboid for helping tv box users!

Another hint,
“to write one of the vim3 Manjaro ARM images to a disk”
I think should be … to an SD card or USB flashdrive. Maybe disk will not be understood.

Hi @danboid,

Beelink GT King Pro works with meson-g12b-gtkingpro-pro.dtb or meson-g12b-ugoos-am6.dtb.

My device GT King Pro seems to work well only with mainline linux 5.10.y, 5.11.y or 5.12.y. It does not seems to work well with current linux-vim 5.12.y or linux-vim 5.11.y (system freeze during boot up or right after boot up). It works with the older linux-vim 5.9.y or 5.10.y it did not work well after linux-vim switches to tobetter branch.

It does not boot with linux-aml 5.12.0-1 for whatever reason I/O error during boot process. Have tried it a by switching from mainline linux to linux-aml 5.12.0-1 a few times the same result, cannot boot up.

Sick OS:

I have modified that bit to read ‘micro SD card or USB disk’

JFL:

I have updated the wiki to mention the choice of kernels at the start of the dtb file section and I’ve added your GT king pro details.

GT King Pro works with current mainline linux.

You may edit it yourself or tell me the exact wording for the GT king pro and I’ll paste it on the wiki for you.

Hello Danboid,

Incredible work on the wiki,

Updating mesa graphics drivers
The Mali graphics driver is still under quite heavy development and you may find you get much improved GPU performance by installing a newer build of mesa. The easiest way to update mesa is via the archlinuxdroid repo.

Download and install the latest archlinuxdroid-repo package then update to the latest daily mesa build by installing mesa-devel-git.

No need to follow archlinuxdroid, Please remove this as mesa-git is regularly built by @Strit and it is the same package, asking users to follow someone else’s repo is not a good advice on an official Wiki.

HDMI audio script
Some users have reported running g12_sound.sh from this repo has fixed their HDMI audio.

Point the link here so users can know who changes they have to make.

Thanks.

1 Like

Beelink GT King Pro - meson-g12b-gtkingpro-pro.dtb or meson-g12b-ugoos-am6.dtb - works with the older linux-vim 5.9.y or 5.10.y and current mainline linux 5.12.y kernels.

I have removed the archlinuxdroid section, changed the link to g12_sound.sh and fixed the Beelink notes.

2 Likes

I’ve just made a few more updates to the wiki page.

I’ve added a warning about flashing incorrect images, added more details on using the HDMI audio script and added a new ‘Unbricking’ section

FiberHome STB HG680P (s905x) works with meson-gxl-s905x-p212.dtb (vim3).
edit: Kernel, I recommend linux-aml.
No wifi driver. To fix this you need rtl8189fs from github jwrdegoede/rtl8189ES_linux or install from AUR (8189fs-git)