AndroidHardwareSoftwareStampanti 3D

ARMBIAN for Android TV box – T95 Max – SoC Allwinner H6

How Flash Armbian, how compile it from build, how configure Klipperscreen for Klipper.

Armbian for T95 Max with Wifi

https://www.inovato.net/Armbian/

Systems ready to use

Download from the shared folder
>Armbian TV box Images\T95 Max – Q+ # Allwinner H6<

password for users “root” and “pi
tanixtx6

Download an image, extract the IMG file from the archive, flash it with Balenaetcher on your SDcard,
insert the SDcard in yout T95 Max and connect DC Power.

Armbian_22.11.0-trunk_Aw-h6-tv_jammy_current_5.15.73_xfce_desktop_2022.10.17
Armbian_22.11.0-trunk_Aw-h6-tv_bullseye_current_5.15.73_xfce_desktop_2022.10.17

System Ready to use based on
Armbian_22.11.0-trunk_Aw-h6-tv_bullseye_current_5.15.73_xfce.img_2022.10.17

  • K4 = only Kiauh 4 installed
  • K5KMMKC = Kiauh 5 (Klipper + Moonraker + Mainsail + Klipperscreen + Crowsnest)
  • K4KMMFK = Kiauh 4 + Klipper + Moonraker + Mainsail + Fluidd + Klipperscreen
  • K5KMMF-K4KW = Kiauh 5 (Klipper + Moonraker + Mainsail + Fluidd) + Kiauh 4 (Klipperscreen + Webcamd + MJPEG-Streamer)
  • HAW = Home Assistant Supervised + Adguard Home + Wireguard.

Shrinked image, at first boot it will resize root partition and enlarge it as entire free space, then reboot.
See the screeshots
https://github.com/Travis90x/ARMBIAN_Android_TVBox_for_Klipper_Klipperscreen

##############################################################

Backup Android OS before migrate the OS from sdcard to eMMC

Attention: only eMMC is supported to backup from eMMC to sdcard or flash Armbian/restore Android from sdcard to eMMC;
the migration to Nand Flash is not supported, so Armbian will work only on the sdcard/usb stick.
sudo dbbr
press “b” to backup the eMMC or “r” to restore
If the microsd size is less than eMMC,the “forced compression mode” will be activated automatically
and a message of warning appear:
If the compressed image size of the backup will be larger than microsd free space,
the internal partition may become corrupted.

Image details

Images above are built from
https://github.com/armbian/build
with Patches from inovato hardware
https://www.inovato.net/

Kernel 5.15.73 (Wifi and Ethernet working).
Freeze kernel updates with sudo armbian-config
Desktop Environment: XFCE
Flash with Balenaetcher, after flashing connect sdcard to a Distro Linux
with sudo permission edit /boot/extlinux/extlinux.conf
sudo /boot/extlinux/extlinux.conf
Delete “mem=2048M” if your TVbox RAM is >2GB.
Delete “bootsplash.bootfile=bootsplash.armbian” to see verbose output instead splash screen on boot.
At the end of the modifications in extlinux.conf
sudo update-initramfs -u

Hardware used to compile

Ubuntu Jammy 22.04 in Virtualbox (Windows 10)
https://www.ubuntu-it.org/download
To clean the space on the VM after compiling
rm -rf ~/.local/share/Trash

How to compile

sudo apt-get -y install git
mkdir tvbox
cd tvbox


git clone --depth=1 --branch=main https://github.com/armbian/build
git pull
cd build

wget https://www.inovato.net/build/quadra-patches.zip
unzip quadra-patches

sudo nano ./config/boards/aw-h6-tv.csc
Delete “mem=2048M” if your TVbox RAM is >2GB.
Delete “bootsplash.bootfile=bootsplash.armbian” to see verbose output instead splash screen on boot.


At the end, to build manually use:
./compile.sh

  • Full OS Image for flashing
  • Do not change the kernel configuration
  • Show CSC/WIP/EOS/TVB
  • I understand and agree
  • aw-h6-tv (or try new inovato-quadra)
  • Choose Kernel: current With “edge” WiFi will not work.
  • Choose “bullseye” (“jammy” is not yet tested)

    Choose:
  • “image with console interface” for terminale environment (use less ram/cpu)
  • “image with desktop environment” for DE (desktop environment).
  • “XFCE” (tested)
  • “base configuration”
  • Select the Software you want, but you can add them later.
  • OK

Automatic build

To build with no DE, but using a terminal server
./compile.sh BOARD=aw-h6-tv BRANCH=current RELEASE=bullseye BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,img

To build with DE xfce4
KERNEL_CONFIGURE=yes during image build is deprecated
sudo ./compile.sh BOARD=aw-h6-tv BRANCH=current RELEASE=bullseye BUILD_MINIMAL=no BUILD_DESKTOP=yes KERNEL_CONFIGURE=no DESKTOP_ENVIRONMENT=xfce DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base COMPRESS_OUTPUTIMAGE=sha,gpg,img

Disable Firmware Updates

Disable Armbian firmware updates to prevent Linux kernels that doesn’t support Ethernet and Wifi hardware.
Flash the image on microSD with Balenaetcher, boot the TV Box with Armbian, then:
sudo armbian-config
Select “System”, “Freeze”, “Freeze”.
Now you can do: sudo apt update && sudo apt upgrade


##############################################################

Armbian images for other SOCs

https://github.com/armbian/build

Amlogic S9xxx (a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, etc.)

https://github.com/ophub/amlogic-s9xxx-armbian
https://users.armbian.com/balbes150/



##############################################################


Armbian Tanix-tx6 (compatible for T95 Max – Soc Allwinner H6)

Inovato
https://www.inovato.net/Armbian/
https://forum.inovato.com/post/building-armbian-from-source-12449428
smlinux
https://github.com/smlinux/armbian-tanix-tx6/releases
git clone https://github.com/smlinux/armbian-tanix-tx6.git -b tx6
awawa
https://github.com/awawa-dev/build/releases
git clone https://github.com/awawa-dev/build.git -b tanix

Others
https://forum.armbian.com/topic/16600-t95-allwinner-h616-armbian/
https://mega.nz/folder/j9QSDQSQ#6WpasOlbZYIInfw6yo4phQ
https://disk.yandex.ru/d/NdhF0c0iM0TnzQ?w=1
https://disk.yandex.ru/d/0a41swJcEAZ0SQ?w=1
http://mrbluecoat.blogspot.com/2021/07/install-linux-on-t95-mini.html

STOCK Firmware Android T95 Max H6

https://www.turewell.com/pages/tvbox-document
https://mega.nz/folder/x2xHnbhY#Uq1TGd83VW24BZMxEYWXGA

Armbian upgrade from buster to bullseye