LineageOS-14.1 Android TV for ODROID-XU3/XU4

Moderators: odroid, mdrjr

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby sub263 » Fri Mar 17, 2017 1:01 am

I tried to install Super su and after installation i restarted. The device seems to be stuck in booting.Here is the UART debug dump. What could be going wrong?

http://pastebin.com/hfX9ze0H
Last edited by sub263 on Fri Mar 17, 2017 3:55 am, edited 1 time in total.
Odroid-U3
Raspberry-Pi
Panda Board
10.1" chungwa LCD
HDMI to LVDS board
USB2UART
sub263
 
Posts: 46
Joined: Fri Mar 21, 2014 7:07 pm
languages_spoken: english
ODROIDs: ODROID U3

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Fri Mar 17, 2017 1:41 am

First edit your post, delete your log, upload your log to pastebin.com and post link here.
I don't know CM/LineageOS support for supersu because we have a integrated su.
Clean install OS from scratch then enable Developer options from Normal Settings (Non TV version settings can be opened from App Drwawer), also enable root access from same NON TV Settings.

Thanks.
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby bmentink » Fri Mar 17, 2017 11:49 am

@voodik
Many Thanks. I must admit that seems just a bit weird, to have two "Settings" with the same icon doing different things ...
I do have Ethernet working now, so that is great.

By the way, how do you exit programs and for that matter how do you do a nice shutdown, I can see no shutdown icons.

When I type exit in a terminal, it just sits there, I have to ALT-Tab to some other app to be able to get back home. Likewise, the web browser has no way to exit.
bmentink
 
Posts: 386
Joined: Sat Dec 13, 2014 1:47 pm
languages_spoken: english
ODROIDs: XU3, XU4

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby thefearless639 » Sat Mar 18, 2017 4:20 am

Wow, this image, and the other 7.1 standard android are some of the best on single board computers.

One issue i am running into though is audio crackling and popping, especially on netflix.

Has anyone else had this issue or know of a fix?
thefearless639
 
Posts: 1
Joined: Sat Mar 18, 2017 4:17 am
languages_spoken: english
ODROIDs: XU4

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby sub263 » Tue Mar 21, 2017 6:13 am

voodik wrote:
sub263 wrote:
voodik wrote:
sub263 wrote:I screwed my media_codecs.xml file :mrgreen: . can some one post their file here?

Allready edited.
media_codecs.xml


p.s.
Can you ask which apps doesn't play videos without HW codecs ?

Voodik,
Even YouTube, VLC and other streaming sitea sling player etc



Sent from my ONEPLUS A3000 using Tapatalk


I make update at the end of this week where HW codecs zooming issue is fixed.

Hi Voodik,
Did you get a chance to make a build ? :roll:
Odroid-U3
Raspberry-Pi
Panda Board
10.1" chungwa LCD
HDMI to LVDS board
USB2UART
sub263
 
Posts: 46
Joined: Fri Mar 21, 2014 7:07 pm
languages_spoken: english
ODROIDs: ODROID U3

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Tue Mar 21, 2017 11:43 am

Update :ugeek:
Code: Select all
20170321
Android: fixed HW AVC Decoder
Android: added MuMuDVB - DVB IPTV free streaming software port.
Kernel: Backport media subtree from 4.9 kernel to support more DTV devices.
Kernel: Added some DTV modules (others by request).
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby rooted » Tue Mar 21, 2017 2:37 pm

voodik wrote:Update :ugeek:
Code: Select all
20170321
Android: fixed HW AVC Decoder
Android: added MuMuDVB - DVB IPTV free streaming software port.
Kernel: Backport media subtree from 4.9 kernel to support more DTV devices.
Kernel: Added some DTV modules (others by request).

Nice update, I bet that media subtree backport took a good bit of work.
User avatar
rooted
 
Posts: 3301
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby odroid » Tue Mar 21, 2017 8:12 pm

@rooted,
Do you have any USB ATSC DTV receiver to test the new features?
User avatar
odroid
Site Admin
 
Posts: 21875
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby memeka » Tue Mar 21, 2017 8:28 pm

odroid wrote:@rooted,
Do you have any USB ATSC DTV receiver to test the new features?

I will be testing them when I get some time, I think @voodik added the drivers for my tuner.
User avatar
memeka
 
Posts: 3370
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Tue Mar 21, 2017 10:09 pm

I will prepare special version of ATV image which includes Live Channels/TV app with ATSC support.
But i need USB ATSC receiver model/vid-pid, to port/fix drivers and include it in build.
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby zaphodb » Thu Mar 23, 2017 8:56 am

Hi @voodik

I like the latest update, but have a problem with the virtual keyboard. It doesnt seem to respond when used in settings and I have to revert to plugging in an external keyboard. It works fine from inside kodi, but no good on play store, settings etc.

regards
zaphodb
 
Posts: 3
Joined: Mon Feb 20, 2017 5:10 am
languages_spoken: english
ODROIDs: ux4

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby KJM » Thu Mar 23, 2017 1:04 pm

voodik wrote:I will prepare special version of ATV image which includes Live Channels/TV app with ATSC support.
But i need USB ATSC receiver model/vid-pid, to port/fix drivers and include it in build.


Hi voodik - I've only just joined, so I can't send these directly via a PM!
I have 2 of these: idVendor=1f4d, idProduct=a115 (recognised on the laptop as Geniatech). These are very generic: no manufacturer branding on the tiny little things. They have micro USB so you can plug them directly into a phone.

Cheers
/Kevin
KJM
 
Posts: 1
Joined: Sat Mar 18, 2017 4:38 pm
languages_spoken: english
ODROIDs: xu4

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby rooted » Thu Mar 23, 2017 2:50 pm

odroid wrote:@rooted,
Do you have any USB ATSC DTV receiver to test the new features?

I have a Hauppauge ATSC dongle I can test, it's supported in the kernel just needs enabled in the config it if isn't already.

HVR-950Q is the model.
User avatar
rooted
 
Posts: 3301
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Thu Mar 23, 2017 8:29 pm

rooted wrote:
odroid wrote:@rooted,
Do you have any USB ATSC DTV receiver to test the new features?

I have a Hauppauge ATSC dongle I can test, it's supported in the kernel just needs enabled in the config it if isn't already.

HVR-950Q is the model.

I will port this drivers, and make special build for you, and if you have a time we will test LiveTV support together.
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Fri Mar 24, 2017 1:50 am

zaphodb wrote:Hi @voodik

I like the latest update, but have a problem with the virtual keyboard. It doesnt seem to respond when used in settings and I have to revert to plugging in an external keyboard. It works fine from inside kodi, but no good on play store, settings etc.

regards

Are you talking about ATV version of Android ?
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby rooted » Fri Mar 24, 2017 6:30 am

voodik wrote:
rooted wrote:
odroid wrote:@rooted,
Do you have any USB ATSC DTV receiver to test the new features?

I have a Hauppauge ATSC dongle I can test, it's supported in the kernel just needs enabled in the config it if isn't already.

HVR-950Q is the model.

I will port this drivers, and make special build for you, and if you have a time we will test LiveTV support together.

No problem, you build it I will test.
User avatar
rooted
 
Posts: 3301
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby evgeny » Sat Mar 25, 2017 10:59 pm

After update to Alpha-0.2_21.03.17 wifi does not work any more. Any ideas? :?
evgeny
 
Posts: 9
Joined: Fri Dec 26, 2014 3:13 am
languages_spoken: english, german, russian
ODROIDs: XU3

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Sat Mar 25, 2017 11:08 pm

evgeny wrote:After update to Alpha-0.2_21.03.17 wifi does not work any more. Any ideas? :?

If your Ethernet also doesn't work, please clean install via selfinstall images and try to update to latest version.
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby evgeny » Sat Mar 25, 2017 11:44 pm

voodik wrote:
evgeny wrote:After update to Alpha-0.2_21.03.17 wifi does not work any more. Any ideas? :?

If your Ethernet also doesn't work, please clean install via selfinstall images and try to update to latest version.


Ethernet does not work as well.
So that means, I should reflash my SD-card with android-LineageOS-ATV-14.1-alpha-0.1-sd_installer-odroidxu3-20170211.img and update after that.
Is it possible to keep my user data? Or go back to Alpha-0.1_11.02.17?
For instance my build.prop was not updated after update, should it?
evgeny
 
Posts: 9
Joined: Fri Dec 26, 2014 3:13 am
languages_spoken: english, german, russian
ODROIDs: XU3

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Sun Mar 26, 2017 12:34 am

evgeny wrote:
voodik wrote:
evgeny wrote:After update to Alpha-0.2_21.03.17 wifi does not work any more. Any ideas? :?

If your Ethernet also doesn't work, please clean install via selfinstall images and try to update to latest version.


Ethernet does not work as well.
So that means, I should reflash my SD-card with android-LineageOS-ATV-14.1-alpha-0.1-sd_installer-odroidxu3-20170211.img and update after that.
Is it possible to keep my user data? Or go back to Alpha-0.1_11.02.17?
For instance my build.prop was not updated after update, should it?

No, something wrong happens, your build.prop will be updated/replaced after each update.
Because of XU4 is missing adb port and you loss connectivity i can suggest you try clean isntall/update only.
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby zaphodb » Sun Mar 26, 2017 1:02 am

voodik wrote:Are you talking about ATV version of Android ?

Hi,
Im using the latest ATV version (2017-03-20). I installed the update and formatted everything so its a fresh install.
If I use terminal, the virtual keyboard appears but the mouse cursor fails to select the key on click. It seems to happen on most of the apps, including settings. A regular usb keyboard works fine.
Strangely with Kodi, it works fine. I guess it maybe has its own bundled virtual keyboard or it could be that apps downloaded from playstore work fine.

I also have a question with regards the playstore. I assume that the limited selection offered by playstore on the ATV version is because of the model number detailed in the build.prop file. Is it safe to change this to the same model number for your non ATV version of your rom, and hopefully expanding the playstore apps available?
zaphodb
 
Posts: 3
Joined: Mon Feb 20, 2017 5:10 am
languages_spoken: english
ODROIDs: ux4

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Sun Mar 26, 2017 1:13 am

zaphodb wrote:
voodik wrote:Are you talking about ATV version of Android ?

Hi,
Im using the latest ATV version (2017-03-20). I installed the update and formatted everything so its a fresh install.
If I use terminal, the virtual keyboard appears but the mouse cursor fails to select the key on click. It seems to happen on most of the apps, including settings. A regular usb keyboard works fine.
Strangely with Kodi, it works fine. I guess it maybe has its own bundled virtual keyboard or it could be that apps downloaded from playstore work fine.

I also have a question with regards the playstore. I assume that the limited selection offered by playstore on the ATV version is because of the model number detailed in the build.prop file. Is it safe to change this to the same model number for your non ATV version of your rom, and hopefully expanding the playstore apps available?


1. Virtual keyboard of ATV version is not designed for mouse clicks, it designed to use it via TV remote or joystick.
2. No, we are spoofing Sony Bravia ATV device to our build.prop otherwise Play Store is not working. if you want install NON ATV apps or apps which missing in PlayStore you can always download them from sites like appmirror,com.
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby rooted » Sun Mar 26, 2017 5:21 am

1.) It's indeed standard behavior on Android TV keyboard.

Use a third party keyboard.
User avatar
rooted
 
Posts: 3301
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Tue Mar 28, 2017 2:09 am

norx wrote:
norx wrote:Hi, i'm not able to get the SD version working on a XU4.
The problem is that it starts but the HDMI connected screen remains black with no signal.
I know that on the first run the screen become active only after some (long) time (as for other distros) but i've waited for an hour and a half with no signal, so I reflashed it again and now it's another hour that i'm waiting with no success.

The HDMI cable and the monitor are fine (i've also tried another cable), they work perfectly with all the other distro i tried: android 4/5/6 and a lot of linux distros even with the mainline kernel.

How i can get it working?
Thanks


Ok sorry, it finnaly starts: after 2 hours of waiting I simply restarted the device and it just worked.
Now another question: there's a decent browser to use in Android TV? the lineage browser is unusable with the remote, a mouse is needed and there is no history/address bar

https://play.google.com/store/apps/deta ... webbrowser
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby Puritan007 » Wed Mar 29, 2017 8:17 am

Hello. I'm new to xu4, and all of this.. First I want to thank you for your work voodik very nicely done, much appreciated.
I've gotten most stuff set up and working. My question is retroarch. When I load a game it crashes everyone no matter what game or emulator.
I wanted the xu4 for kodi and retrogame games. I found gamestation to complex and I'm a little more used to android. But I've no idea why retroarch crashes. I've tried a bunch of "fixes" on YouTube and nothings working at the moment. Just curious if anyone had any tips. Thank you.
Puritan007
 
Posts: 2
Joined: Wed Mar 29, 2017 8:12 am
languages_spoken: english
ODROIDs: Xu4

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby memeka » Wed Mar 29, 2017 8:55 am

I got the TV tuner recognized by the Android TV framework with latest build.
Channels and TV apps appeared, and see the USB tuner as input.
But scanning fails or crashes at the moment. I will be testing the tuner in ubuntu too, I'm using a indoor small antenna so maybe it really is not picking anything up.
After I make the tuner work in ubuntu, i will try again ATV.
User avatar
memeka
 
Posts: 3370
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby odroid » Wed Mar 29, 2017 9:19 am

I've ordered USB ATSC tuner and I will get it in a week.
Please check the availability of the driver.
VID:PID = 2040:b123
Model : Hauppauge 955Q
User avatar
odroid
Site Admin
 
Posts: 21875
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Wed Mar 29, 2017 9:35 am

Puritan007 wrote:Hello. I'm new to xu4, and all of this.. First I want to thank you for your work voodik very nicely done, much appreciated.
I've gotten most stuff set up and working. My question is retroarch. When I load a game it crashes everyone no matter what game or emulator.
I wanted the xu4 for kodi and retrogame games. I found gamestation to complex and I'm a little more used to android. But I've no idea why retroarch crashes. I've tried a bunch of "fixes" on YouTube and nothings working at the moment. Just curious if anyone had any tips. Thank you.

I will check for it.
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Wed Mar 29, 2017 9:40 am

memeka wrote:I got the TV tuner recognized by the Android TV framework with latest build.
Channels and TV apps appeared, and see the USB tuner as input.
But scanning fails or crashes at the moment. I will be testing the tuner in ubuntu too, I'm using a indoor small antenna so maybe it really is not picking anything up.
After I make the tuner work in ubuntu, i will try again ATV.

Dear memeka, thank you for helping us to bring up DTV support.
Unfortunately TV or LiveTV apps at this moment only support ATSC standard.
For DVB-T/T2/C you need to use mumudvb.
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby memeka » Wed Mar 29, 2017 10:02 am

voodik wrote:
memeka wrote:I got the TV tuner recognized by the Android TV framework with latest build.
Channels and TV apps appeared, and see the USB tuner as input.
But scanning fails or crashes at the moment. I will be testing the tuner in ubuntu too, I'm using a indoor small antenna so maybe it really is not picking anything up.
After I make the tuner work in ubuntu, i will try again ATV.

Dear memeka, thank you for helping us to bring up DTV support.
Unfortunately TV or LiveTV apps at this moment only support ATSC standard.
For DVB-T/T2/C you need to use mumudvb.


@voodik I see. thank you, i am trying to get DVB-T.
In this case, maybe then i can use TVHeadend, because they have an Android TV client which is exposed as a source for Channels app: https://github.com/kiall/android-tvheadend
I will try first with TVHeadend server on some other machine (linux), and if that works, maybe you can add the server to your build.

In this thread here, someone already built tvheadend server a long time ago for odroid U3 :) https://tvheadend.org/boards/5/topics/10286 so it has the compile flags, hope it will make it easier for you!
PS: TVHeadend server can also be configured via http interface, so for a final build it might be best solution, don't need to configure from terminal as long as the server is configured as a service and started at boot.
User avatar
memeka
 
Posts: 3370
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby Puritan007 » Wed Mar 29, 2017 7:08 pm

voodik wrote:
Puritan007 wrote:Hello. I'm new to xu4, and all of this.. First I want to thank you for your work voodik very nicely done, much appreciated.
I've gotten most stuff set up and working. My question is retroarch. When I load a game it crashes everyone no matter what game or emulator.
I wanted the xu4 for kodi and retrogame games. I found gamestation to complex and I'm a little more used to android. But I've no idea why retroarch crashes. I've tried a bunch of "fixes" on YouTube and nothings working at the moment. Just curious if anyone had any tips. Thank you.

I will check for it.


Never mind I figured it out, all is working great thank you!
Puritan007
 
Posts: 2
Joined: Wed Mar 29, 2017 8:12 am
languages_spoken: english
ODROIDs: Xu4

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby memeka » Thu Mar 30, 2017 7:05 pm

@voodik

As I suspected, using TVHeadend works very nicely. The app is still beta and sometimes video is unavailable, but the experience is great! Here's a video:



I hope you remove mumudvb and install tvheadhead server instead in the next build.

PS: you can see Live Channels app has also Google Movies as source, it's the first one :) Also TVHeadend does EPG very nicely...
User avatar
memeka
 
Posts: 3370
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: LineageOS-14.1 Android TV for ODROID-XU3/XU4

Unread postby voodik » Thu Mar 30, 2017 11:42 pm

memeka wrote:@voodik

As I suspected, using TVHeadend works very nicely. The app is still beta and sometimes video is unavailable, but the experience is great! Here's a video:



I hope you remove mumudvb and install tvheadhead server instead in the next build.

PS: you can see Live Channels app has also Google Movies as source, it's the first one :) Also TVHeadend does EPG very nicely...

Dear memeka can you post TVHeadend link which you used ? Are you running TVHeadend backend on Android ?
You can always buy me a beer Here ;)
User avatar
voodik
 
Posts: 967
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian

Previous

Return to Android

Who is online

Users browsing this forum: No registered users and 2 guests