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

Moderators: mdrjr, odroid

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

Unread postby 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: 19
Joined: Wed Mar 01, 2017 9:26 am
Location: Sydney, Australia
languages_spoken: English, French
ODROIDs: 3* XU4, 1xC2, 1xC1+

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

Unread postby 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: 19
Joined: Wed Mar 01, 2017 9:26 am
Location: Sydney, Australia
languages_spoken: English, French
ODROIDs: 3* XU4, 1xC2, 1xC1+

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

Unread postby 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
davidwkerr
 
Posts: 19
Joined: Wed Mar 01, 2017 9:26 am
Location: Sydney, Australia
languages_spoken: English, French
ODROIDs: 3* XU4, 1xC2, 1xC1+

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

Unread postby 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
dante6913
 
Posts: 55
Joined: Sat Oct 01, 2016 7:16 am
languages_spoken: english, Portuguese
ODROIDs: C2

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

Unread postby 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: 19
Joined: Wed Mar 01, 2017 9:26 am
Location: Sydney, Australia
languages_spoken: English, French
ODROIDs: 3* XU4, 1xC2, 1xC1+

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

Unread postby 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
davidwkerr
 
Posts: 19
Joined: Wed Mar 01, 2017 9:26 am
Location: Sydney, Australia
languages_spoken: English, French
ODROIDs: 3* XU4, 1xC2, 1xC1+

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

Unread postby 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
dante6913
 
Posts: 55
Joined: Sat Oct 01, 2016 7:16 am
languages_spoken: english, Portuguese
ODROIDs: C2

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

Unread postby 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 ;)
qwertyodroid
 
Posts: 3
Joined: Thu Feb 01, 2018 3:29 am
languages_spoken: spanish english
ODROIDs: C2

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

Unread postby 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.
User avatar
mad_ady
 
Posts: 3234
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2

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

Unread postby 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
qwertyodroid
 
Posts: 3
Joined: Thu Feb 01, 2018 3:29 am
languages_spoken: spanish english
ODROIDs: C2

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

Unread postby 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.
User avatar
mad_ady
 
Posts: 3234
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2

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

Unread postby 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.
qwertyodroid
 
Posts: 3
Joined: Thu Feb 01, 2018 3:29 am
languages_spoken: spanish english
ODROIDs: C2

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

Unread postby 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)
User avatar
mad_ady
 
Posts: 3234
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2

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

Unread postby 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/
hominoid
 
Posts: 105
Joined: Tue Feb 28, 2017 3:55 am
Location: Lake Superior Basin, USA
languages_spoken: english
ODROIDs: XU4

Previous

Return to Projects

Who is online

Users browsing this forum: No registered users and 3 guests