[ROM] LineageOS-16.0 for ODROID-N2

Sav
Posts: 37
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by Sav » Fri Oct 11, 2019 7:20 am

Hi, is Vulkan supported?


Inviato dal mio iPad utilizzando Tapatalk

User avatar
voodik
Posts: 1596
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Has thanked: 5 times
Been thanked: 84 times
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by voodik » Fri Oct 11, 2019 8:48 am

benwillcox wrote:
Fri Oct 11, 2019 7:17 am
Just had a further test whilst driving my car with the GPS working. There is a strange characteristic to the GPS now, which I also noticed affected the official ROM at the last update, but I changed to LineageOS-16 before having chance to report it on the forums.
On this latest release, and the latest release of the official ROM, when using TomTom Go GPS Navigation app the realtime speed display no longer appears, and the app no longer automatically switches from the overview map to turn-by-turn directions when you start driving. In the previous LineageOS-16 release (0.7) and the previous official ROM version this problem does not exist.
So, perhaps something has changed with the output of the NMEA stream? I did load up the GPS Test app to see if anything had changed (as there was an old bug where the GPS time was incorrect), but can't see anything obvious.

Many thanks,
Ben
I think i know where is problem.
Can you put this to /vendor/lib/hw/ restart and test again?
https://drive.google.com/open?id=1ZutdM ... ClytHMbPOV
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

User avatar
voodik
Posts: 1596
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Has thanked: 5 times
Been thanked: 84 times
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by voodik » Fri Oct 11, 2019 9:10 am

Sav wrote:
Fri Oct 11, 2019 7:20 am
Hi, is Vulkan supported?


Inviato dal mio iPad utilizzando Tapatalk
I think yes)
vulkan1.png
vulkan1.png (143.35 KiB) Viewed 1063 times
These users thanked the author voodik for the post:
Sav (Sun Oct 13, 2019 12:57 am)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

benwillcox
Posts: 186
Joined: Wed Oct 05, 2016 6:34 pm
languages_spoken: english
ODROIDs: C1+
C2
Location: United Kingdom
Has thanked: 7 times
Been thanked: 8 times
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by benwillcox » Mon Oct 14, 2019 8:21 pm

voodik wrote:
Fri Oct 11, 2019 8:48 am

I think i know where is problem.
Can you put this to /vendor/lib/hw/ restart and test again?
https://drive.google.com/open?id=1ZutdM ... ClytHMbPOV
Thanks just tested and it’s fixed the problem!

On a different note, do you know if it’s possible to enable the SPDIF output? On the official ROM I understand it only works on certain versions on Kodi, but I don’t use Kodi and need all the audio to be routed through the SPDIF output like it does on the C2.

Many thanks
Ben

Sav
Posts: 37
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by Sav » Tue Oct 15, 2019 10:40 pm

Hi,
I can't update. When I select the update package I get "Odroid Settings keeps stopping"

User avatar
voodik
Posts: 1596
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Has thanked: 5 times
Been thanked: 84 times
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by voodik » Thu Oct 17, 2019 5:12 pm

Sav wrote:
Tue Oct 15, 2019 10:40 pm
Hi,
I can't update. When I select the update package I get "Odroid Settings keeps stopping"
More details please, which version u use? You want update from internal storage?
Are you using third part file manager to select file ?
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

Sav
Posts: 37
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by Sav » Thu Oct 17, 2019 5:29 pm

I installed this version:
selfinstall-odroidn2-s922_lineage-16.0_alpha-0.6_20190820.img.zip

Then I downloaded with the internal browser this update package:
updatepackage-odroidn2-userdebug-s922_9.0.0_master-20190911.zip

Then in the "odroid settengs" I choosed to update from internal storage and selected the downloaded file.
I didn't use any file manager.
voodik wrote:
Thu Oct 17, 2019 5:12 pm
Sav wrote:
Tue Oct 15, 2019 10:40 pm
Hi,
I can't update. When I select the update package I get "Odroid Settings keeps stopping"
More details please, which version u use? You want update from internal storage?
Are you using third part file manager to select file ?

User avatar
voodik
Posts: 1596
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Has thanked: 5 times
Been thanked: 84 times
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by voodik » Sat Oct 19, 2019 11:49 pm

Update! :ugeek:

Code: Select all

20191019 Alpha-v0.8
* Bluetooth service disabled by default(You can enable it from Odroid Settings Misc tab)
* Fixed GPS HAL initialization, now known GPS modules is plug and play (if you don't using GPS disable it from Odroid Settings Misc tab)
* Add GSF Android ID to Odroid Settings Misc tab (Now you can copy and register it via internal browser)
* Add androidvncserver (you can run it from terminal by androidvncserver -p yourpass)
* Add tvheadend startup script (First run - configure it by running tvheadend -C from terminal, then for autostart setprop persist.tvheadend.enable true)
* Fixed Wifi module 0 (RT5370N) scan issues.
* Lineage merge with upstream
P.S.

If you don't have a any USB Audio input device (Microphone etc)
Please disallow Microphone permission for all apps from Settings> Apps > App Permissions > Microphone
These users thanked the author voodik for the post (total 6):
milesian (Sun Oct 20, 2019 12:17 am) • mad_ady (Sun Oct 20, 2019 12:37 am) • wdr (Mon Oct 21, 2019 2:31 am) • benwillcox (Mon Oct 21, 2019 3:25 am) • odroid (Mon Oct 21, 2019 9:30 am) • rooted (Tue Oct 22, 2019 10:59 am)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

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

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by Kernel » Tue Oct 22, 2019 8:39 am

The latest image is working great and it's been stable with Kodi.
Is it possible to disable adb over network by default without disabling ADB over USB?

I noticed it turns back on after reboot if ADB isn't fully disabled and I fear could lead to a potential security issue since Android doesn't have a default firewall application.

Also seeing as HK's AOSP image now has 64-bit would it be possible to build? (maybe reserved for your LineageOS 17 base?)
Without gapps would be amazing if possible!

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

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by Kernel » Tue Oct 22, 2019 8:47 am

On a side note can anyone confirm they have this working or is it specific to HK's kernel?
https://wiki.odroid.com/odroid-n2/appli ... key_wakeup

User avatar
voodik
Posts: 1596
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Has thanked: 5 times
Been thanked: 84 times
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by voodik » Tue Oct 22, 2019 4:42 pm

Kernel wrote:
Tue Oct 22, 2019 8:47 am
On a side note can anyone confirm they have this working or is it specific to HK's kernel?
https://wiki.odroid.com/odroid-n2/appli ... key_wakeup
It using same Kernel, so should be work
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

User avatar
voodik
Posts: 1596
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Has thanked: 5 times
Been thanked: 84 times
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by voodik » Tue Oct 22, 2019 4:54 pm

Kernel wrote:
Tue Oct 22, 2019 8:39 am
The latest image is working great and it's been stable with Kodi.
Is it possible to disable adb over network by default without disabling ADB over USB?

I noticed it turns back on after reboot if ADB isn't fully disabled and I fear could lead to a potential security issue since Android doesn't have a default firewall application.

Also seeing as HK's AOSP image now has 64-bit would it be possible to build? (maybe reserved for your LineageOS 17 base?)
Without gapps would be amazing if possible!
edit /vendor/build.build.prop
comment this line

Code: Select all

service.adb.tcp.port=5555
HK now not recommend 64 bit build, still work on it to make it more stable.
So i move Lineage builds to 64 bit after people good feedback.
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

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

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by Kernel » Wed Oct 23, 2019 5:01 am

voodik wrote:
Tue Oct 22, 2019 4:42 pm
It using same Kernel, so should be work
voodik wrote:
Tue Oct 22, 2019 4:54 pm
edit /vendor/build.build.prop
comment this line

Code: Select all

service.adb.tcp.port=5555
HK now not recommend 64 bit build, still work on it to make it more stable.
So i move Lineage builds to 64 bit after people good feedback.

That's great to hear, and thanks for the response!

Sav
Posts: 37
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by Sav » Fri Oct 25, 2019 10:12 pm

With the latest version (fresh install) i got crashes of the settings app when I select Connected devices and Sound


Inviato dal mio GM1913 utilizzando Tapatalk


User avatar
voodik
Posts: 1596
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Has thanked: 5 times
Been thanked: 84 times
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by voodik » Fri Oct 25, 2019 10:57 pm

Sav wrote:
Fri Oct 25, 2019 10:12 pm
With the latest version (fresh install) i got crashes of the settings app when I select Connected devices and Sound


Inviato dal mio GM1913 utilizzando Tapatalk
Yes i see. It's crash when no Bluetooth device. I try to find solution.

BTW,
What kind device you want to find there? In my case only Bluetooth devices appears there.
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

Sav
Posts: 37
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by Sav » Fri Oct 25, 2019 11:27 pm

I have a usb bluetooth dongle wich works out of the box in coreElec and HardKernel ubuntu.
Android at boot display bluetooth crash messages. I had to disconnect it, so now I don't have any bluetooth device attached.

Sav
Posts: 37
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by Sav » Sat Oct 26, 2019 8:53 pm

As a follow up:
I tried to plug the usb dongle and to start the bluetooth service and the system became unstable, with the bluetooth error message.
Without the dongle and with the service on, I can access the sound preferences without any crash. Of course I can't access any bluetooth device.

User avatar
voodik
Posts: 1596
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Has thanked: 5 times
Been thanked: 84 times
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by voodik » Sun Oct 27, 2019 12:24 am

Sav wrote:
Sat Oct 26, 2019 8:53 pm
As a follow up:
I tried to plug the usb dongle and to start the bluetooth service and the system became unstable, with the bluetooth error message.
Without the dongle and with the service on, I can access the sound preferences without any crash. Of course I can't access any bluetooth device.
Android Bluetooth stack only support dongles with BLE, so old ones not supported.
I will try find fixes to make Settings not crash without Bluetooth service.
These users thanked the author voodik for the post:
Sav (Sun Oct 27, 2019 12:27 am)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

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

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by Kernel » Mon Oct 28, 2019 5:08 am

voodik wrote:
Sun Oct 27, 2019 12:24 am
I will try find fixes to make Settings not crash without Bluetooth service.
It appears this is common on the official Android 64-bit (20191018) image too so it's potentially kernel specific.
At the least you can rule it down to not being specific to LineageOS or user error.
Maybe try some bipartisan efforts with HK.

It only happens when there's no dongle plugged in but I only use infrared so I just enabled airplane mode and rebooted to clear the message.

User avatar
voodik
Posts: 1596
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Has thanked: 5 times
Been thanked: 84 times
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by voodik » Mon Oct 28, 2019 5:37 am

Kernel wrote:
Mon Oct 28, 2019 5:08 am
voodik wrote:
Sun Oct 27, 2019 12:24 am
I will try find fixes to make Settings not crash without Bluetooth service.
It appears this is common on the official Android 64-bit (20191018) image too so it's potentially kernel specific.
At the least you can rule it down to not being specific to LineageOS or user error.
Maybe try some bipartisan efforts with HK.

It only happens when there's no dongle plugged in but I only use infrared so I just enabled airplane mode and rebooted to clear the message.
It's not Kernel specific, it's basic NPE, because Android framework is not plug and play, if we specified we have Bluetooth we need to have them, otherwise lot of NPE.
So mainly i need make some patches to not call this functions if we don't have a hardware attached.
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

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

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by Kernel » Mon Oct 28, 2019 11:05 am

voodik wrote:
Sun Oct 27, 2019 12:24 am
because Android framework is not plug and play, if we specified we have Bluetooth we need to have them, otherwise lot of NPE.
I forgot that Android doesn't use udev. :(

bpbiszkopt
Posts: 36
Joined: Fri Jan 22, 2016 5:19 pm
languages_spoken: english
ODROIDs: u3
Has thanked: 0
Been thanked: 0
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by bpbiszkopt » Thu Nov 14, 2019 7:38 pm

Which Wi-Fi dongle do you recommend?
I don't really need it, but some apps don't recognize ethernet connection... Fake Wi-Fi connection works only till noughat so I have to buy something cheap.

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

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by odroid » Thu Nov 14, 2019 7:47 pm

I think any RT5370N chipset included cheap WLAN dongle something like this should work.
https://www.hardkernel.com/shop/wifi-module-0/

BTW, let us know which app works with the WiFi connection only?

bpbiszkopt
Posts: 36
Joined: Fri Jan 22, 2016 5:19 pm
languages_spoken: english
ODROIDs: u3
Has thanked: 0
Been thanked: 0
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by bpbiszkopt » Thu Nov 14, 2019 8:12 pm

odroid wrote:I think any RT5370N chipset included cheap WLAN dongle something like this should work.
https://www.hardkernel.com/shop/wifi-module-0/

BTW, let us know which app works with the WiFi connection only?
Thx.

My son install asphalt racing for Xbox controller and it just doesn't want to start without Wi-Fi connection.

benwillcox
Posts: 186
Joined: Wed Oct 05, 2016 6:34 pm
languages_spoken: english
ODROIDs: C1+
C2
Location: United Kingdom
Has thanked: 7 times
Been thanked: 8 times
Contact:

Re: [ROM] LineageOS-16.0 for ODROID-N2

Unread post by benwillcox » Sun Nov 17, 2019 6:10 am

Also TomTom Go Navigation doesn't recognise an Ethernet connection, it only works with Wi-Fi

Post Reply

Return to “Android”

Who is online

Users browsing this forum: i82blikeu and 3 guests