[ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

quochuy88
Posts: 10
Joined: Wed Oct 06, 2021 1:53 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by quochuy88 »

voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555

hiascin
Posts: 14
Joined: Sun May 30, 2021 7:53 pm
languages_spoken: english
ODROIDs: ODROID XU4
Has thanked: 4 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by hiascin »

voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
I have a USB WebCam and the USB endoscope with the same vid/pid 0x1908/ 0x2311 . On mobile phone work bat not on Odroid XU4. I need driver?

quochuy88
Posts: 10
Joined: Wed Oct 06, 2021 1:53 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by quochuy88 »

quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Dear @voodik,

I know you are very busy but if you have time please help me. I bought 1 usb bluetooth CSR 4.0 dongle and i also enabled bluetooth in Odroid Utility -> Misc but it seems everytime i turn on bluetooth to search for bluetooth device but it turns off and i cant find bluetooth headset mine to connect, I tested with a laptop using windows 10 (driver installed of course) and it worked fine (note: I disabled bluetooth on laptop to use usb bluetooth). In addition, I also have a microphone error on the USB sound card that has the function of outputting the audio jack and the microphone jack, the sound output from the usb sound card is very good but I do not receive the mic signal I tried the usb sound card for laptop and phone it worked fine for audio jack and mic. Note: I am using android 9 with Odroid XU4.

Thanks for your help!

anil
Posts: 138
Joined: Thu Jun 21, 2018 8:54 pm
languages_spoken: english
ODROIDs: ODROID-XU4
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by anil »

voodik wrote:
Tue Oct 05, 2021 8:02 am
anil wrote:
Mon Oct 04, 2021 7:21 pm
@voodik
thank you very much for your hard work to being ANDROID 9 to XU4;
Yesterday I have updated using self-install image.. booting is OK,,,

however, the ethernet network crashing when I'm trying to enable my VPN apps.. any reason.. (but wifi is keep working)

what could be the reason?

pls help
Oh, yes it's a known issue on Android 9.0. I will fix it in next version.
@Voodik
waiting for the next update.. i cannot use my xu4.. keep on crashing when my VPN is active.. at least 2-3 hrs it gets an automatic reboot

so i have reinitaite my vpn app

will that be possible to introduce Ethernet tethering to android 9?

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

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by voodik »

quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Can you check is your gamepad is listed in event device list ?

Code: Select all

adb shell
getevent -lp
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: 2113
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 56 times
Been thanked: 433 times
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by voodik »

hiascin wrote:
Sun Oct 10, 2021 5:21 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
I have a USB WebCam and the USB endoscope with the same vid/pid 0x1908/ 0x2311 . On mobile phone work bat not on Odroid XU4. I need driver?
How it work on mobile phone ? Do you use some app for it ?
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: 2113
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 56 times
Been thanked: 433 times
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by voodik »

quochuy88 wrote:
Mon Oct 11, 2021 8:04 pm
quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Dear @voodik,

I know you are very busy but if you have time please help me. I bought 1 usb bluetooth CSR 4.0 dongle and i also enabled bluetooth in Odroid Utility -> Misc but it seems everytime i turn on bluetooth to search for bluetooth device but it turns off and i cant find bluetooth headset mine to connect, I tested with a laptop using windows 10 (driver installed of course) and it worked fine (note: I disabled bluetooth on laptop to use usb bluetooth). In addition, I also have a microphone error on the USB sound card that has the function of outputting the audio jack and the microphone jack, the sound output from the usb sound card is very good but I do not receive the mic signal I tried the usb sound card for laptop and phone it worked fine for audio jack and mic. Note: I am using android 9 with Odroid XU4.

Thanks for your help!
In market lot of CSR 4.0 cheap clones which does not have a BLE functionality. Devices without BLE can't work on Android.
I will check USB audio input and let you know. BTW please show me output of this command when your sound card is connected.

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: 2113
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 56 times
Been thanked: 433 times
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by voodik »

anil wrote:
Mon Oct 11, 2021 8:29 pm
voodik wrote:
Tue Oct 05, 2021 8:02 am
anil wrote:
Mon Oct 04, 2021 7:21 pm
@voodik
thank you very much for your hard work to being ANDROID 9 to XU4;
Yesterday I have updated using self-install image.. booting is OK,,,

however, the ethernet network crashing when I'm trying to enable my VPN apps.. any reason.. (but wifi is keep working)

what could be the reason?

pls help
Oh, yes it's a known issue on Android 9.0. I will fix it in next version.
@Voodik
waiting for the next update.. i cannot use my xu4.. keep on crashing when my VPN is active.. at least 2-3 hrs it gets an automatic reboot

so i have reinitaite my vpn app

will that be possible to introduce Ethernet tethering to android 9?
So your VPN is working 2-3 hrs then system crash ? I don't think this an Ethernet issue.
Please explain little more what you mean Ethernet tethering ?
These users thanked the author voodik for the post:
anil (Tue Oct 12, 2021 4:41 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

SamuraiCrow
Posts: 15
Joined: Mon Oct 09, 2017 4:16 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by SamuraiCrow »

My guess is the Ethernet port supplies unencrypted internet access but to get encryption, he uses an app that encrypts the signals from a WiFi dongle to send over the Ethernet to provide encrypted VPN. I understand that much.

What I don't understand is why Android is necessary to do it instead of a more standard Linux hookup.

quochuy88
Posts: 10
Joined: Wed Oct 06, 2021 1:53 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by quochuy88 »

voodik wrote:
Tue Oct 12, 2021 6:04 am
quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Can you check is your gamepad is listed in event device list ?

Code: Select all

adb shell
getevent -lp
You can see in the attached picture, the odroid received the usb gamepad and also received my touch screen
Attachments
Gamepad.png
Gamepad.png (116.36 KiB) Viewed 1242 times

quochuy88
Posts: 10
Joined: Wed Oct 06, 2021 1:53 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by quochuy88 »

voodik wrote:
Tue Oct 12, 2021 6:09 am
quochuy88 wrote:
Mon Oct 11, 2021 8:04 pm
quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Dear @voodik,

I know you are very busy but if you have time please help me. I bought 1 usb bluetooth CSR 4.0 dongle and i also enabled bluetooth in Odroid Utility -> Misc but it seems everytime i turn on bluetooth to search for bluetooth device but it turns off and i cant find bluetooth headset mine to connect, I tested with a laptop using windows 10 (driver installed of course) and it worked fine (note: I disabled bluetooth on laptop to use usb bluetooth). In addition, I also have a microphone error on the USB sound card that has the function of outputting the audio jack and the microphone jack, the sound output from the usb sound card is very good but I do not receive the mic signal I tried the usb sound card for laptop and phone it worked fine for audio jack and mic. Note: I am using android 9 with Odroid XU4.

Thanks for your help!
In market lot of CSR 4.0 cheap clones which does not have a BLE functionality. Devices without BLE can't work on Android.
I will check USB audio input and let you know. BTW please show me output of this command when your sound card is connected.

Code: Select all

dumpsys media.audio_policy
Thank you for the info about usb bluetooth which requires BLE, but if i buy bluetooth usb with BLE support will my odroid XU4 accept bluetooth device?
About usb sound card please see attached picture. I have connected the usb sound card and executed the command dumpsys media.audio_policy or adb dumpsys media.audio_policy but both failed. Can you guide me more specifically how to do this command. Thanks!
Attachments
usb sound card.png
usb sound card.png (118.99 KiB) Viewed 1241 times

anil
Posts: 138
Joined: Thu Jun 21, 2018 8:54 pm
languages_spoken: english
ODROIDs: ODROID-XU4
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by anil »

voodik wrote:
Tue Oct 12, 2021 6:12 am


So your VPN is working 2-3 hrs then system crash ? I don't think this an Ethernet issue.
Please explain little more what you mean Ethernet tethering ?
@Voodik
ok i'll share logcat once i go home...

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

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by voodik »

quochuy88 wrote:
Tue Oct 12, 2021 2:01 pm
voodik wrote:
Tue Oct 12, 2021 6:04 am
quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Can you check is your gamepad is listed in event device list ?

Code: Select all

adb shell
getevent -lp
You can see in the attached picture, the odroid received the usb gamepad and also received my touch screen
I don't see any gamepad in screenshot.
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: 2113
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 56 times
Been thanked: 433 times
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by voodik »

quochuy88 wrote:
Tue Oct 12, 2021 2:19 pm
voodik wrote:
Tue Oct 12, 2021 6:09 am
quochuy88 wrote:
Mon Oct 11, 2021 8:04 pm
quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Dear @voodik,

I know you are very busy but if you have time please help me. I bought 1 usb bluetooth CSR 4.0 dongle and i also enabled bluetooth in Odroid Utility -> Misc but it seems everytime i turn on bluetooth to search for bluetooth device but it turns off and i cant find bluetooth headset mine to connect, I tested with a laptop using windows 10 (driver installed of course) and it worked fine (note: I disabled bluetooth on laptop to use usb bluetooth). In addition, I also have a microphone error on the USB sound card that has the function of outputting the audio jack and the microphone jack, the sound output from the usb sound card is very good but I do not receive the mic signal I tried the usb sound card for laptop and phone it worked fine for audio jack and mic. Note: I am using android 9 with Odroid XU4.

Thanks for your help!
In market lot of CSR 4.0 cheap clones which does not have a BLE functionality. Devices without BLE can't work on Android.
I will check USB audio input and let you know. BTW please show me output of this command when your sound card is connected.

Code: Select all

dumpsys media.audio_policy
Thank you for the info about usb bluetooth which requires BLE, but if i buy bluetooth usb with BLE support will my odroid XU4 accept bluetooth device?
About usb sound card please see attached picture. I have connected the usb sound card and executed the command dumpsys media.audio_policy or adb dumpsys media.audio_policy but both failed. Can you guide me more specifically how to do this command. Thanks!
https://wiki.odroid.com/odroid-xu4/trou ... ip?s[]=adb

Code: Select all

adb shell
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

quochuy88
Posts: 10
Joined: Wed Oct 06, 2021 1:53 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by quochuy88 »

voodik wrote:
Tue Oct 12, 2021 5:42 pm
quochuy88 wrote:
Tue Oct 12, 2021 2:01 pm
voodik wrote:
Tue Oct 12, 2021 6:04 am
quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Can you check is your gamepad is listed in event device list ?

Code: Select all

adb shell
getevent -lp
You can see in the attached picture, the odroid received the usb gamepad and also received my touch screen
I don't see any gamepad in screenshot.
Device 3 is usb gamepad

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

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by voodik »

quochuy88 wrote:
Tue Oct 12, 2021 6:27 pm
voodik wrote:
Tue Oct 12, 2021 5:42 pm
quochuy88 wrote:
Tue Oct 12, 2021 2:01 pm
voodik wrote:
Tue Oct 12, 2021 6:04 am
quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Can you check is your gamepad is listed in event device list ?

Code: Select all

adb shell
getevent -lp
You can see in the attached picture, the odroid received the usb gamepad and also received my touch screen
I don't see any gamepad in screenshot.
Device 3 is usb gamepad
Nope, device 3 is a Odroid internal touch screen. odroid-ts.
BTW Let's try manually add it.
first run this command on adb shell

Code: Select all

echo '2563 0555' > /sys/bus/usb/drivers/usbhid/new_id
then check is your controller appears via getevent -lp command
The name should be like this [ShanWan Twin USB Joystick]
if your gamepad appears on list then check is it working ? is the keymappings is correct ?
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

quochuy88
Posts: 10
Joined: Wed Oct 06, 2021 1:53 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by quochuy88 »

voodik wrote:
Tue Oct 12, 2021 5:44 pm
quochuy88 wrote:
Tue Oct 12, 2021 2:19 pm
voodik wrote:
Tue Oct 12, 2021 6:09 am
quochuy88 wrote:
Mon Oct 11, 2021 8:04 pm
quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Dear @voodik,

I know you are very busy but if you have time please help me. I bought 1 usb bluetooth CSR 4.0 dongle and i also enabled bluetooth in Odroid Utility -> Misc but it seems everytime i turn on bluetooth to search for bluetooth device but it turns off and i cant find bluetooth headset mine to connect, I tested with a laptop using windows 10 (driver installed of course) and it worked fine (note: I disabled bluetooth on laptop to use usb bluetooth). In addition, I also have a microphone error on the USB sound card that has the function of outputting the audio jack and the microphone jack, the sound output from the usb sound card is very good but I do not receive the mic signal I tried the usb sound card for laptop and phone it worked fine for audio jack and mic. Note: I am using android 9 with Odroid XU4.

Thanks for your help!
In market lot of CSR 4.0 cheap clones which does not have a BLE functionality. Devices without BLE can't work on Android.
I will check USB audio input and let you know. BTW please show me output of this command when your sound card is connected.

Code: Select all

dumpsys media.audio_policy
Thank you for the info about usb bluetooth which requires BLE, but if i buy bluetooth usb with BLE support will my odroid XU4 accept bluetooth device?
About usb sound card please see attached picture. I have connected the usb sound card and executed the command dumpsys media.audio_policy or adb dumpsys media.audio_policy but both failed. Can you guide me more specifically how to do this command. Thanks!
https://wiki.odroid.com/odroid-xu4/trou ... ip?s[]=adb

Code: Select all

adb shell
dumpsys media.audio_policy
Yo can see code here:

Code: Select all

D:\Software\ADB>adb shell
←7←[r←[999;999H←[6n←8u←[01;31modroidxu3←[01;34m / #←[00m umpsys media.audio_polic←[←[←[←[←[←[←[←[←[←[←[←[←[←[←[←[←[←[Kdumpsys media.audio_policy
bash: umpsys: command not found
←[01;31modroidxu3←[01;34m / #←[00m dumpsys media.audio_policy
AudioPolicyManager: 0xa596f000
Command Thread: 0xa592a140
Tones Thread: 0xa592a0e0
AudioCommandThread 0xa592a140 Dump
- Commands:
   Command Time        Wait pParam
  Last Command
   02      000151.117  0    0xa559e168
AudioCommandThread 0xa592a0e0 Dump
- Commands:
   Command Time        Wait pParam
  Last Command
     none

AudioPolicyManager Dump: 0xa596f000
 Primary Output: 13
 Phone state: AUDIO_MODE_NORMAL
 Force use for communications 0
 Force use for media 10
 Force use for record 0
 Force use for dock 8
 Force use for system 0
 Force use for hdmi system audio 0
 Force use for encoded surround output 0
 TTS output not available
 Master mono: off
- Available output devices:
  Device 1:
  - id: 15
  - type: AUDIO_DEVICE_OUT_USB_HEADSET
  - address: card=1;device=0;
  - name: USB-Audio - USB PnP Sound Device
  - Profiles:
      Profile 0:[dynamic format]
          - format: AUDIO_FORMAT_PCM_16_BIT
          - sampling rates:44100, 48000
          - channel masks:0x0003, 0x80000003
  Device 2:
  - id:  2
  - type: AUDIO_DEVICE_OUT_SPEAKER
  - Profiles:
- Available input devices:
  Device 1:
  - id:  4
  - type: AUDIO_DEVICE_IN_BUILTIN_MIC
  - address: bottom
  - Profiles:
      Profile 0:
          - format: AUDIO_FORMAT_PCM_16_BIT
          - sampling rates:8000, 11025, 16000, 22050, 44100, 48000
          - channel masks:0x000c, 0x0010
  Device 2:
  - id:  6
  - type: AUDIO_DEVICE_IN_REMOTE_SUBMIX
  - address: 0
  - Profiles:
      Profile 0:
          - format: AUDIO_FORMAT_PCM_16_BIT
          - sampling rates:48000
          - channel masks:0x000c

HW Modules dump:
- HW Module 1:
  - name: primary
  - handle: 10
  - version: 0.0
  - outputs:
    output 0:
    - name: primary
    - Profiles:
        Profile 0:
            - format: AUDIO_FORMAT_PCM_16_BIT
            - sampling rates:44100
            - channel masks:0x0003
    - flags: 0x0002 (AUDIO_OUTPUT_FLAG_PRIMARY)
    - Supported devices:
      Device 1:
      - type: AUDIO_DEVICE_OUT_SPEAKER
      Device 2:
      - type: AUDIO_DEVICE_OUT_WIRED_HEADSET
      Device 3:
      - type: AUDIO_DEVICE_OUT_WIRED_HEADPHONE
      Device 4:
      - type: AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT
      Device 5:
      - type: AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET
      Device 6:
      - type: AUDIO_DEVICE_OUT_BLUETOOTH_SCO

    - maxOpenCount: 1 - curOpenCount: 1
    - maxActiveCount: 1 - curActiveCount: 0
  - inputs:
    input 0:
    - name: primary
    - Profiles:
        Profile 0:
            - format: AUDIO_FORMAT_PCM_16_BIT
            - sampling rates:8000, 11025, 16000, 22050, 44100, 48000
            - channel masks:0x000c, 0x0010
    - flags: 0x0000 (AUDIO_INPUT_FLAG_NONE)
    - Supported devices:
      Device 1:
      - type: AUDIO_DEVICE_IN_BUILTIN_MIC
      Device 2:
      - type: AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET
      Device 3:
      - type: AUDIO_DEVICE_IN_WIRED_HEADSET

    - maxOpenCount: 0 - curOpenCount: 0
    - maxActiveCount: 1 - curActiveCount: 0
- HW Module 2:
  - name: a2dp
  - handle: 18
  - version: 0.0
  - outputs:
    output 0:
    - name: a2dp
    - Profiles:
        Profile 0:
            - format: AUDIO_FORMAT_PCM_16_BIT
            - sampling rates:44100
            - channel masks:0x0003
    - flags: 0x0000 (AUDIO_OUTPUT_FLAG_NONE)
    - Supported devices:
      Device 1:
      - type: AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER
      Device 2:
      - type: AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES
      Device 3:
      - type: AUDIO_DEVICE_OUT_BLUETOOTH_A2DP

    - maxOpenCount: 1 - curOpenCount: 0
    - maxActiveCount: 1 - curActiveCount: 0
  - inputs:
    input 0:
    - name: a2dp
    - Profiles:
        Profile 0:
            - format: AUDIO_FORMAT_PCM_16_BIT
            - sampling rates:44100
            - channel masks:0x000c
    - flags: 0x0000 (AUDIO_INPUT_FLAG_NONE)
    - Supported devices:
      Device 1:
      - type: AUDIO_DEVICE_IN_BLUETOOTH_A2DP

    - maxOpenCount: 0 - curOpenCount: 0
    - maxActiveCount: 1 - curActiveCount: 0
- HW Module 3:
  - name: usb
  - handle: 26
  - version: 0.0
  - outputs:
    output 0:
    - name: usb_accessory
    - Profiles:
        Profile 0:
            - format: AUDIO_FORMAT_PCM_16_BIT
            - sampling rates:44100
            - channel masks:0x0003
    - flags: 0x0000 (AUDIO_OUTPUT_FLAG_NONE)
    - Supported devices:
      Device 1:
      - type: AUDIO_DEVICE_OUT_USB_ACCESSORY

    - maxOpenCount: 1 - curOpenCount: 0
    - maxActiveCount: 1 - curActiveCount: 0
    output 1:
    - name: usb_device
    - Profiles:
        Profile 0:[dynamic format][dynamic channels][dynamic rates]
        Profile 1:[dynamic format][dynamic channels][dynamic rates]
            - format: AUDIO_FORMAT_PCM_16_BIT
        Profile 2:[dynamic format]
            - format: AUDIO_FORMAT_PCM_16_BIT
            - sampling rates:44100, 48000
            - channel masks:0x0003, 0x80000003
    - flags: 0x0000 (AUDIO_OUTPUT_FLAG_NONE)
    - Supported devices:
      Device 1:
      - type: AUDIO_DEVICE_OUT_USB_HEADSET
      Device 2:
      - type: AUDIO_DEVICE_OUT_USB_DEVICE
      Device 3:
      - type: AUDIO_DEVICE_OUT_USB_ACCESSORY

    - maxOpenCount: 1 - curOpenCount: 1
    - maxActiveCount: 1 - curActiveCount: 0
  - inputs:
    input 0:
    - name: usb_device
    - Profiles:
        Profile 0:[dynamic rates]
            - format: AUDIO_FORMAT_PCM_16_BIT
            - channel masks:0x000c
    - flags: 0x0000 (AUDIO_INPUT_FLAG_NONE)
    - Supported devices:
      Device 1:
      - type: AUDIO_DEVICE_IN_USB_DEVICE

    - maxOpenCount: 0 - curOpenCount: 0
    - maxActiveCount: 1 - curActiveCount: 0
- HW Module 4:
  - name: r_submix
  - handle: 34
  - version: 0.0
  - outputs:
    output 0:
    - name: submix
    - Profiles:
        Profile 0:
            - format: AUDIO_FORMAT_PCM_16_BIT
            - sampling rates:48000
            - channel masks:0x0003
    - flags: 0x0000 (AUDIO_OUTPUT_FLAG_NONE)
    - Supported devices:
      Device 1:
      - type: AUDIO_DEVICE_OUT_REMOTE_SUBMIX
      - address: 0

    - maxOpenCount: 1 - curOpenCount: 0
    - maxActiveCount: 1 - curActiveCount: 0
  - inputs:
    input 0:
    - name: submix
    - Profiles:
        Profile 0:
            - format: AUDIO_FORMAT_PCM_16_BIT
            - sampling rates:48000
            - channel masks:0x000c
    - flags: 0x0000 (AUDIO_INPUT_FLAG_NONE)
    - Supported devices:
      Device 1:
      - type: AUDIO_DEVICE_IN_REMOTE_SUBMIX
      - address: 0

    - maxOpenCount: 0 - curOpenCount: 0
    - maxActiveCount: 1 - curActiveCount: 0

Outputs dump:
- Output 13 dump:
 Latency: 92
 Flags 00000002
 ID: 1
 Sampling rate: 44100
 Format: 00000001
 Channels: 00000003
 Devices 00000002
 Stream volume refCount muteCount
 00     -5.882     00       00
 01     -16.364     00       00
 02     -17.400     00       00
 03     -1.100     00       00
 04     -5.100     00       00
 05     -17.400     00       00
 06     -1.000     00       00
 07     -16.364     00       00
 08     -7.235     00       00
 09     0.000     00       01
 10     -2.200     00       00
 11     0.000     00       00
 12     -1.000     00       00
- Output 53 dump:
 Latency: 50
 Flags 00000000
 ID: 17
 Sampling rate: 48000
 Format: 00000001
 Channels: 00000003
 Devices 04000000
 Stream volume refCount muteCount
 00     -20.788     00       00
 01     -27.412     00       00
 02     -20.500     00       00
 03     -33.100     00       00
 04     -14.500     00       00
 05     -20.500     00       00
 06     -1.000     00       00
 07     -27.412     00       00
 08     -26.000     00       00
 09     -96.000     00       00
 10     -35.400     00       00
 11     0.000     00       00
 12     -1.000     00       00
- Output 61 dump:
 Latency: 50
 Flags 00000000
 ID: 18
 Sampling rate: 48000
 Format: 00000001
 Channels: 00000003
 Devices 04000002
 Stream volume refCount muteCount
 00     -5.882     00       00
 01     -22.364     00       00
 02     -17.400     00       00
 03     -1.100     00       00
 04     -5.100     00       00
 05     -23.400     00       00
 06     -1.000     00       00
 07     -22.364     00       00
 08     -7.235     00       00
 09     0.000     00       00
 10     -2.200     00       00
 11     0.000     00       00
 12     -1.000     00       00

Inputs dump:

Streams dump:
 Stream  Can be muted  Index Min  Index Max  Index Cur [device : index]...
 00      true          01         05         0002 : 04, 4000000 : 03, 40000000 : 04,
 01      true          00         07         0002 : 03, 40000000 : 05,
 02      true          00         07         0002 : 03, 40000000 : 05,
 03      true          00         25         0002 : 24, 4000000 : 08, 40000000 : 08,
 04      true          01         07         40000000 : 06,
 05      true          00         07         0002 : 03, 40000000 : 05,
 06      true          00         15         40000000 : 07,
 07      true          00         07         0002 : 03, 40000000 : 05,
 08      true          00         15         0002 : 14, 4000000 : 05, 40000000 : 05,
 09      true          00         15         0002 : 14, 4000000 : 05, 40000000 : 05,
 10      true          01         15         0002 : 14, 4000000 : 05, 40000000 : 05,
 11      true          00         01         40000000 : 01,
 12      true          00         01         40000000 : 01,

Total Effects CPU: 0.000000 MIPS, Total Effects memory: 0 KB, Max memory used: 0 KB
Registered effects:

Audio Patches:
  Audio patch 1:
  - handle: 20
  - audio flinger handle: 20
  - owner uid: 1041
  - 1 sources:
    - Mix ID 17 I/O handle 53
  - 1 sinks:
    - Device ID 15 AUDIO_DEVICE_OUT_USB_HEADSET

Audio Policy Mix:
←[01;31modroidxu3←[01;34m / #←[00m

quochuy88
Posts: 10
Joined: Wed Oct 06, 2021 1:53 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by quochuy88 »

voodik wrote:
Tue Oct 12, 2021 7:02 pm
quochuy88 wrote:
Tue Oct 12, 2021 6:27 pm
voodik wrote:
Tue Oct 12, 2021 5:42 pm
quochuy88 wrote:
Tue Oct 12, 2021 2:01 pm
voodik wrote:
Tue Oct 12, 2021 6:04 am
quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Can you check is your gamepad is listed in event device list ?

Code: Select all

adb shell
getevent -lp
You can see in the attached picture, the odroid received the usb gamepad and also received my touch screen
I don't see any gamepad in screenshot.
Device 3 is usb gamepad
Nope, device 3 is a Odroid internal touch screen. odroid-ts.
BTW Let's try manually add it.
first run this command on adb shell

Code: Select all

echo '2563 0555' > /sys/bus/usb/drivers/usbhid/new_id
then check is your controller appears via getevent -lp command
The name should be like this [ShanWan Twin USB Joystick]
if your gamepad appears on list then check is it working ? is the keymappings is correct ?
You can see below, It didn't show usb gamepad.

Code: Select all

D:\Software\ADB>adb connect 192.168.31.101:5555
already connected to 192.168.31.101:5555

D:\Software\ADB>adb shell
←7←[r←[999;999H←[6n←8cho '25←[01;31modroidxu3←[01;34m / #←[00m cho '2563 0555' > /sys/bus/usb/drivers/usbhid/new_id
bash: cho: command not found
←[01;31modroidxu3←[01;34m / #←[00m echo '2563 0555' > /sys/bus/usb/drivers/usbhid/new_id
←[01;31modroidxu3←[01;34m / #←[00m getevent -lp
add device 1: /dev/input/event1
  name:     "HID 27c0:0858"
  events:
    KEY (0001): BTN_TOUCH
    ABS (0003): ABS_X                 : value 12658, min 0, max 16383, fuzz 0, flat 0, resolution 76
                ABS_Y                 : value 5590, min 0, max 9599, fuzz 0, flat 0, resolution 106
                ABS_MT_SLOT           : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 16383, fuzz 0, flat 0, resolution 76
                ABS_MT_POSITION_Y     : value 0, min 0, max 9599, fuzz 0, flat 0, resolution 106
                ABS_MT_TRACKING_ID    : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
  input props:
    INPUT_PROP_DIRECT
could not get driver version for /dev/input/mouse0, Not a typewriter
add device 2: /dev/input/event0
  name:     "C-Media Electronics Inc.       USB PnP Sound Device"
  events:
    KEY (0001): KEY_MUTE              KEY_VOLUMEDOWN        KEY_VOLUMEUP          KEY_NEXTSONG
                KEY_PLAYPAUSE         KEY_PREVIOUSSONG      KEY_STOPCD
    MSC (0004): MSC_SCAN
  input props:
    <none>
add device 3: /dev/input/event3
  name:     "vt-input"
  events:
    KEY (0001): KEY_POWER
  input props:
    <none>
could not get driver version for /dev/input/mice, Not a typewriter
add device 4: /dev/input/event2
  name:     "odroid-ts"
  events:
    ABS (0003): ABS_MT_SLOT           : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MAJOR    : value 0, min 0, max 10, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 1280, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_Y     : value 0, min 0, max 800, fuzz 0, flat 0, resolution 0
                ABS_MT_TRACKING_ID    : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
                ABS_MT_PRESSURE       : value 0, min 0, max 16, fuzz 0, flat 0, resolution 0
  input props:
    <none>
add device 5: /dev/input/event4
  name:     "gpio_keys.7"
  events:
    KEY (0001): KEY_POWER
  input props:
    <none>
←[01;31modroidxu3←[01;34m / #←[00m
But I used Mantis gampad pro software to map keys on android, it doesn't detect it outside but the keymap item shows a sign for the appearance of my gampad usb (attached picture) but I have no way to select it to map like on Samsung S10 plus phone also with this software
Attachments
Screenshot_20211012-173913_Mantis_Gamepad_Pro.png
Screenshot_20211012-173913_Mantis_Gamepad_Pro.png (193.29 KiB) Viewed 1210 times
Screenshot_20211012-173856_Mantis_Gamepad_Pro.png
Screenshot_20211012-173856_Mantis_Gamepad_Pro.png (272.84 KiB) Viewed 1210 times

anil
Posts: 138
Joined: Thu Jun 21, 2018 8:54 pm
languages_spoken: english
ODROIDs: ODROID-XU4
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by anil »

anil wrote:
Tue Oct 12, 2021 4:42 pm
voodik wrote:
Tue Oct 12, 2021 6:12 am


So your VPN is working 2-3 hrs then system crash ? I don't think this an Ethernet issue.
Please explain little more what you mean Ethernet tethering ?
@Voodik
ok i'll share logcat once i go home...
@voodik pls find the logcat
http://ix.io/3BwS

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

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by voodik »

anil wrote:
Tue Oct 12, 2021 11:44 pm
anil wrote:
Tue Oct 12, 2021 4:42 pm
voodik wrote:
Tue Oct 12, 2021 6:12 am


So your VPN is working 2-3 hrs then system crash ? I don't think this an Ethernet issue.
Please explain little more what you mean Ethernet tethering ?
@Voodik
ok i'll share logcat once i go home...
@voodik pls find the logcat
http://ix.io/3BwS
There was a lot of logspam about vendor.cec-hal-1-0, it could be reason of device crash. i will check.
These users thanked the author voodik for the post:
anil (Wed Oct 13, 2021 11:57 am)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

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

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by voodik »

@quochuy88

try this

Code: Select all

echo '2563 0555' > /sys/bus/hid/drivers/hid-generic/new_id
or both together

Code: Select all

echo '2563 0555' > /sys/bus/usb/drivers/usbhid/new_id
echo '2563 0555' > /sys/bus/hid/drivers/hid-generic/new_id
or this

Code: Select all

echo '2563 0555' > /sys/bus/hid/drivers/hid-generic/new_id
echo '2563 0555' > /sys/bus/usb/drivers/usbhid/new_id
in every case check via getevent -lp command is the device appears or no.

I can't debug third party apps. Some research in google shows this device should be work as standard hid input device.
These users thanked the author voodik for the post:
quochuy88 (Wed Oct 13, 2021 12:37 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

quochuy88
Posts: 10
Joined: Wed Oct 06, 2021 1:53 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by quochuy88 »

voodik wrote:
Wed Oct 13, 2021 3:18 am
@quochuy88

try this

Code: Select all

echo '2563 0555' > /sys/bus/hid/drivers/hid-generic/new_id
or both together

Code: Select all

echo '2563 0555' > /sys/bus/usb/drivers/usbhid/new_id
echo '2563 0555' > /sys/bus/hid/drivers/hid-generic/new_id
or this

Code: Select all

echo '2563 0555' > /sys/bus/hid/drivers/hid-generic/new_id
echo '2563 0555' > /sys/bus/usb/drivers/usbhid/new_id
in every case check via getevent -lp command is the device appears or no.

I can't debug third party apps. Some research in google shows this device should be work as standard hid input device.
I have checked the commands you requested but no usb gamepad is detected

Code: Select all

D:\Software\ADB>adb connect 192.168.31.101:5555
connected to 192.168.31.101:5555

D:\Software\ADB>adb shell
←7←[r←[999;999H←[6n←8←[01;31modroidxu3←[01;34m / #←[00m cho '2563 0555' > /sys/bus/hid/drivers/hid-generic/new_id
bash: cho: command not found
←[01;31modroidxu3←[01;34m / #←[00m echo '2563 0555' > /sys/bus/hid/drivers/hid-generic/new_id
bash: echo: write error: Invalid argument
←[01;31modroidxu3←[01;34m / #←[00m echo '2563 0555' > /sys/bus/hid/drivers/hid-generic/new_id
bash: echo: write error: Invalid argument
←[01;31modroidxu3←[01;34m / #←[00m getevent -lp
add device 1: /dev/input/event0
  name:     "HID 27c0:0858"
  events:
    KEY (0001): BTN_TOUCH
    ABS (0003): ABS_X                 : value 12741, min 0, max 16383, fuzz 0, flat 0, resolution 76
                ABS_Y                 : value 5528, min 0, max 9599, fuzz 0, flat 0, resolution 106
                ABS_MT_SLOT           : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 16383, fuzz 0, flat 0, resolution 76
                ABS_MT_POSITION_Y     : value 0, min 0, max 9599, fuzz 0, flat 0, resolution 106
                ABS_MT_TRACKING_ID    : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
  input props:
    INPUT_PROP_DIRECT
could not get driver version for /dev/input/mouse0, Not a typewriter
could not get driver version for /dev/input/mice, Not a typewriter
add device 2: /dev/input/event2
  name:     "vt-input"
  events:
    KEY (0001): KEY_POWER
  input props:
    <none>
add device 3: /dev/input/event1
  name:     "odroid-ts"
  events:
    ABS (0003): ABS_MT_SLOT           : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MAJOR    : value 0, min 0, max 10, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 1280, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_Y     : value 0, min 0, max 800, fuzz 0, flat 0, resolution 0
                ABS_MT_TRACKING_ID    : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
                ABS_MT_PRESSURE       : value 0, min 0, max 16, fuzz 0, flat 0, resolution 0
  input props:
    <none>
add device 4: /dev/input/event3
  name:     "gpio_keys.7"
  events:
    KEY (0001): KEY_POWER
  input props:
    <none>
←[01;31modroidxu3←[01;34m / #←[00m echo '2563 0555' > /sys/bus/usb/drivers/usbhid/new_id
 055←[01;31modroidxu3←[01;34m / #←[00m echo '2563 0555' > /sys/bus/hid/drivers/hid-generic/new_id
bash: echo: write error: Invalid argument
←[01;31modroidxu3←[01;34m / #←[00m getevent -lp
add device 1: /dev/input/event0
  name:     "HID 27c0:0858"
  events:
    KEY (0001): BTN_TOUCH
    ABS (0003): ABS_X                 : value 12741, min 0, max 16383, fuzz 0, flat 0, resolution 76
                ABS_Y                 : value 5528, min 0, max 9599, fuzz 0, flat 0, resolution 106
                ABS_MT_SLOT           : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 16383, fuzz 0, flat 0, resolution 76
                ABS_MT_POSITION_Y     : value 0, min 0, max 9599, fuzz 0, flat 0, resolution 106
                ABS_MT_TRACKING_ID    : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
  input props:
    INPUT_PROP_DIRECT
could not get driver version for /dev/input/mouse0, Not a typewriter
could not get driver version for /dev/input/mice, Not a typewriter
add device 2: /dev/input/event2
  name:     "vt-input"
  events:
    KEY (0001): KEY_POWER
  input props:
    <none>
add device 3: /dev/input/event1
  name:     "odroid-ts"
  events:
    ABS (0003): ABS_MT_SLOT           : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MAJOR    : value 0, min 0, max 10, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 1280, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_Y     : value 0, min 0, max 800, fuzz 0, flat 0, resolution 0
                ABS_MT_TRACKING_ID    : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
                ABS_MT_PRESSURE       : value 0, min 0, max 16, fuzz 0, flat 0, resolution 0
  input props:
    <none>
add device 4: /dev/input/event3
  name:     "gpio_keys.7"
  events:
    KEY (0001): KEY_POWER
  input props:
    <none>
←[01;31modroidxu3←[01;34m / #←[00m echo '2563 0555' > /sys/bus/hid/drivers/hid-generic/new_id
bash: echo: write error: Invalid argument
←[01;31modroidxu3←[01;34m / #←[00m echo '2563 0555' > /sys/bus/usb/drivers/usbhid/new_id
←[01;31modroidxu3←[01;34m / #←[00m getevent -lp
add device 1: /dev/input/event0
  name:     "HID 27c0:0858"
  events:
    KEY (0001): BTN_TOUCH
    ABS (0003): ABS_X                 : value 12741, min 0, max 16383, fuzz 0, flat 0, resolution 76
                ABS_Y                 : value 5528, min 0, max 9599, fuzz 0, flat 0, resolution 106
                ABS_MT_SLOT           : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 16383, fuzz 0, flat 0, resolution 76
                ABS_MT_POSITION_Y     : value 0, min 0, max 9599, fuzz 0, flat 0, resolution 106
                ABS_MT_TRACKING_ID    : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
  input props:
    INPUT_PROP_DIRECT
could not get driver version for /dev/input/mouse0, Not a typewriter
could not get driver version for /dev/input/mice, Not a typewriter
add device 2: /dev/input/event2
  name:     "vt-input"
  events:
    KEY (0001): KEY_POWER
  input props:
    <none>
add device 3: /dev/input/event1
  name:     "odroid-ts"
  events:
    ABS (0003): ABS_MT_SLOT           : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MAJOR    : value 0, min 0, max 10, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 1280, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_Y     : value 0, min 0, max 800, fuzz 0, flat 0, resolution 0
                ABS_MT_TRACKING_ID    : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
                ABS_MT_PRESSURE       : value 0, min 0, max 16, fuzz 0, flat 0, resolution 0
  input props:
    <none>
add device 4: /dev/input/event3
  name:     "gpio_keys.7"
  events:
    KEY (0001): KEY_POWER
  input props:
    <none>
←[01;31modroidxu3←[01;34m / #←[00m

anil
Posts: 138
Joined: Thu Jun 21, 2018 8:54 pm
languages_spoken: english
ODROIDs: ODROID-XU4
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by anil »

voodik wrote:
Tue Oct 12, 2021 6:12 am


There was a lot of logspam about vendor.cec-hal-1-0, it could be the reason of device crash. i will check.
thank you so much... is this specific to my device only? how come??

no similar complaints from others?

anil
Posts: 138
Joined: Thu Jun 21, 2018 8:54 pm
languages_spoken: english
ODROIDs: ODROID-XU4
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by anil »

voodik wrote:
Tue Oct 12, 2021 6:12 am

So your VPN is working 2-3 hrs then system crash ? I don't think this an Ethernet issue.
Please explain little more what you mean Ethernet tethering ?
this is nothing but sharing the internet connection via ethernet.. (instead of wifi hotpsot, USB or Bluetooth)

quochuy88
Posts: 10
Joined: Wed Oct 06, 2021 1:53 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by quochuy88 »

quochuy88 wrote:
Tue Oct 12, 2021 2:19 pm
voodik wrote:
Tue Oct 12, 2021 6:09 am
quochuy88 wrote:
Mon Oct 11, 2021 8:04 pm
quochuy88 wrote:
Sun Oct 10, 2021 5:03 pm
voodik wrote:
Fri Oct 08, 2021 7:18 pm
quochuy88 wrote:
Wed Oct 06, 2021 1:59 pm
@voodik,

I have gamepad with USB signal head but my device Odroid XU4 with andorod 9 didn't recognize the gamepad, I tested this gamepad on Samsung s10 Plus phone and it works fine. Please help me. Thank you!
post USB vid/pid of your gamepad.
Thank you for your reply, sorry I have an emergency so I didn't check your messages soon. My gamepad VID & PID is VID_2563&PID_0555
Dear @voodik,

I know you are very busy but if you have time please help me. I bought 1 usb bluetooth CSR 4.0 dongle and i also enabled bluetooth in Odroid Utility -> Misc but it seems everytime i turn on bluetooth to search for bluetooth device but it turns off and i cant find bluetooth headset mine to connect, I tested with a laptop using windows 10 (driver installed of course) and it worked fine (note: I disabled bluetooth on laptop to use usb bluetooth). In addition, I also have a microphone error on the USB sound card that has the function of outputting the audio jack and the microphone jack, the sound output from the usb sound card is very good but I do not receive the mic signal I tried the usb sound card for laptop and phone it worked fine for audio jack and mic. Note: I am using android 9 with Odroid XU4.

Thanks for your help!
In market lot of CSR 4.0 cheap clones which does not have a BLE functionality. Devices without BLE can't work on Android.
I will check USB audio input and let you know. BTW please show me output of this command when your sound card is connected.

Code: Select all

dumpsys media.audio_policy
Thank you for the info about usb bluetooth which requires BLE, but if i buy bluetooth usb with BLE support will my odroid XU4 accept bluetooth device?
Dear @voodik,
I have a question and am waiting for your reply
"Thank you for the info about usb bluetooth which requires BLE, but if i buy bluetooth usb with BLE support will my odroid XU4 accept bluetooth device? specifically on your android 9 build for Odoird XU4"

I was referencing similar product with this device but stopped selling on hardkernel (https://www.hardkernel.com/shop/bluetooth-module-2/) and I am also using wifi usb which supports 2 bands 2.4Ghz and 5.8Ghz so i just need to add usb bluetooth. And I found a USB with BLE on an e-commerce site with a Qualcomm CSR8510 chip and it's verified Bluetooth v4.0. I would like to consult you if you can use this bluetooth usb before buying. Thank you!

Code: Select all

Product Features 
* Ultra-compact, easy carrying and space saving. 

* Experience stereo audio with Advanced Audio Distribution Profile (A2DP) and AVRCP support. 

* Bluetooth Low Energy (BLE) protocol support. 

* Up to 3 Mbps data transfer rate with Enhanced Data Rate (EDR) support. 

* Backward support>

User avatar
mctom
Posts: 980
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 102 times
Been thanked: 123 times
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by mctom »

Hi,

So I'm about to set up Android on XU4.

I dd'ed android-lineage-16.0-alpha-0.4-sd_installer-odroidxu4-2021-09-13.img on an SD card that is known to work with this particular XU4 just an hour ago.
I boot it up and I get blinking blue LED. Doesn't answer to pings and no HDMI output.
Sometimes fan turns on, and I can see the current consumption jumps from baseline 0,4A to about 0,9A every 5 seconds.

I don't know if I'm doing everything correctly, no Android experience whatsoever. Should I wait for an hour to see what's gonna happen or try again? :?

EDIT: Never mind, I did something wrong. After dd'ing I had to let it run for 10 minutes or so until it boots up for the first time. I think I had reset it after a minute thinking there's something wrong.
Lesson learned: be patient!
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

User avatar
mad_ady
Posts: 10155
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: 632 times
Been thanked: 817 times
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by mad_ady »

Android does a lot of partitioning and moving data around on first boot, that's why.

Nuts_
Posts: 39
Joined: Thu May 20, 2021 4:09 pm
languages_spoken: english, russian
ODROIDs: XU4, N2
Has thanked: 51 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by Nuts_ »

mctom wrote:
Sun Nov 28, 2021 1:30 am
I had to let it run for 10 minutes or so until it boots up for the first time.
It seems like U having slow SDcard, i playng around voodik's androids some time but cannot remeber about so long delay.

User avatar
mctom
Posts: 980
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 102 times
Been thanked: 123 times
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by mctom »

Doesn't matter, that was only the first boot. Would be no problem if anything appeared on the screen, but otherwise I'm fine with it.
For my application boot time doesn't matter.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

LuisGarcia
Posts: 3
Joined: Thu Sep 10, 2015 6:03 pm
languages_spoken: english, german, spanish
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by LuisGarcia »

It would be possible to get the source code to build it by myaself? I was able to build the Android 7.1.1 Lineage 14.1 and I want to do it when the new version.

Best Regards

Luis Garcia

anil
Posts: 138
Joined: Thu Jun 21, 2018 8:54 pm
languages_spoken: english
ODROIDs: ODROID-XU4
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by anil »

@voodik @odroid

USB tethering is not activated on Android 8 or 9 for XU4

can you pls enable it or tell how to enable it

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

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by voodik »

anil wrote:
Fri Dec 31, 2021 2:30 pm
@voodik @odroid

USB tethering is not activated on Android 8 or 9 for XU4

can you pls enable it or tell how to enable it
XU4 does not have USB OTG port, USB tethering is only works on OTG port.
So it can't be enabled on XU4.
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

anil
Posts: 138
Joined: Thu Jun 21, 2018 8:54 pm
languages_spoken: english
ODROIDs: ODROID-XU4
Has thanked: 12 times
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by anil »

voodik wrote:
Thu Jan 06, 2022 6:05 am
anil wrote:
Fri Dec 31, 2021 2:30 pm
@voodik @odroid

USB tethering is not activated on Android 8 or 9 for XU4

can you pls enable it or tell how to enable it
XU4 does not have USB OTG port, USB tethering is only works on OTG port.
So it can't be enabled on XU4.
OK Thank for clarifying the technical limitation...

can you pls enable Ethernet tethering then?

pls

nuclear_bullet
Posts: 34
Joined: Sun Feb 21, 2016 7:10 pm
languages_spoken: English (US)
ODROIDs: ODROID XU4 + Cloudshell
Has thanked: 0
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by nuclear_bullet »

Hey Voodik, this one looks great! I'm using the Android tablet image on mine.

I did run into one problem however, I formatted my attached SSD via USB 3.0 Type A port with the Cloudshell, and after I formatted it through the Settings->Storage within, everytime I try to access Settings->Storage crashes the Settings app. Do you know what's going on? Is my SSD just corrupted and need to be pulled out and formatted outside of the XU4?

nuclear_bullet
Posts: 34
Joined: Sun Feb 21, 2016 7:10 pm
languages_spoken: English (US)
ODROIDs: ODROID XU4 + Cloudshell
Has thanked: 0
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by nuclear_bullet »

Edit: The user of my XU4 was a dummy, I had to enable Bluetooth in the Odroid Utility! :P

I initially tried the ATV version of the LineageOS 16 you posted, using the same WiFi USB dongle, I was able to connect to my WiFi AP with the tablet version but not in the ATV version. I can see my network, it even takes me to the password page, but entering the password and selecting "Done" in the pop-up keyboard or just by pressing enter on the password entry line does nothing.

Thanks for all the hardwork! I've recently came back to the Odroid XU4 since I'm starting a fun DIY project with my Odroid XU4 and having Android 9 on it is awesome!

Reefmonger
Posts: 5
Joined: Thu Aug 01, 2019 4:17 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: [ROM][LineageOS 16.0][Android 9.0][voodik] for the ODROID-XU3/XU4

Post by Reefmonger »

voodik wrote:
Wed Aug 04, 2021 4:05 am
i will try reproduce to reproduce HW keyboard issues to understand what's wrong.
Happy New Year Voodik. I am wondering if you might have some time to revisit this keyboard issue on ATV wifi. I would love to try the ATV version. Thank You

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 3 guests