MultiOS_3in1 (Android+Libreelec+Linux) install to eMMC

  1. The specified version is an exact copy of the official firmware. So it kernel exactly the same 4.9.26
  2. New kernel “4.9.40” is part of the firmware MultiOS_3in1
  3. If you need, I can upload the deb packages with the kernel “4.9.40”.
  4. You can pick up - “4.9.40” from source (making configuration changes) from git and install it as usual in your system.

The new version MultiOS_3in1 20171018.

Important update. I replaced the previous version of Ubuntu to the version which is used in Armbian (with all packages and settings). Added to system menu and applications menu two additional points for a straight reboot into Android and Libreelec. Fixed a USB drives, now when I connect the USB flash drive it is immediately available to the user (on the desktop). Now works correctly “mozo”. Pay attention, when you first start on the new equipment, a warning will be issued “Encryption unsuccessful” and choose “Reset media box”.

Thank you. I will test this version MultiOS_3in1. Can you tell if the CIFS module is OK in it? I think it will be interesting to give more functions to the device, also because Ubuntu does not seem to be accelerating for Kodi any time soon. Very annoying that Amlogic does not fix the GPU drivers for Linux.
My main purpose is to have a server for my own systems, but I would like to have Kodi accelerated. Today I do this easily with Raspberry Pi 2. Khadas is an upgrade for it.
Another question … Wifi and BT are working on this 3 in 1?

If you plan to use the VIM2, as a server, I recommend to try the official firmware VIM2_Ubuntu-server-16.04_Linux-4.9_V170922. It includes kernel “4.9.40”.

IMHO many exaggerate the importance of support for the HW in Linux. To work in desktop mode, power 8 cores S912 is enough for 1080p or 4 kernel S905X for 720p. Many people want to have desktop (for example Mate) full screen video playback. But if you enable full-screen video playback, desktop and other programs can no longer be used. This implies that if you enable full-screen video, it really doesn’t matter what program you do it. Full-screen video copes KODI. And for playback in a video window and sound while simultaneously running other programs on the desktop is enough available resources. So for me the optimal system Linux+Libreelec. Want to work and watch videos - use Linux (Mate or another shell). Want to watch full screen video run KODI (or LE) and watch any video in full screen.


I agree with you. I’ve been a fan since the time of MiniMX. Thanks for the information of Ubuntu Server … can be a solution to my problems. I’ll test it before the 3 in 1. Today my main goal is to put the cifs to work. Can you tell if the GPIO is working OK with these images?
Would Ubuntu server be usable with graphical mode installed in the same way as the native Mate image? Because this would solve my kernel problem, but I would also like to have the graphical mode, but without having to compile a kernel in the version with Mate.
Does Ubuntu Server have WIFI driver installed?

As far as I know, it’s all there, but you have to clarify in this thread the author of the firmware.

Thank you for your help and promptness.

Yes, for firmware VIM2_Ubuntu-mate-16.04_Linux-4.9_V170818 normal user can’t mount USB driver, because /media/khadas ACL attribute is missing. You can try the following commands to fixup it.

$ sudo setfacl -m u:khadas:rx /media/khadas
$ sudo setfacl -m g::--- /media/khadas

Hello! After much burning, I was able to get the cifs loaded. And the use of ubuntu server was not enough. I had to recompile the Kernel and enable the module, which was very difficult for me. I think it would be interesting if the images were loaded with more modules, as these problems do not occur in Raspberry pi, which has much less hardware. What saved me was this topic:

Without this article I would not be able to answer the millions of Kernel questions (I did not find a .config previously configured in the kernel github)… That’s the tip for the less experienced, like me.

, or can use “chmod”. :wink:

What branch (git) did you use ?

MultiOS_3in1 201719. Small correction - BT enabled by default.

I think I ended up using the VIM1 settings on VIM2. Now I have found the configuration files and will try later. I’m using the master branch, is that the config_20171017 file should be renamed to .config, is not it?
Another question … would it be possible to use the 4.13 NEXT kernel in VIM2? (
1 - With Kernel 4.13 would I lose or gain what compared to the original 4.9?
2 - Would it be possible to use it in EMMC with no changes on Uboot, only in dtb?
3 - Will the Bluetooth and WIFI drivers work on it?

The Master Branch ? This is a GIT ?

Kernel 4.13 - this is a test version, many things still not working (WiFi, BT, etc.). So I do not recommend it to regular use (except when you really need features that are only in the new kernel).

so,how to install without SD&USB。
I download ‘‘Balbes150_VIM2_MultiOS_3in1 20171019 KVIM2-emmc.img.gz’’ , and unpack the archive, found that the size of image is about 15GB。
that’s backup of the current state of the eMMC?
how to use the USB Upgrade Tool to upgrade?

Hi Kerry,

Please refer to the following post at this topic.


New firmware version Balbes150_VIM2_Ubuntu_Server_20171024.

The principal changes.

  1. New universal bootloader u-boot. It changed the algorithm run system from eMMC. You can now easily replace the system at eMMC to another. You can add multiple Linux systems in EMMs. You can use a different algorithm run, any names and location of files in directories, etc. At the start, u-boot checks for scripts under /dev/multiboot (this is a new partition on the eMMC, it FAT32). If there is a script emmc_linux, u-boot executes it. If there is no script emmc_linux, u-boot searches for the emmc_default script and executes it. Scripts emmc_linux and emmc_default are formed, by the same rules, which are formed scripts s905_autoscript. The principle of operation is the same. If /dev/multiboot not to run scripts, u-boot attempts to execute standard procedure of start Android.
  2. In this firmware version changes to the partitions on the eMMC. The whole system is placed in /dev/linux. He takes almost all free space (exclude utility partition bootloader, reserved, env, multiboot and logo).
  3. All system files (zImage, uInitrd, dtb.img are located in the standard /boot directory and available for normal use. Pay attention to start used NOT Packed utility “mkimage” kernel (use the command “booti”).
  4. To control the monitor, I added the service “0hdmi.service” which uses the script “/boot/”.
  5. Removed If desired, one can install it myself.
  6. Updated all packages from online repositories to the current date.
  7. New u-boot has a built-in universal multiboot (using the script s905_autoscript). So you can immediately launch any external system. Activation multi-boot is no longer required.
  8. Tested Libreelec with this u-boot. Everything runs and works with external drives (using a script s905_autoscript).

Pay attention when using external media (LE, Armbian, etc.) - do NOT activate the multi-boot, this will break a working u-boot.


Yes it is from GIT. I understood the limitations of the newer kernel. Now I really get the kernel compilation using your github topic. I’m tracking to see if any updates have left.

Hello! How to pass this image? Can I use the USB Upgrade Tool? And to use other images together, how to do other installations?

Version update MultiOS_3in1 (20171024).

Replaced the boot loader u-boot for a universal version. Details of the new u-boot is in the description above, the firmware Server 20171024. Before the release of the new version of the shutdown menu\reboot to Android (with support for direct transition to Libreelec and Linux) had to leave the old name with a Linux partition “rootfs”.

Pay attention. If when you first start the system, Android not start for 5-7 minutes to turn off the power and turn on again.

Examples for different variants of scripts (*-multiboot.txt and linux.txt) to run different systems using a new version of u-boot, you can see here.

1 Like