[ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

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

[ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by voodik »

Call for alpha test : LineageOS-20.0 Android 13 for Odroid-N2/N2L

Tested only on EMMC so avoid sdcards

android-13.png
android-13.png (67.64 KiB) Viewed 215 times

Selfinstall Images for ODROID-N2
64bit You can find latest version here

Selfinstall Images for ODROID-N2L
64bit You can find latest version here

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

Both variants supports removing GAPPS on install/update process.
For selfinstall: after writing image on SD/EMMC don't disconnect it from PC and create empty "nogapps" file on root of FAT partition.
For update: create and keep empty "nogapps" file on root of FAT partition (/odm/nogapps)



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

20221124 Alpha-v0.4
* First alpha
Last edited by voodik on Thu Nov 24, 2022 11:51 pm, edited 1 time in total.
These users thanked the author voodik for the post (total 5):
sigmich (Fri Nov 25, 2022 2:58 am) • istanbulls (Fri Nov 25, 2022 5:02 pm) • zyssai (Fri Nov 25, 2022 6:53 pm) • odroid (Fri Nov 25, 2022 7:04 pm) • joerg (Sun Nov 27, 2022 4:02 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: 2282
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 74 times
Been thanked: 550 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by voodik »

*reserved
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
istanbulls
Posts: 811
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 481 times
Been thanked: 150 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by istanbulls »

Thanks for the new version, nice work.

I can't add Extra Strage, other than that I haven't encountered any problems. Thanks again...

User avatar
zyssai
Posts: 564
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 223 times
Been thanked: 94 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by zyssai »

None of all my phones have Android 13.

You're amazing :twisted:
Will test it soon ;)

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

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by voodik »

istanbulls wrote:
Fri Nov 25, 2022 5:06 pm
Thanks for the new version, nice work.

I can't add Extra Strage, other than that I haven't encountered any problems. Thanks again...
Edit /vendor/etc/fstab.odroidn2 add encryptable=true for sd and usb items

Code: Select all

# Android fstab file.
#<src>                                                  <mnt_point>         <type>    <mnt_flags and options>                       <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/misc       /misc               emmc      defaults      defaults
/dev/block/data       /data               ext4      noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic    wait,check,quota,formattable,reservedsize=32M
/dev/block/cache      /cache              ext4      noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic    wait,check,formattable
/devices/*.sd/mmc_host/sd*  auto          auto       defaults     voldmanaged=sdcard1:auto,encryptable=true
/devices/*dwc3/xhci-hcd.0.auto/usb?/*/host*/target*/block/sd*  auto             auto      defaults                       voldmanaged=usb:auto,encryptable=true
/devices/*dwc3/xhci-hcd.0.auto/usb?/*/host*/target*/block/sr*  auto             auto      defaults                       voldmanaged=sr0:auto,encryptable=true
/dev/block/loop     auto                loop      defaults                                  voldmanaged=loop:auto
#/dev/block/param    /mnt/vendor/param                ext4      noatime,nosuid,nodev,nodelalloc,nomblk_io_submit,errors=panic    wait,check,encryptable=footer,quota,formattable
# Add for zram. zramsize can be in numeric (byte) , in percent
/dev/block/zram0     /mnt/vendor/swap_zram0             swap      defaults                             wait,zramsize=268435456
Then reboot and check
fstab.odroidn2.txt
(1.59 KiB) Downloaded 4 times
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
joerg
Posts: 1729
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 155 times
Been thanked: 331 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by joerg »

I tried it now with the N2L and a VU7C. Backlight is working but touch screen not.
Is there any special setting needed to enable touch screen? I have already display_vu7c in overlays.
These users thanked the author joerg for the post:
zyssai (Sun Nov 27, 2022 6:03 am)

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

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by voodik »

joerg wrote:
Sun Nov 27, 2022 4:02 am
I tried it now with the N2L and a VU7C. Backlight is working but touch screen not.
Is there any special setting needed to enable touch screen? I have already display_vu7c in overlays.
I will check, i did not merge latest kernel changes.
These users thanked the author voodik for the post:
joerg (Sun Nov 27, 2022 4:48 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
joerg
Posts: 1729
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 155 times
Been thanked: 331 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by joerg »

I can confirm that my app GpioShutdownService works, but need to install Magisk and edit the /vendor/etc/public.libraries.txt and put libwiringPi.so.
@voodik, would you please be so kind and add this in next releases of all your LOS17...20?
These users thanked the author joerg for the post:
zyssai (Sun Nov 27, 2022 5:30 pm)

User avatar
joerg
Posts: 1729
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 155 times
Been thanked: 331 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by joerg »

Another thing: With the VU7C I need to rotate the screen for 180°, there is a setting for that in OdroidSettings. But when I use screenshot it rotates back to 0° and I have to go again into OdroidSettings to rotate it back to 180°.
Is there not an option to rotate it during u-boot process? Like it is on the M1 with VU8M?

User avatar
istanbulls
Posts: 811
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 481 times
Been thanked: 150 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by istanbulls »

N2P, Kodi does not have multi-channel audio, FYI!

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

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by voodik »

istanbulls wrote:
Sun Nov 27, 2022 11:01 pm
N2P, Kodi does not have multi-channel audio, FYI!
Connect device to your TV and post output of

Code: Select all

cat /sys/class/amhdmitx/amhdmitx0/aud_cap

Code: Select all

dumpsys media.audio_policy
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: 2282
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 74 times
Been thanked: 550 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by voodik »

joerg wrote:
Sun Nov 27, 2022 7:04 pm
Another thing: With the VU7C I need to rotate the screen for 180°, there is a setting for that in OdroidSettings. But when I use screenshot it rotates back to 0° and I have to go again into OdroidSettings to rotate it back to 180°.
Is there not an option to rotate it during u-boot process? Like it is on the M1 with VU8M?
Edit /odm/etc/build.prop change
ro.surface_flinger.primary_display_orientation=ORIENTATION_180
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: 2282
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 74 times
Been thanked: 550 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by voodik »

joerg wrote:
Sun Nov 27, 2022 4:02 am
I tried it now with the N2L and a VU7C. Backlight is working but touch screen not.
Is there any special setting needed to enable touch screen? I have already display_vu7c in overlays.
How you connect vu7c to N2L ? J6 pin on vu7c don't allow connect my display to N2L
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: 2282
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 74 times
Been thanked: 550 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by voodik »

joerg wrote:
Sun Nov 27, 2022 4:53 pm
I can confirm that my app GpioShutdownService works, but need to install Magisk and edit the /vendor/etc/public.libraries.txt and put libwiringPi.so.
@voodik, would you please be so kind and add this in next releases of all your LOS17...20?
I will add it to versions which will updated, 16,17 version development suspended now because out of space on my drives.
BTW adb shell have root access, you don't need install Magisk to modify something.
These users thanked the author voodik for the post:
joerg (Sun Nov 27, 2022 11:47 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
joerg
Posts: 1729
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 155 times
Been thanked: 331 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by joerg »

voodik wrote:
Sun Nov 27, 2022 11:32 pm
How you connect vu7c to N2L ? J6 pin on vu7c don't allow connect my display to N2L
I use a 2x20 pin header with extra large pins to extend the distance.
photo_2022-11-27_15-46-00.jpg
photo_2022-11-27_15-46-00.jpg (154.25 KiB) Viewed 33 times

User avatar
joerg
Posts: 1729
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 155 times
Been thanked: 331 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by joerg »

I got it! Need to remove uart0 from dtb overlay settings. Now touch works.
Pins 29 and 31 are used by ttyS1 when uart0 is set. But this pins are used also for touch screen.
These users thanked the author joerg for the post:
voodik (Mon Nov 28, 2022 12:22 am)

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

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by voodik »

joerg wrote:
Mon Nov 28, 2022 12:12 am
I got it! Need to remove uart0 from dtb overlay settings. Now touch works.
Pins 29 and 31 are used by ttyS1 when uart0 is set. But this pins are used also for touch screen.
Glad to hear it problem solved.
Here is a build for N2L with BSP latest kernel changes and libwiringPi.so in public.libraries.txt
https://drive.google.com/file/d/1oz_b4A ... sp=sharing
These users thanked the author voodik for the post:
joerg (Mon Nov 28, 2022 12:54 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
joerg
Posts: 1729
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 155 times
Been thanked: 331 times
Contact:

Re: [ROM][LineageOS 20.0][Android 13][voodik] for the ODROID-N2/N2L

Post by joerg »

voodik wrote:
Sun Nov 27, 2022 11:31 pm
Edit /odm/etc/build.prop change
ro.surface_flinger.primary_display_orientation=ORIENTATION_180
This works better than rotation over OdroidSettings. Thank you. Now also boot animation is turned right.

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 4 guests