LineageOS 18.1 for Odroid-GoS

Third party OS images and hardware mods
notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 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
Mouse mode - with d-pad
Suspend/Resume
Ethernet support
All Hardkernel recommended WiFi sticks should work except RTL8821CU

Current Issues:
Navigation without a touchscreen




SD Card partitions :
p1 vfat32 Boot
p2 ext4 System partition
p3 f2fs Data partition
p4 exfat Roms 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 |
		|---------------------------------------------------------------|      

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.
@voodik - For answering random questions and help with WiFi drivers.


Last edited by notime2d8 on Sat Aug 07, 2021 1:27 pm, edited 12 times in total.
These users thanked the author notime2d8 for the post (total 4):
skyway1985 (Tue Feb 09, 2021 3:50 am) • datatrash (Tue Feb 16, 2021 3:26 pm) • galvatr0n.ver5 (Sun Mar 07, 2021 9:09 am) • byteman (Mon May 10, 2021 6:57 pm)
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Updates:

11/19/2021:
  • Gapps GO is included in this image by request.
  • Kernel and and disk I/O tweaks to improve streaming
  • Fixed some apps crashing on start, gamepass, Chiaki, etc.
  • Updated to latest MPP and RGA drivers
  • Kernel updated to 4.19.193
  • Synced with latest Lineage sources.

Code: Select all

[b]8/7/2021:[/b]
[list]Updated partitioning thanks to a great developer named @turtle. The userdata partition in android is now 16GB, and the rest of the space on the card is used automagically for an Exfat partition where users can put Roms and Apks.  [/list]
[list]Random tweaks -  disk I/O tweaks, memory usage tweaks, changed to deadline I/O scheduler, added support for rtl8188eus Wifi sticks, changed to Schedutil CPU governor.  [/list]
[list]Tweaks to Android - disabled all debugging, removed battery logging, switched to jemalloc memory allocator, changed screen dpi to 140  [/list]
[list]Tweaks from Proton AOSP Roms - replaced ArrayMap with HashMap for performance, Optimized ApplicationInfo creation, switched to arm-optimized-routines for arm64, disabled native stats collection service  [/list]
[list]Removed additional services[/list]
[list]Kernel updated to 4.19.172[/list]
[list]Synced with latest Lineage sources.[/list]

3/23/2021:
[list]Updated Gapps and fixed slowdown from last update on the Gapps build.[/list]
[list]Random tweaks - a compiler flag, a build property, a background process, etc... [/list]
[list]Fixed right joystick mapping to HatX/HatY instead of Rx/Ry. This should fix detection in Moonlight and Steam Link but breaks Retroarch.[/list]
[list]Synced with latest Lineage sources.[/list]

3/5/2021:
Enabled suspend/resume after USB patch from @valadaa48
Updated Gapps and added missing packages.
Fixed USB Storage.
Fixed Mouse mode using the D-pad and R1
Added automatic WiFi module loading, with major help from @voodik
Added the "lowram" property back.
Fixed right joystick mapping to Rx/Ry instead of HatX/HatY. This should fix detection in Retroarch.
Changed from Performance to Schedutil governor for longer battery life.
Synced with latest Lineage sources.

2/8/2021:
Added USB Tethering - should also work for modems that use the USB Ethernet interface.
Synced with latest Lineage sources.

2/7/2021:
Really fixed video encoding/decoding - it was fixed, but missed the last upload.
Synced with latest Lineage sources.
Removed the "lowram" property - It caused random slowdowns.
Tweaked kernel parameters - trying to improve disk i/o and freezing.
Got rid of the error on boot that says "There's an internal problem with your device".

1/27/2021:
Synced with latest Lineage sources
Fixed video encoding/decoding -something broke when I updated the pre-built libs.
Fixed screen initialization - I increased the screen init delay & reset times in the DTS.
Added lineage recovery to kernel - Haven't tested what use it has, but you need to edit the boot.ini and remove  "skip_initramfs" to boot into it and add it back to go into Android.
Fixed screenshots and screen recording.
Updated kernel from 4.19.158 to 4.19.161
Changed from Schedutil to Performance governor - Don't know if I'm sticking with this change.
Tweaked the device init for faster boots - Removed some "waits", starting some services early, starting the boot animation early, mounting userdata partition late as the fsck slows down the boot process. So now the boot times are faster and the boot animation starts up quicker as it no longer waits for the fsck to finish first.
Added the "lowram" property back

Last edited by notime2d8 on Sat Nov 20, 2021 9:23 am, edited 17 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: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Last edited by notime2d8 on Wed Nov 24, 2021 1:01 pm, edited 19 times in total.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

User avatar
mad_ady
Posts: 9974
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: 631 times
Been thanked: 780 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: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 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: 93
Joined: Sat Jul 18, 2020 1:26 am
languages_spoken: english
ODROIDs: Odroid Go Advance
Has thanked: 9 times
Been thanked: 8 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by Shoesy »

Are the sticks working correctly in Steamlink client?

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 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 20728 times
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 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: 288
Joined: Mon Feb 17, 2020 1:35 pm
languages_spoken: english
ODROIDs: odroid go advance
Has thanked: 40 times
Been thanked: 96 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: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 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: 288
Joined: Mon Feb 17, 2020 1:35 pm
languages_spoken: english
ODROIDs: odroid go advance
Has thanked: 40 times
Been thanked: 96 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: 43
Joined: Fri Jan 01, 2021 10:09 pm
languages_spoken: english
ODROIDs: OGA2.OG Super
Has thanked: 35 times
Been thanked: 7 times
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: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 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: 74
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: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 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: 74
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: 303
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: 27 times
Been thanked: 87 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.
These users thanked the author Slaminger for the post:
notime2d8 (Thu Jan 28, 2021 9:53 am)

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Posted an update in the second and third posts. Video showing screen recording in action. I didn't have anything cool installed to record though.




Should I include a default set of emulators or not since some may not want them?

Should i reduce the card image size down to 2gb for faster downloads? Everyone would have to re-partition their SD card data partition then.

I tried a script in the init.rc that checks for a data partition, if not found, create one with remaining space on the disk. Android would not wait for the script to finish and crashes as it cannot write any data. But since recovery is working I'm going to see if that can be used to setup and partition drives. I may need to try to get TWRP working. I will post in the other thread on this as I need to solicit help as i don't know scripting well enough.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

Slaminger
Posts: 303
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: 27 times
Been thanked: 87 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by Slaminger »

best to leave it as a single image install so end users dont have to do much in my opinion, not everyone is tech smart with stuff like that. also, does wifi need to be set up during first boot? i skipped it and tried to do it later and whenever i turn it on, it goes back off again. Im using the Odroid branded low power 2.4ghz wifi adapter.

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Slaminger wrote:
Thu Jan 28, 2021 10:27 am
best to leave it as a single image install so end users dont have to do much in my opinion, not everyone is tech smart with stuff like that. also, does wifi need to be set up during first boot? i skipped it and tried to do it later and whenever i turn it on, it goes back off again. Im using the Odroid branded low power 2.4ghz wifi adapter.
I still need to figure out a solution for supporting different wifi modules. Do you know which chipset it uses? I can send you a kernel in a few minutes. I only have drivers for RealTek RTL8811AU and RTL8821AU enabled.

Also thanks for trying it.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

Slaminger
Posts: 303
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: 27 times
Been thanked: 87 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by Slaminger »

notime2d8 wrote:
Thu Jan 28, 2021 11:09 am
Slaminger wrote:
Thu Jan 28, 2021 10:27 am
best to leave it as a single image install so end users dont have to do much in my opinion, not everyone is tech smart with stuff like that. also, does wifi need to be set up during first boot? i skipped it and tried to do it later and whenever i turn it on, it goes back off again. Im using the Odroid branded low power 2.4ghz wifi adapter.
I still need to figure out a solution for supporting different wifi modules. Do you know which chipset it uses? I can send you a kernel in a few minutes. I only have drivers for RealTek RTL8811AU and RTL8821AU enabled.

Also thanks for trying it.
happy to help :) i plan to test some video and emulation stuff shortly, i can side load apps for now too while we get wifi workin.

Mediatek Ralink RT5370N is a cost-effective, highly integrated USB Wi-Fi single chip containing an 802.11n MAC and baseband, a 2.4 GHz RF, PA, LNA and T/R switch on a single chip. It supports a 150 Mbps PHY data rate and fully complies with 802.11b/g/n specifications

– MediaTek(Ralink) RT5370N chipset (VID:PID = 148F:5370 )

I also have the Odroid Module 5a which is Realtek RTL8812AU chipset (ID = 0bda:8812)

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Slaminger wrote:
Thu Jan 28, 2021 11:51 am
notime2d8 wrote:
Thu Jan 28, 2021 11:09 am
Slaminger wrote:
Thu Jan 28, 2021 10:27 am
best to leave it as a single image install so end users dont have to do much in my opinion, not everyone is tech smart with stuff like that. also, does wifi need to be set up during first boot? i skipped it and tried to do it later and whenever i turn it on, it goes back off again. Im using the Odroid branded low power 2.4ghz wifi adapter.
I still need to figure out a solution for supporting different wifi modules. Do you know which chipset it uses? I can send you a kernel in a few minutes. I only have drivers for RealTek RTL8811AU and RTL8821AU enabled.

Also thanks for trying it.
happy to help :) i plan to test some video and emulation stuff shortly, i can side load apps for now too while we get wifi workin.

Mediatek Ralink RT5370N is a cost-effective, highly integrated USB Wi-Fi single chip containing an 802.11n MAC and baseband, a 2.4 GHz RF, PA, LNA and T/R switch on a single chip. It supports a 150 Mbps PHY data rate and fully complies with 802.11b/g/n specifications

– MediaTek(Ralink) RT5370N chipset (VID:PID = 148F:5370 )

I also have the Odroid Module 5a which is Realtek RTL8812AU chipset (ID = 0bda:8812)
This Kernel should get your RTL8812AU stick going and also works for RTL8811AU and RTL8821AU.

https://drive.google.com/file/d/1fj_gxM ... sp=sharing

Edit: 9:16pm CST I added the Ralink drivers as well can you test that too?
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

Slaminger
Posts: 303
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: 27 times
Been thanked: 87 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by Slaminger »

Ralink not working, Realtek is, i also noticed if i connect a usb drive and try to access it, i get auto denied, even if i format it via android

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Slaminger wrote:
Thu Jan 28, 2021 12:32 pm
Ralink not working, Realtek is, i also noticed if i connect a usb drive and try to access it, i get auto denied, even if i format it via android
Does the drive work in file manager? If so then it's Android's scoped storage new in Android 11. Apps can't access external storage. I've been copying files to the emulated storage. I'll look for a fix for this.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

Slaminger
Posts: 303
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: 27 times
Been thanked: 87 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by Slaminger »

notime2d8 wrote:
Thu Jan 28, 2021 12:37 pm
Slaminger wrote:
Thu Jan 28, 2021 12:32 pm
Ralink not working, Realtek is, i also noticed if i connect a usb drive and try to access it, i get auto denied, even if i format it via android
Does the drive work in file manager? If so then it's Android's scoped storage new in Android 11. Apps can't access external storage. I've been copying files to the emulated storage. I'll look for a fix for this.
im using the file manager, it says click to grant access but when i click it says access denied

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Slaminger wrote:
Thu Jan 28, 2021 12:44 pm
notime2d8 wrote:
Thu Jan 28, 2021 12:37 pm
Slaminger wrote:
Thu Jan 28, 2021 12:32 pm
Ralink not working, Realtek is, i also noticed if i connect a usb drive and try to access it, i get auto denied, even if i format it via android
Does the drive work in file manager? If so then it's Android's scoped storage new in Android 11. Apps can't access external storage. I've been copying files to the emulated storage. I'll look for a fix for this.
im using the file manager, it says click to grant access but when i click it says access denied
Lol, I just tried it and got it too....That's a new one for me.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

Slaminger
Posts: 303
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: 27 times
Been thanked: 87 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by Slaminger »

notime2d8 wrote:
Thu Jan 28, 2021 12:48 pm
Slaminger wrote:
Thu Jan 28, 2021 12:44 pm
notime2d8 wrote:
Thu Jan 28, 2021 12:37 pm
Slaminger wrote:
Thu Jan 28, 2021 12:32 pm
Ralink not working, Realtek is, i also noticed if i connect a usb drive and try to access it, i get auto denied, even if i format it via android
Does the drive work in file manager? If so then it's Android's scoped storage new in Android 11. Apps can't access external storage. I've been copying files to the emulated storage. I'll look for a fix for this.
im using the file manager, it says click to grant access but when i click it says access denied
Lol, I just tried it and got it too....That's a new one for me.
check the storage permissions of the build, it could be disabled

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Slaminger wrote:
Thu Jan 28, 2021 1:11 pm
notime2d8 wrote:
Thu Jan 28, 2021 12:48 pm
Slaminger wrote:
Thu Jan 28, 2021 12:44 pm
notime2d8 wrote:
Thu Jan 28, 2021 12:37 pm
Slaminger wrote:
Thu Jan 28, 2021 12:32 pm
Ralink not working, Realtek is, i also noticed if i connect a usb drive and try to access it, i get auto denied, even if i format it via android
Does the drive work in file manager? If so then it's Android's scoped storage new in Android 11. Apps can't access external storage. I've been copying files to the emulated storage. I'll look for a fix for this.
im using the file manager, it says click to grant access but when i click it says access denied
Lol, I just tried it and got it too....That's a new one for me.
check the storage permissions of the build, it could be disabled
I need to swap out that google Files included in my Gapps package with a newer version or swap to the Lineage file manager.

Edit: I also need to add firmware for that ralink WiFi module.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

Slaminger
Posts: 303
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: 27 times
Been thanked: 87 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by Slaminger »

I've got retroarch and Kodi running. The internal partition is tiny tho, why not just give it the full 8 or 16gb?

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Slaminger wrote:
Thu Jan 28, 2021 4:07 pm
I've got retroarch and Kodi running. The internal partition is tiny tho, why not just give it the full 8 or 16gb?
So the boot partition is 3gb to make it easy to add files, then the system partition is 1.6gb, vender 128mb, and the rest is data.

If you flashed the image to a card larger than 8gb, you can resize it or delete and redo the data partition manually in gparted to make use of all of the space. I haven't found a way to automate this yet.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

Slaminger
Posts: 303
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: 27 times
Been thanked: 87 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by Slaminger »

notime2d8 wrote:
Thu Jan 28, 2021 11:11 pm
Slaminger wrote:
Thu Jan 28, 2021 4:07 pm
I've got retroarch and Kodi running. The internal partition is tiny tho, why not just give it the full 8 or 16gb?
So the boot partition is 3gb to make it easy to add files, then the system partition is 1.6gb, vender 128mb, and the rest is data.

If you flashed the image to a card larger than 8gb, you can resize it or delete and redo the data partition manually in gparted to make use of all of the space. I haven't found a way to automate this yet.
Play store seems to be storing to the internal memory?? I've installed retroarch, Kodi, vlc, psp and mupen, now I'm out of space. Also, after i used Gparted, the first boot came up as console instead of android, all i had to do was plug in a keyboard and press escape a couple times and its back to normal, but im not sure what that was about, have you seen that as well? And can we kill that error message that keeps popping up whenever it takes a few seconds longer to respond than android wants? the app not responding one, its not really necessary as we know its responding just with a low ram and low power cpu so its takes a moment.

On the moonlight topic, the error says This ROM doesn't support hardware accelerated h.264 playback. Linux does via rockchip and SDL, but RK works better. I can however connect to moonlight and get onto my PC. just cant launch games.

Plex is stuck at a loading screen that never continues, ive left it for 20 mins now.

PSP works, Retroarch works, VLC works, Playstore is working, testing more apps throughout the day, will report back any issues/error messages.

phil8715
Posts: 10
Joined: Mon Jul 27, 2020 10:53 pm
languages_spoken: english
ODROIDs: Odroid Go Advance Black Edtion
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by phil8715 »

I can't get the WiFi to find any network or connect using my dongle.
It has worked with other OS on the OGS.

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

phil8715 wrote:
Mon Feb 08, 2021 6:02 am
I can't get the WiFi to find any network or connect using my dongle.
It has worked with other OS on the OGS.
Can you try the kernel posted here? Do you know the model/brand or chipset?

https://drive.google.com/file/d/1fj_gxM ... sp=sharing
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

phil8715
Posts: 10
Joined: Mon Jul 27, 2020 10:53 pm
languages_spoken: english
ODROIDs: Odroid Go Advance Black Edtion
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by phil8715 »

It's an XVZ 600mbps dual band 2.4ghz / 5ghz Wi-Fi dongle.

Bought from Amazon.

I downloaded the kernel which was an image, I don't know what to do with it or where it's supposed to go.

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

phil8715 wrote:
Mon Feb 08, 2021 7:44 am
It's an XVZ 600mbps dual band 2.4ghz / 5ghz Wi-Fi dongle.

Bought from Amazon.

I downloaded the kernel which was an image, I don't know what to do with it or where it's supposed to go.
It replaces the "Image" file found in the boot folder. But looking at Amazon that may not work. The driver I'm using only supports Realtek 8812AU and 8821AU chipsets. Your WiFi stick seems to be a Realtek 8811CU and will not work. The other Linux based distros can load WiFi drivers based off of their USB ID's and can support many. I haven't found a way to do the same in Android as most Android devices don't need to support multiple different WiFi drivers. And i can't include both drivers as they conflict, it has to be either or.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

phil8715
Posts: 10
Joined: Mon Jul 27, 2020 10:53 pm
languages_spoken: english
ODROIDs: Odroid Go Advance Black Edtion
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by phil8715 »

I swapped the image file and tried all three of my dongles. None worked I also tried to connect via my mobile phone network via the hot-spot.

It doesn't find any local WiFi networks at all. Whether one of them is mine or my next door neighbours.

Just don't understand why they could've have included built in wifi, wouldn't have cost much more.

dj5927
Posts: 2
Joined: Mon Feb 08, 2021 8:58 am
languages_spoken: english
ODROIDs: super
Has thanked: 0
Been thanked: 1 time
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by dj5927 »

Sega Saturn emulator yaba sanshiro fails to install. Is there any way?

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

phil8715 wrote:
Mon Feb 08, 2021 9:03 am
I swapped the image file and tried all three of my dongles. None worked I also tried to connect via my mobile phone network via the hot-spot.

It doesn't find any local WiFi networks at all. Whether one of them is mine or my next door neighbours.

Just don't understand why they could've have included built in wifi, wouldn't have cost much more.
Can you try this image here, I built with drivers that should support one of your devices RTL8811CU & RTL8821CU? And yes, linux WiFi sticks and drivers are kind of a mess.

https://drive.google.com/file/d/1oMMXdC ... sp=sharing

Hardkernel does have a WIFI driver/module loader that finds and loads the correct driver for most WiFi sticks for Android. I just haven't been able to get it to work with my build. But it's on my to-do list.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

phil8715
Posts: 10
Joined: Mon Jul 27, 2020 10:53 pm
languages_spoken: english
ODROIDs: Odroid Go Advance Black Edtion
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by phil8715 »

ImageI swapped the image for the one in the last post. As soon I was booted it up the Hardkernel splash screen came on then the screen went off and said system failure. Something about kernels.
Attachments
IMG_20210208_013104.jpg
IMG_20210208_013104.jpg (323.88 KiB) Viewed 18489 times

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

phil8715 wrote:
Mon Feb 08, 2021 10:29 am
ImageI swapped the image for the one in the last post. As soon I was booted it up the Hardkernel splash screen came on then the screen went off and said system failure. Something about kernels.
Can you try it again? It may not have copied to your card correctly? I've re-uploaded it and tested it on mines. That screen comes up when it doesn't detect a Image file.

https://drive.google.com/file/d/1oMMXdC ... sp=sharing
These users thanked the author notime2d8 for the post:
skyway1985 (Tue Feb 09, 2021 3:50 am)
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

skyway1985
Posts: 5
Joined: Tue Feb 09, 2021 3:27 am
languages_spoken: english,spanish
ODROIDs: OGA, OGS
Has thanked: 6 times
Been thanked: 0
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by skyway1985 »

I'm running into the same issues with the Wifi, none of the chipsets that I have work. Gave the image swap yo posted a try and it booted fine after swap, but still isn't reading any of them. no matter what the RTL8188EUS I have doesn't work, nor the RTL8821CU that I just got a few days ago. even tried an old belkin, lol. BTW thank you for the incredible work. This will be great to have on a spare SD to fiddle around with.

User avatar
rooted
Posts: 8875
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 407 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by rooted »

notime2d8 wrote:
phil8715 wrote:
Mon Feb 08, 2021 9:03 am
I swapped the image file and tried all three of my dongles. None worked I also tried to connect via my mobile phone network via the hot-spot.

It doesn't find any local WiFi networks at all. Whether one of them is mine or my next door neighbours.

Just don't understand why they could've have included built in wifi, wouldn't have cost much more.
Can you try this image here, I built with drivers that should support one of your devices RTL8811CU & RTL8821CU? And yes, linux WiFi sticks and drivers are kind of a mess.

https://drive.google.com/file/d/1oMMXdC ... sp=sharing

Hardkernel does have a WIFI driver/module loader that finds and loads the correct driver for most WiFi sticks for Android. I just haven't been able to get it to work with my build. But it's on my to-do list.
If you contact @voodik he may be able to guide you in including more drivers, he does it on his Lineage OS builds.
These users thanked the author rooted for the post:
skyway1985 (Tue Feb 09, 2021 4:59 am)

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

rooted wrote:
Tue Feb 09, 2021 4:51 am
notime2d8 wrote:
phil8715 wrote:
Mon Feb 08, 2021 9:03 am
I swapped the image file and tried all three of my dongles. None worked I also tried to connect via my mobile phone network via the hot-spot.

It doesn't find any local WiFi networks at all. Whether one of them is mine or my next door neighbours.

Just don't understand why they could've have included built in wifi, wouldn't have cost much more.
Can you try this image here, I built with drivers that should support one of your devices RTL8811CU & RTL8821CU? And yes, linux WiFi sticks and drivers are kind of a mess.

https://drive.google.com/file/d/1oMMXdC ... sp=sharing

Hardkernel does have a WIFI driver/module loader that finds and loads the correct driver for most WiFi sticks for Android. I just haven't been able to get it to work with my build. But it's on my to-do list.
If you contact @voodik he may be able to guide you in including more drivers, he does it on his Lineage OS builds.
Yes, I asked for their help to get wifi display working but ran out of time as it was hard to test without a good way to do adb logging. And the only way I can is over WiFi.

And it looks like the changes in Android 11 wpa supplicant broke WiFi for the rtl8821cu, rtl8811cu, and the esp8089. The kernel I posted works for Android 10 and my epub rtl8821cu but that same kernel doesn't work in Android 11.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

Just posting because I uploaded a small update yesterday. I got USB tethering working, I remember someone asking about it. USB to ethernet dongles should work as well.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

avionyx
Posts: 2
Joined: Wed Feb 10, 2021 1:25 pm
languages_spoken: english
ODROIDs: Odroid Go Super
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by avionyx »

So I've flashed a 256gb SD card with LineageOS 18. Upon flashing and unplugging/plugging the SD card back into my computer, it reads drives E, F, G, and H with F, G, H wanting to be formatted. When I insert the SD card into my OGS and have ATV booted up and go to Settings > Storage, it only reads the system partition of 4gb. How exactly do I set up my 256gb SD card to be used in it's entirety?

User avatar
mad_ady
Posts: 9974
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: 631 times
Been thanked: 780 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by mad_ady »

You'd need to use gparted (from a live usb) to resize the last partition to fill the disk.

User avatar
rooted
Posts: 8875
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 407 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by rooted »

mad_ady wrote:You'd need to use gparted (from a live usb) to resize the last partition to fill the disk.
Acronis Disk Director for Windows can do it.

avionyx
Posts: 2
Joined: Wed Feb 10, 2021 1:25 pm
languages_spoken: english
ODROIDs: Odroid Go Super
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by avionyx »

mad_ady wrote:
Wed Feb 10, 2021 6:05 pm
You'd need to use gparted (from a live usb) to resize the last partition to fill the disk.
Ok, so I just put Gparted on a USB flash drive. Do I boot up my computer with this USB drive plugged in and my 256gb SD card plugged in as well?

notime2d8
Posts: 316
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 93 times
Been thanked: 128 times
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by notime2d8 »

avionyx wrote:
Thu Feb 11, 2021 9:46 am
mad_ady wrote:
Wed Feb 10, 2021 6:05 pm
You'd need to use gparted (from a live usb) to resize the last partition to fill the disk.
Ok, so I just put Gparted on a USB flash drive. Do I boot up my computer with this USB drive plugged in and my 256gb SD card plugged in as well?
Yes, and there are 4 partitions. Boot, system, Vendor, and userdata. They should be about 2gb boot, 2.7gb system, 128mb vendor, and remaining ~2gb for userdata.

You're wanting to expand the 4th, userdata partition to take up all of the remaining space on your sd card.

The partition is set as a f2fs filesystem. If gparted doesn't support that, you can delete the 4th partition, and create a new partition with the ext4 filesystem using all of the remaining space.

Always be careful, make sure that you're on the sd card and not your computer hard drive.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

tfres747
Posts: 2
Joined: Mon Feb 15, 2021 9:53 pm
languages_spoken: english
ODROIDs: Odroid X2 and Odroid Go Super
Has thanked: 1 time
Been thanked: 0
Contact:

Re: LineageOS 18.1 for Odroid-GoS

Post by tfres747 »

Some of the button mapping doesn't seem to be working for me. I am trying to use the key that is marked mouse, but I'm not getting anything. I have an annoying Discover Trust banner I am trying to get rid of and none of the buttons seem to be allowing me to do so.

Appreciate help!

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 2 guests