Multiboot&Universal Installer for Odroid C1, C2 and XU3/XU4

davidwkerr
Posts: 27
Joined: Wed Mar 01, 2017 9:26 am
languages_spoken: English, French
ODROIDs: 3* XU4, 1xC2, 1xC1+
Location: Sydney, Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by davidwkerr » Thu Jan 04, 2018 4:23 pm

Hi All...and a big thank you to loboris for Multiboot and voodik for Lollipop, Nougat and other things.

I have been running multiboot on an XU4 with 64GB emmc plus Ubuntu 16.04 and CM12.1 (Lollipop- 5.1.1).

I am wondering how I can upgrade to (for instance) CM14? I HAVE successfully installed Nougat (loboris CM14) to an SD card but I would like to upgrade the CM12 to this on the emmc.

I really do not think that renaming the xxx.7z Nougat install files to update.zip will do anything. Taking my Nougat SD build and creating all the .img and other files so that I can make an update.zip of the correct format seems impractical.

So, how is it done? I imagine some of you have already achieved this.

I do not mind writing off the CM12.1 when installing Nougat- that is not a problem.

Puzzled,
Dave

davidwkerr
Posts: 27
Joined: Wed Mar 01, 2017 9:26 am
languages_spoken: English, French
ODROIDs: 3* XU4, 1xC2, 1xC1+
Location: Sydney, Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by davidwkerr » Fri Jan 05, 2018 9:12 am

In Android Update mode, the various update.zip files do not work for me because they are missing userdata.img and the system.img file is split into system_aa, system_ab etc and the installer does not recognise these- it wants "system.img".

Perhaps the aa, ab files can be joined to make system.img but certainly simple concatenation does not work.

Cheers,
Dave

davidwkerr
Posts: 27
Joined: Wed Mar 01, 2017 9:26 am
languages_spoken: English, French
ODROIDs: 3* XU4, 1xC2, 1xC1+
Location: Sydney, Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by davidwkerr » Fri Jan 05, 2018 2:44 pm

Okay, hope this helps others. I now have Android 7.1.2 running with Ubuntu 16.04 Multiboot.

What I had to do:

1. Generate my own installation image from loboris's GitHub. It is more up to date than the prebuilt images.

2. I changed the references to "emystem" and "sdystem" to "emsystem" and "sdsystem" respectively in the install script file because the script could not mount my system install partition for Android (by name).

3. The backup and install from backup (on USB disk) work reliably (thank goodness) so I was able to do lots of testing. But in the end, I went with a straight install of voodik's CM14.1 using his update.zip. But I had to modify it (as I did all update.zips used).

4. Unzipped update.zip and concatenated the system_aa, system_ab..... files with cat system_* > system.img. Then deleted the split files. Also had to add a dummy userdata.img file else the install script will not update or indeed install. Then rezipped all the files in the directory to a new update.zip and that worked perfectly.

Regards,
Dave

dante6913
Posts: 96
Joined: Sat Oct 01, 2016 7:16 am
languages_spoken: english, Portuguese
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by dante6913 » Sat Jan 06, 2018 9:43 pm

davidwkerr wrote:Okay, hope this helps others. I now have Android 7.1.2 running with Ubuntu 16.04 Multiboot.

What I had to do:

1. Generate my own installation image from loboris's GitHub. It is more up to date than the prebuilt images.

2. I changed the references to "emystem" and "sdystem" to "emsystem" and "sdsystem" respectively in the install script file because the script could not mount my system install partition for Android (by name).

3. The backup and install from backup (on USB disk) work reliably (thank goodness) so I was able to do lots of testing. But in the end, I went with a straight install of voodik's CM14.1 using his update.zip. But I had to modify it (as I did all update.zips used).

4. Unzipped update.zip and concatenated the system_aa, system_ab..... files with cat system_* > system.img. Then deleted the split files. Also had to add a dummy userdata.img file else the install script will not update or indeed install. Then rezipped all the files in the directory to a new update.zip and that worked perfectly.

Regards,
Dave
Great work
Can you share your mod update.zip?
Thank you

davidwkerr
Posts: 27
Joined: Wed Mar 01, 2017 9:26 am
languages_spoken: English, French
ODROIDs: 3* XU4, 1xC2, 1xC1+
Location: Sydney, Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by davidwkerr » Sun Jan 07, 2018 4:57 am

Hi, I am happy to do that. Just need to figure out a way given the poor upload speeds in Australia.
More later,
Regards,
Dave

davidwkerr
Posts: 27
Joined: Wed Mar 01, 2017 9:26 am
languages_spoken: English, French
ODROIDs: 3* XU4, 1xC2, 1xC1+
Location: Sydney, Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by davidwkerr » Sun Jan 07, 2018 5:31 am

Okay, here is my update.zip. I put it on my web site.

https://www.kerr.net.au/dpkerr/update.odroid

Download it, rename to update.zip, do a md5 check- it should be:

bbe66434c6e7d7e90468a78581abbde9

It is around 425MBytes in size. I advise using a USB attached disk and not a memory stick for the install due to the number of temporary files created, copied and moved. A memory stick would be very slow.

Please note that I have used this particular update.zip with the Multiboot installer INSTALL option but not tested it with the "Update Android" option.

Remember to generate a new multiboot installer before you start.

Regards,
Dave

dante6913
Posts: 96
Joined: Sat Oct 01, 2016 7:16 am
languages_spoken: english, Portuguese
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by dante6913 » Sun Jan 07, 2018 9:17 pm

davidwkerr wrote:Okay, here is my update.zip. I put it on my web site.

https://www.kerr.net.au/dpkerr/update.odroid

Download it, rename to update.zip, do a md5 check- it should be:

bbe66434c6e7d7e90468a78581abbde9

It is around 425MBytes in size. I advise using a USB attached disk and not a memory stick for the install due to the number of temporary files created, copied and moved. A memory stick would be very slow.

Please note that I have used this particular update.zip with the Multiboot installer INSTALL option but not tested it with the "Update Android" option.

Remember to generate a new multiboot installer before you start.

Regards,
Dave


Thank you, Dave

qwertyodroid
Posts: 3
Joined: Thu Feb 01, 2018 3:29 am
languages_spoken: spanish english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by qwertyodroid » Thu Feb 01, 2018 3:38 am

Hi! Good evening!

At the first time, sorry about my english.

I´m new here. I´d would like about the possibility about change the size of partitions. I´ve a emmc 128 gb and I cannot use more than a 100 gb because gparted can´t do more than four partitions. I´ve used multiboot v3.

Thanks a lot!

PD: if your spanish is better than my english, please, use it ;)

User avatar
mad_ady
Posts: 6554
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 169 times
Been thanked: 128 times
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by mad_ady » Thu Feb 01, 2018 3:22 pm

You will need do convert a primary partition in a extended one and you can create logical partitions inside. Not sure if multiboot supports them by default though.

qwertyodroid
Posts: 3
Joined: Thu Feb 01, 2018 3:29 am
languages_spoken: spanish english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by qwertyodroid » Fri Feb 02, 2018 3:25 am

mad_ady wrote:You will need do convert a primary partition in a extended one and you can create logical partitions inside. Not sure if multiboot supports them by default though.
Thanks you very much mad_ady. I tried that, but gparted can´t let me change and do something. I´ll try to install multiboot manually, but I dont know how can i do from Windows 10.

Thanks a lot again for you answer

User avatar
mad_ady
Posts: 6554
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 169 times
Been thanked: 128 times
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by mad_ady » Fri Feb 02, 2018 3:49 am

It should work with gparted, but you need to delete the last partition and create an extended one. Inside the extended partition you need to create one (or more) logical partitions.
If it doesn't work post back screenshots with the error message.

qwertyodroid
Posts: 3
Joined: Thu Feb 01, 2018 3:29 am
languages_spoken: spanish english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by qwertyodroid » Sat Feb 03, 2018 1:46 am

mad_ady wrote:It should work with gparted, but you need to delete the last partition and create an extended one. Inside the extended partition you need to create one (or more) logical partitions.
If it doesn't work post back screenshots with the error message.
Thanks again. I just tried to do that but I can´t remove the last partition because is a linux partition and gparted doesn´t let me unmount the partition.
I´ve just installer ubuntu mate from hardkernel. How can I continue for install multiboot? I read the tutorial but I don´t understan so good.
Sorry, I,m new in Linux, my knowledge is basical.

Thank you very much for your interest.

User avatar
mad_ady
Posts: 6554
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 169 times
Been thanked: 128 times
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by mad_ady » Sat Feb 03, 2018 3:02 am

You should make changes to the partitions with the emmc/sdcard connected to a different system (e.g. booted from a different disk)

hominoid
Posts: 306
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 8 times
Been thanked: 18 times
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by hominoid » Sat Feb 03, 2018 3:34 am

qwertyodroid wrote: Thanks again. I just tried to do that but I can´t remove the last partition because is a linux partition and gparted doesn´t let me unmount the partition.
I´ve just installer ubuntu mate from hardkernel. How can I continue for install multiboot? I read the tutorial but I don´t understan so good.
Sorry, I,m new in Linux, my knowledge is basical.

Thank you very much for your interest.
@qwertyodroid, you can also use a "live CD/USB" version of gparted standalone to overcome your issue. Download an image and burm/flash to the appropriate media (DVD or USB Stick) and then boot to it on a laptop/desktop to modify or setup your partitions on the Odroid emmc or SDcard, in a USB reader. Here is a link to the gparted site where you can find a live image.
https://gparted.sourceforge.io/

Osdieman
Posts: 7
Joined: Sat Feb 10, 2018 4:40 am
languages_spoken: english
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by Osdieman » Mon Feb 26, 2018 7:30 pm

Hi All Friends here..
First of all.. big thank you to Loboris for his hard work...!!!

I have a problem .. i have an odroid c2 with an hifi shield 2 sound card..
My goal is to run at least two distro's..

Distro 1 = Libreelec Latest from raybuntu
Distro 2 = Volumio

i managed to install 3 distr.'s were only two are running.. and the third ( Libreelec ) will not boot and gives only blue light..
I have searched and searched and tried and tried.. but i am stuck..
Is there anybody who could point me to the right direction to get to my goal..
Best regards Osdieman

sdip
Posts: 8
Joined: Mon Dec 05, 2016 2:21 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by sdip » Sun Mar 04, 2018 5:45 am

minca wrote: !No Multiboot card detected
I finally got around to play with this. Following the instructions above..
davidwkerr wrote:Okay, hope this helps others. I now have Android 7.1.2 running with Ubuntu 16.04 Multiboot.
Created my own repo with the fix mentionied by @davidwkerr https://github.com/slayer1991/Odroid_Multiboot

I had a 8 GB EMMC and a 16 GB SDCard.

Method 1
Prerequisite for me: have a linux install on the EMMC
It seems that the 'init' script doesn't detect EMMC and SD cards properly (at least in my case). The following env vars were fine:
  • BOOT_CARDTYPE="SD"
    OTHER_CARDTYPE="EMMC"
but these were wrong:
  • BOOT_CARDDEV=0
    OTHER_CARDDEV=1
Once it started, press X for the bash prompt. "fdisk -l" allowed me to identify the proper number for CARDDEV under the form mmcblk<number_here_from_card_size>p1

After I swapped around the vars, the installer started properly:
  • BOOT_CARDDEV=1
    OTHER_CARDDEV=0
Method 2
Keep just the SD card for the first install, add the EMMC after

Other notes
Can't install linux2 without linux1 (may have been mentioned on the forum)
Can't install the 2 linux installs on different cards (emmc vs sd)

Will continue to edit this post if further issues encountered and solved :)

Tony32
Posts: 12
Joined: Sun Mar 04, 2018 1:39 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by Tony32 » Wed Mar 07, 2018 12:22 am

When I try to DD the image to my SDCARD I get errors with "invalid argument", error writing '/dev/sdb' triet both sdb and sdb1 which is my SD-card. Anyone know whats wrong?

User avatar
mad_ady
Posts: 6554
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 169 times
Been thanked: 128 times
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by mad_ady » Wed Mar 07, 2018 1:04 am

What is your exact dd command? What does sudo blkid show?

Tony32
Posts: 12
Joined: Sun Mar 04, 2018 1:39 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by Tony32 » Wed Mar 07, 2018 4:28 pm

mad_ady wrote:What is your exact dd command? What does sudo blkid show?
I ran the command listed in the tutorial.

Code: Select all

sudo dd if=multiinstaller_XU.img of=/dev/sdb bs=1MB oflag=direct
I checked in the diskmanager and it said the disk was /dev/sdb
However, I tried flashing it to SD card with etcher of my Windows pc, which worked. At least it boots.
But as someone else said in a previous post, I also get the message "no multiboot card detected" or whatever it was. When I went for the option to install OS'es, it gave me an error that saib something about "error copying multiboot files".

I had my linux image on the first partition of my NTFS external hdd and it was renamed to linux.img. Tried connecting the external drive before booting the odroid and also tried it during, same issue.

Something useful might be that the eMMC that was installed on the board already had an OS installed. The microSD card used for the multiboot image is a sandisk U3. Oh and yeah, duh, I havent mentioned which board I have. I have the XU4.


I didn't have any luck with getting past my issues, so right now I run Recalbox.

YesCop
Posts: 1
Joined: Mon May 07, 2018 8:37 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by YesCop » Mon May 07, 2018 8:50 am

Hello Loboris and co,

I am new to odroid.
I have an xu4 and played with multi installer.
I had installed two linux images ubuntu 16.4 and retropie (ora).
I cannot boot twice without errors.
I read almost all the scripts and why the kernel exynos xu3 is used even on a xu4 (in first boot, in linux boot and linux2 boot)?
In the first instance, my ubuntu booted but I hadn't ethernet. This problem is solved if kernel xu4 is used.
I tried to change manually this. It worked for the first boot and the init and boot files are reverted to old ones.
May be due the init file in /.
Then my question is can the author make a multiboot image done for xu4?
Thanks

cliffyfromboro
Posts: 15
Joined: Wed May 16, 2018 3:17 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by cliffyfromboro » Sat May 26, 2018 6:34 am

Would it be possible to add in installation to hard drive in this or is that too much work?

Thanks

User avatar
mad_ady
Posts: 6554
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 169 times
Been thanked: 128 times
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by mad_ady » Sat May 26, 2018 2:35 pm

Haven't tested but it should already worl. Hdds are viewed as usb storage

tomop123
Posts: 4
Joined: Tue Jun 06, 2017 7:29 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by tomop123 » Sat Jun 16, 2018 10:07 am

Hi Tony,

had exactly the same issue. Found out that dd uses this ambiguous error also when it doesn't like the oflag. So I've removed oflag from the command and it's working now.

Code: Select all

sudo dd if=multiinstaller_XU.img of=/dev/sdb bs=1MB
Tony32 wrote:
mad_ady wrote:What is your exact dd command? What does sudo blkid show?
I ran the command listed in the tutorial.

Code: Select all

sudo dd if=multiinstaller_XU.img of=/dev/sdb bs=1MB oflag=direct
I checked in the diskmanager and it said the disk was /dev/sdb
However, I tried flashing it to SD card with etcher of my Windows pc, which worked. At least it boots.
But as someone else said in a previous post, I also get the message "no multiboot card detected" or whatever it was. When I went for the option to install OS'es, it gave me an error that saib something about "error copying multiboot files".

I had my linux image on the first partition of my NTFS external hdd and it was renamed to linux.img. Tried connecting the external drive before booting the odroid and also tried it during, same issue.

Something useful might be that the eMMC that was installed on the board already had an OS installed. The microSD card used for the multiboot image is a sandisk U3. Oh and yeah, duh, I havent mentioned which board I have. I have the XU4.


I didn't have any luck with getting past my issues, so right now I run Recalbox.

dante6913
Posts: 96
Joined: Sat Oct 01, 2016 7:16 am
languages_spoken: english, Portuguese
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by dante6913 » Tue Jul 03, 2018 9:49 pm

Odroid c2 with the Barturblits scripts would work ok when updating ubuntu 16.04.
With ubuntu 18.04 I'm getting a error when updating the kernel, I always end with error on mounting /media/boot. Does anyone have the same issue?
I'm getting this error.

fat-fs (mcblk0p1): IO charset UTF8 not found

m4f2g
Posts: 19
Joined: Wed Jun 06, 2018 8:39 am
languages_spoken: german, english
ODROIDs: 2 [XU4] modified,
HominoidSplit Air Case + freefloating OGST-n64 Front Panel

VU7a+ as "mobile"screen in ameridroid vu7 tablet
Location: Baden, Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by m4f2g » Sun Jul 08, 2018 11:17 pm

Edit:

I Did not get behind that.... i really really tried...
use prepared multiboot installer images, in multiinstaller_C1|C2|XU.img.zip, unzip to some empty directory
->runsudo dd if=multiinstaller_C1|C2|XU.img of=/dev/sdX bs=1MB oflag=direct

if the image file is created, you can write the image to SDCard using dd command.
copy your installation sources ((..)Linux .img,) to the first partition of your USB drive
rename the Linux installation image to linux.img!

on Odroid UX4/XU3 set the boot switch to boot from SDCard
connect you USB drive to Odroid, insert SDCard and power on
select Install from menu
follow the instructions to select desired partition sizes and installation destination (SDCard or EMMC)
it is a little bit confusing... Does i need an extra usb drive (stick or hdd/ssd whatever)..?

I only have a "huge" (blue) eMMC and a 2,5" 1tb hdd via usb3.0 intended as extended home drive.. . Could borrow one from camera...
on Odroid UX4/XU3 set the boot switch to boot from SDCard
without µ-sd-card?

How should the emmC (be formatted)?
There is by default a 128MiB (fat16) primary partition on it known as mmcblk0p1.
Then on my own decision a ext4 / root for ubuntu Mate 18.04. Rest is extended... unallocated... mmcblkOp2

Where (partition) should placed multiinstallerxu.img?
use prepared multiboot installer images, in multiinstaller_XU.img.zip, unzip to some empty directory
where??? emmC {or usb hdd or other stick}?

And each other Linux of different os img?
in the next partition? should make it a differend if extended, primary or logical?

Thanks

malomehi
Posts: 14
Joined: Thu Feb 02, 2017 8:09 am
languages_spoken: english spanish
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by malomehi » Tue Sep 04, 2018 7:06 am

With every new release of LibreELEC I always replaced teh files SYSTEM, KERNEL and meson64_odroidc2.dtb.oelec manually and it always worked fine.
With the latest LibreELEC 8.90.004 for Odroid-C2 (http://archive.libreelec.tv/LibreELEC-O ... 90.004.tar) this method does not work.
I get an error at boot saying /dev/system cannot be mounted.
Any advice? I suspect something needs to change in boot.ini.oelec but I am not sure what.

dante6913
Posts: 96
Joined: Sat Oct 01, 2016 7:16 am
languages_spoken: english, Portuguese
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by dante6913 » Wed Sep 05, 2018 6:48 pm

malomehi wrote:With every new release of LibreELEC I always replaced teh files SYSTEM, KERNEL and meson64_odroidc2.dtb.oelec manually and it always worked fine.
With the latest LibreELEC 8.90.004 for Odroid-C2 (http://archive.libreelec.tv/LibreELEC-O ... 90.004.tar) this method does not work.
I get an error at boot saying /dev/system cannot be mounted.
Any advice? I suspect something needs to change in boot.ini.oelec but I am not sure what.
I have the same issue with ubuntu 18.04, so probably some thing as changed

malomehi
Posts: 14
Joined: Thu Feb 02, 2017 8:09 am
languages_spoken: english spanish
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by malomehi » Tue Sep 18, 2018 4:44 am

malomehi wrote:With every new release of LibreELEC I always replaced teh files SYSTEM, KERNEL and meson64_odroidc2.dtb.oelec manually and it always worked fine.
With the latest LibreELEC 8.90.004 for Odroid-C2 (http://archive.libreelec.tv/LibreELEC-O ... 90.004.tar) this method does not work.
I get an error at boot saying /dev/system cannot be mounted.
Any advice? I suspect something needs to change in boot.ini.oelec but I am not sure what.
Same issue with LibreELEC 8.90.005.
Nobody has a solution?

plikmuny
Posts: 42
Joined: Tue Feb 06, 2018 3:26 am
languages_spoken: english
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by plikmuny » Tue Sep 25, 2018 7:16 am

Hi, can anyone prepare a dual os boot image with Android latest version and Libreelec latest version(LE9, possibly sky42 build as it has hw acceleration) for me pls.
i tried to update the LE from within LE and it broke the multiboot function. I dont need Lakka and Linux as i am a very noob user.
i just want to use Android and LE as of now.
As far as the multiboot menu goes, is there a way to save the Boot menu settings which persists even after reboot ? i tried to reduce the waiting time to 10 seconds but once it reboots it sets to default 60 seconds.
I would be greatful if anyone creates a dual boot OS image for me. Thanks in advance.

ecab21
Posts: 91
Joined: Sat Apr 02, 2016 12:49 am
languages_spoken: english, portuguese
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by ecab21 » Tue Dec 04, 2018 7:39 am

plikmuny wrote:Hi, can anyone prepare a dual os boot image with Android latest version and Libreelec latest version(LE9, possibly sky42 build as it has hw acceleration) for me pls.
i tried to update the LE from within LE and it broke the multiboot function. I dont need Lakka and Linux as i am a very noob user.
i just want to use Android and LE as of now.
As far as the multiboot menu goes, is there a way to save the Boot menu settings which persists even after reboot ? i tried to reduce the waiting time to 10 seconds but once it reboots it sets to default 60 seconds.
I would be greatful if anyone creates a dual boot OS image for me. Thanks in advance.
Did anyone make the image to you? I am in need of the same image.

ecab21
Posts: 91
Joined: Sat Apr 02, 2016 12:49 am
languages_spoken: english, portuguese
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by ecab21 » Thu Dec 06, 2018 3:26 am

alexxgg wrote:Hi everyone,

I've generated a multiboot image with the following OS's pre-installed:
  • * Android 6.0.1 [2017-06-27]
    * Ubuntu MATE 16.04.2 LTS [2017-02-28] (Linux in the boot menu)
    * LibreELEC 8.0.2 [2017.05.26] (OpenELEC in the boot menu)
    * Lakka v2 [2017.04.24] (Linux#2 in the boot menu)
This multiboot image can be flashed on 16GB cards/modules and up. Download link: http://berryboot.alexgoldcheidt.com/odroid-c2/

Note: this multiboot image will work on MicroSD cards and eMMC modules. I recommend eMMC modules.

Many thanks to: @loboris, @odroid, @dimitris_c, @barturblits and @luffyman for making this possible. If anyone find issues on this image, just let me know.
Alex I installed your image and congratulations. Do you have a version for 32Gb SD card, with a larger partition for the LibreElec library? Your partition is to small for my library of files on LibreElec.

ecab21
Posts: 91
Joined: Sat Apr 02, 2016 12:49 am
languages_spoken: english, portuguese
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by ecab21 » Thu Dec 06, 2018 3:54 am

I'm trying to install Android and LibreElec, but Android can't be installed. On the USB drive has this log.
==== UNPACK AND DECOMPRESS ANDROID IMAGES ====
==== UNPACK ANDROID ====
mkdir: can't create directory '/run/inst': File exists
tar: daily-odroidc2-eng-s905_6.0.1_master-70/cache.img: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/hardkernel-720.bmp.gz: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/flashing.sh: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/rootsystem.img: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/README: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/sd_fusing.sh: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/recovery.img: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/u-boot.bin: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/userdata.img: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/release_files: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/meson64_odroidc2.dtb: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/bl1.bin.hardkernel: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70/Image: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: daily-odroidc2-eng-s905_6.0.1_master-70: Cannot change ownership to uid 106, gid 114: Operation not permitted
tar: Exiting with failure status due to previous errors

I did resolve this, by formating the usb drive to ntfs. Now my problem is that LibreElec don't boot. Android works fine, but LibreElec only show a black screen.

ecab21
Posts: 91
Joined: Sat Apr 02, 2016 12:49 am
languages_spoken: english, portuguese
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by ecab21 » Thu Dec 06, 2018 8:23 am

I was able to get Android 6.0.1 and LibreElec 8.2.5 working with Multiboot on Odroid C2.LibreElec wasn't booting, because the KERNEL was not KERNEL.olec My problem is with the play store and play services. I tried to install gapps, but don't work. I download some apks from apkmirror. Youtube don't work because of play services. Did anyone solve this problem?

malomehi
Posts: 14
Joined: Thu Feb 02, 2017 8:09 am
languages_spoken: english spanish
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/

Unread post by malomehi » Mon Dec 10, 2018 2:49 am

Anyone who managed to update previous LibreELEC version with new 8.90 versions in Odroid-C2?
In the past it was enough to replace SYSTEM, KERNEL and meson64_odroidc2.dtb.oelec files manually but this does not work since 8.90.
It complains at boot saying /dev/system cannot be mounted.
Any solution? Re-installing Ubuntu with all my configurations could be really tedious just to have latest LibreELEC version.

EDITED: I managed to find a solution and it works. File boot.ini.oelec needs to be modified. The boot.ini file to work with can be extracted from the latest LibreELEC version and then manually modify the relevant lines to point to multiboot/KERNEL and multiboot/meson64_odroidc2.dtb.oelec. Also I needed to manually add lines to restore multiboot boot.ini file before booting to LibreELEC. Finally you replace boot.ini.oelec with your modified file.

These are the lines I have modified:
setenv bootrootfs "BOOT_IMAGE=multiboot/KERNEL boot=LABEL=emuserdata disk=LABEL=emoelec"

fatload mmc 0:1 ${kernel_addr} multiboot/KERNEL
fatload mmc 0:1 ${dtb_addr} multiboot/meson64_odroidc2.dtb.oelec
And added:
# =================================================
# = RESTORE boot.ini FOR MULTIBOOT, DO NOT CHANGE =
# =================================================
fatload mmc 0:1 0x60000000 multiboot/boot.ini.multi
fatwrite mmc 0:1 0x60000000 boot.ini ${filesize}
# =================================================
just before:
booti ${kernel_addr} - ${dtb_addr}
I also commented out this line as I think it is not needed but I might be wrong:
#if fatload mmc 0:1 ${uenv_addr} config.ini; then env import -t ${uenv_addr} $filesize; fi

psycmos
Posts: 9
Joined: Fri Dec 02, 2016 4:19 am
languages_spoken: english, portuguese
ODROIDs: ODROID-XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/XU4

Unread post by psycmos » Sun May 26, 2019 7:22 pm

I tested it with new Libreelec and it not works. Somebody Can help ? Best Regrads, Nuno

User avatar
alexxgg
Posts: 16
Joined: Mon Dec 12, 2016 4:07 am
languages_spoken: english, spanish
ODROIDs: Odroid C2
Location: Earth
Has thanked: 0
Been thanked: 0
Contact:

Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/XU4

Unread post by alexxgg » Fri Jul 12, 2019 5:57 am

    Hi everyone,

    I've generated the Multiboot Image v4 (for Odroid C2) with the following OS's pre-installed:
    • Android 6.0.1 [2019-01-17]
    • Ubuntu MATE 18.04 Bionic LTS [2018-06-21] (Linux in the boot menu)
    • LibreELEC RR 9.1 [2019.04.24] (OpenELEC in the boot menu)
    Unfortunately I cannot share this image due the size of the eMMC module (32GB), at my end I can upload about 300MB in 1 hour so... this image size is about 20GB, to upload that image will take days. I'm sorry about this, however I will share some files and steps as reference to generate that image by yourself. First, LibreELEC RR? Yes, this version of LibreELEC include EmulationStation, RetroArch and Pegasus. This build will avoid to install additional images like: RetroPie, Lakka, etc. It works great. Android and Ubuntu works good as previous multiboot images.

    === This is What I did ===
    To create the multiboot base image, I've used @sdip custom repo. Download the base image here. Once the download is completed, unpack it and flash it into a SD card or eMMC module. I recommend eMMC module.

    === Android ===
    Download Android Daily file here. Once the download is completed, rename it to: update.tar.gz Put that file into an USB drive with a fresh single EXT4 partition format.
    ===============

    === Ubuntu ===
    Download Ubuntu MATE 18.04 Bionic LTS here. Once the download is completed, unpack it and rename it to: linux.img Put that file into the same USB drive where Android file is.
    ===============

    === LibreELEC RR ===
    Download LibreELEC RR v9.1 here. Once the download is completed, rename it to: oelec.tar Put that file into the same USB drive where Android and Ubuntu files are.
    ===============

    This is it, put the SD card or the eMMC module and plug the USB drive (where Android, Linux and LibreELEC are) on your Odroid C2 device and turn it on.
    • 1. In the multiboot main screen press I (Prepare the card for MultiBoot, Install OS's).
    • 2. Change partitions sizes as you wish.
    • 3. Once again, press I to start the installation.
    • 4. When this process is completed, reboot the device.
    From this point you will be able to boot Android & Ubuntu without any extra step. Now, to boot LibreELEC RR you need to follow these steps from (and thanks to) @malomehi. As reference, I'll share my current multiboot directory (from an eMMC module) here in case you want to compare files at your end. Be aware that if you compare my boot files (I use a eMMC module) with a SD card at your end, you have to change partitions labels, example: emuserdata (eMMC module) to sduserdata (SD card). Also, in my boot files I've set up a 1360x768p60hz resolution, you may need to change it at your end. Let me know if you find any issue before, during or after the installation process. I'll take a look.

    Known Issue: after Ubuntu full upgrade (apt upgrade -y; apt dist-upgrade -y) these files: Image, meson64_odroidc2.dtb and uInitrd are updated out the multiboot directory, all you have to do is add .linux in these files names (example: Image.linux) and move them to the multiboot directory (overwrite them).

    Note: I've plans to get a couple of new eMMC modules (8GB and 16GB) plus an USB 3.0 eMMC Module Writer, with this I'll be able to share more custom multiboot images. If you want to send me those accessories, you can, just make sure that eMMC module are Odroid C2 compatible or if you want contribute with money, you can do too. More information here.

    Many thanks to: @loboris, @odroid, @dimitris_c, @barturblits, @luffyman, @sdip and @malomehi for making this possible.
    Last edited by alexxgg on Tue Aug 20, 2019 4:56 am, edited 4 times in total.

    User avatar
    odroid
    Site Admin
    Posts: 32146
    Joined: Fri Feb 22, 2013 11:14 pm
    languages_spoken: English
    ODROIDs: ODROID
    Has thanked: 119 times
    Been thanked: 297 times
    Contact:

    Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/XU4

    Unread post by odroid » Fri Jul 12, 2019 8:36 am

    @alexxgg,
    Great! Please consider writing an article for our Magazine.
    Our Chief editor will contact you soon.

    psycmos
    Posts: 9
    Joined: Fri Dec 02, 2016 4:19 am
    languages_spoken: english, portuguese
    ODROIDs: ODROID-XU4
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/XU4

    Unread post by psycmos » Mon Aug 19, 2019 8:39 am

    alexxgg wrote:
    Fri Jul 12, 2019 5:57 am
      Hi everyone,

      I've generated the Multiboot Image v4 with the following OS's pre-installed:
      • Android 6.0.1 [2019-01-17]
      • Ubuntu MATE 18.04 Bionic LTS [2018-06-21] (Linux in the boot menu)
      • LibreELEC RR 9.1 [2019.04.24] (OpenELEC in the boot menu)
      .....
      Sorry for that newb queastion but, i tried ( android LINUX AND OLEC) at EXT4 formated usb or NTFS, and it not reconized.
      I click "i" for prepare sdcard and it not works, timer countdown goes to 60 again and no way to start configuration.

      I tested it with 2 different usbs and no results.

      There are any other way to try it?

      Best Regards

      User avatar
      alexxgg
      Posts: 16
      Joined: Mon Dec 12, 2016 4:07 am
      languages_spoken: english, spanish
      ODROIDs: Odroid C2
      Location: Earth
      Has thanked: 0
      Been thanked: 0
      Contact:

      Re: Multiboot&Universal Installer for Odroid C1, C2 and XU3/XU4

      Unread post by alexxgg » Tue Aug 20, 2019 4:54 am

      Hi @psycmos
      I tested it with 2 different usbs and no results.
      There are any other way to try it?
      That sounds like something's wrong on the partition format. Try to give the EXT4 partition format on your USB drive with: GParted on Linux or Mini Partition Tool on Windows

      Let me know if that fix the issue.

      Post Reply

      Return to “Projects”

      Who is online

      Users browsing this forum: No registered users and 2 guests