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

mad_ady
Posts: 8582
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: 578 times
Been thanked: 486 times
Contact:

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

Post by mad_ady »

Thanks!

mad_ady
Posts: 8582
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: 578 times
Been thanked: 486 times
Contact:

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

Post by mad_ady »

Ok, I'm playing with alpha 0.2 on an N2+. I've install Magisk from within recovery (if you try to update it from Odroid Settings it fails, but if you do it from recovery it's fine). All seems fine except adb (over network) post Magisk. I used to be able to do adb connect x.x.x.x; adb shell, but now it complains:

Code: Select all

$ adb shell
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
If I try via microusb, I get the same:

Code: Select all

 adrianp  ~  Downloads  adb devices
List of devices attached
001e0642505d	unauthorized

 adrianp  ~  Downloads  adb shell
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
 adrianp  ~  Downloads  1  
Most likely my adb has changed from Magisk. Any ideas what I could do? I plan on using scrcpy to do a remote setup/testing.

@voodik - regarding Magisk - I have a question. I plan on compiling my own kernel to add support for onewire (not sure if the stock kernel has it) and also for docker-related modules. If I have time I'd like to try to run docker from Android or from within Linux Deploy. I've played a bit with it and it has potential, but I ran out of time because of the pandemic. I doubt I'll have more time, but I need to keep my mind busy with something. Anyway, the steps are roughly described here: https://magazine.odroid.com/article/run ... r-android/.

My question is - if I start flashing my own kernel/dtbs, what impact does that have on Magisk? Do I need to reinstall Magisk after a kernel flash? Not sure how it changes kernel/dtbs, or if it doesn't (though it reports it's packing/unpacking them)...
Thanks!

User avatar
odroid
Site Admin
Posts: 35591
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1199 times
Been thanked: 877 times
Contact:

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

Post by odroid »

Hey Voodik,

Can you check the HW RTC functionality with a Lithium coin battery installation on your N2+ board?
One user has reported an issue with RTC. That project looks quite attractive. ;)
viewtopic.php?p=306902#p306902

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

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

Post by voodik »

mad_ady wrote:
Fri Sep 11, 2020 6:40 pm
Ok, I'm playing with alpha 0.2 on an N2+. I've install Magisk from within recovery (if you try to update it from Odroid Settings it fails, but if you do it from recovery it's fine). All seems fine except adb (over network) post Magisk. I used to be able to do adb connect x.x.x.x; adb shell, but now it complains:

Code: Select all

$ adb shell
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
If I try via microusb, I get the same:

Code: Select all

 adrianp  ~  Downloads  adb devices
List of devices attached
001e0642505d	unauthorized

 adrianp  ~  Downloads  adb shell
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
 adrianp  ~  Downloads  1  
Most likely my adb has changed from Magisk. Any ideas what I could do? I plan on using scrcpy to do a remote setup/testing.

@voodik - regarding Magisk - I have a question. I plan on compiling my own kernel to add support for onewire (not sure if the stock kernel has it) and also for docker-related modules. If I have time I'd like to try to run docker from Android or from within Linux Deploy. I've played a bit with it and it has potential, but I ran out of time because of the pandemic. I doubt I'll have more time, but I need to keep my mind busy with something. Anyway, the steps are roughly described here: https://magazine.odroid.com/article/run ... r-android/.

My question is - if I start flashing my own kernel/dtbs, what impact does that have on Magisk? Do I need to reinstall Magisk after a kernel flash? Not sure how it changes kernel/dtbs, or if it doesn't (though it reports it's packing/unpacking them)...
Thanks!
You need reinstall magisk if you flash new dtbs.
These users thanked the author voodik for the post:
mad_ady (Wed Sep 23, 2020 8:24 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

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

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

Post by voodik »

odroid wrote:
Wed Sep 23, 2020 9:36 am
Hey Voodik,

Can you check the HW RTC functionality with a Lithium coin battery installation on your N2+ board?
One user has reported an issue with RTC. That project looks quite attractive. ;)
viewtopic.php?p=306902#p306902
Sure, i will check it today.
These users thanked the author voodik for the post:
istanbulls (Wed Sep 23, 2020 4:28 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

mad_ady
Posts: 8582
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: 578 times
Been thanked: 486 times
Contact:

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

Post by mad_ady »

mad_ady wrote:
Fri Sep 11, 2020 6:40 pm
Ok, I'm playing with alpha 0.2 on an N2+. I've install Magisk from within recovery (if you try to update it from Odroid Settings it fails, but if you do it from recovery it's fine). All seems fine except adb (over network) post Magisk. I used to be able to do adb connect x.x.x.x; adb shell, but now it complains:

Code: Select all

$ adb shell
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
If I try via microusb, I get the same:

Code: Select all

 adrianp  ~  Downloads  adb devices
List of devices attached
001e0642505d	unauthorized

 adrianp  ~  Downloads  adb shell
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
 adrianp  ~  Downloads  1  
Most likely my adb has changed from Magisk. Any ideas what I could do? I plan on using scrcpy to do a remote setup/testing.

@voodik - regarding Magisk - I have a question. I plan on compiling my own kernel to add support for onewire (not sure if the stock kernel has it) and also for docker-related modules. If I have time I'd like to try to run docker from Android or from within Linux Deploy. I've played a bit with it and it has potential, but I ran out of time because of the pandemic. I doubt I'll have more time, but I need to keep my mind busy with something. Anyway, the steps are roughly described here: https://magazine.odroid.com/article/run ... r-android/.

My question is - if I start flashing my own kernel/dtbs, what impact does that have on Magisk? Do I need to reinstall Magisk after a kernel flash? Not sure how it changes kernel/dtbs, or if it doesn't (though it reports it's packing/unpacking them)...
Thanks!

Well, I'm still struggling with the ADB unauthorized error after installing Magisk. I've tried disabling ADB from developer options and re-enabling it, but it didn't do anything. Also deleted my adb key, restarted everything multiple times, etc. Any other ideas I could try?
One more curious thing - I have a USB UART and I can get bootloader/boot messages. However, I never get a shell after the system has booted. Is this normal? How can I enable a shell via serial?

Kaos7313
Posts: 1
Joined: Tue Oct 06, 2020 8:47 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

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

Post by Kaos7313 »

I have a silly question as I've never used android on anything other than a tablet of Phone.
How do you close background apps that you open. like everytime I open something I can go back to the main OS screen but when you click the square on the bottom NAV bar all the shit you opened is there and it uses a lot of resources and slows everthing down...

For the life of me I can figure out how to close all the shit with just hard resetting the N2.....

mad_ady
Posts: 8582
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: 578 times
Been thanked: 486 times
Contact:

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

Post by mad_ady »

There are two ways:
1. from the recent apps view you swipe those apps off-screen and they get closed
2. In developer options you can tell it to kill background apps

mad_ady
Posts: 8582
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: 578 times
Been thanked: 486 times
Contact:

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

Post by mad_ady »

Me again, with my broken adb...
I've flashed alpha 0.2 image to a new emmc and booted it. Installed Magisk 21 this time. Rebooted and tested adb - all is fine. I upgraded to Magisk 21 on my original image (with broken adb), and sadly, adb does not magically recover...
So I'm throwing in the towel and reinstalling... Oh well...

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

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

Post by voodik »

mad_ady wrote:
Thu Oct 08, 2020 8:27 pm
Me again, with my broken adb...
I've flashed alpha 0.2 image to a new emmc and booted it. Installed Magisk 21 this time. Rebooted and tested adb - all is fine. I upgraded to Magisk 21 on my original image (with broken adb), and sadly, adb does not magically recover...
So I'm throwing in the towel and reinstalling... Oh well...
Only custom Magisk which created by me is supported now, don't update it.
I will take a look is it possible create custom Magisk 21.
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

mad_ady
Posts: 8582
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: 578 times
Been thanked: 486 times
Contact:

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

Post by mad_ady »

Stock Magisk 21 worked just fine...

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

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

Post by voodik »

:? :? :?
n2_11_1.png
n2_11_1.png (84.41 KiB) Viewed 411 times
These users thanked the author voodik for the post (total 6):
trycatch (Fri Oct 09, 2020 2:24 am) • istanbulls (Fri Oct 09, 2020 2:39 am) • Rmiino (Fri Oct 09, 2020 7:22 am) • joerg (Fri Oct 09, 2020 8:34 pm) • odroid (Mon Oct 12, 2020 9:49 am) • Sailor (Sat Oct 24, 2020 9:59 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

trycatch
Posts: 7
Joined: Thu Jun 11, 2020 5:35 pm
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 6 times
Been thanked: 2 times
Contact:

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

Post by trycatch »

cant believe it, android 11 for N2!!!!

thanks voodik
These users thanked the author trycatch for the post:
Rmiino (Fri Oct 09, 2020 7:21 am)

mad_ady
Posts: 8582
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: 578 times
Been thanked: 486 times
Contact:

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

Post by mad_ady »

voodik wrote::? :? :?
n2_11_1.png
Will it be upgradeable from 10? I ask so that I know of I will invest more time in android 10, or better yet wait for 11...

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

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

Post by voodik »

mad_ady wrote:
Fri Oct 09, 2020 2:54 am
voodik wrote::? :? :?
n2_11_1.png
Will it be upgradeable from 10? I ask so that I know of I will invest more time in android 10, or better yet wait for 11...
It's too early to talk about it, Lineage Team just started working on it, lot of features is missing for now and some bugs occurred.
So i think first nightly version available in 1-2 month.
mad_ady wrote:
Thu Oct 08, 2020 10:32 pm
Stock Magisk 21 worked just fine...
Yes, just tested, Magisk 21 is working out from the box.
So people now can use it instead of my patched versions.

https://github.com/topjohnwu/Magisk/releases
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: 1877
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 40 times
Been thanked: 256 times
Contact:

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

Post by voodik »

Update :!:

Code: Select all

20201013 Alpha-v0.3
* Fixed some RTC issues
* Removed/Cleanup some unused things
* Merge with last BSP changes
* Lineage merge with upstream
These users thanked the author voodik for the post (total 2):
odroid (Wed Oct 14, 2020 9:46 am) • trycatch (Wed Oct 14, 2020 4:06 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

thering1975
Posts: 81
Joined: Sat Apr 18, 2020 12:39 am
languages_spoken: english
Has thanked: 13 times
Been thanked: 12 times
Contact:

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

Post by thering1975 »

Hi

In my quest to find the perfect Android experience just tested this rom, all was great, but i have one question. Is Kiosk Mode meant to remove the status and nav bars? If so unfortunately i cannot get it to work on this rom. With a diff launcher the status bar goes but the Navbar is permanently displayed.

Just FYI

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

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

Post by voodik »

thering1975 wrote:
Wed Oct 14, 2020 8:32 pm
Hi

In my quest to find the perfect Android experience just tested this rom, all was great, but i have one question. Is Kiosk Mode meant to remove the status and nav bars? If so unfortunately i cannot get it to work on this rom. With a diff launcher the status bar goes but the Navbar is permanently displayed.

Just FYI
I will check this feature.
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: 1877
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 40 times
Been thanked: 256 times
Contact:

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

Post by voodik »

thering1975 wrote:
Wed Oct 14, 2020 8:32 pm
Hi

In my quest to find the perfect Android experience just tested this rom, all was great, but i have one question. Is Kiosk Mode meant to remove the status and nav bars? If so unfortunately i cannot get it to work on this rom. With a diff launcher the status bar goes but the Navbar is permanently displayed.

Just FYI
Test version with fixed kiosk mode.
set persist.kiosk_mode true/false
https://drive.google.com/open?id=1UUvxu ... N8eG75vel0
These users thanked the author voodik for the post:
thering1975 (Thu Oct 15, 2020 3:51 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

atwar
Posts: 19
Joined: Sun Apr 28, 2019 4:53 pm
languages_spoken: english
ODROIDs: Odroid HC1 / Odroid N2 / NanoPC T4 / NanoPC T3+
Location: Warsaw, Poland
Has thanked: 0
Been thanked: 0
Contact:

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

Post by atwar »

"persist.disable_bluetooth true|false default:true"

Where I may apply this settings to switch on BT?

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

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

Post by voodik »

atwar wrote:
Wed Oct 21, 2020 3:23 am
"persist.disable_bluetooth true|false default:true"

Where I may apply this settings to switch on BT?
Uncheck
Odroid Settings> Misc> Disable bluetooth service
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 3 guests