2015-01-15, 13:44
2015-01-15, 17:08
They're working on porting tvheadend to Android. Some tvheadend developers are also getting free hardware samples so something should materialize sooner or later.
2015-01-25, 05:02
It's working now on my Tronsmart R28 (RK3288).
Link
The TV stick drivers (for my DVB-T stick) were a bit of a pain to get working properly at first, but I can confirm it definitely works.....and works well.
Hopefully someone might be able to make the installation process easier.
I wish I could, but it would be a steep learning curve for me.
Link
The TV stick drivers (for my DVB-T stick) were a bit of a pain to get working properly at first, but I can confirm it definitely works.....and works well.
Hopefully someone might be able to make the installation process easier.
I wish I could, but it would be a steep learning curve for me.
2015-01-27, 16:58
(2015-01-25, 05:02)Dezz Wrote: It's working now on my Tronsmart R28 (RK3288).Very cool if really true, but are you 100% sure that it is running on Android OS and not on Linux OS on Android hardware?
Link
The TV stick drivers (for my DVB-T stick) were a bit of a pain to get working properly at first, but I can confirm it definitely works.....and works well.
Hopefully someone might be able to make the installation process easier.
I wish I could, but it would be a steep learning curve for me.
Someone named takitr (takitr = taki?) posted in the WeTek forum saying that he is running Theadend for Linux on a RK3288 box
http://forum.kodi.tv/showthread.php?tid=...id=1892938
That is, are you sure that he is not just talking about running Tvheadend on an Android media box installed with Linux OS?
You see this thread is not about running Tvheadend for Linux on "Android hardware", it is about it running on "Android OS"
2015-01-27, 22:55
Yes it is really true.
As I've written, it is 100% working on Android OS, not just Linux.
It is the backend and client on the same RK3288 machine (Tronsmart R28).
I understand you doubting this, but please don't treat people like idiots. I wouldn't have posted if it didn't work.
Perhaps you should try it. The most difficult part is getting your TV stick drivers working correctly.
Linux drivers (.ko) need to be cross compiled for Android. Taki provided a guide to doing this at Freaktab.
There are also links to drivers for many tuners Taki already cross-compiled for android.
I found the "s2liplianin" drivers worked for me.
Some TV tuners require several .ko files to work.......ie; DIB0700 based tuners requires dvb-usb, dvb-core, dvb-usb-dib0700, dib3000, dib7000, dib8000....etc...etc
Edit: I forgot to mention that the original linux firmware files (at least for the IT913x based tuner I used), did not require to be cross-compiled for android. I'm not sure if that is going to be the case for all tuners requiring a firmware file (.fw).
As I've written, it is 100% working on Android OS, not just Linux.
It is the backend and client on the same RK3288 machine (Tronsmart R28).
I understand you doubting this, but please don't treat people like idiots. I wouldn't have posted if it didn't work.
Perhaps you should try it. The most difficult part is getting your TV stick drivers working correctly.
Linux drivers (.ko) need to be cross compiled for Android. Taki provided a guide to doing this at Freaktab.
There are also links to drivers for many tuners Taki already cross-compiled for android.
I found the "s2liplianin" drivers worked for me.
Some TV tuners require several .ko files to work.......ie; DIB0700 based tuners requires dvb-usb, dvb-core, dvb-usb-dib0700, dib3000, dib7000, dib8000....etc...etc
Edit: I forgot to mention that the original linux firmware files (at least for the IT913x based tuner I used), did not require to be cross-compiled for android. I'm not sure if that is going to be the case for all tuners requiring a firmware file (.fw).
2015-01-28, 09:51
@Dezz are any source code changes needed to get it to build? Since the software is GPL you have to make any changes public if you make your version public.
2015-01-28, 10:37
(2015-01-28, 09:51)negge Wrote: @Dezz are any source code changes needed to get it to build? Since the software is GPL you have to make any changes public if you make your version public.
Yes, I understand.
I don't know if changes were made to the TVHeadend source, as it was provided already built.
http://www.freaktab.com/showthread.php?1...88-Android
and
http://www.freaktab.com/showthread.php?8...-tvheadend
It might be worth asking Taki (or Takitr here) if he made any changes.
There might also be a clue in the RK3188 thread linked above.
I'll shoot Taki and/or Sam321 a pm at freaktab and ask if there were any changes made.
Edit: http://www.freaktab.com/showthread.php?8...post142882 appears to be how it is built for the 3188, and wouldn't be surprised if it is the same or similar for the 3288 version, but using a different toolchain (4.6).
2015-01-28, 12:57
(2015-01-27, 22:55)Dezz Wrote: I understand you doubting this, but please don't treat people like idiots. I wouldn't have posted if it didn't work.I meant no offense. I simply wanted to clarify that this thread is about a request for native Android port of Tvheadend so there was no confusion from now on.
I was just skeptical because so many who claimed success on Android boxes before has just installed a Linux OS distribution like OpenELEC on the Android box. And others who previously claimed success was just using the PVR client addon in Kodi under Android OS and then running Tvheadend on a other networked Linux machine.
I don't have a Rockchip based Android box myself, but it would be very cool to see this on Amlogic based boxes too, like WeTek Play and Pivos DIOS XS/DS.
2015-01-28, 13:06
(2015-01-28, 10:37)Dezz Wrote: I'll shoot Taki and/or Sam321 a pm at freaktab and ask if there were any changes made.Any chance that you could convince them both to join the Kodi/XBMC community here on this forum at the kodi.tv site?
Edit: http://www.freaktab.com/showthread.php?8...post142882 appears to be how it is built for the 3188, and wouldn't be surprised if it is the same or similar for the 3288 version, but using a different toolchain (4.6).
And/or perhaps work with Tvheadend server developers upstream for their mainline integration? https://tvheadend.org
2015-01-28, 13:19
(2015-01-28, 09:51)negge Wrote: @Dezz are any source code changes needed to get it to build? Since the software is GPL you have to make any changes public if you make your version public.Looks like the source code patch with changes is posted here http://www.holik.at/tvheadend-android.patch
They have followed instructions from http://www.holik.at/index.php?m=06&y=13&...627-175237
Code:
To compile you first need to find your device kernel source (like device) based Allwinner 31s device. later cross compile with your kernel source. you make step by step this
http://www.holik.at/index.php?m=06&y=13&entry=entry130627-175237
android tvheadend compile
Thursday, June 27, 2013, 17:52 - Android
Posted by Administrator
build standalone toolchain from Android NDK
http://developer.android.com/sdk/ndk/index.html
cd WORKINGDIR
wget http://dl.google.com/android/ndk/android-ndk-r8e-linux-x86_64.tar.bz2
tar -xjv android-ndk-r8e-linux-x86_64.tar.bz2
run this script ( make-standalone-toolchain.sh )
#!/bin/bash
export ANDROID_NDK=android-ndk-r8e
export ANDROID_NDK_TOOLCHAIN_ROOT=android-toolchain-14
$ANDROID_NDK/build/tools/make-standalone-toolchain.sh \
--system=linux-x86_64 \
--toolchain=arm-linux-androideabi-4.4.3 \
--platform=android-14 \
--install-dir=$ANDROID_NDK_TOOLCHAIN_ROOT
remove "--system=linux-x86_64" for 32 Bit Linux
build openssl for android
git clone https://github.com/guardianproject/openssl-android.git
cd openssl-android
../android-ndk-r8e/ndk-build
cd ..
link missing header and copy libs into android toolchain
ln -s ../../../../../rockchip-rk30xx-mk808/include/linux/dvb android-toolchain-14/sysroot/usr/include/linux/dvb
ln -s ../../../../openssl-android/include/openssl android-toolchain-14/sysroot/usr/include/openssl
cp openssl-android/libs/armeabi/libssl.so android-toolchain-14/lib
cp openssl-android/libs/armeabi/libcrypto.so android-toolchain-14/lib
build tvheadend for android
wget https://github.com/innbox/tvheadend/archive/tvheadend-android.zip
unzip tvheadend-tvheadend-android.zip
cd tvheadend-tvheadend-android
./configure --disable-avahi \
--disable-libav \
--enable-bundle \
--enable-android \
--arch=armeabi-v7a \
--cc=../android-toolchain-14/bin/arm-linux-androideabi-gcc \
--android_toolchain=../android-toolchain-14
make
adb push build.linux/tvheadend /data/dvb
adb push ../android-toolchain-14/lib/libssl.so /data/dvb
adb push ../android-toolchain-14/lib/libcrypto.so /data/dvb
adb shell
root@android:/data/dvb # ./tvheadend -C
Because of bad signal i applied and modified a patch for tvheadend git master
git clone https://github.com/tvheadend/tvheadend.git
cd tvheadend
git checkout e343bfdcca877d4a19a2d86d1713fb0f46ab0b50
patch -p1 <tvheadend-android.patch
http://www.holik.at/tvheadend-android.patch
2015-01-28, 15:46
Looks like more progress now as of today, with unofficial CyanogenMOD developer Christian Troy today also having released a CyanogenMOD image with Tvheadend server support
http://www.wetekforums.com/viewtopic.php?f=13&t=350
He have released an experimental CM12 firmware image for their Amlogic based WeTek Play, a build based on Android 5,0 (Lollipop) which includes Tvheadend server and Kodi.
http://www.wetekforums.com/viewtopic.php?f=13&t=350
He have released an experimental CM12 firmware image for their Amlogic based WeTek Play, a build based on Android 5,0 (Lollipop) which includes Tvheadend server and Kodi.
2015-01-28, 19:40
(2015-01-28, 12:57)Hedda Wrote:(2015-01-27, 22:55)Dezz Wrote: I understand you doubting this, but please don't treat people like idiots. I wouldn't have posted if it didn't work.I meant no offense. I simply wanted to clarify that this thread is about a request for native Android port of Tvheadend so there was no confusion from now on.
I was just skeptical because so many who claimed success on Android boxes before has just installed a Linux OS distribution like OpenELEC on the Android box. And others who previously claimed success was just using the PVR client addon in Kodi under Android OS and then running Tvheadend on a other networked Linux machine.
I don't have a Rockchip based Android box myself, but it would be very cool to see this on Amlogic based boxes too, like WeTek Play and Pivos DIOS XS/DS.
Fair enough.
I was bit skeptical at first as well......but persisted with it and very happy that it really works.
I would be very surprised if it isn't able to work on Amlogic boxes very soon.
2015-01-28, 19:42
(2015-01-28, 13:06)Hedda Wrote:(2015-01-28, 10:37)Dezz Wrote: I'll shoot Taki and/or Sam321 a pm at freaktab and ask if there were any changes made.Any chance that you could convince them both to join the Kodi/XBMC community here on this forum at the kodi.tv site?
Edit: http://www.freaktab.com/showthread.php?8...post142882 appears to be how it is built for the 3188, and wouldn't be surprised if it is the same or similar for the 3288 version, but using a different toolchain (4.6).
And/or perhaps work with Tvheadend server developers upstream for their mainline integration? https://tvheadend.org
It looks like Taki did try to at one point.
http://forum.kodi.tv/showthread.php?tid=213747&page=4
2015-01-28, 19:44
(2015-01-28, 13:19)Hedda Wrote: Looks like the source code patch with changes is posted here http://www.holik.at/tvheadend-android.patch
They have followed instructions from http://www.holik.at/index.php?m=06&y=13&...627-175237
From the looks of it, that does very much look like what they have done.
2015-01-29, 19:41
(2015-01-28, 15:46)Hedda Wrote: Looks like more progress now as of today, with unofficial CyanogenMOD developer Christian Troy today also having released a CyanogenMOD image with Tvheadend server support
http://www.wetekforums.com/viewtopic.php?f=13&t=350
He have released an experimental CM12 firmware image for their Amlogic based WeTek Play, a build based on Android 5,0 (Lollipop) which includes Tvheadend server and Kodi.
I've tried this and it works nicely, not overly keen on the kodi PQ, so switched back to openelec for tvheadend - however, I can confirm it definitely works on android.