Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Post Reply
ducalex
Posts: 30
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english
Has thanked: 9 times
Been thanked: 24 times
Contact:

Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by ducalex » Sun Jun 02, 2019 8:26 am

Hello!

This is a mod/fork of the stock odroid-go-firmware by @crashoverride that allows to install multiple applications in the flash and switch between them very quickly.

There are more details on the github so I'll keep it short.

The recommended installation method is to follow these instructions: https://wiki.odroid.com/odroid_go/firmware_update but use the .img provided here. Then to access the boot menu / firmware you hold **B** while booting, as you normally would.

A .fw file is also provided that can be flashed like a regular application. After doing so you can access the multi-boot by holding **A** while booting instead of B. It does not work for everyone and will only work if your original firmware is older than version 20180806.

Here's a demonstration:



I'd very much appreciate any feedback and bug reports!


And the source code:
https://github.com/ducalex/odroid-go-firmware-multi
Attachments
odroid-go-firmware-20190614.zip
(Newest)
- Sorting. Press SELECT to cycle through the modes
- Battery and page indicators in the top bar.
- Press B twice to reboot to last active app (if any)
- Improved detection of corrupted firmware files
- No longer locks up if you don't have an SD Card
- Experimental build to always show the firmware on power up
(534.83 KiB) Downloaded 25 times
odroid-go-firmware-20190605.zip
- Defrag happens only when running out of space (instant deletes/less flash wear)
- MENU key now opens the menu instead of START
(330.89 KiB) Downloaded 17 times
odroid-go-firmware-20190604.zip
(Newest)
- Fixed partition alignment issue in some applications.
- Builds changed to not overwrite the apptable.
(330.44 KiB) Downloaded 11 times
odroid-go-firmware-20190603.zip
- Faster delete and flash.
(332.46 KiB) Downloaded 10 times
Last edited by ducalex on Sat Jul 13, 2019 7:01 am, edited 15 times in total.
These users thanked the author ducalex for the post (total 7):
mad_ady (Sun Jun 02, 2019 1:59 pm) • ripper121 (Mon Jun 03, 2019 1:37 am) • Nemo1984 (Mon Jun 03, 2019 4:29 am) • pmprog (Mon Jun 03, 2019 5:43 am) • mameise (Tue Jun 04, 2019 4:36 am) • pelle7 (Fri Jul 05, 2019 6:42 am) • johannesbehr (Fri Jul 05, 2019 8:15 pm)

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

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by mad_ady » Sun Jun 02, 2019 2:05 pm

Wow! It's a great feature! Will make tinkering on the go easier :)
Should reduce flash wear too

pmprog
Posts: 54
Joined: Thu Oct 18, 2018 4:01 am
languages_spoken: english
ODROIDs: ODROID-GO
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by pmprog » Sun Jun 02, 2019 2:46 pm

That does look pretty handy, will have to download it later.

How come nobody uses holding Menu button to open the flash menu? ;-)

ducalex
Posts: 30
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english
Has thanked: 9 times
Been thanked: 24 times
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by ducalex » Mon Jun 03, 2019 3:58 am

pmprog wrote:
Sun Jun 02, 2019 2:46 pm
That does look pretty handy, will have to download it later.

How come nobody uses holding Menu button to open the flash menu? ;-)
I'm open to changing the button but I think maintaining the behavior of the stock firmware might be more intuitive!
It is not possible to change the button if you choose the .fw install method, as the bootloader is part of the .img.

One thing I'd like is to have an option to get rid of the button holding and be asked what app to boot directly on power up. I've tried many methods but they all had problems so I've put that plan on hold for now.

Nemo1984
Posts: 113
Joined: Thu Aug 23, 2018 7:58 pm
languages_spoken: english, french
ODROIDs: Odroid-Go
Has thanked: 4 times
Been thanked: 0
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by Nemo1984 » Mon Jun 03, 2019 4:30 am

This is so great, it should be pinned and the default firmware from now on! Thanks! That's perfect!

pmprog
Posts: 54
Joined: Thu Oct 18, 2018 4:01 am
languages_spoken: english
ODROIDs: ODROID-GO
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by pmprog » Mon Jun 03, 2019 4:53 am

ducalex wrote:
Mon Jun 03, 2019 3:58 am
I'm open to changing the button but I think maintaining the behavior of the stock firmware might be more intuitive!
I'm not really that bothered, it was just more an observation than a request ;-)
ducalex wrote:
Mon Jun 03, 2019 3:58 am
It is not possible to change the button if you choose the .fw install method, as the bootloader is part of the .img.
Could you hot-patch the bootloader when you read it from SD for flashing? I don't know if it's as simple as that

ducalex
Posts: 30
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english
Has thanked: 9 times
Been thanked: 24 times
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by ducalex » Mon Jun 03, 2019 5:31 am

pmprog wrote:
Mon Jun 03, 2019 4:53 am
Could you hot-patch the bootloader when you read it from SD for flashing? I don't know if it's as simple as that
That is certainly possible. Hell the .fw version could have an option to overwrite the default firmware, essentially becoming the .img version but without the trouble of using the flashing tool.

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

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by odroid » Mon Jun 03, 2019 9:05 am

Very impressive idea indeed. :o

surpryse
Posts: 19
Joined: Tue Jul 31, 2018 4:16 pm
languages_spoken: english
ODROIDs: ODROID-GO
Has thanked: 0
Been thanked: 0
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by surpryse » Tue Jun 04, 2019 12:28 am

Great job.
In my case it's enough to launch 3 apps.
I'm looking forward to a new version.

mameise
Posts: 88
Joined: Sat Jul 07, 2018 6:40 am
languages_spoken: english german
ODROIDs: ODROID-GO
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by mameise » Tue Jun 04, 2019 3:55 am

Looks good :) However i have Trouble installing it.
I put the .fw into Firmware Folder and try to install via normal Firmware (Pressing B etc) - i also get that boot error you Mention.
So i Restart the device but it just starts into normal "old" Firmware. Pressing A seems to have no effect at all. When i press Menu i get a boot set error blinking blue led but after Restart still old Firmware.
Can you help me what i do wrong?

ducalex
Posts: 30
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english
Has thanked: 9 times
Been thanked: 24 times
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by ducalex » Tue Jun 04, 2019 4:27 am

mameise wrote:
Tue Jun 04, 2019 3:55 am
Looks good :) However i have Trouble installing it.
I put the .fw into Firmware Folder and try to install via normal Firmware (Pressing B etc) - i also get that boot error you Mention.
So i Restart the device but it just starts into normal "old" Firmware. Pressing A seems to have no effect at all. When i press Menu i get a boot set error blinking blue led but after Restart still old Firmware.
Can you help me what i do wrong?
When you power on the device, are you holding A? You need to hold A *while powering on*. It should start the modified firmware or show a black screen if it fails but it should not boot the stock firmware.

Otherwise perhaps you have an older stock firmware with test mode not enabled, I have only tested on the latest :(.

mameise
Posts: 88
Joined: Sat Jul 07, 2018 6:40 am
languages_spoken: english german
ODROIDs: ODROID-GO
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by mameise » Tue Jun 04, 2019 4:36 am

Well i thought i had the last installed. Yes i was holding A on power on - same like B in normal firmware i assume ;) it got stuck on writing 2 with the boot error. Nevermind i have installed it now as firmware and it works like a charm. Really impressive! Should be the new official firmware if i could vote :)

ducalex
Posts: 30
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english
Has thanked: 9 times
Been thanked: 24 times
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by ducalex » Tue Jun 04, 2019 5:31 am

mameise wrote:
Tue Jun 04, 2019 4:36 am
Well i thought i had the last installed. Yes i was holding A on power on - same like B in normal firmware i assume ;) it got stuck on writing 2 with the boot error. Nevermind i have installed it now as firmware and it works like a charm. Really impressive! Should be the new official firmware if i could vote :)
Thanks for the report! I'll do more testing on the .fw version and I added a notice in my post that it might not work for everybody.

mameise
Posts: 88
Joined: Sat Jul 07, 2018 6:40 am
languages_spoken: english german
ODROIDs: ODROID-GO
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by mameise » Tue Jun 04, 2019 12:53 pm

One thing i noticed (not sure if fixed already with your latest release):

Let‘s say i install an app in 0x10000000
When i then install the next app there is still the old installation address shown as new installation path.
So i have to go back to the installed apps overview and enter the menu again, then the next free slot is chosen. No big deal at all but maybe something you can fix.

ducalex
Posts: 30
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english
Has thanked: 9 times
Been thanked: 24 times
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by ducalex » Tue Jun 04, 2019 2:41 pm

mameise wrote:
Tue Jun 04, 2019 12:53 pm
One thing i noticed (not sure if fixed already with your latest release):

Let‘s say i install an app in 0x10000000
When i then install the next app there is still the old installation address shown as new installation path.
So i have to go back to the installed apps overview and enter the menu again, then the next free slot is chosen. No big deal at all but maybe something you can fix.
That was fixed in the most recent release :) . I'll try to make a changelog in the future releases.

You will have to reflash all your applications after upgrading the firmware. I've tried a few things to avoid that but so far no luck.

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

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by mad_ady » Tue Jun 04, 2019 3:22 pm

There might be problems for apps (if there are any left) that have an additional data partition - like micropython and old doom.

ducalex
Posts: 30
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english
Has thanked: 9 times
Been thanked: 24 times
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by ducalex » Wed Jun 05, 2019 12:49 am

mad_ady wrote:
Tue Jun 04, 2019 3:22 pm
There might be problems for apps (if there are any left) that have an additional data partition - like micropython and old doom.
They both work fine. (But Old doom needs an additional reboot because the LCD isn't initialized correctly for some reason.)

Edit: I did manage to package a .fw that would be corrupted by my firmware. I think it is now fixed, the firmware is no longer aligning partitions (except the first) and it respects the .fw layout like the official firmware does.
These users thanked the author ducalex for the post:
mad_ady (Wed Jun 05, 2019 2:42 am)

Nemo1984
Posts: 113
Joined: Thu Aug 23, 2018 7:58 pm
languages_spoken: english, french
ODROIDs: Odroid-Go
Has thanked: 4 times
Been thanked: 0
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by Nemo1984 » Thu Jun 06, 2019 3:11 am

I have been testing it and the interface looks more robust. Last version, sometimes after multiple "app" installs, when I went to install the next one I had an error. This seems fixed in this one.

Thanks!

ducalex
Posts: 30
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english
Has thanked: 9 times
Been thanked: 24 times
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by ducalex » Thu Jun 06, 2019 5:57 am

I've just added a new release. I have achieved all my main goals so it will be the last for a while (unless there is a bug, I will fix that quickly).

There isn't any bugfix from 20190604, so update only if you want to help me test or if you want one of those features:

Changes in the new version:
- Defrag happens only when running out of space, meaning instant deletes
- MENU key now opens the menu instead of START

Note: Applications are sorted by the order they appear in flash. So if you flash something and the firmware finds a free space between two apps, it will appear there instead of at the end of the list. If it's too annoying please tell me, otherwise I planned sorting options for later on. (SubNote: To mitigate that you can press SELECT after deleting an app. It will defrag and preserve the list order as it is on screen and install the next app at the end).

pmprog
Posts: 54
Joined: Thu Oct 18, 2018 4:01 am
languages_spoken: english
ODROIDs: ODROID-GO
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by pmprog » Thu Jun 06, 2019 2:11 pm

Finally just tried to flash this, and my odroid just gives me a gray blacklit display. I tried the 04 and 05 img files, and even crashoverride's original...

So I guess for now I've got a soft-bricked unit :(

Edit: Ignore that... Perhaps somebody can update the wiki to say that you need to disconnect the GO from USB as well as power cycling. I was leaving it connected, and thus I think it was remaining in the upload stub

ducalex
Posts: 30
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english
Has thanked: 9 times
Been thanked: 24 times
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by ducalex » Fri Jun 07, 2019 5:06 am

pmprog wrote:
Thu Jun 06, 2019 2:11 pm
Finally just tried to flash this, and my odroid just gives me a gray blacklit display. I tried the 04 and 05 img files, and even crashoverride's original...

So I guess for now I've got a soft-bricked unit :(

Edit: Ignore that... Perhaps somebody can update the wiki to say that you need to disconnect the GO from USB as well as power cycling. I was leaving it connected, and thus I think it was remaining in the upload stub
Have you resolved your issue? Do you think I should add clearer instructions? I don't think it's possible to brick the GO but I got scared at my first black screen too ;).

pmprog
Posts: 54
Joined: Thu Oct 18, 2018 4:01 am
languages_spoken: english
ODROIDs: ODROID-GO
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by pmprog » Fri Jun 07, 2019 3:41 pm

Yes, everything's running, thanks. Though I've not really touched it since i flashed your firmware. What i did play with all looked good though. Nice work!

I think the wiki page on flashing firmware should probably note that you won't see the new firmware until the USB cable is unplugged.

ducalex
Posts: 30
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english
Has thanked: 9 times
Been thanked: 24 times
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by ducalex » Sat Jun 15, 2019 3:13 am

New release day!

Nothing groundbreaking but some nice features:
  • Sorting. Press SELECT to cycle through the modes
  • Battery and page indicators in the top bar.
  • Press B twice to reboot to last active app (if any)
  • Improved detection of corrupted firmware files
  • No longer locks up if you don't have an SD Card
  • Experimental build to always show the firmware on power up
The experimental build will boot applications only once, then on next boot it will be in firmware. No more holding B. It can cause compatibility issues with some applications and the flash read/writes haven't been optimized as much as they could be yet, hence experimental.
These users thanked the author ducalex for the post (total 2):
ripper121 (Sat Jun 15, 2019 7:39 pm) • odroid (Mon Jun 17, 2019 11:24 am)

pelle7
Posts: 19
Joined: Sun Jun 02, 2019 4:12 am
languages_spoken: english, german
ODROIDs: ODROID-GO, ODROID-HC1, ODROID-N2
Has thanked: 2 times
Been thanked: 14 times
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by pelle7 » Fri Jul 05, 2019 6:47 am

Awesome! I have installed multi-boot loader and I have installed different emulators and programs'

tmihai20
Posts: 183
Joined: Mon Nov 07, 2016 10:56 pm
languages_spoken: english, french, italian, romanian
ODROIDs: XU4, Go and soon H2
Location: Romania
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by tmihai20 » Fri Jul 12, 2019 4:31 pm

I just flashed odroid-go-firmware-20190614.fw on my oDroid GO using the internal method and I cannot see the firmware (I keep A key pressed and I am booting it). Am I doing something wrong?
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)

mameise
Posts: 88
Joined: Sat Jul 07, 2018 6:40 am
languages_spoken: english german
ODROIDs: ODROID-GO
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Multi-app installer/multi-boot loader (odroid-go-firmware mod)

Unread post by mameise » Fri Jul 12, 2019 11:14 pm

Do you have latest main firmware for go? Did not work for me also in first try so i directly flashed it via PC as permanent firmware and am more than happy with it. Higly recommended as main firmware.

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 0 guests