Ok the main question is how did I end up with a TV Box instead of going with the popular miniature computers like Raspberry Pis. The thing is, Raspberry Pis here in my country are frikin expensive compared to these TV Boxes. A base model Raspberry Pi 3 with 1 GB RAM cost around Rs 8000 while I can get a TV Box with same performance CPU and RAM of 4 GB with just Rs 5800, not to forget about all the plus points like built in heat sink, pre built plastic box for the board , built in EMMC memory of 32 GB or more, and so on. Read here for more info
So, getting a TV Box is definitely a smart choice. But the problem is getting Linux to run on it. Since these TV Boxes come with Android OS pre installed and have a different way of booting, getting it to work with Linux is a very tedious job.
Basic | Spec Sheet |
---|---|
SoC | Amlogic S905X3 64 bit |
GPU | G31™ MP2 GPU Processor |
Memory | 4 GB RAM |
Storage | 32/64/128 GB EMMC |
WiFi | IEEE 802.11 A/B/G/N ; 2.4G / 5G |
Ethernet | Support 100M/1000M Gigabit |
USB | 1 x USB 3.0 ; 1 x USB 2.0 |
Bluetooth | BT 4.0 (Support Voice Remote) |
HDMI | HDMI 2.1 ,Support HDMI CEC, Dynamic HDR And And 8Kx4K@24 Max Resolution Output |
Download the image file based on your SoC i.e : S905x3 from this link : https://github.com/ophub/amlogic-s9xxx-armbian/releases
cp u-boot-x96maxplus.bin u-boot.ext
vi uEnv.txt # change FDT=/dtb/amlogic/meson-sm1-h96-max-x3.dtb
You are done !! If everything was done properly you should see the Armbian Linux screen. Follow the basic guide there and you should see a homescreen like this
Since you have booted the Linux you can also permanently install it in to the box's built in eMMC Memory, this will remove the existing Android OS and Linux will boot instead. If you don't want to do that and use your USB drive as a portable bootable Armbian Linux then you should leave as it is, and skip the steps below.
armbian-install
. Follow the procedure and Linux will be installed into your TV Box's eMMC Memory. You can remove the USB Flash Drive and restart the TV Box. For more information you can check out his awesome github repo https://github.com/ophub/amlogic-s9xxx-armbianThere are possibilities that things might go wrong and you might end up bricking your device. Or maybe you just wan to get your device back to the what it used to be. Well , the unbricking process is very easy. You need a PC running Windows OS and a USB Male to Male Type A cable. Go to this site https://www.h96tvbox.com/firmware-download/ and select download which you can find near the H96 Max X3 option.
Download all the files listed there. Watch the video which shows you how to install the USB Burning Tool properly. This is very important ! . After you are done installing it and doing other stuffs like copying the license folder to the main installation folder. Get your TV Box, open USB Burning Tool and import the image file that you downloaded. And wait few sec and click on start. Then get the toothpick and and the USB Male to Male Type A cable. Press and hold the AV hole button with the toothpick, and connect the the USB Male to Male Type A to the black port of the TV BOX and with PC. Then it should start downloading the firmware on the USB Burning Tool. Please remember this, you don't need your TV Box to be connected to a power source. Only connecting your PC with TV Box using USB Male to Male Type A cable is enough.
It is basically Linux server running Ubuntu, you can host or do whatever you want. For me, I am currently using this TV Box as a headless server and using to do cool stuffs like :