MultiOS_3in1 (Android+Libreelec+Linux) install to eMMC


Uploaded the update 20180122 for Libreelec of composition MultiOS_3_in_1 .

Pay attention to the change in file allocation system MultiOS_3_in_1. Now all updates (tar files) for Libreelec will be placed in the root directory MultiOS_3_in_1. Archives with the system (KVIM2-emmc.img.tar.gz) will, as before, be placed in the directory with date version.


Hi all,

I downloaded Armbian_5.32_S9xxx_Ubuntu_xenial_3.14.29_mate_20171007.img.xz from the ddb directory and used etcher to burn on SD card.

How do i boot into the linux OS on the SD Card?

I already have Vim2_Nought Android OS installed on eMMC which i am happy to wipe prior to downloading the MultiOS 3in1 (Android+Libreelec+Linux).

But the Android OS keeps rebooting. What button should i press to boot from SD Card?

Much appreciated,



It has been a while since I made bootable SD card but
might help.
I normally also activate ‘balbes’ multi-boot (from Android UPDATE&BACKUP).
3_in_1 in the end is different in that it overwrites entire eMMC.
To install 3_in_1 one needs to do so booted from external medium (SD, USB).
have a nice day


OK - to install the 3in1 MultiOS you need to boot from an SDcard (or USB stick but lets keep the focus on SDcard). I used a Armbian Server image but your problem at the moment is to get anything to boot from SD.

Try the UpgradeMode steps - alternatively I think I have had success (SDcard loaded of course)

  1. Unplug power cable
  2. Push and hold power button (closest to IO pins)
  3. Plug in power cable
  4. Push/release function button (middle of the 3)
  5. Release the power button after 3 or more seconds, or when you see boot in progress on screen.
    In case of frustration try same steps but at step 4 give reset button (closest to USB port) a push instead. Otherwise you can also try dd the u-boot sectors as per the link from tasinofan.

This whole boot stuff still has me confused - once you get 3in1 installed at least you are in known state. (Or similarly I have flashed the Khadas Ubuntu server image multiple times when I was playing to at least get to a known state where my Armbian SD would boot.

OK - if you can boot from the Armbian SDcard then you need to copy the 3in1 image to the /ddbr directory, and from a command prompt as su run kvim2-update. The prompts are fairly self explanatory - takes about 20 minutes to write the 16GB of image.


Great! Followed your handy sequence…

So here i am on the MATE desktop and i just ran the script under sudo at command prompt.

What follows is the last output of the run -

Done copy ROOTFS

Writing new kernel image…
65536+0 records in
65536+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0.656551 s, 51.1 MB/s
/dev/boot: no Android Magic Value
/dev/boot: not a valid Android Boot Image.

/dev/boot: no Android Magic Value
/dev/boot: not a valid Android Boot Image.

/dev/boot: no Android Magic Value
/dev/boot: not a valid Android Boot Image.

/dev/boot: no Android Magic Value
/dev/boot: not a valid Android Boot Image.

Write env bootargs

Complete copy OS to eMMC parted DATA

Here’s output of ‘df -h’

root@amlogic:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.3G 0 1.3G 0% /dev
tmpfs 270M 13M 258M 5% /run
/dev/mmcblk1p2 15G 3.4G 11G 24% /
tmpfs 1.4G 180K 1.4G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup
tmpfs 1.4G 12K 1.4G 1% /tmp
/dev/mmcblk1p1 128M 54M 75M 42% /boot
log2ram 50M 2.3M 48M 5% /var/log
tmpfs 270M 0 270M 0% /run/user/0
tmpfs 270M 40K 270M 1% /run/user/1000

Here’s output of ‘ls -la’ on /ddbr

root@amlogic:/ddbr# ls -la
total 12
drwxrwxrwx 3 root root 4096 Jan 30 22:19 .
drwxr-xr-x 23 root root 4096 Jan 30 22:19 …
drwxr-xr-x 3 root root 4096 Jan 30 22:23 install

So now i am downmloading the folder titled from the Yandisk online storage. I will then move this over to the /ddbr directory on /root.


Okay so i copied the files over to /ddbr on root as can be seen in output -
root@amlogic:/ddbr# ls -la
total 2452708
drwxrwxrwx 3 root root 4096 Jan 31 00:08 .
drwxr-xr-x 23 root root 4096 Jan 30 22:19 …
-rw-rw-r-- 1 michaelnewham michaelnewham 1937 Jan 30 23:25
drwxr-xr-x 3 root root 4096 Jan 30 22:23 install
-rw-rw-r-- 1 michaelnewham michaelnewham 2897 Jan 30 23:25 kvim2-update
-rw-rw-r-- 1 michaelnewham michaelnewham 260757980 Jan 30 23:32 kvim2_update_SRC_20170926.img.xz
-rw-rw-r-- 1 michaelnewham michaelnewham 2250765424 Jan 31 00:00

But when i run ‘kvim2-update’ it outputs -

root@amlogic:/ddbr# kvim2-update
AVAILABLE DEVICES: mmcblk0 mmcblk1
YOU ARE RUNNING xenial FROM mmcblk1

But i did that as can be seen in previous post…

Any suggestions? Cheers…


Backup is done with ddbr tool. Having original eMMC backup one can restore it, should one encounter issues later. So, once booted into armbian from SD, did you make a backup with ddbr tool?


To install MultiOS_3_in_1 it is NOT necessary to do. This command ( is designed for installation in Armbian eMMC (this is not related to the installation MultiOS_3_in_1).

You need to download only the files KVIM2-emmc.tar.gz and put it in the directory /ddbr on the media. Delete any remaining files from the directory /ddbr (which you put there yourself). In the directory /ddbr should be only the files KVIM2-emmc.tar.gz. Script kvim2-update you need to download only if its not in the system. All the latest images Armbian it is by default, download it separately is not required.


Seems like you are nearly there.

As per balbes150 and tasinofan all you need to do is

  1. Unzip VIM2_MultiOS so that the file KVIM2-emmc.tar.gz is in /ddbr
  2. Run kvim2-update as su.

In your case there is no KVIM2-emmc.tar.gz file in /ddbr . As you are not bothered to save your Android you can skip that. If the file IS present then it offers to install it.

You have done some bits you don’t need but that is no problem.


Okay got it working. Appreciate the help thus far… :sweat_smile:

Just wondering when in Ubuntu desktop how do i reboot to Android or Libreelec?

Command to reboot is not appearing in Applications, Places or System menu at top of MATE desktop.



If you have not changed (do not create new user) in the System Menu has two items “Android Reboot” and “Reboot Libreelec”.


When using VIM2_Nougat_V180206 dd backup for boot system recovery partitions one can restore them to 3_in_1 in Linux and do dirty Android upgrade. Note: I had first cleaned dalvik-cache and cache too.
The balbes magic even seems to preserve the reboot to Linux or LE in Android :slight_smile:
I have 2 kvim2 (one eMMC stock Android and one eMMC 3_in_1) so I could easily dd backup the partitions on first one to use for second one.
If anyone requires the dd backup images for VIM2_Nougat_V180206 system recovery (and other) partitions, I can put them on GDrive or Yandex.
Have a nice day.
Meanwhile I notice there is a VIM2_Nougat_V180209 available.
I’ll upgrade same way next weekend probably.


Hi Marc
Send me all sections of Android, I want to update the version of the image on the site for the new version of Android.


Hi Oleg
I emailed the URLs
I would want to upgrade next to VIM2_Nougat_V180209.
Not sure if it differs much from VIM2_Nougat_V180206 (I asked in other thread).
have a nice day


Thank You. I’ll wait for the latest version.


Sorry for confusion…

Currently on WIM2 7.1.2 NHG47L SCV3 Beta 20170906 test-keys
Want to upgrade…
I downloaded VIM2_Nougat_V180209.7z , extracted txt and .img file.
How to upgrade a .img file?

In Factory Recovery, it only recognizes .zip files.



Hello, The image file extracted from VIM2_Nougat_V180209.7z is to be installed using the Amlogic USB Burning Tool(plus a male-to-male USB
cable and a Windiws PC), or card method. See original post here.

For details, see the following links to Khadas Docs…

Upgrade with USB, see here.

Upgrade via card, see here.


This sentence just means that at the end I should shutdown, right?:thinking:

I follow all steps (tooks more than 1 hour all steps) and now I’m in android and I don´t have any choice to go into Linux or Libreelec.
I already reboot several times but no way.
Have you any ideia what I’m missing here?:unamused:

Boot from SD Card problem

Hello, Regarding the quote you show from balbes150, by carrier, I think he talks about the SD card, by disable, I think he means to remove the SD card.
I have yet to try the 3-n-1, so unfortunately, I cannot assist on that.


Have you downloaded and recorded on the SD card in the directory /ddbr archive (does it need to be unpacked)? Then run the command “kvm 2-update” from the root user and follow its prompts. After completion , turn off the VIM, pull out the SD card and turn on the power. When Android starts , call the shutdown menu and select the desired system.