Khadas VIM2 is the first and only Amlogic S912 based hobbyist development board on the market, which makes it interesting by itself, but the company also added some interesting features such as an SPI flash for network boot, Wake-on-LAN support, and more. Last month the company sent me a sample of the Khadas VIM2 Basic (2GB RAM/16GB flash) together with VTV Extension DTV Board featuring a DVB-T2/C and DVB-S2 tuner.
I’ve already checkout the hardware and shown how to assemble the kit, so for the second part of the review it seemed like a good idea to use the board as a Live TV streaming server broadcasting satellite, cable or terrestrial TV to devices connected to the local network. At first I wanted to use Linux operating system, because I could have run other Linux server services, but SuperDVB, the company that makes and supports the tuner board, only have Android software for their board.
So I changed plan, and instead used their Android VTV app to stream the video over Gigabit Ethernet. I’ll report my experience setting this all up in this post.
Download & Flash Android firmware to Khadas VIM2 board
First we need to download the latest firmware on Khadas Firmware Resources page. Here you’ll find a little of firmware with names such as VIM2_Nougat_V171028 or VIM2_Nougat_vTV_V171024. The “vTV” string is important here, as the one without do not support the tuner board, so we’ll need one with vTV. So I downloaded VIM2_Nougat_vTV_V171024.7z Android firmware, and VIM2_Uboot_Nougat_171028.7z “uboot” files from the page. Just make you download the latest version on the website.
The firmware provided works with Amlogic USB Burning Tool Windows software, but the tool is not really user-friendly, and in my case not directly supported as it only runs on Windows. So instead it’s better to flash the firmware to a bootable SD card (backup instructions here) in Ubuntu. If you are using Windows, Burn Card Maker Tool is much easier to use.
If you are using Ubuntu or a Linux distributions, there are a few steps to follow. After inserting you card, locate it with lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdd 8:48 1 14.7G 0 disk
sdb 8:16 0 111.8G 0 disk
└─sdb1 8:17 0 111.8G 0 part /
sr0 11:0 1 630M 0 rom /media/jaufranc/CanonEOS285W1
sdc 8:32 0 931.5G 0 disk
└─sdc1 8:33 0 931.5G 0 part /media/jaufranc/SEAGATE EXTENSION
sda 8:0 0 931.5G 0 disk
├─sda2 8:2 0 15.6G 0 part [SWAP]
└─sda1 8:1 0 915.9G 0 part /media/hdd
I’m using a 16GB card, so /dev/sdd is the device to so. We’ll need one partition, but my card has none for now:
I’ll use /dev/sdX to refer to the device from now on to avoid potential data loss due to copy/paste gone wrong.
We can create a new primary partition of W95 FAT type with fdisk or (g)parted:
sudo fdisk /dev/sdX
Once it’s done let’s format it with FAT32:
sudo mkfs.vfat /dev/sdX1
Now we can copy u-boot binary for SD card to specific locations in the storage device:
sudo dd if=u-boot.bin.sd.bin of=/dev/sdX bs=1 count=444
sudo dd if=u-boot.bin.sd.bin of=/dev/sdX bs=512 skip=1 seek=1
Now unplug and replug the card to mount it automatically (or mount it with the command line) in order to copy the command and firmware files:
cp aml_sdc_burn.ini update.img [sd_mount_point]
sudo eject /dev/sdX
Now we can remove the card from the computer, and insert it into Khadas VIM2 board, and enter upgrade mode, by pressing the power key, pressing and releasing the reset key, wait two or three seconds, before releasing the power key on the board.
A look at Android Settings
At this point, we can remove the micro SD card, and reboot the board, and within a few seconds, we’ll get to the (stock) launcher.
Several apps are installed including Google Play and MoviePlayer. VTV is the app we’ll use to watch and stream Live TV.
The image is based on Android 7.1.2 with Linux 3.14.29, and offers typical features like HDMI CEC or playback settings (HDMI self-adaptation), but if we go into More settings we’ll find some less usual option for the cooling, LED, and WOL.
Cooling fan will allow you to turn on or off fan support, and set either automatic speed, low speed, medium speed, or high speed. LED option allows the user to control the board’s LED behavior such as always on, always off, heartbeat mode, or breather mode.
Khadas VIM2 CPU Temperature, Fitting an Heatsink
During my first post, people had concerns about using the board without heatsink, and based on CPU-Z app, CPU temperature is indeed around 76°C in idle mode.
When I watched and streamed live TV, the video did not feel very smooth especially on the display connected to the board, so I decided to fit an heatsink to the board.
With the heatsink, the temperature drops to 58°C (26°C room temperature), but I still had some troubles while watching live TV. So the problem is most probably not temperature related, as the reported temperature only climbed to around 62°C while watching and streaming video from the VTV app
Install the VTV V2 App with IP Streaming Function
This section may not be necessary in the future, as the latest app will be updated in the firmware, but the IP Streaming function is new, so I had to download VTV-2017-11-30-IpStreamming.rar, extract it, and manually install VTV-2017-11-30-IpStreamming.apk to the board. It’s now important to reboot the board to avoid version conflict.
At this point, we should launch the app, and scan the channels. VTV app is based on DTV app found in Videostrong/Mecool set-top boxes, you can follow the same DVB-T2/DVB-S2 configuration instructions. I connected the tuner to my rooftop antenna, so the first time after being asked to scan the channels, I went through DVB-T2 configuration.
Finally, we can make sure we have the latest app, by pressing the INFO key while watching a channel in order to show service info & version of the app.
Khadas VIM2 Live TV Streaming
Once we have the channel configured, we can enable IP streaming by pressing the MENU key on the remote control, then DTV preference->IP stream setting.
In the demo below, I use three clients: one Android phone, a Ubuntu 16.04 laptop, and my Ubuntu 16.04 desktop PC playing the video from Khadas VIM2 board at the same time.
I think the feature is still beta, so maybe that’s why there are problems while changing channels where the client may not pick up the stream. The live channel in Khadas VIM2 appears not to be quite as smooth as it could be too, again some optimization may likely solve this issue.
A better way to change channels however is to export ip stream list file tvlist.txt in VTV app by pressing the red/audio button on the remote control, which in my location looks as follow:
I copied it to my computer, renamed it to tvlist.m3u, and used it in VLC to easily switch to whatever channel.
Going forward, I think Linux support for the tuner board is unlikely, so people should really focus on Android if they plan to use the board. I’ve asked the company if they planned to release the source code for VTV app or at least an API to let people integrate support into their own app, but I have not received an answer yet.
For end-users, support for TVHeadEnd would be a bonus, as they’d be able to watch live TV, access the EPG, and change channels right from Kodi running in the client, as it’s now done in products such as U4 Quad Hybrid, U5PVR, or WeTek Play 2.
[Update: answers from the company:
- Linux is not in their plan now, and they are focus on the Android platform.
- VTV app can not be made open source due to it being used in other business projects, and there does not seem to be a plan for an API either
- “TVheadend is supported by LibreElec already, for the Android platform, we will try to learn it and make it into software if possible.” See the comments below for the download link for LibreELEC.
I’d like to thank Khadas (Shenzhen Wesion), and SuperDVB for sending the kit for review and their support in getting this to work. Khadas VIM2 Basic board can be purchased on GearBest for $89.99 shipped, and the “VTV Expansion DTV board” for $39.99. You’ll pay a bit less if you take a bundle for a total of $112.98 including shipping ($17 discount) available from the latter link.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
17 Replies to “How to Use Khadas VIM2 Board with VTV Expansion DTV Board as a Live TV Streaming Server”
This combo is already supported in community LibreELEC builds. 🙂
While tuner driver is not as good as we would like it to be, it’s enough to set up a TVHeadend server, for example. Additionally LE allows you to connect additional tuners over USB thanks to media_build drivers.
Thanks for the info. I’ve learned that this morning from the company’s answer too. The image is not in the firmware resources page yet though. We can find it in the forum: http://forum.khadas.com/t/libreelec-for-the-vim2/1146
Good to know TVHeadend is already working with LibreELEC.
I´ve heard these boards (or boxes) are not that good, as in they break easily and need better cooling??? Are those factual statements or just nonsense, because i´ve even heard people urge to not buy the khadas boards.
I am looking for a fast and cheap alternative to the NUC that will let me run linux (or multiple systems), run it like a media/web browsing living room computer for media consumption. I don´t need 4k or crazy high end specs just normal full HD playback and streaming capabilities are enough. Also playing with thought of building a second hand parts machine, that will serve as my living room system but not sure if it´s the way to go.
What would you recommend i buy?
The boards do not come with heatsink, so you can responsible for handling cooling with heatsink, and optionally a fan.
I don’t know about breaking easily, as only sellers with return data can know this.
I’ve usually heard good thing about Khadas support.
One of the problem is that GearBest sell them as TV boxes, as if they were consumer products (maybe to get more sales), so maybe some end up in the wrong hands, and people who complain are the ones who runs the board without heatsink, run outdated firmware and so on.
Recommendations depends on your skills/willingness to spend time to setup a system:
1. Raspberry Pi 3 – Should be easy
2. Various Amlogic boxes supporting LibreELEC (should also be easy but you won’t have a Linux desktop, only Kodi Linux to play videos).
3. ODROID-XU4 – More powerful, and fairly easy (good community)
4. Orange Pi & NanoPi boards with HDMI output – Cheaper, but potentially more difficult to setup, and get things working, especially on Orange Pi. Keep words that should help with SW: armbian.
Thank you so much for replying to my question, i have experience with building PC´s but not with dev-boards… I´ve been using my old minix neo x5 mini for years now, but it´s outdated and sluggish compared to newer devices.
Big linux fanboy here so i´d love to have a faster, linux capable device or board to use as my living room system. Too bad Raspberry is waiting with the release of their newer board, i think 1GB of ram is really useless when one wants to have a fluid and snappy system.
I have been looking at the Odroid boards for a while now… But the problem (at least i think it´s a problem) is that considering the cost, i´ll end up paying as much for the Odroid as i would for a full fledged barebone PC.
Would it be wiser to wait for the June canyon systems by Intel? Maybe considering the cost etc… Yeah sorry i did not mention i was kind of on a budget for this build/buy…
Anyway thanks again!
I’d expect an Intel GLK NUC to cost over $200 with flash and some RAM (2 or 4GB), around $140 barebone based on the prices I see for the Apollo Lake one.
ODROID-XU4 costs around $60. If you add power supply, basic case and 16GB SD card, it goes up to $86 (on Ameridroid). If you replace the 16GB SD card by a 32GB eMMC module + reader, then the total goes to $123 + shipping, and you have a system ready to use.
Wow thank you very much for the awesome advice!
Cool… Any place i can order in Europe to cut import fees lol?
Thanks again for helping me out.
I don’t know where you live, but pollin is popular in Europe / Germany.
Otherwise you may find a distributor in your country: http://www.hardkernel.com/main/distributor.php
VAT will add to the prices I mentioned above.
Thanks again for pointing me in the right direction, i hope you and yours have a fantastic new year!
Unfortunately the TVheadend is not currently working on the VIM2 with this board. It detects the card and shows its availability, but it fails to scan successfully so is no functional use. People at Libreelec are working on this at the moment, and since the hardware is shared with the Mecool K3 Pro which has got Tvheadend support working, it should be possible to resolve the teething problems which are stopping this working successfully. It maybe just an issue with the dtb.img.
However in light of this it might be wise to hold off buying this combination until it is proven working if TVheadend is essential for your application.
This card is finally getting Libreelec dTV support. A mostly functional driver is now available through the “Crazy Cats Modules Driver” addon. Reception on this dTV card is not as good as a Genitec HDStar USB DVB-s.
Hi, is there any change you can revive the VTV-2017-11-30-IpStreamming.rar link? i just found my old android box in the closet.
is this VTV Board also compatible with others single board computer?..for example asus tinker board, does anyone had tried?thx
It’s using pogo pins to connect to Khadas VIM2. No other boards have pads that would match. In theory you would wire the pins to other board, but it’s not really practical. Better use a USB dongle with other boards.
Hello All !…
User of a TVBox Board-Sandwich VIM2+ToneBoard+VTVBoard and trying to download the VTV APK…
Is somebody have dowloaded the VTV V2 App with IP Streaming Function athttps://download.cnx-software.com/index.php/s/9ZkTGjf9l9OoM0C/download
I think the download link is sic…
Could someone poste somwhere the VTV-2017-11-30-IpStreaming.rar file ?
That will be great 😉 …
Thanks in advance 😉 …
Sorry about that. I’ve fixed the link to a mirror in MEGA. I thought VTV V2 app would be part of the firmware by default by now.
I’ve finaly found that link :
It come from Frank.DTV (Khadas Partner from China), posted on October 2017 (post 68/235) in DVBDTV Extension Board for VIM2 (VTV) – Hardware and Peripherals – Khadas Community
hope that will help someone else 😉 …