LineageOS 18.1 for Odroid-GoS

Third party OS images and hardware mods
Post Reply
notime2d8
Posts: 232
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 65 times
Been thanked: 103 times
Contact:

LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

LineageOS 18.1


Working:
Controls and Buttons
Battery info and charging
USB devices -Storage, audio, input, Bluetooth
Hardware accelerated graphics
Hardware video encoding/decoding
Backlight
Bluetooth Audio
Audio - speaker & Headphones
GPU - no Vulkan support


Build options:
Ethernet support
Zram with a 384mb size
64bit build
Arm thumb code compiled with -O3 vs -Os
Dalvik tuned for 1gb ram

Current Issues:
Navigation without touch
Install script to resize data partition
Mouse mode broken from 17.1
Suspend is disabled as it breaks USB



SD Card partitions :
p1 vfat32 Boot
p2 ext4 System partition
p3 ext4 Vendor partition
p4 f2fs Data partition



Controls mapping

Code: Select all


		|---------------------------------------------------------------|
		|    L1      L2               Vol- Vol+             R2      R1  |
		|---------------------------------------------------------------|
		|              Select                         Start             |
		|       up           |-----------------------|            X     |
		|   left  right      |                       |          Y   A   |
		|      down          |       LCD Display     |            B     |
		|                    |                       |                  |
		|                    |-----------------------|                  |
		| Menu Mouse                                          Home Back |
		|---------------------------------------------------------------|      

Downloads
Etcher Image

Files for manual partitions

Special Thanks:
@Hardkernel -For the awesome device
@crashoverride - For answering random questions and work on the original kernel
@joy - For help with the kernel
@zztfoxdev - For hours of testing
@macromorgan - For support, testing, and work on kernel and device tree.

IMG_20201229_230247.jpg
IMG_20201229_230247.jpg (363.97 KiB) Viewed 766 times
IMG_20201230_001328__01.jpg
IMG_20201230_001328__01.jpg (453.9 KiB) Viewed 766 times
IMG_20201229_230031__01.jpg
IMG_20201229_230031__01.jpg (275.71 KiB) Viewed 766 times
Last edited by notime2d8 on Sun Jan 03, 2021 2:05 pm, edited 3 times in total.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

notime2d8
Posts: 232
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 65 times
Been thanked: 103 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

I feel like I'm trolling posting up on this so early. But I finally got Android booting on the Odroid GoS. I thought it would be a simple affair but I ran into bootloader issues, kernel issues, and screen initialization issues. Two of those I still need to fix before I can actually release a flashable image.

But Android looks good with the high resolution, videos look awesome, and the main thing I was looking for, steam link now actually displays correctly!!!!

I also still need to trim down my gapps package to reduce ram usage and boot times. But things are looking good so far. The list of working items is correct. Suspend and resume is working but it breaks USB, don't know if I'm going to disable that or not. I haven't found a workaround or patch for it yet.
Last edited by notime2d8 on Wed Dec 30, 2020 4:00 pm, edited 2 times in total.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

notime2d8
Posts: 232
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 65 times
Been thanked: 103 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Reserved
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

mad_ady
Posts: 9049
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 595 times
Been thanked: 573 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by mad_ady »

Congratulations for all the hard work for you and your contribuitors!
Doesn't Android on sd card feel sluggish?

notime2d8
Posts: 232
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 65 times
Been thanked: 103 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

mad_ady wrote:
Thu Dec 31, 2020 5:16 am
Congratulations for all the hard work for you and your contribuitors!
Doesn't Android on sd card feel sluggish?
Not that I've found yet. I'm usually only doing one thing and have yet to see a bottleneck from the SD card except with boot times and a stock load out of gapps. Games and movies run without lag. There shouldn't be an issue if background processes and apps are limited. I ran out of ram and r/w's on the sd for the first time after installing gapps.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

Shoesy
Posts: 38
Joined: Sat Jul 18, 2020 1:26 am
languages_spoken: english
ODROIDs: Odroid Go Advance
Has thanked: 2 times
Been thanked: 5 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by Shoesy »

Are the sticks working correctly in Steamlink client?

notime2d8
Posts: 232
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 65 times
Been thanked: 103 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Shoesy wrote:
Sat Jan 02, 2021 6:53 am
Are the sticks working correctly in Steamlink client?
Yes, also the new steam link app also lets you do remote desktop with very little lag, like little enough to watch a video and the audio is in sync on both... I'm super excited about that. I didn't get any joystick drifting issues either.
IMG_20210101_170458.jpg
IMG_20210101_170458.jpg (448.75 KiB) Viewed 643 times
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

notime2d8
Posts: 232
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 65 times
Been thanked: 103 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

First post updated with a download link for a flashable image and also the individual files to flash manually if you prefer that method. The manual files are 1.5GB, 128mb, and about 20mb for the boot folder. The flashable image is 8GB.

One minor issue with this release is that the screen remains blank as it boots so you don't know when it's done booting. The first boot takes a full 4 minutes, boot times usually take a little over a minute after. Once the device boots you have to press the power button twice for the screen to display.

Let me know if you try it out and how it works for you. Hope you like it.

Edit: Forgot to mention gapps is added to this build. I added the "go" version of GMSCore so ram usage on it is low. I also removed a few apps that would come on a stock Android device to save ram.
These users thanked the author notime2d8 for the post:
odroid (Mon Jan 04, 2021 9:35 am)
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

valadaa48
Posts: 240
Joined: Mon Feb 17, 2020 1:35 pm
languages_spoken: english
ODROIDs: odroid go advance
Has thanked: 16 times
Been thanked: 62 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by valadaa48 »

Not sure if you tried or not but for suspend support in Linux I just use a hook to rmmod dwc2 and re-add it pre-suspend, post-suspend. On the BE ESP8089 is also compiled as a module and does a similar dance as well.
These users thanked the author valadaa48 for the post:
notime2d8 (Mon Jan 04, 2021 12:33 pm)

notime2d8
Posts: 232
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 65 times
Been thanked: 103 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

valadaa48 wrote:
Mon Jan 04, 2021 12:37 am
Not sure if you tried or not but for suspend support in Linux I just use a hook to rmmod dwc2 and re-add it pre-suspend, post-suspend. On the BE ESP8089 is also compiled as a module and does a similar dance as well.
Android doesn't have that function. The Androidx86 project has a power driver for Android 10 that does what we want but the patch is going to take some work for 11. Mostly the ability for the power driver to unload modules and as a normal non-root function.
These users thanked the author notime2d8 for the post:
valadaa48 (Mon Jan 04, 2021 12:49 pm)
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

valadaa48
Posts: 240
Joined: Mon Feb 17, 2020 1:35 pm
languages_spoken: english
ODROIDs: odroid go advance
Has thanked: 16 times
Been thanked: 62 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by valadaa48 »

notime2d8 wrote:
Mon Jan 04, 2021 12:38 pm
valadaa48 wrote:
Mon Jan 04, 2021 12:37 am
Not sure if you tried or not but for suspend support in Linux I just use a hook to rmmod dwc2 and re-add it pre-suspend, post-suspend. On the BE ESP8089 is also compiled as a module and does a similar dance as well.
Android doesn't have that function. The Androidx86 project has a power driver for Android 10 that does what we want but the patch is going to take some work for 11. Mostly the ability for the power driver to unload modules and as a normal non-root function.
Ah yes, that would have been too easy I suppose! :|

User avatar
animeware
Posts: 13
Joined: Fri Jan 01, 2021 10:09 pm
languages_spoken: english
ODROIDs: OGA2
Has thanked: 11 times
Been thanked: 1 time
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by animeware »

This is awesome good work. I'm excited to get my Odroid Go Super to test it out. does it need to be formatted as exfat on sd card?

notime2d8
Posts: 232
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 65 times
Been thanked: 103 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

animeware wrote:
Tue Jan 05, 2021 8:48 am
This is awesome good work. I'm excited to get my Odroid Go Super to test it out. does it need to be formatted as exfat on sd card?
No, you can just download the etcher image and flash it. It will format the sd card for you. The only thing you may want to do after is resize the data partition to use all of the available space on your sd card.
These users thanked the author notime2d8 for the post:
animeware (Tue Jan 05, 2021 10:45 am)
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

zztfoxdev
Posts: 73
Joined: Sat Jan 19, 2019 8:36 am
languages_spoken: english
ODROIDs: Odroid Go
Has thanked: 1 time
Been thanked: 10 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by zztfoxdev »

So this is ONLY for the Odroid Go Advance Super (new device).

It will not work on OGA 1.0 or 1.1, right?

notime2d8
Posts: 232
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 65 times
Been thanked: 103 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

zztfoxdev wrote:
Tue Jan 05, 2021 12:25 pm
So this is ONLY for the Odroid Go Advance Super (new device).

It will not work on OGA 1.0 or 1.1, right?
Correct, unfortunately. Since my images don't include a copy of the bootloader, I need to use a separate boot.ini between the two. I also had to increase the dpi, used higher resolution resources, and a higher resolution boot image.

I will do a oga 1.0 & 1.1 build soon, after I work out a few issues. This was posted for the OGA-S as I was working on adding it and had nothing released for it yet. Next release will be for all devices.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

zztfoxdev
Posts: 73
Joined: Sat Jan 19, 2019 8:36 am
languages_spoken: english
ODROIDs: Odroid Go
Has thanked: 1 time
Been thanked: 10 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by zztfoxdev »

Awesome!

Take all the time you need, you guys have been working so much on this.

Slaminger
Posts: 216
Joined: Tue Jul 16, 2019 12:30 am
languages_spoken: English, French
ODROIDs: XU4, N2, N2+, C2, C4, OGA, OGA-BE, H2+, OGS, OGST
Location: Canada
Has thanked: 21 times
Been thanked: 56 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by Slaminger »

notime2d8 wrote:
Wed Dec 30, 2020 3:49 pm
I feel like I'm trolling posting up on this so early. But I finally got Android booting on the Odroid GoS. I thought it would be a simple affair but I ran into bootloader issues, kernel issues, and screen initialization issues. Two of those I still need to fix before I can actually release a flashable image.

But Android looks good with the high resolution, videos look awesome, and the main thing I was looking for, steam link now actually displays correctly!!!!

I also still need to trim down my gapps package to reduce ram usage and boot times. But things are looking good so far. The list of working items is correct. Suspend and resume is working but it breaks USB, don't know if I'm going to disable that or not. I haven't found a workaround or patch for it yet.
I'm looking forward to this. you can send me a PM if you want some help with kernel stuff, i've built a fair number of android images from source.

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 4 guests