[ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post Reply
ast260ast
Posts: 33
Joined: Tue Jan 25, 2022 10:01 pm
languages_spoken: english
ODROIDs: n2+ plus
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by ast260ast »

voodik wrote:
Tue Apr 18, 2023 8:09 pm
ast260ast wrote:
Tue Apr 18, 2023 7:30 pm
i have Enable CEC alredy but not work for my LG OLED
also when press option screen nothing do list
https://www.veed.io/view/9ba4393a-a25e- ... anel=share
Cannot confirm CEC compatibility with LG TV, i just tested it on Samsung, Sony, Xiaomi TV's.
About Screen resolution > You should setup adb, and dump logs.
You rooted device and make some modifications, i can't understand without logs.
Maybe your /odm/env.ini broken maybe something other.
The problem appeared directly with the first boot after the first installation, as there are no options to change the screen size, before root, also with the first installation I noticed the hdr signal during the installation and after completion the device signal disappeared completely, then I disconnected the power, and it worked again

What is the command adb I need to get log?

ast260ast
Posts: 33
Joined: Tue Jan 25, 2022 10:01 pm
languages_spoken: english
ODROIDs: n2+ plus
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by ast260ast »

voodik wrote:
Tue Apr 18, 2023 8:09 pm
ast260ast wrote:
Tue Apr 18, 2023 7:30 pm
i have Enable CEC alredy but not work for my LG OLED
also when press option screen nothing do list
https://www.veed.io/view/9ba4393a-a25e- ... anel=share
Cannot confirm CEC compatibility with LG TV, i just tested it on Samsung, Sony, Xiaomi TV's.
About Screen resolution > You should setup adb, and dump logs.
You rooted device and make some modifications, i can't understand without logs.
Maybe your /odm/env.ini broken maybe something other.
here log.txt
Attachments
env.ini
(125 Bytes) Downloaded 13 times
boot.ini
(4.53 KiB) Downloaded 13 times
log.txt
(2.08 MiB) Downloaded 13 times

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

ast260ast wrote:
Tue Apr 18, 2023 9:29 pm
voodik wrote:
Tue Apr 18, 2023 8:09 pm
ast260ast wrote:
Tue Apr 18, 2023 7:30 pm
i have Enable CEC alredy but not work for my LG OLED
also when press option screen nothing do list
https://www.veed.io/view/9ba4393a-a25e- ... anel=share
Cannot confirm CEC compatibility with LG TV, i just tested it on Samsung, Sony, Xiaomi TV's.
About Screen resolution > You should setup adb, and dump logs.
You rooted device and make some modifications, i can't understand without logs.
Maybe your /odm/env.ini broken maybe something other.
here log.txt
Nope, your env.ini is wrong.
copy /vendor/etc/env.ini.template to /odm/env.ini
Modify lines which you need and don't delete others.

If your Board is N2 Plus change default CPU freqs like this

Code: Select all

max_freq_big="2208"
max_freq_little="1908"
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

ast260ast
Posts: 33
Joined: Tue Jan 25, 2022 10:01 pm
languages_spoken: english
ODROIDs: n2+ plus
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by ast260ast »

voodik wrote:
Wed Apr 19, 2023 12:23 am
ast260ast wrote:
Tue Apr 18, 2023 9:29 pm
voodik wrote:
Tue Apr 18, 2023 8:09 pm
ast260ast wrote:
Tue Apr 18, 2023 7:30 pm
i have Enable CEC alredy but not work for my LG OLED
also when press option screen nothing do list
https://www.veed.io/view/9ba4393a-a25e- ... anel=share
Cannot confirm CEC compatibility with LG TV, i just tested it on Samsung, Sony, Xiaomi TV's.
About Screen resolution > You should setup adb, and dump logs.
You rooted device and make some modifications, i can't understand without logs.
Maybe your /odm/env.ini broken maybe something other.
here log.txt
Nope, your env.ini is wrong.
copy /vendor/etc/env.ini.template to /odm/env.ini
Modify lines which you need and don't delete others.

If your Board is N2 Plus change default CPU freqs like this

Code: Select all

max_freq_big="2208"
max_freq_little="1908"
Fixed ! :D

Now i want fix CEC for my LG TV
or How do I make the "on" and "off" button work with my remote usb?

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

ast260ast wrote:
Wed Apr 19, 2023 3:34 am
voodik wrote:
Wed Apr 19, 2023 12:23 am
ast260ast wrote:
Tue Apr 18, 2023 9:29 pm
voodik wrote:
Tue Apr 18, 2023 8:09 pm
ast260ast wrote:
Tue Apr 18, 2023 7:30 pm
i have Enable CEC alredy but not work for my LG OLED
also when press option screen nothing do list
https://www.veed.io/view/9ba4393a-a25e- ... anel=share
Cannot confirm CEC compatibility with LG TV, i just tested it on Samsung, Sony, Xiaomi TV's.
About Screen resolution > You should setup adb, and dump logs.
You rooted device and make some modifications, i can't understand without logs.
Maybe your /odm/env.ini broken maybe something other.
here log.txt
Nope, your env.ini is wrong.
copy /vendor/etc/env.ini.template to /odm/env.ini
Modify lines which you need and don't delete others.

If your Board is N2 Plus change default CPU freqs like this

Code: Select all

max_freq_big="2208"
max_freq_little="1908"
Fixed ! :D

Now i want fix CEC for my LG TV
or How do I make the "on" and "off" button work with my remote usb?
I have old patch for LG Simplink, I implemented it in Android 5.1.
Now I make Lineage-19.1 with this patch but cannot test it because of missing LG TV.
So download, install and check is this patch helps you ?
https://drive.google.com/file/d/14ZAXSe ... share_link
Anyway if this does not help, dump logcat again after test.

How to update:
https://youtu.be/QwJNYuDVat4

This version also includes ro.vendor.forced.model prop to force ro.product.model and ro.vendor.product.model.
So add this props to /odm/etc/build.prop and them will keep across updates.

Code: Select all

ro.vendor.forced.model=BRAVIA 4K VH2
ro.product.model=BRAVIA 4K VH2
ro.product.manufacturer=Sony
ro.product.brand=Sony
ro.product.name=BRAVIA_VH2_M_PA
ro.product.device=BRAVIA_VH2
ro.product.system.brand=Sony
ro.product.system.device=BRAVIA_VH2
ro.product.system.manufacturer=Sony
ro.product.system.model=BRAVIA 4K VH2
ro.product.system.name=BRAVIA_VH2
If you need root just for change props, you can remove it, because adb is already give you root access also /odm/etc/build.prop in FAT partition and you can edit it without root.


About power key on your remote, is it IR key ? Because USB key can't wake up Odroid, but IR can.
These users thanked the author voodik for the post:
ast260ast (Tue Apr 25, 2023 5:17 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

ast260ast
Posts: 33
Joined: Tue Jan 25, 2022 10:01 pm
languages_spoken: english
ODROIDs: n2+ plus
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by ast260ast »

voodik wrote:
Thu Apr 20, 2023 9:50 pm
ast260ast wrote:
Wed Apr 19, 2023 3:34 am
voodik wrote:
Wed Apr 19, 2023 12:23 am
ast260ast wrote:
Tue Apr 18, 2023 9:29 pm
voodik wrote:
Tue Apr 18, 2023 8:09 pm
ast260ast wrote:
Tue Apr 18, 2023 7:30 pm
i have Enable CEC alredy but not work for my LG OLED
also when press option screen nothing do list
https://www.veed.io/view/9ba4393a-a25e- ... anel=share
Cannot confirm CEC compatibility with LG TV, i just tested it on Samsung, Sony, Xiaomi TV's.
About Screen resolution > You should setup adb, and dump logs.
You rooted device and make some modifications, i can't understand without logs.
Maybe your /odm/env.ini broken maybe something other.
here log.txt
Nope, your env.ini is wrong.
copy /vendor/etc/env.ini.template to /odm/env.ini
Modify lines which you need and don't delete others.

If your Board is N2 Plus change default CPU freqs like this

Code: Select all

max_freq_big="2208"
max_freq_little="1908"
Fixed ! :D

Now i want fix CEC for my LG TV
or How do I make the "on" and "off" button work with my remote usb?
I have old patch for LG Simplink, I implemented it in Android 5.1.
Now I make Lineage-19.1 with this patch but cannot test it because of missing LG TV.
So download, install and check is this patch helps you ?
https://drive.google.com/file/d/14ZAXSe ... share_link
Anyway if this does not help, dump logcat again after test.

How to update:
https://youtu.be/QwJNYuDVat4

This version also includes ro.vendor.forced.model prop to force ro.product.model and ro.vendor.product.model.
So add this props to /odm/etc/build.prop and them will keep across updates.

Code: Select all

ro.vendor.forced.model=BRAVIA 4K VH2
ro.product.model=BRAVIA 4K VH2
ro.product.manufacturer=Sony
ro.product.brand=Sony
ro.product.name=BRAVIA_VH2_M_PA
ro.product.device=BRAVIA_VH2
ro.product.system.brand=Sony
ro.product.system.device=BRAVIA_VH2
ro.product.system.manufacturer=Sony
ro.product.system.model=BRAVIA 4K VH2
ro.product.system.name=BRAVIA_VH2
If you need root just for change props, you can remove it, because adb is already give you root access also /odm/etc/build.prop in FAT partition and you can edit it without root.


About power key on your remote, is it IR key ? Because USB key can't wake up Odroid, but IR can.
Thanks for GOOD Support!

where can i found "dvb-demod-m88ds3103.fw" working for this ATV ?
i have DVBSky960 but i have issue :"linuxdvb: Montage Technology M88DS3103 #0 : DVB-S #0 - DTV_CLEAR failed [e=Bad address]" in tvheadend
here # dmesg | grep dvb

Code: Select all

[    3.145528] usb 1-1.2: dvb_usb_v2: found a 'DVBSky S960/S860' in warm state
[    3.145847] usb 1-1.2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[    3.147113] usb 1-1.2: dvb_usb_v2: MAC address: 00:18:42:54:96:0c
[    3.265507] IR keymap rc-dvbsky not found
[    3.278079] usb 1-1.2: dvb_usb_v2: schedule remote query interval to 300 msecs
[    3.278088] usb 1-1.2: dvb_usb_v2: 'DVBSky S960/S860' successfully initialized and connected
[    3.278153] usbcore: registered new interface driver dvb_usb_dvbsky
[   53.596241] type=1400 audit(1682366700.504:42): avc: denied { read write } for comm="tvheadend" name="frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   53.596344] type=1400 audit(1682366700.504:43): avc: denied { open } for comm="tvheadend" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   53.596416] type=1400 audit(1682366700.504:44): avc: denied { ioctl } for comm="tvheadend" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 ioctlcmd=0x6f53 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   53.610131] m88ds3103 5-0068: Direct firmware load for dvb-demod-m88ds3103.fw failed with error -2
[   53.610148] m88ds3103 5-0068: firmware file 'dvb-demod-m88ds3103.fw' not found
[   63.494565] type=1400 audit(1682366710.404:412): avc: denied { read write } for comm="tvh:mtimer" name="frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   63.494686] type=1400 audit(1682366710.404:413): avc: denied { open } for comm="tvh:mtimer" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   63.496648] type=1400 audit(1682366710.404:414): avc: denied { ioctl } for comm="tvh:mtimer" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 ioctlcmd=0x6f52 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   63.504367] m88ds3103 5-0068: Direct firmware load for dvb-demod-m88ds3103.fw failed with error -2
[   63.504372] m88ds3103 5-0068: firmware file 'dvb-demod-m88ds3103.fw' not found
[   69.884035] type=1400 audit(1682366716.792:434): avc: denied { read write } for comm="tvh:tcp-start" name="frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

ast260ast wrote:
Tue Apr 25, 2023 5:20 am
voodik wrote:
Thu Apr 20, 2023 9:50 pm
ast260ast wrote:
Wed Apr 19, 2023 3:34 am
voodik wrote:
Wed Apr 19, 2023 12:23 am
ast260ast wrote:
Tue Apr 18, 2023 9:29 pm
voodik wrote:
Tue Apr 18, 2023 8:09 pm
ast260ast wrote:
Tue Apr 18, 2023 7:30 pm
i have Enable CEC alredy but not work for my LG OLED
also when press option screen nothing do list
https://www.veed.io/view/9ba4393a-a25e- ... anel=share
Cannot confirm CEC compatibility with LG TV, i just tested it on Samsung, Sony, Xiaomi TV's.
About Screen resolution > You should setup adb, and dump logs.
You rooted device and make some modifications, i can't understand without logs.
Maybe your /odm/env.ini broken maybe something other.
here log.txt
Nope, your env.ini is wrong.
copy /vendor/etc/env.ini.template to /odm/env.ini
Modify lines which you need and don't delete others.

If your Board is N2 Plus change default CPU freqs like this

Code: Select all

max_freq_big="2208"
max_freq_little="1908"
Fixed ! :D

Now i want fix CEC for my LG TV
or How do I make the "on" and "off" button work with my remote usb?
I have old patch for LG Simplink, I implemented it in Android 5.1.
Now I make Lineage-19.1 with this patch but cannot test it because of missing LG TV.
So download, install and check is this patch helps you ?
https://drive.google.com/file/d/14ZAXSe ... share_link
Anyway if this does not help, dump logcat again after test.

How to update:
https://youtu.be/QwJNYuDVat4

This version also includes ro.vendor.forced.model prop to force ro.product.model and ro.vendor.product.model.
So add this props to /odm/etc/build.prop and them will keep across updates.

Code: Select all

ro.vendor.forced.model=BRAVIA 4K VH2
ro.product.model=BRAVIA 4K VH2
ro.product.manufacturer=Sony
ro.product.brand=Sony
ro.product.name=BRAVIA_VH2_M_PA
ro.product.device=BRAVIA_VH2
ro.product.system.brand=Sony
ro.product.system.device=BRAVIA_VH2
ro.product.system.manufacturer=Sony
ro.product.system.model=BRAVIA 4K VH2
ro.product.system.name=BRAVIA_VH2
If you need root just for change props, you can remove it, because adb is already give you root access also /odm/etc/build.prop in FAT partition and you can edit it without root.


About power key on your remote, is it IR key ? Because USB key can't wake up Odroid, but IR can.
Thanks for GOOD Support!

where can i found "dvb-demod-m88ds3103.fw" working for this ATV ?
i have DVBSky960 but i have issue :"linuxdvb: Montage Technology M88DS3103 #0 : DVB-S #0 - DTV_CLEAR failed [e=Bad address]" in tvheadend
here # dmesg | grep dvb

Code: Select all

[    3.145528] usb 1-1.2: dvb_usb_v2: found a 'DVBSky S960/S860' in warm state
[    3.145847] usb 1-1.2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[    3.147113] usb 1-1.2: dvb_usb_v2: MAC address: 00:18:42:54:96:0c
[    3.265507] IR keymap rc-dvbsky not found
[    3.278079] usb 1-1.2: dvb_usb_v2: schedule remote query interval to 300 msecs
[    3.278088] usb 1-1.2: dvb_usb_v2: 'DVBSky S960/S860' successfully initialized and connected
[    3.278153] usbcore: registered new interface driver dvb_usb_dvbsky
[   53.596241] type=1400 audit(1682366700.504:42): avc: denied { read write } for comm="tvheadend" name="frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   53.596344] type=1400 audit(1682366700.504:43): avc: denied { open } for comm="tvheadend" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   53.596416] type=1400 audit(1682366700.504:44): avc: denied { ioctl } for comm="tvheadend" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 ioctlcmd=0x6f53 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   53.610131] m88ds3103 5-0068: Direct firmware load for dvb-demod-m88ds3103.fw failed with error -2
[   53.610148] m88ds3103 5-0068: firmware file 'dvb-demod-m88ds3103.fw' not found
[   63.494565] type=1400 audit(1682366710.404:412): avc: denied { read write } for comm="tvh:mtimer" name="frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   63.494686] type=1400 audit(1682366710.404:413): avc: denied { open } for comm="tvh:mtimer" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   63.496648] type=1400 audit(1682366710.404:414): avc: denied { ioctl } for comm="tvh:mtimer" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 ioctlcmd=0x6f52 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   63.504367] m88ds3103 5-0068: Direct firmware load for dvb-demod-m88ds3103.fw failed with error -2
[   63.504372] m88ds3103 5-0068: firmware file 'dvb-demod-m88ds3103.fw' not found
[   69.884035] type=1400 audit(1682366716.792:434): avc: denied { read write } for comm="tvh:tcp-start" name="frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
This firmware already in image but firmware find path is wrong.
So just copy /vendor/etc/firmware/dvb-demod-m88ds3103.fw to /odm/etc/firmware/


BTW can you confirm is the LG CEC is fixed with test version ?
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

ast260ast
Posts: 33
Joined: Tue Jan 25, 2022 10:01 pm
languages_spoken: english
ODROIDs: n2+ plus
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by ast260ast »

voodik wrote:
Tue Apr 25, 2023 3:52 pm
ast260ast wrote:
Tue Apr 25, 2023 5:20 am
voodik wrote:
Thu Apr 20, 2023 9:50 pm
ast260ast wrote:
Wed Apr 19, 2023 3:34 am
voodik wrote:
Wed Apr 19, 2023 12:23 am
ast260ast wrote:
Tue Apr 18, 2023 9:29 pm
voodik wrote:
Tue Apr 18, 2023 8:09 pm
ast260ast wrote:
Tue Apr 18, 2023 7:30 pm
i have Enable CEC alredy but not work for my LG OLED
also when press option screen nothing do list
https://www.veed.io/view/9ba4393a-a25e- ... anel=share
Cannot confirm CEC compatibility with LG TV, i just tested it on Samsung, Sony, Xiaomi TV's.
About Screen resolution > You should setup adb, and dump logs.
You rooted device and make some modifications, i can't understand without logs.
Maybe your /odm/env.ini broken maybe something other.
here log.txt
Nope, your env.ini is wrong.
copy /vendor/etc/env.ini.template to /odm/env.ini
Modify lines which you need and don't delete others.

If your Board is N2 Plus change default CPU freqs like this

Code: Select all

max_freq_big="2208"
max_freq_little="1908"
Fixed ! :D

Now i want fix CEC for my LG TV
or How do I make the "on" and "off" button work with my remote usb?
I have old patch for LG Simplink, I implemented it in Android 5.1.
Now I make Lineage-19.1 with this patch but cannot test it because of missing LG TV.
So download, install and check is this patch helps you ?
https://drive.google.com/file/d/14ZAXSe ... share_link
Anyway if this does not help, dump logcat again after test.

How to update:
https://youtu.be/QwJNYuDVat4

This version also includes ro.vendor.forced.model prop to force ro.product.model and ro.vendor.product.model.
So add this props to /odm/etc/build.prop and them will keep across updates.

Code: Select all

ro.vendor.forced.model=BRAVIA 4K VH2
ro.product.model=BRAVIA 4K VH2
ro.product.manufacturer=Sony
ro.product.brand=Sony
ro.product.name=BRAVIA_VH2_M_PA
ro.product.device=BRAVIA_VH2
ro.product.system.brand=Sony
ro.product.system.device=BRAVIA_VH2
ro.product.system.manufacturer=Sony
ro.product.system.model=BRAVIA 4K VH2
ro.product.system.name=BRAVIA_VH2
If you need root just for change props, you can remove it, because adb is already give you root access also /odm/etc/build.prop in FAT partition and you can edit it without root.


About power key on your remote, is it IR key ? Because USB key can't wake up Odroid, but IR can.
Thanks for GOOD Support!

where can i found "dvb-demod-m88ds3103.fw" working for this ATV ?
i have DVBSky960 but i have issue :"linuxdvb: Montage Technology M88DS3103 #0 : DVB-S #0 - DTV_CLEAR failed [e=Bad address]" in tvheadend
here # dmesg | grep dvb

Code: Select all

[    3.145528] usb 1-1.2: dvb_usb_v2: found a 'DVBSky S960/S860' in warm state
[    3.145847] usb 1-1.2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[    3.147113] usb 1-1.2: dvb_usb_v2: MAC address: 00:18:42:54:96:0c
[    3.265507] IR keymap rc-dvbsky not found
[    3.278079] usb 1-1.2: dvb_usb_v2: schedule remote query interval to 300 msecs
[    3.278088] usb 1-1.2: dvb_usb_v2: 'DVBSky S960/S860' successfully initialized and connected
[    3.278153] usbcore: registered new interface driver dvb_usb_dvbsky
[   53.596241] type=1400 audit(1682366700.504:42): avc: denied { read write } for comm="tvheadend" name="frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   53.596344] type=1400 audit(1682366700.504:43): avc: denied { open } for comm="tvheadend" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   53.596416] type=1400 audit(1682366700.504:44): avc: denied { ioctl } for comm="tvheadend" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 ioctlcmd=0x6f53 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   53.610131] m88ds3103 5-0068: Direct firmware load for dvb-demod-m88ds3103.fw failed with error -2
[   53.610148] m88ds3103 5-0068: firmware file 'dvb-demod-m88ds3103.fw' not found
[   63.494565] type=1400 audit(1682366710.404:412): avc: denied { read write } for comm="tvh:mtimer" name="frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   63.494686] type=1400 audit(1682366710.404:413): avc: denied { open } for comm="tvh:mtimer" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   63.496648] type=1400 audit(1682366710.404:414): avc: denied { ioctl } for comm="tvh:mtimer" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=1485 ioctlcmd=0x6f52 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
[   63.504367] m88ds3103 5-0068: Direct firmware load for dvb-demod-m88ds3103.fw failed with error -2
[   63.504372] m88ds3103 5-0068: firmware file 'dvb-demod-m88ds3103.fw' not found
[   69.884035] type=1400 audit(1682366716.792:434): avc: denied { read write } for comm="tvh:tcp-start" name="frontend0" dev="tmpfs" ino=1485 scontext=u:r:init:s0 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1
This firmware already in image but firmware find path is wrong.
So just copy /vendor/etc/firmware/dvb-demod-m88ds3103.fw to /odm/etc/firmware/


BTW can you confirm is the LG CEC is fixed with test version ?
after copy = fixed issue : firmware file 'dvb-demod-m88ds3103.fw' not found
but still error in tvheadend and this:

Code: Select all

SVP-DTV15:/ # dmesg | egrep dvb
[  435.221099] usb 1-1.4: dvb_usb_v2: found a 'DVBSky S960/S860' in warm state
[  435.221746] usb 1-1.4: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[  435.223043] usb 1-1.4: dvb_usb_v2: MAC address: 00:18:42:54:96:0c
[  435.321081] IR keymap rc-dvbsky not found
[  435.322552] usb 1-1.4: dvb_usb_v2: schedule remote query interval to 300 msecs
[  435.322560] usb 1-1.4: dvb_usb_v2: 'DVBSky S960/S860' successfully initialized and connected
[  435.322991] usbcore: registered new interface driver dvb_usb_dvbsky
[ 1386.990473] type=1400 audit(1682433322.888:419): avc: denied { read } for comm="libtvheadend.so" name="dvb" dev="tmpfs" ino=48321 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:dvb_device:s0 tclass=dir permissive=1 app=com.tvheadend.server
[ 1386.990726] type=1400 audit(1682433322.888:420): avc: denied { open } for comm="libtvheadend.so" path="/dev/dvb" dev="tmpfs" ino=48321 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:dvb_device:s0 tclass=dir permissive=1 app=com.tvheadend.server
[ 1386.990839] type=1400 audit(1682433322.888:421): avc: denied { read write } for comm="libtvheadend.so" name="frontend0" dev="tmpfs" ino=47247 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1 app=com.tvheadend.server
[ 1386.990931] type=1400 audit(1682433322.888:422): avc: denied { open } for comm="libtvheadend.so" path="/dev/dvb/adapter0/frontend0" dev="tmpfs" ino=47247 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:dvb_device:s0 tclass=chr_file permissive=1 app=com.tvheadend.server
[ 1386.997306] m88ds3103 5-0068: loading /vendor/lib/firmware//dvb-demod-m88ds3103.fw failed with error -20
[ 1386.998130] m88ds3103 5-0068: downloading firmware from file 'dvb-demod-m88ds3103.fw'
for CEC i note power on via remote lg work only
but poweroff & other common not work
i Found custom settings in env.ini after update for lg
but need setup code , how i do that?

Code: Select all

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; IR wake up key
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Enable IR wake up key
; LG TV Remote Power Key example
;
; irdecodetype="NEC_LEGACY"
; remotewakeup="f708fb04"
irdecodetype=""
remotewakeup=""

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

@ast260ast

So as can I understand you want shutdown Odroid when switch off your TV ?
By default Android implementation does not shutdown board by CEC message, instead Android put device to sleep.
But Odroid does not have deep sleep support, it just turn off/on display on sleep/wake up.
In new test version I implemented "Force shutdown with CEC" option (Odroid Settings > Misc).
If you enable this option your Odroid will shutdown when you turn off the TV, then it can wake up when you turn on your TV.
BTW I still don't understand your CEC workability. Is your TV remote DPAD working when CEC is connected, is your tv show some info about HDMI Simplink ?

In new test version I also fixed firmware paths, so you can delete them from /odm/etc/firmware folder.

Now about Tvheadend, i don't know which build you are using, and I think your Tvheadend is missing permissions to access firmware's.
But my build already include tvheadend and it can be started under root and have rights to access device nodes and firmware's.
To start included tvheadend server at boot just create /odm/etc/init/tvhh.rc file like this.

Code: Select all

service mytvheadend /vendor/bin/tvheadend --noacl
    user root
    group system
    oneshot
    disabled

on property:sys.boot_completed=1
    start mytvheadend
Here is new test version
https://drive.google.com/open?id=14ZAXS ... p=drive_fs
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

ast260ast
Posts: 33
Joined: Tue Jan 25, 2022 10:01 pm
languages_spoken: english
ODROIDs: n2+ plus
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by ast260ast »

voodik wrote:
Wed Apr 26, 2023 3:02 pm
@ast260ast

So as can I understand you want shutdown Odroid when switch off your TV ?
By default Android implementation does not shutdown board by CEC message, instead Android put device to sleep.
But Odroid does not have deep sleep support, it just turn off/on display on sleep/wake up.
In new test version I implemented "Force shutdown with CEC" option (Odroid Settings > Misc).
If you enable this option your Odroid will shutdown when you turn off the TV, then it can wake up when you turn on your TV.
BTW I still don't understand your CEC workability. Is your TV remote DPAD working when CEC is connected, is your tv show some info about HDMI Simplink ?

In new test version I also fixed firmware paths, so you can delete them from /odm/etc/firmware folder.

Now about Tvheadend, i don't know which build you are using, and I think your Tvheadend is missing permissions to access firmware's.
But my build already include tvheadend and it can be started under root and have rights to access device nodes and firmware's.
To start included tvheadend server at boot just create /odm/etc/init/tvhh.rc file like this.

Code: Select all

service mytvheadend /vendor/bin/tvheadend --noacl
    user root
    group system
    oneshot
    disabled

on property:sys.boot_completed=1
    start mytvheadend
Here is new test version
https://drive.google.com/open?id=14ZAXS ... p=drive_fs
after update

Code: Select all

SVP-DTV15:/ # dmesg | egrep tvheadend
[   35.417407] init: File /vendor/bin/tvheadend (labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials
[   35.445191] type=1400 audit(1682520401.224:27): avc: denied { execute_no_trans } for comm="init" path="/vendor/bin/tvheadend" dev="mmcblk1p17" ino=241 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   36.950991] type=1400 audit(1682520402.732:31): avc: denied { lock } for comm="tvheadend" path="/data/.hts/tvheadend/.lock" dev="mmcblk1p21" ino=1146883 scontext=u:r:init:s0 tcontext=u:object_r:system_data_root_file:s0 tclass=file permissive=1
[   36.969587] type=1400 audit(1682520402.752:32): avc: denied { create } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[   36.969696] type=1400 audit(1682520402.752:33): avc: denied { setopt } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[   36.969754] type=1400 audit(1682520402.752:34): avc: denied { bind } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[   36.969805] type=1400 audit(1682520402.752:35): avc: denied { name_bind } for comm="tvheadend" src=9981 scontext=u:r:init:s0 tcontext=u:object_r:port:s0 tclass=tcp_socket permissive=1
SVP-DTV15:/ #

Code: Select all

2023-04-26 17:48:26.497 mpegts: 12635V in 13 - tuning on Montage Technology M88DS3103 #0 : DVB-S #0
2023-04-26 17:48:26.497 linuxdvb: Montage Technology M88DS3103 #0 : DVB-S #0 - DTV_CLEAR failed [e=Bad address]

Code: Select all

SVP-DTV15:/ # dmesg | egrep dvb
[    3.153330] usb 1-1.4: dvb_usb_v2: found a 'DVBSky S960/S860' in warm state
[    3.153589] usb 1-1.4: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[    3.154861] usb 1-1.4: dvb_usb_v2: MAC address: 00:18:42:54:96:0c
[    3.244923] Registered IR keymap rc-dvbsky
[    3.245138] usb 1-1.4: dvb_usb_v2: schedule remote query interval to 300 msecs
[    3.245143] usb 1-1.4: dvb_usb_v2: 'DVBSky S960/S860' successfully initialized and connected
[    3.245179] usbcore: registered new interface driver dvb_usb_dvbsky
shutdown tv via poweroff not work
for my lg remote
Image

Is your TV remote DPAD working when CEC is connected? = DPAD Not work
is your tv show some info about HDMI Simplink ? = No info

geekbug
Posts: 10
Joined: Thu Aug 25, 2022 2:13 pm
languages_spoken: Korean
ODROIDs: Odroid-M1
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by geekbug »

Hi,

I like to rebuild and update the kernel and dtbs.
Could you guide how to do it if it's possible?

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

@ast260ast
SVP-DTV15:/ # dmesg | egrep tvheadend
[ 35.417407] init: File /vendor/bin/tvheadend (labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/sel ... ss_denials
[ 35.445191] type=1400 audit(1682520401.224:27): avc: denied { execute_no_trans } for comm="init" path="/vendor/bin/tvheadend" dev="mmcblk1p17" ino=241 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[ 36.950991] type=1400 audit(1682520402.732:31): avc: denied { lock } for comm="tvheadend" path="/data/.hts/tvheadend/.lock" dev="mmcblk1p21" ino=1146883 scontext=u:r:init:s0 tcontext=u:object_r:system_data_root_file:s0 tclass=file permissive=1
[ 36.969587] type=1400 audit(1682520402.752:32): avc: denied { create } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[ 36.969696] type=1400 audit(1682520402.752:33): avc: denied { setopt } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[ 36.969754] type=1400 audit(1682520402.752:34): avc: denied { bind } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[ 36.969805] type=1400 audit(1682520402.752:35): avc: denied { name_bind } for comm="tvheadend" src=9981 scontext=u:r:init:s0 tcontext=u:object_r:port:s0 tclass=tcp_socket permissive=1
Ignore this errors, it just SELinux warnings.
2023-04-26 17:48:26.497 mpegts: 12635V in 13 - tuning on Montage Technology M88DS3103 #0 : DVB-S #0
2023-04-26 17:48:26.497 linuxdvb: Montage Technology M88DS3103 #0 : DVB-S #0 - DTV_CLEAR failed [e=Bad address]
Found issue between kernel and 64-bit tvheadend build.
Fixed in this test version
https://drive.google.com/file/d/14ZAXSe ... share_link
Try and let me know is this helps ?

Can't debug LG CEC issues, because of missing any LG TV with CEC.

You can shutdown odroid via Settings>System>Shutdown.
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: 2446
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 89 times
Been thanked: 640 times
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

geekbug wrote:
Mon May 08, 2023 8:46 pm
Hi,

I like to rebuild and update the kernel and dtbs.
Could you guide how to do it if it's possible?
What you want to update in kernel ?
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

ast260ast
Posts: 33
Joined: Tue Jan 25, 2022 10:01 pm
languages_spoken: english
ODROIDs: n2+ plus
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by ast260ast »

voodik wrote:
Mon May 08, 2023 11:02 pm
@ast260ast
SVP-DTV15:/ # dmesg | egrep tvheadend
[ 35.417407] init: File /vendor/bin/tvheadend (labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/sel ... ss_denials
[ 35.445191] type=1400 audit(1682520401.224:27): avc: denied { execute_no_trans } for comm="init" path="/vendor/bin/tvheadend" dev="mmcblk1p17" ino=241 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[ 36.950991] type=1400 audit(1682520402.732:31): avc: denied { lock } for comm="tvheadend" path="/data/.hts/tvheadend/.lock" dev="mmcblk1p21" ino=1146883 scontext=u:r:init:s0 tcontext=u:object_r:system_data_root_file:s0 tclass=file permissive=1
[ 36.969587] type=1400 audit(1682520402.752:32): avc: denied { create } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[ 36.969696] type=1400 audit(1682520402.752:33): avc: denied { setopt } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[ 36.969754] type=1400 audit(1682520402.752:34): avc: denied { bind } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[ 36.969805] type=1400 audit(1682520402.752:35): avc: denied { name_bind } for comm="tvheadend" src=9981 scontext=u:r:init:s0 tcontext=u:object_r:port:s0 tclass=tcp_socket permissive=1
Ignore this errors, it just SELinux warnings.
2023-04-26 17:48:26.497 mpegts: 12635V in 13 - tuning on Montage Technology M88DS3103 #0 : DVB-S #0
2023-04-26 17:48:26.497 linuxdvb: Montage Technology M88DS3103 #0 : DVB-S #0 - DTV_CLEAR failed [e=Bad address]
Found issue between kernel and 64-bit tvheadend build.
Fixed in this test version
https://drive.google.com/file/d/14ZAXSe ... share_link
Try and let me know is this helps ?

Can't debug LG CEC issues, because of missing any LG TV with CEC.

You can shutdown odroid via Settings>System>Shutdown.
your update fix issue tvheadend & sky960 !
Now i can scan channel via USB DVB Sky960
Big Thanks :) :)

Code: Select all

SVP-DTV15:/ # dmesg | egrep tvheadend
[   53.344001] init: File /vendor/bin/tvheadend (labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials
[   53.369646] type=1400 audit(1683576655.296:28): avc: denied { execute_no_trans } for comm="init" path="/vendor/bin/tvheadend" dev="mmcblk1p17" ino=241 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   54.509874] type=1400 audit(1683576656.440:32): avc: denied { lock } for comm="tvheadend" path="/data/.hts/tvheadend/.lock" dev="mmcblk1p21" ino=1146883 scontext=u:r:init:s0 tcontext=u:object_r:system_data_root_file:s0 tclass=file permissive=1
[   54.564482] type=1400 audit(1683576656.492:33): avc: denied { create } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[   54.564583] type=1400 audit(1683576656.492:34): avc: denied { setopt } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[   54.564639] type=1400 audit(1683576656.492:35): avc: denied { bind } for comm="tvheadend" scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=tcp_socket permissive=1
[   54.564688] type=1400 audit(1683576656.492:36): avc: denied { name_bind } for comm="tvheadend" src=9981 scontext=u:r:init:s0 tcontext=u:object_r:port:s0 tclass=tcp_socket permissive=1
[   56.299336] type=1400 audit(1683576658.224:76): avc: denied { getattr } for comm="tar" path="/data/.hts/tvheadend/bouquet/f9713480dce96a478967c479feb8e752" dev="mmcblk1p21" ino=1146905 scontext=u:r:toolbox:s0 tcontext=u:object_r:system_data_root_file:s0 tclass=file permissive=1
[   56.300443] type=1400 audit(1683576658.224:78): avc: denied { open } for comm="tar" path="/data/.hts/tvheadend/bouquet/f9713480dce96a478967c479feb8e752" dev="mmcblk1p21" ino=1146905 scontext=u:r:toolbox:s0 tcontext=u:object_r:system_data_root_file:s0 tclass=file permissive=1
[   56.333288] type=1400 audit(1683576658.260:80): avc: denied { open } for comm="tar" path="/data/.hts/tvheadend/epggrab" dev="mmcblk1p21" ino=1146920 scontext=u:r:toolbox:s0 tcontext=u:object_r:system_data_root_file:s0 tclass=dir permissive=1
SVP-DTV15:/ #
Now i want help for Satip from dvbviewer media server
i have error in tvheadend in your build here

Code: Select all

[code]satip: SAT>IP DVB-S Tuner #9 (192.168.100.X@UDP) - RTSP SETUP error -5 (I/O error) [6-404]
[/code]

but same setting working in tvheadend via coreelec

what can i do?

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

@ast260ast

I don't have a dvbviewer media server, but i setup Tvheadend SAT>IP server on my Ubuntu PC, and Tvheadend SAT>IP client on my odroid.
When server configured not correct i get this error. Same error happens when client not on odroid e.g. on other ubuntu pc.

Code: Select all

2023-05-09 19:38:43.185 [  ERROR] satip: SAT>IP DVB-T Tuner #1 (192.168.88.51@TCP) - RTSP SETUP error -5 (I/O error) [6-405]
And after spending long time and fix SAT>IP server configuration i was able get muxes on my tvheadend SAT>IP client.
So it working on my tvheadend build.

Check your dvbviewer media server configs, and try other variants.
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

geekbug
Posts: 10
Joined: Thu Aug 25, 2022 2:13 pm
languages_spoken: Korean
ODROIDs: Odroid-M1
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by geekbug »

voodik wrote:
Mon May 08, 2023 11:03 pm
geekbug wrote:
Mon May 08, 2023 8:46 pm
Hi,

I like to rebuild and update the kernel and dtbs.
Could you guide how to do it if it's possible?
What you want to update in kernel ?
I want to connect the Radio tuner which uses TDM-A and TDM-B ports, I2C, and gpio pin.
I need to update dts for these connections.

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

geekbug wrote:
Thu May 11, 2023 11:57 am
voodik wrote:
Mon May 08, 2023 11:03 pm
geekbug wrote:
Mon May 08, 2023 8:46 pm
Hi,

I like to rebuild and update the kernel and dtbs.
Could you guide how to do it if it's possible?
What you want to update in kernel ?
I want to connect the Radio tuner which uses TDM-A and TDM-B ports, I2C, and gpio pin.
I need to update dts for these connections.
Here is Kernel source
https://github.com/voodik/android_kerne ... _odroidg12

Here is how-to setup toolchain
https://wiki.odroid.com/odroid-n2/softw ... #toolchain

Code: Select all

make odroidn2_android_defconfig
make
If it just dtb/dts related it would better create dtb overlay.
e.g.
https://github.com/voodik/android_kerne ... y_vu7c.dts

Then you can keep overlay in FAT partition and it will not overwrites across updates.
These users thanked the author voodik for the post:
geekbug (Fri May 12, 2023 12:37 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

geekbug
Posts: 10
Joined: Thu Aug 25, 2022 2:13 pm
languages_spoken: Korean
ODROIDs: Odroid-M1
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by geekbug »

voodik wrote:
Thu May 11, 2023 5:32 pm
geekbug wrote:
Thu May 11, 2023 11:57 am
voodik wrote:
Mon May 08, 2023 11:03 pm
geekbug wrote:
Mon May 08, 2023 8:46 pm
Hi,

I like to rebuild and update the kernel and dtbs.
Could you guide how to do it if it's possible?
What you want to update in kernel ?
I want to connect the Radio tuner which uses TDM-A and TDM-B ports, I2C, and gpio pin.
I need to update dts for these connections.
Here is Kernel source
https://github.com/voodik/android_kerne ... _odroidg12

Here is how-to setup toolchain
https://wiki.odroid.com/odroid-n2/softw ... #toolchain

Code: Select all

make odroidn2_android_defconfig
make
If it just dtb/dts related it would better create dtb overlay.
e.g.
https://github.com/voodik/android_kerne ... y_vu7c.dts

Then you can keep overlay in FAT partition and it will not overwrites across updates.
Thanks for reply voodik.

I created and built the dtb overlay, then copy dtbo to /FAT/amlogic/overlays/odroidn2.
Also add the created dtbo's file name to /FAT/env.ini, 'overlays' part.
But the new dtb overlay is not applied after reboot.
I don't know why it doesn't work. any idea?

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

geekbug wrote:
Fri May 12, 2023 12:53 am
voodik wrote:
Thu May 11, 2023 5:32 pm
geekbug wrote:
Thu May 11, 2023 11:57 am
voodik wrote:
Mon May 08, 2023 11:03 pm
geekbug wrote:
Mon May 08, 2023 8:46 pm
Hi,

I like to rebuild and update the kernel and dtbs.
Could you guide how to do it if it's possible?
What you want to update in kernel ?
I want to connect the Radio tuner which uses TDM-A and TDM-B ports, I2C, and gpio pin.
I need to update dts for these connections.
Here is Kernel source
https://github.com/voodik/android_kerne ... _odroidg12

Here is how-to setup toolchain
https://wiki.odroid.com/odroid-n2/softw ... #toolchain

Code: Select all

make odroidn2_android_defconfig
make
If it just dtb/dts related it would better create dtb overlay.
e.g.
https://github.com/voodik/android_kerne ... y_vu7c.dts

Then you can keep overlay in FAT partition and it will not overwrites across updates.
Thanks for reply voodik.

I created and built the dtb overlay, then copy dtbo to /FAT/amlogic/overlays/odroidn2.
Also add the created dtbo's file name to /FAT/env.ini, 'overlays' part.
But the new dtb overlay is not applied after reboot.
I don't know why it doesn't work. any idea?
Move it to root of FAT partition. and apply it in 'user_overlays' of /FAT/env.ini
These users thanked the author voodik for the post:
geekbug (Fri May 12, 2023 11:44 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

geekbug
Posts: 10
Joined: Thu Aug 25, 2022 2:13 pm
languages_spoken: Korean
ODROIDs: Odroid-M1
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by geekbug »

voodik wrote:
Fri May 12, 2023 5:24 am
geekbug wrote:
Fri May 12, 2023 12:53 am
voodik wrote:
Thu May 11, 2023 5:32 pm
geekbug wrote:
Thu May 11, 2023 11:57 am
voodik wrote:
Mon May 08, 2023 11:03 pm
geekbug wrote:
Mon May 08, 2023 8:46 pm
Hi,

I like to rebuild and update the kernel and dtbs.
Could you guide how to do it if it's possible?
What you want to update in kernel ?
I want to connect the Radio tuner which uses TDM-A and TDM-B ports, I2C, and gpio pin.
I need to update dts for these connections.
Here is Kernel source
https://github.com/voodik/android_kerne ... _odroidg12

Here is how-to setup toolchain
https://wiki.odroid.com/odroid-n2/softw ... #toolchain

Code: Select all

make odroidn2_android_defconfig
make
If it just dtb/dts related it would better create dtb overlay.
e.g.
https://github.com/voodik/android_kerne ... y_vu7c.dts

Then you can keep overlay in FAT partition and it will not overwrites across updates.
Thanks for reply voodik.

I created and built the dtb overlay, then copy dtbo to /FAT/amlogic/overlays/odroidn2.
Also add the created dtbo's file name to /FAT/env.ini, 'overlays' part.
But the new dtb overlay is not applied after reboot.
I don't know why it doesn't work. any idea?
Move it to root of FAT partition. and apply it in 'user_overlays' of /FAT/env.ini
It worked! Thanks!

but.. deleting a node in overlayed dts doesn't work..
is it syntax error? or not possible to delete a node in overlayed dts?
I tried several different ways, but none of those worked.

Code: Select all

	
	fragment@0 {
		target= <&odroid_hdmi>;
		__overlay__ {
			/delete-node/ aml-audio-card,dai-link@3;
		};
	};
	or
	fragment@0 {
		target-path = "/";
		__overlay__ {
			odroid_hdmi: odroid_hdmi {
				/delete-node/ aml-audio-card,dai-link@3;
			};
		};
	};

is there any way to update the dtbs image?

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

geekbug wrote:
Fri May 12, 2023 1:16 pm
voodik wrote:
Fri May 12, 2023 5:24 am
geekbug wrote:
Fri May 12, 2023 12:53 am
voodik wrote:
Thu May 11, 2023 5:32 pm
geekbug wrote:
Thu May 11, 2023 11:57 am
voodik wrote:
Mon May 08, 2023 11:03 pm
geekbug wrote:
Mon May 08, 2023 8:46 pm
Hi,

I like to rebuild and update the kernel and dtbs.
Could you guide how to do it if it's possible?
What you want to update in kernel ?
I want to connect the Radio tuner which uses TDM-A and TDM-B ports, I2C, and gpio pin.
I need to update dts for these connections.
Here is Kernel source
https://github.com/voodik/android_kerne ... _odroidg12

Here is how-to setup toolchain
https://wiki.odroid.com/odroid-n2/softw ... #toolchain

Code: Select all

make odroidn2_android_defconfig
make
If it just dtb/dts related it would better create dtb overlay.
e.g.
https://github.com/voodik/android_kerne ... y_vu7c.dts

Then you can keep overlay in FAT partition and it will not overwrites across updates.
Thanks for reply voodik.

I created and built the dtb overlay, then copy dtbo to /FAT/amlogic/overlays/odroidn2.
Also add the created dtbo's file name to /FAT/env.ini, 'overlays' part.
But the new dtb overlay is not applied after reboot.
I don't know why it doesn't work. any idea?
Move it to root of FAT partition. and apply it in 'user_overlays' of /FAT/env.ini
It worked! Thanks!

but.. deleting a node in overlayed dts doesn't work..
is it syntax error? or not possible to delete a node in overlayed dts?
I tried several different ways, but none of those worked.

Code: Select all

	
	fragment@0 {
		target= <&odroid_hdmi>;
		__overlay__ {
			/delete-node/ aml-audio-card,dai-link@3;
		};
	};
	or
	fragment@0 {
		target-path = "/";
		__overlay__ {
			odroid_hdmi: odroid_hdmi {
				/delete-node/ aml-audio-card,dai-link@3;
			};
		};
	};

is there any way to update the dtbs image?
Don't know, i will check possibility.
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: 2446
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 89 times
Been thanked: 640 times
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

Got a some results :ugeek:

Last week I trying make possible ffmpeg hardware encoding/decoding.
Finally got results via Android mediacodec API.
ffmpeg use N2 Hardware OMX decoder/encoder via JNI.
Not bad start, sure, the project is on early stage, but I hope I can make it usable.
E.g. for tvheadend transcoding etc.



P.S. This video is not encoded via Odroid, the quality is the most that Bill Gates has to offer us via W11 Snipping tool :D
These users thanked the author voodik for the post (total 2):
odroid (Mon May 15, 2023 9:21 am) • zyssai (Mon May 15, 2023 3:13 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

Sholander
Posts: 242
Joined: Wed Jun 05, 2019 1:02 am
languages_spoken: english
ODROIDs: ODROID N2
Has thanked: 10 times
Been thanked: 30 times
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by Sholander »

@voodik, will you make a new ATV version/update with all improvements since last 20230112-version?

Edit: not only improvements, but also fixing some bugs in settings?
Bugs:
in LOS Settings - Apps settings, selecting an app and then "Permissions" force closes whole setting app.
in both settings apps (Odroid & LOS) there is an option to "enable-dissable" screen refresh rate, which one is proper and takes precedence?
changing video settings sliders for brightness, contrast, color and hue, the sliders have no effect.

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

Update :!:

Code: Select all

20230518 Alpha-v0.6
* Android: add possibility resize userdata partition
* Android: introduce ro.vendor.forced.model prop to overwrite ro.product.model
* Android: fiix more SELinux denials (kmod, backlight, tvheadend) 
* Android: add add irwake, irtype to env.ini
* Android: port ir-keytable to configure ir decoders, rc maps
* Kernel: add CONFIG_RC_MAP CONFIG_RC_DECODERS
* Kernel: add CONFIG_CIFS_SMB2 CONFIG_CIFS_SMB311 to support Windows 10+ shares.
* Kernel: update dvbsky, si2157, si2168 kernel drivers
* Kernel: fix 64-bit dvb ioctl
* Kernel: fix disable_vu7 via env.ini
* Kernel: clean unused Amlogic internal dvb support
* ffmpeg port update to n5.1.2
* ffmpeg add hardware decode/encode support via Android mediacodec(alpha stage)
* tvheadend port updated to 4.3-2129
* tvheadend add mediacodec h264/hevc hw transcoding support
* tvheadend move config path from /data/.hts to /vendor/data/.hts
* tvheadend fix crash when disabling SAT>IP server
* Merge latest BSP changes
* Lineage merge with upstream(Security patch 2023-05-05)
* Android TV: image updated
Tvheadend users
Before update, stop tvheadend service, move config data from /data to /data/vendor, then update

Code: Select all

adb shell
mv /data/.hts /data/vendor/
Last edited by voodik on Tue May 23, 2023 1:01 am, edited 3 times in total.
These users thanked the author voodik for the post (total 8):
rotational467 (Fri May 19, 2023 2:07 am) • zyssai (Fri May 19, 2023 2:37 am) • Sholander (Fri May 19, 2023 2:59 am) • profixit (Fri May 19, 2023 10:22 am) • Yogi4 (Sat May 20, 2023 4:25 am) • Currahee (Sun May 21, 2023 1:26 am) • odroid (Mon May 22, 2023 10:33 am) • istanbulls (Mon May 22, 2023 10:11 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

ast260ast
Posts: 33
Joined: Tue Jan 25, 2022 10:01 pm
languages_spoken: english
ODROIDs: n2+ plus
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by ast260ast »

Thanks voodik

- why you change path tvheadend to /vendor/data/? i need edit & update pre mux file or try backup_and_restore

- i note double ip in log my server satip
I do not know what the problem is for (RTSP SETUP error -5 ) , with the same settings and options, I find that the tvh works fine on the Linux & Coreelec
But on Android platform there are problems, I noticed when scan channel that there is a duplication of the IP from a client tvheadend when it connects to the server, while this problem does not exist in other platforms

tvh in coreelec:

Code: Select all

Clients	Kind
(192.168.100.47)	Sat>IP (RTSP)
tvh in Android 12.1

Code: Select all

Clients	Kind
(192.168.100.120)	Sat>IP (RTSP)
(192.168.100.120)	Sat>IP (RTSP)
(192.168.100.120)	Sat>IP (RTSP)

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

ast260ast wrote:
Mon May 22, 2023 1:20 pm
Thanks voodik

- why you change path tvheadend to /vendor/data/? i need edit & update pre mux file or try backup_and_restore

- i note double ip in log my server satip
I do not know what the problem is for (RTSP SETUP error -5 ) , with the same settings and options, I find that the tvh works fine on the Linux & Coreelec
But on Android platform there are problems, I noticed when scan channel that there is a duplication of the IP from a client tvheadend when it connects to the server, while this problem does not exist in other platforms

tvh in coreelec:

Code: Select all

Clients	Kind
(192.168.100.47)	Sat>IP (RTSP)
tvh in Android 12.1

Code: Select all

Clients	Kind
(192.168.100.120)	Sat>IP (RTSP)
(192.168.100.120)	Sat>IP (RTSP)
(192.168.100.120)	Sat>IP (RTSP)
Path moved because of Android Selinux restriction, /vendor app can't access the root of /data folder.

What version of tvheadend corelec running ?
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

ast260ast
Posts: 33
Joined: Tue Jan 25, 2022 10:01 pm
languages_spoken: english
ODROIDs: n2+ plus
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by ast260ast »

voodik wrote:
Mon May 22, 2023 4:07 pm
ast260ast wrote:
Mon May 22, 2023 1:20 pm
Thanks voodik

- why you change path tvheadend to /vendor/data/? i need edit & update pre mux file or try backup_and_restore

- i note double ip in log my server satip
I do not know what the problem is for (RTSP SETUP error -5 ) , with the same settings and options, I find that the tvh works fine on the Linux & Coreelec
But on Android platform there are problems, I noticed when scan channel that there is a duplication of the IP from a client tvheadend when it connects to the server, while this problem does not exist in other platforms

tvh in coreelec:

Code: Select all

Clients	Kind
(192.168.100.47)	Sat>IP (RTSP)
tvh in Android 12.1

Code: Select all

Clients	Kind
(192.168.100.120)	Sat>IP (RTSP)
(192.168.100.120)	Sat>IP (RTSP)
(192.168.100.120)	Sat>IP (RTSP)
Path moved because of Android Selinux restriction, /vendor app can't access the root of /data folder.

What version of tvheadend corelec running ?
But now real path is: (/data/vendor/.hts) not (/vendor/data/.hts) i lost!

tvheadend v4.3
HTS Tvheadend c66e3bc ~ CoreELEC Tvh-addon v9.2.104

Image
k3 = this box via coreelec tvh4.3 working fine in satip
but (192.168.100.120 = n2) connect server but have RTSP SETUP error & duplication of the IP connect

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

ast260ast wrote:
Mon May 22, 2023 11:51 pm
voodik wrote:
Mon May 22, 2023 4:07 pm
ast260ast wrote:
Mon May 22, 2023 1:20 pm
Thanks voodik

- why you change path tvheadend to /vendor/data/? i need edit & update pre mux file or try backup_and_restore

- i note double ip in log my server satip
I do not know what the problem is for (RTSP SETUP error -5 ) , with the same settings and options, I find that the tvh works fine on the Linux & Coreelec
But on Android platform there are problems, I noticed when scan channel that there is a duplication of the IP from a client tvheadend when it connects to the server, while this problem does not exist in other platforms

tvh in coreelec:

Code: Select all

Clients	Kind
(192.168.100.47)	Sat>IP (RTSP)
tvh in Android 12.1

Code: Select all

Clients	Kind
(192.168.100.120)	Sat>IP (RTSP)
(192.168.100.120)	Sat>IP (RTSP)
(192.168.100.120)	Sat>IP (RTSP)
Path moved because of Android Selinux restriction, /vendor app can't access the root of /data folder.

What version of tvheadend corelec running ?
But now real path is: (/data/vendor/.hts) not (/vendor/data/.hts) i lost!

tvheadend v4.3
HTS Tvheadend c66e3bc ~ CoreELEC Tvh-addon v9.2.104

Image
k3 = this box via coreelec tvh4.3 working fine in satip
but (192.168.100.120 = n2) connect server but have RTSP SETUP error & duplication of the IP connect
Ooops it's my mistake(typo), sorry for it, I was sleepy.

I will try to more deep debug SAT>IP
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: 2446
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 89 times
Been thanked: 640 times
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

@ast260ast
Anyway, it would be better to have "DVBViewer Media Server" key.
I don't know is it possible share key with me?
Or if you own some project maybe you can buy it for me, for development.
In any case I don't need it for my own use, so after development you can use it...
It will give me opportunity to debug much faster and try to find solution.
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: 858
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 523 times
Been thanked: 159 times
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by istanbulls »

voodik wrote:
Tue May 23, 2023 5:38 am
@ast260ast
Anyway, it would be better to have "DVBViewer Media Server" key.
I don't know is it possible share key with me?
Or if you own some project maybe you can buy it for me, for development.
In any case I don't need it for my own use, so after development you can use it...
It will give me opportunity to debug much faster and try to find solution.
I bought dvbviewer about 20 years ago.
I don't know if what you want covers my membership, if it does, I can share my account.
It's been years since I lost interest in the satellite card.
Attachments
Screenshot_20230524-143432_Chrome Beta.png
Screenshot_20230524-143432_Chrome Beta.png (231.94 KiB) Viewed 217 times

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

istanbulls wrote:
Wed May 24, 2023 8:33 pm
voodik wrote:
Tue May 23, 2023 5:38 am
@ast260ast
Anyway, it would be better to have "DVBViewer Media Server" key.
I don't know is it possible share key with me?
Or if you own some project maybe you can buy it for me, for development.
In any case I don't need it for my own use, so after development you can use it...
It will give me opportunity to debug much faster and try to find solution.
I bought dvbviewer about 20 years ago.
I don't know if what you want covers my membership, if it does, I can share my account.
It's been years since I lost interest in the satellite card.
Thanks, ast260ast already bought for me.

@ast260ast

So lets try some things. I debug Android and Linux versions, and got same results.
The main thing which is cause RTSP SETUP error -5 in my case is the Grace period: in tuner option.
Screenshot 2023-05-26 002206.png
Screenshot 2023-05-26 002206.png (179.3 KiB) Viewed 171 times
This value is how much Tvheadend wait for your tuner response. Try different values from 5 to 60.

Next bug I found when tvheadend scanning muxes. I suggest to you disable Startup/Idle scan. And make scan one by one by setting mux Scan Status to PEND, then wait scan complete and set next mux scan to PEND.
Otherwise you may get wrong results and RTSP SETUP error 9 (Unknown error -9).
Screenshot 2023-05-26 003131.png
Screenshot 2023-05-26 003131.png (60.33 KiB) Viewed 171 times
Try, and let me know if this helps.
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: 2446
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 89 times
Been thanked: 640 times
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

Okay, scan issue fixed by disabling Fast input switch option
Screenshot-2023-05-26-024532.jpg
Screenshot-2023-05-26-024532.jpg (49.41 KiB) Viewed 163 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

ast260ast
Posts: 33
Joined: Tue Jan 25, 2022 10:01 pm
languages_spoken: english
ODROIDs: n2+ plus
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by ast260ast »

thanx voodik
already unused "Fast input switch"
edit value "Grace period" to (60) help me to start scan without error
but where path for "pre-defind mux" ? i want update it

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

ast260ast wrote:
Fri May 26, 2023 10:24 pm
thanx voodik
already unused "Fast input switch"
edit value "Grace period" to (60) help me to start scan without error
but where path for "pre-defind mux" ? i want update it
It strange, but all pre-defined muxes inbuilt to tvheadend binary.
You can see examples in /vendor/usr/local/share/tvheadend/data/dvb-scan/ folder.
Create mux set's which you need, send me, I compile tvheadend with this muxes for you.
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

ast260ast
Posts: 33
Joined: Tue Jan 25, 2022 10:01 pm
languages_spoken: english
ODROIDs: n2+ plus
Has thanked: 2 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by ast260ast »

voodik wrote:
Sat May 27, 2023 9:15 am
ast260ast wrote:
Fri May 26, 2023 10:24 pm
thanx voodik
already unused "Fast input switch"
edit value "Grace period" to (60) help me to start scan without error
but where path for "pre-defind mux" ? i want update it
It strange, but all pre-defined muxes inbuilt to tvheadend binary.
You can see examples in /vendor/usr/local/share/tvheadend/data/dvb-scan/ folder.
Create mux set's which you need, send me, I compile tvheadend with this muxes for you.
i try update mux in this path but not change

i get update from: https://git.linuxtv.org/dtv-scan-tables.git/tree/dvb-s
your file old from 2009!
Attachments
premux.rar
(3.19 KiB) Downloaded 3 times

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

Re: [ROM][LineageOS 19.1][Android 12.1][voodik] for the ODROID-N2

Post by voodik »

ast260ast wrote:
Sat May 27, 2023 12:14 pm
voodik wrote:
Sat May 27, 2023 9:15 am
ast260ast wrote:
Fri May 26, 2023 10:24 pm
thanx voodik
already unused "Fast input switch"
edit value "Grace period" to (60) help me to start scan without error
but where path for "pre-defind mux" ? i want update it
It strange, but all pre-defined muxes inbuilt to tvheadend binary.
You can see examples in /vendor/usr/local/share/tvheadend/data/dvb-scan/ folder.
Create mux set's which you need, send me, I compile tvheadend with this muxes for you.
i try update mux in this path but not change

i get update from: https://git.linuxtv.org/dtv-scan-tables.git/tree/dvb-s
your file old from 2009!
Download push and check new tvheadend binary
https://drive.google.com/open?id=1-1xNF ... p=drive_fs

Code: Select all

adb remount
adb push tvheadend /vendor/bin/
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: Google [Bot] and 1 guest