LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post Reply
njninja2018
Posts: 7
Joined: Sun Jul 29, 2018 11:37 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by njninja2018 »

Hello Again,




EDIT

Figured it out.

After connected to the device's IP with
adb connect 192.168.1.xxx:5555

then getting root
adb root

then you go into shell
adb shell

then you type
settings get secure android_id

And it returns with the value.




I rebooted with ADB active.

I can connect to the device via ADB root, however the google command doesn't seem to work:


C:\adb>adb shell sqlite3 /data/data/com.google.android.gsf/databases/gservices.d
b "select * from main where name = \"android_id\";"
Error: near "select": syntax error

C:\adb>adb shell sqlite3 /data/data/com.google.android.gsf/databases/gservices.d
b "select * from main where name=\"android_id\";"
Error: near "select": syntax error

C:\adb>adb shell sqlite3 /data/data/com.google.android.gsf/databases/gservices.d
b "select * from main where name=\"android_id\""
Error: near "select": syntax error

C:\adb>adb shell 'sqlite3 /data/data/com.google.android.gsf/databases/gservices.
db "select * from main where name=\"android_id\""'
/system/xbin/bash: sqlite3 /data/data/com.google.android.gsf/databases/gservices
.db select * from main where name="android_id": No such file or directory

C:\adb>

Any ideas?


voodik wrote:
njninja2018 wrote:Hello,

I have an XU4. I installed to SD card, then to emmc and everything went OK.

Question:
I have a USB EMMC flasher, do you only make SD card images for lineage OS or do you have an EMMC image that I can just burn to EMMC?

Question 2:
I'd like to use Google play store. I created an account to register with google, but it is asking me for the Google Play Service Android device ID. There is an App called Device ID that should get me this information, but I can't install it. When I download the .apk and try to run it Android says "Can't open file." How do I solve this?
Hi,

1) No, because we can't update Bootloaders on eMMC directly. Only sd2emmc installer can do it.
2) Please refer this instruction how to setup adb over network
https://wiki.odroid.com/odroid-xu4/trou ... android_7x
After that follow Google's instructions how to obtain "Google Framework Services Android ID"
https://www.google.com/android/uncertified/

p.s.
Device ID app returning "Google Framework Services Android ID" in HEX format but Google requiring it in Decimal.

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

run this commantd

Code: Select all

adb shell
sh
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"
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

mcoburn
Posts: 104
Joined: Tue Feb 26, 2013 9:56 am
languages_spoken: English
ODROIDs: ODROID-U2, ODROID-XU, ODROID-C1
Location: Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by mcoburn »

Hey voodik,

Got a couple of questions for you. I'm doing game development for both PC and Console (and maybe high-end Android), and while I couldn't get myself an NVIDIA Shield, I thought "hey I have my XU4 so why can't I mount that on a stand, use a bluetooth controller, a wifi USB adapter and a bluetooth USB adapter and then just plug it into a monitor when needed to test games on android?"

1) In terms of 3D Performance, is it better to go with Oreo or Nougat? Are the Mali GPU Blobs up to date or are we using some outdated ones?
2) I am planning to attach a external HDD to the XU4 so I can install my development builds that might require a lot of space. I heard Android has something called "adoptable storage"?
2a) Does that mean I can attach a HDD/SSD and have Android expand it's internal storage that way? (I only have a 8GB Teal/Green eMMC card, my red 16GB one I used in my ODROID-C1 doesn't want to work with my XU4).
3) What root are we using? Magisk or Superuser/SuperSU? I prefer the former.
4) What wifi drivers are supported? I have a few ralink WiFi adapters because the realtek ones I had seem to cook themselves (the last one I had, WiFi Module 3, cooked itself and emitted magic smoke while plugged into my XU4, while all my other ones have been perfectly fine).
M. Coburn
Coburn Tech Solutions
ODROIDs owned: ODROID-U2/ODROID-XU Rev 0.3 (20130717)/ODROID-C1/ODROID-XU4
Accessories: eMMC NAND modules, ODROID-VU, WiFi Modules, Serial Terminal to USB Adapter

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

Hi @mcoburn,

1) I think for development Nougat is more stable. Blobs is old. No new Mali blobs for Exynos5422.
2,3) Yes Android have a adoptable storage, but i don't think you can expand internal storage with USB HDD.(Not tested)
4) Ralink adapters also supported. Hardkelnel also have Ralink based WiFi modules(0,4) i only tested with this ones.

Regards
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

ramlok
Posts: 2
Joined: Wed Apr 04, 2018 3:50 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by ramlok »

Hi voodik,

will you update your Android github project with lineage 15.1?
I would like to use Android 8 for a project where I have 2 displays. Do you have some advice/recommendation how to do that?
I saw that exynos has already support for more displays, so I need to update the HAL, right?

Regards

User avatar
odroid
Site Admin
Posts: 34677
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 831 times
Been thanked: 717 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by odroid »

@ramlok,
There is no extra exposed display port on the XU4.
XU3 had HDMI and DP ports but it retired few years ago.

ramlok
Posts: 2
Joined: Wed Apr 04, 2018 3:50 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by ramlok »

@odroid
I know that, but I would like to send second screen buffer via LAN, so I will create a virtual device.
But it would be nice to have Android 8 for it.

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

:? :? :?
Pie.png
Pie.png (46.48 KiB) Viewed 12725 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

sepulm01
Posts: 1
Joined: Thu Aug 16, 2018 4:23 am
languages_spoken: english
ODROIDs: Odroid UX4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by sepulm01 »

Hi guys!
I need to know how to get google play services. Now app send a not reconized device message. I already register ID number in google's page but nothings change.
Any idea?

User avatar
odroid
Site Admin
Posts: 34677
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 831 times
Been thanked: 717 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by odroid »

voodik wrote: :? :? :?
Image
Wow~~ Android 9 Pie on XU4. :o :o :o
Image

rooted
Posts: 7758
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 721 times
Been thanked: 210 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by rooted »

sepulm01 wrote:Hi guys!
I need to know how to get google play services. Now app send a not reconized device message. I already register ID number in google's page but nothings change.
Any idea?
Does Google Play show as registered?
odroid wrote:
voodik wrote: :? :? :?
Image
Wow~~ Android 9 Pie on XU4. :o :o :o
Image
I totally missed this post, great work @voodik :)

emperornovio
Posts: 34
Joined: Sat Jan 20, 2018 12:55 am
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by emperornovio »

Hello guys, I am having trouble registering my android id
I first ran
adb shell
sh
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"

I got

3972728234901343395

Proceeded to register it after waiting for one hour, it still told me "Device is not certified by Google"

I then tried this command
settings get secure android_id

and got
301fb99a2c291217 (hex)
I tried to register it and google converted it to decimal
3467694309915562519

I went ahead to register both IDs but I am still unable to log into either play store. Play services won't stop nagging me to "complete action required by Google play services" when I try to, it still gives me the same error "Device is not certified by Google". What else am I missing please?

rooted
Posts: 7758
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 721 times
Been thanked: 210 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by rooted »

Clear data on the Play Store, I just did it to phone (was showing unregistered).

emperornovio
Posts: 34
Joined: Sat Jan 20, 2018 12:55 am
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by emperornovio »

rooted wrote:Clear data on the Play Store, I just did it to phone (was showing unregistered).
I just did but no luck, mine does not show "unregistered", it shows "device is not certified by Google"

emperornovio
Posts: 34
Joined: Sat Jan 20, 2018 12:55 am
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by emperornovio »

I also get the errors "Trust System security, this build was signed with public keys" and "SELinux is not enforcing your security..."

emperornovio
Posts: 34
Joined: Sat Jan 20, 2018 12:55 am
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by emperornovio »

emperornovio wrote:
rooted wrote:Clear data on the Play Store, I just did it to phone (was showing unregistered).
I just did but no luck, mine does not show "unregistered", it shows "device is not certified by Google"
I have also noticed that play store actually opens on some other uncertified devices before you can certify, mine won't open at all. Clicking on it just brings the error I mentioned earlier

rooted
Posts: 7758
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 721 times
Been thanked: 210 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by rooted »

Oh, that must be a different issue. Try reflashing gapps.

emperornovio
Posts: 34
Joined: Sat Jan 20, 2018 12:55 am
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by emperornovio »

rooted wrote:Oh, that must be a different issue. Try reflashing gapps.
How do I do that, through ADB? I downloaded APKs from sites like apkmirror and apkpure but they wouldn't open or install

rooted
Posts: 7758
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 721 times
Been thanked: 210 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by rooted »

Download a gapps zip package, flash it with the built in odroid application.

3MPS23t
Posts: 7
Joined: Tue Dec 13, 2016 1:11 pm
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by 3MPS23t »

voodik wrote::? :? :?
Pie.png
Yes please!

Sent from my Pixel 2 XL using Tapatalk

emperornovio
Posts: 34
Joined: Sat Jan 20, 2018 12:55 am
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by emperornovio »

rooted wrote:Download a gapps zip package, flash it with the built in odroid application.
That worked for me, thank you. For others do this, download mindthegapp from https://androidfilehost.com/?fid=3700668719832236373 or put this URL in your odroid updater https://dc4.androidfilehost.com/dl/DcTA ... 153837.zip
download, extract and apply it then reboot.

rooted
Posts: 7758
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 721 times
Been thanked: 210 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by rooted »

Glad you got it worked out :)

The_Ponderer
Posts: 42
Joined: Fri Aug 08, 2014 3:12 pm
languages_spoken: english
ODROIDs: odroid-u3, xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by The_Ponderer »

any way to get touchscreen support for waveshare 7 inch 1024 x 600. visually its great!! just would like touchscreen to work!!! thanks

User avatar
odroid
Site Admin
Posts: 34677
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 831 times
Been thanked: 717 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by odroid »

The_Ponderer wrote:any way to get touchscreen support for waveshare 7 inch 1024 x 600. visually its great!! just would like touchscreen to work!!! thanks
Try to find "disable_vu7" parameter in your boot.ini file and change "false" to "true".

The_Ponderer
Posts: 42
Joined: Fri Aug 08, 2014 3:12 pm
languages_spoken: english
ODROIDs: odroid-u3, xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by The_Ponderer »

odroid wrote:
The_Ponderer wrote:any way to get touchscreen support for waveshare 7 inch 1024 x 600. visually its great!! just would like touchscreen to work!!! thanks
Try to find "disable_vu7" parameter in your boot.ini file and change "false" to "true".
im a dimwit, should have known that messing with the boot file anyways to get the right resolution. it completely skipped my mind!!!

working perfectly now!!! Thanks once again!!!!

TheViking
Posts: 1
Joined: Mon Sep 10, 2018 3:09 am
languages_spoken: English,Norwegian
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by TheViking »

Hello folks!

I got problems running a web-tv app, however it does not work due to exoplay error (see pic).

Can anyone help me with this error? is it the app it self or android os?
I asked my tv provider, but they have no clue :lol:
Attachments
Screenshot_2018-09-13_115536.jpg
Screenshot_2018-09-13_115536.jpg (15.63 KiB) Viewed 12329 times

GGGxxx
Posts: 14
Joined: Sat Sep 29, 2018 3:28 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by GGGxxx »

Hi guys!
Can you help me with connecting vertical LCD panel on this OS?
It's 1200x1920 panel tftmd070021 with confu hdmi-mipi board.
When i connect xu4 to my regular monitor with 1200x1920 resolution everythink work just fine but with this lcd i'm unable to get picture.
I set 1920x1200 resolution in odroid app and set rotation 90 degrees (try 270 and it doesn't matter).
I tryed set in boot.ini next values

Code: Select all

setenv fb_x_res "1200"
setenv fb_y_res "1920"
setenv hdmi_phy_res "1200x1920p60hz"
setenv rotation "0"
but i'm afraid that this is incorrect.
Also in boot.ini i edited edid with 0 and 1 because it's like there are no information come from screen.

Code: Select all

 
[ 6.961845] [c7] ###########################################
[ 6.966030] [c7] # HDMI HPD state 1 #
[ 6.969723] [c7] ###########################################
[ 7.193531] [c7] Reserved SVD code 0
[ 7.195639] [c7] Reserved SVD code 0
[ 7.199232] [c7] Reserved SVD code 0
[ 7.202782] [c7] Reserved SVD code 0
[ 7.206310] [c7] Reserved SVD code 0
[ 7.209897] [c7] Reserved SVD code 0
[ 7.213452] [c7] Reserved SVD code 0
[ 7.217020] [c7] EDID: misc flags 00000004
[ 7.220888] EDID: Audio channels 2
[ 7.240446] [c7] ###########################################
[ 7.246077] [c7] # HDMI EDID mode 0 #
[ 7.249724] [c7] ###########################################
In adb i see that Physical size: 1200x1920. But i dosn't sure that 1200x1920 in fact go from hdmi to screen. (When i try to connect screen to my Windows pc i see in that active resolution set to 1200x1920 in both landscape and portrait mode).
So is it possible to get working this vertical crappy module?

And here is a part of current boot.ini

Code: Select all

setenv fb_x_res "1920"
setenv fb_y_res "1200"
setenv hdmi_phy_res "1920x1200p60hz"
setenv rotation "90"
...
setenv edid "0"
setenv hpd "1"
...
setenv bootargs     "fb_x_res=${fb_x_res} fb_y_res=${fb_y_res} hdmi_phy_res=${hdmi_phy_res} disable_vu7=${disable_vu7} disable_dp=${disable_dp} touch_invert_x=${touch_invert_x} touch_invert_y=${touch_invert_y} edid=${edid} hpd=${hpd} led_blink=${led_blink} androidboot.mmc_size=${mmc_size_gb} androidboot.model=${board_name} androidboot.rotation=${rotation}"


voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

Hi, GGGxxx

XU4 does not support 1200x1920 resolution. All supported resolutions is listed in Odroid Utility.
Portrait mode supported via Android framework. It rotaite image output on standart 1920x1200 resolution.
So if it possible reprogram/reconfigure your MIPI-HDMI controller to proper e.g. 1920x1200 resolution.
Then just rotate output via Odroid Utility.
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

GGGxxx
Posts: 14
Joined: Sat Sep 29, 2018 3:28 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by GGGxxx »

Да если бы прошивалось, походу эта плата просто преобразовывает один протокол в другой.

Thx, it's my fault when i bought this screen :)

njninja2018
Posts: 7
Joined: Sun Jul 29, 2018 11:37 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by njninja2018 »

Is there a way to crop the screen resolution?

I am using this in my car, and the screen works OK at 480p, but the outer edges are not visible by about 25px each. I was previously using an Odroid-C1 that had a nice screen editing feature.

Is there some kind of setenv or scale setting for the XU4?

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

Known issues
Bluetooth Sink doesn't work.
Some problems with Play Store(if app download stuck with "Download pending" message just kill Play store from recent apps and open again).
Fixed both :ugeek:

New version will be available in 1-2 days.
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

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

Update! :ugeek:

Code: Select all

20181009 Alpha-v0.4
Fixed Play Store stuck with "Download pending".
Fixed Bluetooth Sink/Source profiles.(if you want to use Odroid as A2DP source disable BT Sink from Utility>MISC tab).
Update Android to 8.1.0_r47
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

veccini
Posts: 11
Joined: Sat Oct 06, 2018 8:28 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by veccini »

voodik wrote:Update! :ugeek:

Code: Select all

20181009 Alpha-v0.4
Fixed Play Store stuck with "Download pending".
Fixed Bluetooth Sink/Source profiles.(if you want to use Odroid as A2DP source disable BT Sink from Utility>MISC tab).
Update Android to 8.1.0_r47

Hi, I have updated to the latest version of oreo that you have shared, but although I enable bluetooth and disable sink, I am not able to connect to my headphones or the 8bitdo gamepad.
I visualize them, but is not able to connect. I see something like "could not connect to the device"
I also notice that sometimes loses connectivity to the internet via ethernet, but if I have IP, I tried to enable a static IP, but the odroid is not able to obtain such, only through DHCP.

Your enormous effort for this plaque is appreciated. Regards!

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

Hi @veccini,

i can confirm, Ethernet with STATIC IP address does not work. (i will check for that).
About gamepad, some fixes in HID protocol will be available in next build. But i only tested with DS4 controller.

Now about A2DP source. Just tested and successfully connected to my cheap BT headphones, also i make tests by connecting two Odroids, everything is ok.
BTW.
Are you restarted your Odroid after setting BT Sink off ?
Also if your headphones is using SCO to transfer audio it will not work.

Regards
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

veccini
Posts: 11
Joined: Sat Oct 06, 2018 8:28 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by veccini »

I appreciate your prompt response.
I am using a bluetooth KZ module, the same one that I managed to connect in your Android version 7.1.2.
And yes, I have applied reboots, even turn off, disconnect and restart after turning off "Sink", but only visualize bluetooth devices but can not connect.

One last doubt, does this SoC not support the aptX bluetooth audio codecs? It happens that I have only seen in "system / lib", ldac codec for bluetooth, and this is one of the options that I have migrated on my smartphone to Oreo .

jeremybrown82
Posts: 3
Joined: Sat Aug 04, 2018 9:37 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by jeremybrown82 »

How long does it take to update from 4.4 ?

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

veccini wrote:I appreciate your prompt response.
I am using a bluetooth KZ module, the same one that I managed to connect in your Android version 7.1.2.
And yes, I have applied reboots, even turn off, disconnect and restart after turning off "Sink", but only visualize bluetooth devices but can not connect.

One last doubt, does this SoC not support the aptX bluetooth audio codecs? It happens that I have only seen in "system / lib", ldac codec for bluetooth, and this is one of the options that I have migrated on my smartphone to Oreo .
I include aptX codec libs in next build but does not have a hardware to test them.
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

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

Soon :ugeek:
http://www.resurrectionremix.com/
rr2.png
rr2.png (61.21 KiB) Viewed 11896 times
Lot of customization options
rr1.png
rr1.png (72.55 KiB) Viewed 11896 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

veccini
Posts: 11
Joined: Sat Oct 06, 2018 8:28 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by veccini »

voodik wrote:Soon :ugeek:
http://www.resurrectionremix.com/
rr2.png
Lot of customization options
rr1.png
Awesome! This is one of my favorite roms on different smartphones, and it's a surprise that you've been able to port it to the odroid xu4. I will be aware of the development to prove it. Thank you!

Orso Grigio
Posts: 1
Joined: Mon Oct 15, 2018 4:53 pm
languages_spoken: english
ODROIDs: ODROID XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by Orso Grigio »

Hi to all of you,
I have an issue with LineageOS 15.1 (tried with both Alpha3 and Alpha 4)... the USB Audio Adapter CM108AH does not work on this ROM, but it does work on the official Android 4.4.4 v6.5

lsusb shows nothing when I insert the USB Audio Adapter (nothing more that the "normal" lines:
u0_a55@odroidxu3:/ $ lsusb
Bus 002 Device 002: ID 413c:2003
Bus 003 Device 002: ID 05e3:0610
Bus 004 Device 002: ID 05e3:0616
Bus 006 Device 002: ID 0bda:8153
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0002
Bus 004 Device 001: ID 1d6b:0003
Bus 005 Device 001: ID 1d6b:0002
Bus 006 Device 001: ID 1d6b:0003
Bus 003 Device 003: ID 046d:c00f

By now I have reverted to the official 4.4.4 v6.5 in order to have the USB Audio Adapter working again.

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

Orso Grigio wrote:Hi to all of you,
I have an issue with LineageOS 15.1 (tried with both Alpha3 and Alpha 4)... the USB Audio Adapter CM108AH does not work on this ROM, but it does work on the official Android 4.4.4 v6.5

lsusb shows nothing when I insert the USB Audio Adapter (nothing more that the "normal" lines:
u0_a55@odroidxu3:/ $ lsusb
Bus 002 Device 002: ID 413c:2003
Bus 003 Device 002: ID 05e3:0610
Bus 004 Device 002: ID 05e3:0616
Bus 006 Device 002: ID 0bda:8153
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0002
Bus 004 Device 001: ID 1d6b:0003
Bus 005 Device 001: ID 1d6b:0002
Bus 006 Device 001: ID 1d6b:0003
Bus 003 Device 003: ID 046d:c00f

By now I have reverted to the official 4.4.4 v6.5 in order to have the USB Audio Adapter working again.
Check your device USB connection, connect directly to Odroid USB 2.0/3.0 ports.
I don't see any USB audio device in your lsusb output.

Also please dump more logs.

Code: Select all

logcat
dmesg
cat /proc/asound/cards
dumpsys media.audio_policy
Upload them to pastebin.com and post links here.
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

emperornovio
Posts: 34
Joined: Sat Jan 20, 2018 12:55 am
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by emperornovio »

voodik wrote:Hi @veccini,

i can confirm, Ethernet with STATIC IP address does not work. (i will check for that).
About gamepad, some fixes in HID protocol will be available in next build. But i only tested with DS4 controller.

Now about A2DP source. Just tested and successfully connected to my cheap BT headphones, also i make tests by connecting two Odroids, everything is ok.
BTW.
Are you restarted your Odroid after setting BT Sink off ?
Also if your headphones is using SCO to transfer audio it will not work.

Regards
Please make the HID protocol upgrade available for ATV too, only very few games work flawlessly with my game controller

GGGxxx
Posts: 14
Joined: Sat Sep 29, 2018 3:28 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by GGGxxx »

voodik wrote:Hi, GGGxxx

XU4 does not support 1200x1920 resolution. All supported resolutions is listed in Odroid Utility.
Portrait mode supported via Android framework. It rotaite image output on standart 1920x1200 resolution.
So if it possible reprogram/reconfigure your MIPI-HDMI controller to proper e.g. 1920x1200 resolution.
Then just rotate output via Odroid Utility.
Hi, voodik and all users!
So, right now i with joy's help started my portrait screen under ubuntu with custom edid:

Code: Select all

Detailed mode: Clock 154.000 MHz, 312 mm x 500 mm
               1200 1260 1270 1319 hborder 0
               1920 1925 1927 1945 vborder 0
               -hsync -vsync 
How i can add this modeline into your build?

joy
Posts: 1296
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 132 times
Been thanked: 157 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by joy »

GGGxxx wrote:
voodik wrote:Hi, GGGxxx

XU4 does not support 1200x1920 resolution. All supported resolutions is listed in Odroid Utility.
Portrait mode supported via Android framework. It rotaite image output on standart 1920x1200 resolution.
So if it possible reprogram/reconfigure your MIPI-HDMI controller to proper e.g. 1920x1200 resolution.
Then just rotate output via Odroid Utility.
Hi, voodik and all users!
So, right now i with joy's help started my portrait screen under ubuntu with custom edid:

Code: Select all

Detailed mode: Clock 154.000 MHz, 312 mm x 500 mm
               1200 1260 1270 1319 hborder 0
               1920 1925 1927 1945 vborder 0
               -hsync -vsync 
How i can add this modeline into your build?
Hi GGGxxx,
Please refer to this reply. ;)
viewtopic.php?f=97&t=32519#p236453

juanitomaille
Posts: 40
Joined: Thu Dec 21, 2017 12:25 am
languages_spoken: english, french
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by juanitomaille »

voodik wrote:Update! :ugeek:

Code: Select all

20181009 Alpha-v0.4
Fixed Play Store stuck with "Download pending".
Fixed Bluetooth Sink/Source profiles.(if you want to use Odroid as A2DP source disable BT Sink from Utility>MISC tab).
Update Android to 8.1.0_r47
Tried it in my CAR PC. USB DAC audio seems to not working, Wifi doesn't connect automatically or has slower detection. the same after several reboot.
I had to leave my car so it's the only things I've seen.

hope this helps.

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

juanitomaille wrote:
voodik wrote:Update! :ugeek:

Code: Select all

20181009 Alpha-v0.4
Fixed Play Store stuck with "Download pending".
Fixed Bluetooth Sink/Source profiles.(if you want to use Odroid as A2DP source disable BT Sink from Utility>MISC tab).
Update Android to 8.1.0_r47
Tried it in my CAR PC. USB DAC audio seems to not working, Wifi doesn't connect automatically or has slower detection. the same after several reboot.
I had to leave my car so it's the only things I've seen.

hope this helps.
Because of this,
https://review.lineageos.org/#/c/Lineag ... /+/231899/
will be fixed in next version. i also check wifi issues.
BTW which wifi module you use ?
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

juanitomaille
Posts: 40
Joined: Thu Dec 21, 2017 12:25 am
languages_spoken: english, french
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by juanitomaille »

Ok, I will wait ;-)

My wifi is Realtek RTL8188cus.

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

juanitomaille wrote:Ok, I will wait ;-)

My wifi is Realtek RTL8188cus.
Just checked with 3 different WiFi modules (RTL8188CUS, RTL8812AU, RT5572N). Everything works as expected.
WiFi reconnects after, reboot, power loss etc.
So i need logs(logcat/dmesg) to understand whats wrong.
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

voodik
Posts: 1839
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 35 times
Been thanked: 221 times
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by voodik »

Update :ugeek:
  • 20181025 Alpha-v0.5
    Fixed Ethernet static ip issues
    Fixed USB Audio support
    Fixed Bluetooth HID support
    Fixed Gapps logspam
    Fixed Selinux denials(now you can set it to enforcing mode)
    Added A2DP AptX AptX-HD encoders (not tested)
    Added Enable/Disable option for OGST TFT display to Odroid Utility.
    Added tvheadend, mplayer, ffmpeg
    Removed Safe headphone volume warning
Enjoy ;)
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

juanitomaille
Posts: 40
Joined: Thu Dec 21, 2017 12:25 am
languages_spoken: english, french
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LineageOS-15.1 Android 8.1 Oreo for ODROID-XU3/XU4

Post by juanitomaille »

Graphics is broken for me!

My wife mocked me Image

I can't tell you more besause I can't navigate in system.
Touchscreen works.

In the center of image it's my launcher. ImageImage

Envoyé de mon CLT-L09 en utilisant Tapatalk

Post Reply

Return to “Android”

Who is online

Users browsing this forum: Google [Bot] and 2 guests