[ROM][LineageOS 17.1][Android 10.0][voodik] for the ODROID-N2

Post Reply
User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

[ROM][LineageOS 17.1][Android 10.0][voodik] for the ODROID-N2

Post by voodik » Thu Sep 26, 2019 6:41 am

Call for beta test : LineageOS-17.1 Android 10 for Odroid-N2

Avoid using Android on MicroSD cards!

android-10-logo.jpg
android-10-logo.jpg (24.98 KiB) Viewed 732 times

How to install.
For first time you need prepare your emmc/sd with spercial selfinstall image.

Selfinstall Images with preinstalled Gapps
64bit You can find latest version here

Selfinstall Images without preinstalled Gapps
64bit You can find latest version here

Image flashing guide.
https://wiki.odroid.com/troubleshooting ... hing_tools

For Google apps please read this.
https://www.google.com/android/uncertified/
Also after you register your Android framework ID, please wait some time (30-60 minutes) then reboot Odroid and try to add Google Account.

Extra:
  • tvheadend
  • androidvnc server
  • aptX aptXHD ldac Bluetooth codecs
Changelog:

Code: Select all

20200518 Alpha-v0.1
* first alpha release
Last edited by voodik on Tue May 19, 2020 12:07 am, edited 7 times in total.
These users thanked the author voodik for the post (total 2):
odroid (Thu Sep 26, 2019 8:39 am) • milesian (Thu Sep 26, 2019 8:48 am)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Thu Sep 26, 2019 6:41 am

Tips:

Root Access
The fix to support Odroid-N2/C4 has already merged on Magisk repo.
So Magisk should be work starting next Magisk release.
I create fixed version based on 20.4, so use it till new Magisk will be released.
Magisk-20.4

To enable GPS support

Code: Select all

Odroid Settings> Misc settings> Enable GPS (Most of USB GPS modules is Plug and Play)
If your GPS is connected to UART or not detected you need set proper GPS serial node manually.
Change this lines according your GPS dongle in /vendor/build.prop (adb remount)

Code: Select all

ro.kernel.android.gps=ttyS1
ro.kernel.android.gps.speed=9600
How to configure usb_modeswitch
You can find usb_modeswitch.conf sample config file in /odm/ partition.
Change this file depending your hardware, run usb_modeswitch and check logcat is everything ok

Code: Select all

usb_modeswitch -c /odm/usb_modeswitch.conf
If configuration working lets enable auto trigger usb_modeswitch via prop

Code: Select all

setprop persist.usbmodem_vidpid 12d1:1f01
Value 12d1:1f01 is VID/PID of device which need monitored.
If your device after switching return with ssame VID/PID to avoid loop set

Code: Select all

setprop persist.usbmodem_vidpid_same true
In this case every second device attach event will be ignored .


List of custom properties introduced by me

Disable Bluetooth service globally. If you don't have a compatible USB Bluetooth dongle BT service keep crashing.
So disable it by default.

Code: Select all

persist.disable_bluetooth true|false default:true
Enable/Disable Bluetooth A2DP Sink support

Code: Select all

persist.service.bt.a2dp.sink true|false default:false
Enable/Disable GPS support

Code: Select all

persist.disable_location true|false default:false
Enable/Disable WiFi power saving. Most of USB WiFi modules have a problems with power saving mode.
So Disable it by default.

Code: Select all

persist.enable_wlan_ps true|false default:false
Some AP have a wrong timestamp and Android framework filter out this AP.
If You don't see your AP in WiFi scan results set this property true.

Code: Select all

persist.wifi_fixts true|false default:false
WiFi Linkstats is feature depending driver implementation, at this moment almost all USB drivers does not implement this feature.
Some of them have Linkstats support but it working wrong and crash whole WiFi service.
So i disable it by default.

Code: Select all

persist.disable_wifi_linkstats true|false default:true
Enable/Disable Shutdown without confirmation feature.
Set it true if you want shutdown your Board without confirmation by POWER button long press.

Code: Select all

persist.pwbtn.shutdown true|false default:false
Device tree tricks
We can modify our dtbs from bootloader to Enable/Disable or change configuration of dtb nodes.
We can add those commands to boot.ini before bootm command.

Enable UART_EE_A(ttyS1) port on 40Pin Header (disabled by default)

Code: Select all

fdt set /serial@ffd24000 status "okay"
Enable GPIO Buttons (by default 4 GPIO keys konfigured as F7-F10 keys)
You can remap them at boot stage by changing "linux,code" value.
In this example we are change Button1 and Button2 to function as Volume UP/DOWN.
And at the last line we need Enable GPIO buttons (disabled by default)

Code: Select all

fdt set /gpio_keys_polled/button@1 "linux,code" "<115>"
fdt set /gpio_keys_polled/button@2 "linux,code" "<114>"
fdt set /gpio_keys_polled status "okay"
List of Linux keycodes
https://github.com/hardkernel/linux/blo ... des.h#L189

Google Services Framework Android ID
You can get it from Odroid Settings> Misc > GSF ID
To get GSF Android ID from cmd use this commands

Windows command line

Code: Select all

adb shell sqlite3 /data/data/com.google.android.gsf/databases/gservices.db 'select * from main where name = \"android_id\";'
Terminal app

Code: Select all

sqlite3 /data/data/com.google.android.gsf/databases/gservices.db 'select * from main where name = "android_id";'
Last edited by voodik on Mon May 18, 2020 11:04 pm, edited 1 time in total.
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Thu Sep 26, 2019 7:36 am

Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

Opilki Inside
Posts: 27
Joined: Sat Jul 04, 2015 4:32 pm
languages_spoken: english russian
ODROIDs: XU3 Lite, XU4, N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by Opilki Inside » Thu Sep 26, 2019 1:20 pm

That was faster than Pixel phones receive public OTA from P to Q :lol:

I can confirm the basic features work - Wi-Fi, input, etc. Great job!

One issue I noticed - I don't have Bluetooth dongle and the Bluetooth service keeps crashing (a modal dialog keeps showing up asking to close/wait Bt app).
Attaching logcat dump for your considiration (sorry, full bugreport stuck at 69%)

Could you please share your plans on uploading the source code? I'm planning to mess a bit with the configuration (e.g. building a car flavor) and need to be able to build the full source.
Attachments
odroidn2-lineage17-logcat-dump.txt
(757.5 KiB) Downloaded 46 times

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Fri Sep 27, 2019 12:31 pm

Static ip doesn't work. Please don't use it. Trying to found root cause.
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

istanbulls
Posts: 189
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 85 times
Been thanked: 10 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by istanbulls » Fri Sep 27, 2019 7:30 pm

Right-click on the mouse works like Linux and Windows. This is really nice.

Opera works well,
Chrome, Chrome Beta and Canary crashes.

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Sat Sep 28, 2019 7:08 am

kardanadm wrote:
Fri Sep 27, 2019 7:30 pm
Right-click on the mouse works like Linux and Windows. This is really nice.

Opera works well,
Chrome, Chrome Beta and Canary crashes.
Can you explain in which situations Chrome crash?
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

istanbulls
Posts: 189
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 85 times
Been thanked: 10 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by istanbulls » Sat Sep 28, 2019 6:57 pm

voodik wrote:
Sat Sep 28, 2019 7:08 am
Can you explain in which situations Chrome crash?
30 seconds is required for crash, go up and down on the web page, it will crash.
I've had a few crashes with opera.

istanbulls
Posts: 189
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 85 times
Been thanked: 10 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by istanbulls » Sat Sep 28, 2019 7:09 pm

I thought I could use Android 10 until the desktop Mali GPU drivers for Linux were released.
But it's not ready for everyday use, it's too much crash.

A stable Android Q can be a good alternative to Linux.

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Sun Sep 29, 2019 4:26 pm

Update! :!:

Code: Select all

20190929 Alpha-v0.2
* Fixed Camera app crash
* Bluetooth Service disabled by default (you can enable it from Odroid Settings > Misc tab)
* Stay Awake by default (you can disable it from Developer options)
* Add Tvheadend binary
* Gapps cleanap and update
To check for updates go to Settings > System > Advanced > Updater
These users thanked the author voodik for the post (total 3):
rooted (Sun Sep 29, 2019 7:12 pm) • mad_ady (Sun Sep 29, 2019 7:17 pm) • odroid (Mon Sep 30, 2019 1:53 pm)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

IskyNetFree
Posts: 4
Joined: Tue Aug 27, 2019 11:23 pm
languages_spoken: english
ODROIDs: ODROID N2
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by IskyNetFree » Mon Sep 30, 2019 3:06 pm

How to hide or delete status bar permanently?,
Some app It cann,t hide , it play on screen permanetely
Last edited by IskyNetFree on Tue Oct 01, 2019 12:46 am, edited 1 time in total.

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Tue Oct 01, 2019 12:17 am

IskyNetFree wrote:
Mon Sep 30, 2019 3:06 pm
How to hide or delete status bar on permanently?,
Some app It cann,t hide , it play on screen permanetely
What app you using ?
These users thanked the author voodik for the post:
IskyNetFree (Tue Oct 01, 2019 12:50 am)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

IskyNetFree
Posts: 4
Joined: Tue Aug 27, 2019 11:23 pm
languages_spoken: english
ODROIDs: ODROID N2
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by IskyNetFree » Tue Oct 01, 2019 1:00 am

voodik wrote:
Tue Oct 01, 2019 12:17 am
IskyNetFree wrote:
Mon Sep 30, 2019 3:06 pm
How to hide or delete status bar on permanently?,
Some app It cann,t hide , it play on screen permanetely
What app you using ?

Private Thailand TV app.My problem from status bar and it 's not full display scale can show at attach pictures .

https://drive.google.com/file/d/15c8NbP ... p=drivesdk

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Tue Oct 01, 2019 1:28 am

IskyNetFree wrote:
Tue Oct 01, 2019 1:00 am
voodik wrote:
Tue Oct 01, 2019 12:17 am
IskyNetFree wrote:
Mon Sep 30, 2019 3:06 pm
How to hide or delete status bar on permanently?,
Some app It cann,t hide , it play on screen permanetely
What app you using ?

Private Thailand TV app.My problem from status bar and it 's not full display scale can show at attach pictures .

https://drive.google.com/file/d/15c8NbP ... p=drivesdk
For first register your device with google account as described on first page to avoid Google play services notifications.

LineageOS have a ExpandedDesktop feature winch can force every app go fullscreen (hide navigation and status bars).
Unfortunately this feature not fully ported to Androd 10, because Lineage team just only about 2 weeks is started porting Android 10.
So we need to wait when Lineage team bring up all lineage features.

I am tracking all lineage commits, and main features will be merged very fast and updates will be released.
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

IskyNetFree
Posts: 4
Joined: Tue Aug 27, 2019 11:23 pm
languages_spoken: english
ODROIDs: ODROID N2
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by IskyNetFree » Tue Oct 01, 2019 3:05 am

voodik wrote:
Tue Oct 01, 2019 1:28 am
IskyNetFree wrote:
Tue Oct 01, 2019 1:00 am
voodik wrote:
Tue Oct 01, 2019 12:17 am
IskyNetFree wrote:
Mon Sep 30, 2019 3:06 pm
How to hide or delete status bar on permanently?,
Some app It cann,t hide , it play on screen permanetely
What app you using ?

Private Thailand TV app.My problem from status bar and it 's not full display scale can show at attach pictures .

https://drive.google.com/file/d/15c8NbP ... p=drivesdk
For first register your device with google account as described on first page to avoid Google play services notifications.

LineageOS have a ExpandedDesktop feature winch can force every app go fullscreen (hide navigation and status bars).
Unfortunately this feature not fully ported to Androd 10, because Lineage team just only about 2 weeks is started porting Android 10.
So we need to wait when Lineage team bring up all lineage features.

I am tracking all lineage commits, and main features will be merged very fast and updates will be released.
Thanks for your very excellent image. I'll waiting to try your update images in soon.

Rmiino
Posts: 15
Joined: Fri May 17, 2019 3:49 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by Rmiino » Tue Oct 01, 2019 6:09 pm

IskyNetFree wrote:
Mon Sep 30, 2019 3:06 pm
How to hide or delete status bar permanently?,
Some app It cann,t hide , it play on screen permanetely
Same problem on LineageOS-16.0 .

istanbulls
Posts: 189
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 85 times
Been thanked: 10 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by istanbulls » Tue Oct 01, 2019 6:41 pm

Rmiino wrote:
Tue Oct 01, 2019 6:09 pm
IskyNetFree wrote:
Mon Sep 30, 2019 3:06 pm
How to hide or delete status bar permanently?,
Some app It cann,t hide , it play on screen permanetely
Same problem on LineageOS-16.0 .
yes

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Wed Oct 02, 2019 5:24 am

Rmiino wrote:
Tue Oct 01, 2019 6:09 pm
IskyNetFree wrote:
Mon Sep 30, 2019 3:06 pm
How to hide or delete status bar permanently?,
Some app It cann,t hide , it play on screen permanetely
Same problem on LineageOS-16.0 .
kardanadm wrote:
Tue Oct 01, 2019 6:41 pm
Rmiino wrote:
Tue Oct 01, 2019 6:09 pm
IskyNetFree wrote:
Mon Sep 30, 2019 3:06 pm
How to hide or delete status bar permanently?,
Some app It cann,t hide , it play on screen permanetely
Same problem on LineageOS-16.0 .
yes
On LineageOS-16.0
Settings > Display > Advanced > Expaned desktop
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

wdr
Posts: 4
Joined: Tue Jul 23, 2019 8:07 am
languages_spoken: english
ODROIDs: N2
Has thanked: 9 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by wdr » Thu Oct 03, 2019 10:11 pm

voodik:

thx for LOS 17. Could we get a gapps-free version too?

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Fri Oct 04, 2019 12:59 am

wdr wrote:
Thu Oct 03, 2019 10:11 pm
voodik:

thx for LOS 17. Could we get a gapps-free version too?
Yes, but after some main Lineage features bring up by lineage team.
This build just for preview.
These users thanked the author voodik for the post:
wdr (Fri Oct 04, 2019 6:03 am)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

Kernel
Posts: 32
Joined: Sun May 05, 2019 2:23 am
languages_spoken: english
ODROIDs: C1, C2, N2
Has thanked: 18 times
Been thanked: 4 times

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by Kernel » Tue Oct 22, 2019 8:41 am

wdr wrote:
Thu Oct 03, 2019 10:11 pm
voodik:
Could we get a gapps-free version too?
+1

Ropi49
Posts: 2
Joined: Thu Nov 07, 2019 11:18 pm
languages_spoken: english
ODROIDs: Odroid n2
Has thanked: 0
Been thanked: 0
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by Ropi49 » Sat Nov 09, 2019 2:12 pm

This version support dell s2240t touchscreen?

noodle
Posts: 1
Joined: Sun Dec 15, 2019 6:45 pm
languages_spoken: english
ODROIDs: C2, N2 4GB
Has thanked: 0
Been thanked: 0
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by noodle » Sun Dec 15, 2019 6:56 pm

Even though this is alpha this has surprisingly been stable. I was surprised that even Disney+ works fine on this.

Couple of things I can't figure out with this that seemed OK in 9:
  • NTFS drives - they don't seem to work where if I try to see it as Portable storage it tries to format it. mount.ntfs works but a lot of apps don't detect it as storage anyway e.g. Kodi. Is this anything to do with ntfs driver?
  • Arrow navigation - not sure if it's a launcher thing but a lot of apps don't work with keyboard navigation and need to do a manual mouse select. Is that some option that needs to be set so keyboard navigation is more native?
  • Custom Remote config - while this works with a service.rc that performs a remotecfg -c remote.conf -t remote.tab, was wondering if there was some way for this config to be auto detected?

invenis
Posts: 22
Joined: Sun Apr 19, 2020 12:40 am
languages_spoken: english
Has thanked: 4 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by invenis » Sat May 02, 2020 4:09 am

@voodik
How's work going?
Can we expect the final build soon?
I am considering buying N2 and a well-functioning Android 10 would be a big argument for me.
I need Android 10 because it supports Nintendo Pro Controller.
Thank you for your work.

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Sat May 02, 2020 12:05 pm

invenis wrote:
Sat May 02, 2020 4:09 am
@voodik
How's work going?
Can we expect the final build soon?
I am considering buying N2 and a well-functioning Android 10 would be a big argument for me.
I need Android 10 because it supports Nintendo Pro Controller.
Thank you for your work.
The new, 64-bit version will come at middle of may.
You tested your Controller on this version ? Or on some other hardware ?
I just try to understand where in Android 10 Nintendo controller support is implemented.
Because HID: nintendo Kernel driver pushed to Linux mailing list and waiting for approval.

https://patchwork.kernel.org/patch/11441647/

BTW, post your controller USB VID/PID here.
If this driver compatible with your device i will try backport it to our Kernel and bring up native support for your controller to all Lineage builds.
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Sat May 02, 2020 12:05 pm

invenis wrote:
Sat May 02, 2020 4:09 am
@voodik
How's work going?
Can we expect the final build soon?
I am considering buying N2 and a well-functioning Android 10 would be a big argument for me.
I need Android 10 because it supports Nintendo Pro Controller.
Thank you for your work.
The new, 64-bit version will come at middle of may.
You tested your Controller on this version ? Or on some other hardware ?
I just try to understand where in Android 10 Nintendo controller support is implemented?
Because HID: nintendo Kernel driver just pushed to Linux mailing list and waiting for approval.
March 17, 2020
https://patchwork.kernel.org/patch/11441647/

BTW, post your controller USB VID/PID here.
If this driver compatible with your device i will try backport it to our Kernel and bring up native support for your controller to all Lineage builds.
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

invenis
Posts: 22
Joined: Sun Apr 19, 2020 12:40 am
languages_spoken: english
Has thanked: 4 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by invenis » Sat May 02, 2020 6:28 pm

voodik wrote:
Sat May 02, 2020 12:05 pm
You tested your Controller on this version ? Or on some other hardware ?
I haven't tested it. My knowledge is from this article https://9to5google.com/2019/11/06/andro ... r-support/:
The folks over at Android Police recently pointed out that, following the upgrade to Android 10, Google has quietly added support for the Nintendo Switch Pro Controller. XDA notes a commit that added the key layout file.
The controller could technically pair to a smartphone or tablet prior to the update, but following the update to Android 10, it’s buttons are properly mapped. You’ll be able to pair the Pro Controller to your Android phone by holding the pair button on the back of the controller – next to the USB-C port – and then going into the Bluetooth settings on your device.
Commit with mappings:
https://android.googlesource.com/platfo ... %5E%21/#F1
voodik wrote:
Sat May 02, 2020 12:05 pm
I just try to understand where in Android 10 Nintendo controller support is implemented?
Because HID: nintendo Kernel driver just pushed to Linux mailing list and waiting for approval.
March 17, 2020
https://patchwork.kernel.org/patch/11441647/
BTW, post your controller USB VID/PID here.
If this driver compatible with your device i will try backport it to our Kernel and bring up native support for your controller to all Lineage builds.
It's about connecting via Bluetooth - not via USB. Of course, connecting via USB would also be a nice addition - but I suppose most people prefer to connect via Bluetooth.
Here are VID / PID values when I connected the Nintendo Pro Controller to the Windows PC USB port:

Code: Select all

HID\VID_057E&PID_2009&REV_0200
HID\VID_057E&PID_2009
HID\VID_057E&UP:0001_U:0004
HID_DEVICE_SYSTEM_GAME
HID_DEVICE_UP:0001_U:0004
HID_DEVICE

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by voodik » Sat May 02, 2020 7:28 pm

invenis wrote:
Sat May 02, 2020 6:28 pm
voodik wrote:
Sat May 02, 2020 12:05 pm
You tested your Controller on this version ? Or on some other hardware ?
I haven't tested it. My knowledge is from this article https://9to5google.com/2019/11/06/andro ... r-support/:
The folks over at Android Police recently pointed out that, following the upgrade to Android 10, Google has quietly added support for the Nintendo Switch Pro Controller. XDA notes a commit that added the key layout file.
The controller could technically pair to a smartphone or tablet prior to the update, but following the update to Android 10, it’s buttons are properly mapped. You’ll be able to pair the Pro Controller to your Android phone by holding the pair button on the back of the controller – next to the USB-C port – and then going into the Bluetooth settings on your device.
Commit with mappings:
https://android.googlesource.com/platfo ... %5E%21/#F1
voodik wrote:
Sat May 02, 2020 12:05 pm
I just try to understand where in Android 10 Nintendo controller support is implemented?
Because HID: nintendo Kernel driver just pushed to Linux mailing list and waiting for approval.
March 17, 2020
https://patchwork.kernel.org/patch/11441647/
BTW, post your controller USB VID/PID here.
If this driver compatible with your device i will try backport it to our Kernel and bring up native support for your controller to all Lineage builds.
It's about connecting via Bluetooth - not via USB. Of course, connecting via USB would also be a nice addition - but I suppose most people prefer to connect via Bluetooth.
Here are VID / PID values when I connected the Nintendo Pro Controller to the Windows PC USB port:

Code: Select all

HID\VID_057E&PID_2009&REV_0200
HID\VID_057E&PID_2009
HID\VID_057E&UP:0001_U:0004
HID_DEVICE_SYSTEM_GAME
HID_DEVICE_UP:0001_U:0004
HID_DEVICE
The mapping just adds basic controller support (buttons, thumbs) in case when device can work with standard HID protocol.
Device special driver add extended features support, e.g. leds, battery status, force feedback(vibration). Also in case with this controller accelerometer and gyro support.
Special drivers converting proprietary data to Linux standard input report to make Linux understand and process input events.
USB or Bluetooth is just transport layer, after transport layer device binds to some driver(Special if available or standard HID driver).
So this driver for both USB and Bluetooth.

BTW
As i say before i will try to add this driver to our kernel, and add this mapping also to Lineage-16.0.
So your controller will be supported on all my builds.
These users thanked the author voodik for the post:
invenis (Sun May 03, 2020 3:41 am)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

invenis
Posts: 22
Joined: Sun Apr 19, 2020 12:40 am
languages_spoken: english
Has thanked: 4 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-17.0 (Android Q) for ODROID-N2

Post by invenis » Sun May 03, 2020 3:50 am

voodik wrote:
Sat May 02, 2020 7:28 pm
The mapping just adds basic controller support (buttons, thumbs) in case when device can work with standard HID protocol.
Device special driver add extended features support, e.g. leds, battery status, force feedback(vibration). Also in case with this controller accelerometer and gyro support.
Special drivers converting proprietary data to Linux standard input report to make Linux understand and process input events.
USB or Bluetooth is just transport layer, after transport layer device binds to some driver(Special if available or standard HID driver).
So this driver for both USB and Bluetooth.
BTW
As i say before i will try to add this driver to our kernel, and add this mapping also to Lineage-16.0.
So your controller will be supported on all my builds.
Thank you for the explanation, I understand now.
I will try your new builds as soon as I have N2. :-)

User avatar
voodik
Posts: 1800
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 33 times
Been thanked: 197 times
Contact:

Re: [ROM][LineageOS 17.1][Android 10.0][voodik] for the ODROID-N2

Post by voodik » Mon May 18, 2020 11:14 pm

LineageOS-17.0 development deprecated

This thread switched to LineageOS-17.1
Found and fixed major issue and now this build is 64-bit.
This build supports almost every features available in LineageOS-16.0
First, second posts updated!

Selfinstall Images with preinstalled Gapps
64bit You can find latest version here

Selfinstall Images without preinstalled Gapps
64bit You can find latest version here
These users thanked the author voodik for the post (total 2):
rooted (Tue May 19, 2020 12:02 am) • Sav (Tue May 19, 2020 5:17 pm)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 2 guests