yashsingh1/xdaforums huggingface dataset:
[Nexus 7 General] HeikoE:
Replace xxxxxxxx by your kernel-version, for example if your kernel version is 3.1.10-g30c5396, use:

perl -pi -e 's/3.1.10-g52027f9/3.1.10-g30c5396/g' *.ko

That's it!

More info: This way works with Cyanogen Mod kernels/ROMs!!![/QUOTE]

Sure that's a noob question...

Do you run that patch on the device, meaning via a terminal window or adb? Just unzipping the modules and execute in that folder or do I think to easy? Thanks for helping.

Gesendet von meinem Nexus 7
[Nexus 7 General] _crue_:
02-13 10:08:30.860: E/AndroidRuntime(2406): FATAL EXCEPTION: main
02-13 10:08:30.860: E/AndroidRuntime(2406): Process: com.chrulri.droidtv, PID: 2406
02-13 10:08:30.860: E/AndroidRuntime(2406): java.lang.NullPointerException
02-13 10:08:30.860: E/AndroidRuntime(2406):	at com.chrulri.droidtv.ScanActivity.setEnabled(ScanActivity.java:885)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at com.chrulri.droidtv.ScanActivity$AsyncScanTask.onCancelled(ScanActivity.java:932)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at android.os.AsyncTask.onCancelled(AsyncTask.java:405)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at android.os.AsyncTask.finish(AsyncTask.java:630)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at android.os.AsyncTask.access$600(AsyncTask.java:177)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at android.os.Handler.dispatchMessage(Handler.java:102)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at android.os.Looper.loop(Looper.java:136)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at android.app.ActivityThread.main(ActivityThread.java:5017)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at java.lang.reflect.Method.invokeNative(Native Method)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at java.lang.reflect.Method.invoke(Method.java:515)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
02-13 10:08:30.860: E/AndroidRuntime(2406):	at dalvik.system.NativeStart.main(Native Method)
[Nexus 7 General] jimmng:
could someone pls reupload nexusdvb.rar or the apk....

nexus 7 2012, kernel is perfect for the first option.

Much appreciated and thanks guys :)
[Nexus 7 General] hamedpc007:
ko files for 3.4.0 kernel

hi

can anyone plz compile and upload ko files for kernel 3.4.0-perf-g1bd8e16 ( sony xperia tx android 4.3 )

i tried this post :

http://xdaforums.com/showpost.php?p=50145034&postcount=254

but no success :( :crying:

when i enter : insmod dvb-core.ko

i get 'exec format error'

thanks in advance :good::fingers-crossed:
[Nexus 7 General] Ja_som:
Hi,

can someone compile files for Nexus 7(2012) with Android 4.4.2 and 3.1.10-g4776c68 kernel?

I don't have linux...

Thank you guys...
[Nexus 7 General] HeikoE:
+

Gesendet von meinem Nexus 7
[Nexus 7 General] maxniper:
hi, i have this DVB-T AVerMedia AVerTV AverTV Volar HD & HD PRO (A835)	✔ Yes (unofficial)	07ca:b835 USB2.0	AF 9035	[5]	Newer kernels supported via this way [6]. 2.6.32 kernel possible after minor patch [7]. Tested with 2.6.32-5-kirkwood.

can some one guide me, i haven't found .ko files for it
[Nexus 7 General] HeikoE:
OK. After a while I found that "perl - pi - e..." just replaces the kernel version in the *. Most files. I did it with a Windows tool cause I don't have linux.

Anyway, with most kernels I have tried I end up in the error:

Starting DVB support

insmod: init_module 'dvb-core.ko' failed (Function not implemented)

insmod: init_module 'dvb-pll.ko' failed (Function not implemented)

insmod: init_module 'rc-core.ko' failed (Function not implemented)

insmod: init_module 'dvb-usb.ko' failed (Function not implemented)

insmod: init_module 'dib3000mc.ko' failed (Function not implemented)

insmod: init_module 'dibx000_common.ko' failed (Function not implemented)

Only francos kernel came up with a different error. It reported mismatching kernel versions. But replacing the kernel version "3.1.10-g05b777c" with "3.1.10-franco.Kernel-nightly" destroys the files as the length changes.

I don't know what non-implemented function causes the mentioned error and I don't have the tools to compile files myself. Can anyone help? Thanks!

By the way: I placed the appropriate *.fw file at etc/firmware.

Gesendet von meinem Nexus 7
[Nexus 7 General] yanpol87:
Are there any alternatives to droid tv? I only can scan and find channels with it, but can't view them.
[Nexus 7 General] Zibri:
SDRTouch works with rtl2832 on unrooted galaxy note 3. I wonder if someone can adapt this app for that.
[Nexus 7 General] luckysquid:
hi, how I can compile driver for kernel 3.4.5 ? I use memo pad 7 hd
[Nexus 7 General] croisez:
I first unlocked then rooted my Nexus 7 (2013).

uname -a reports my kernel as 3.4.0-gac9222c

But after launching

# ./dvbn7comp 3.4.0-gac9222c

i get following error:

# fatal: ambiguous argument '3.4.0-gac9222c': unknown revision or path not in the working tree.

How could I correct this error?

Should I go with the latest Nexus 7 kernel from the tree?

How could I know which kernel to use?
[Nexus 7 General] croisez:
OK, I answer to myself:

First, my Nexus 7 is in 2013 version, meaning that I had to make some changes inside dvbn7comp:

- the DEFCONFIG variable must be flo_defconfig, and not tegra3_android_defconfig

- the kernel tree is not https://android.googlesource.com/kernel/tegra.git any more, but https://android.googlesource.com/kernel/msm.git instead => the NVIDIA chipset is based on a qualcom SOC and not on a Tegra 3 anymore.

- added CONFIG_MODULES=y\ before CONFIG_DVB_CORE=m\ to avoid the error:

make: *** No rule to make target « modules_prepare ».

I compiled successfully all dvb modules for my 3.4.0-gac9222c kernel.

But when doing the insmod on the first module used in the startdvb.sh file, I got this error:

# insmod ./dvb-core.ko

insmod: init_module './dvb-core.ko' failed (Function not implemented)

Moreover, doing:

# lsmod

/proc/modules: No such file or directory

# modinfo dvb-core.ko

modinfo: can't open '/lib/modules/3.4.0-gac9222c/modules.dep': No such file or directory

What should I modify in my Nexus7 filesystem to got succes with insmod'ing ?

My goal is to keep my kernel, because it is much easier than going into a kernel upgrade process, with the risk of bricking my device, because i don't have much experience in Android kernels installations/manipulations.

:confused:
[Nexus 7 General] dvb2k:
hello,

i use timurs usb-rom and i want to start watching tv on my nexus 7 (1st gen with 3G).

ive tried everything but it doesnst work.

ive bought 2 dvbt sticks already...

cinergy xe v2 & logilink (rtl2832U chip)

i go into the folder where all files are and type su and sh startdvb. but the script doesnt load correctly...

it says insmod ...... filename ...... failed. exec format error. what does this mean?

ive tried to do a channel search with DroidTV, but of course it says no device found.

with the loglink stick, sdr touch starts but it says demo mode. but the notifitcations says that superuser access for rtl2832u drivers are granted.

do i have to give droidtv SU access or something?
[Nexus 7 General] soraxx:
How caould it be done for LG G2?
[Nexus 7 General] IamX:
Hi everyone

Do you know usb dongle can receive DVB-T2 with nexus 7?

My country just boardcast DVB-T2.

Thank you

X
[Nexus 7 General] cactusman2:
Device in warm state, but still not working

I have the modules installed and using dmesg says the device is in a warm state but after it tries registering the device, there is a page allocation failure. I imagine this is why it won't work with DroidTV. Looking at the device in the first post's video, mine is identical and should probably be working fine. I'm using the modules from post #80 for kernel version 3.1.10-g22b4fcd. Anyone have similar issues? What doesn't help is that I don't know how to remove the modules to get SDR Touch working again.
[Nexus 7 General] Saulix:
PLZ

Hi all

How can I patch modules for my kernel version? I need tutorial for dummies step by step plz.

By the way my kernel version: 3.1.10-MKernel-mr2-ge7b2d09

So I must to wrote code??:

perl -pi -e 's/3.1.10-g52027f9/3.1.10-MKernel-mr2-ge7b2d09/g' *.ko
[Nexus 7 General] HeikoE:
Im afraid, that wouldnt work. The replace-string is longer and destroys the binary file in that way.

At least it seemed like that for me.

I would be happy to get a solution!

Heiko
[Nexus 7 General] Saulix:
Help plz

Where can I find to download newest dvb-usb-RTL2832u.ko driver whitch support R820T tuner?
[Nexus 7 General] Saulix:
Need driver

Does anyone have RTL2832U driver with include R820T tuner support?
[Nexus 7 General] ofmb:
did you manage to make the rtl2832u+r820t dongle work for you?

i'm struggling with it for some time..

already managed to put it in warm state but it won't pick up any channels in tvheadend.

droidtv won't work at all

any further progress on your part?
[Nexus 7 General] Saulix:
Unfortunately I stuck at the same place as you... terminal shows dongle in warm state, but unrecognized tuner. I think it because on my dongle is r820t tuner. If it wil be 4000, maybe it goes.

Now i left that idea. In the future for DVB-T on android I think I will buy Geniatech MyGica PT115 dongle.
[Nexus 7 General] birry:
Hello everyone, y have a generic tablet (titan pc7010me), and a isdbt dongle with rtl2832u chipset, is it possible to use it with the tablet?
[Nexus 7 General] netvlada:
There is New Universal USB HOST DVB-T2 Android tuner on market.First of thet kind on world market.

http://www.geniatech.com/pa/pt360.asp
[Nexus 7 General] DavidTiger:
Anyone have this working on 2nd Gen N7 wifi 'Flo' ?

I have a RTL2832 with R820T and running kernel 3.4.0-g154bef4

I don't have access to a Linux box and not sure how I can compile it using the script in 1st post. Obviously needed to update the git for N7-2013 kernel and add support for the drivers.

Anyone able to help me out and compile it so I can test?

If it works so I can use !y dongle on my tablet.
[Nexus 7 General] denisoft:
rtl2832u how to on kernel 3.1.10-g6ff7a51

Hi!

I have Nexus 7 2012 wifi with Lolipop 5.02. My SDR RTL2832u is working with app SDRTouch.

I tried to get on running Droid TV with no luck.

Is there a way to make my dongle rtl2832u work on kernel 3.1.10-g6ff7a51? Is there an easy manual how to do it?

looking forward for help, thx!
[Nexus 7 General] tricampeao23:
It's possible work in Nexus 5?
[Nexus 7 General] Lee Buckley:
I got the RTL2832U DVB USB adapter this morning, is it possible to get it working with the Xperia z2 ?
[Nexus 7 General] Jcmingos:
Does anyone get the DVB dongle rtl2832u droidtv working on the nexus 7 2013 5.1.1 with elementalx kernel?
[Nexus 7 General] jeebob:
Hi Guys,

Sorry to reply on an old thread....

I have extracted the files, chucked them in a folder, installed the APK and started a terminal emulator (as supplied in USBRom)

When I run the terminal emulator the below occurs: (copied by sight, hopefully its all 100% correct!)

uo_a40@android:/cd sdcard

uo_a40@android:/cd download

uo_a40@android:/sdcard/download $ SU

''**App asks for root permissions''**

uo_a40@android:/storage/emulated/legacy/download # sh startdvb

Starting DVB Support

insmod: init_module 'dvb-core.ko' failed (Exec format error)

insmod: init_module 'dvb-pll.ko' failed (Exec format error)

insmod: init_module 'rc-core.ko' failed (Exec format error)

insmod: init_module 'dvb-usb-rtl2832u.ko' failed (Exec format error)

Waiting for device

DONE!

uo_a40@android:/storage/emulated/legacy/download #

what is this error, and how do I fix it? I am hoping to get droid TV running with my aerial I have purchased.
[Nexus 7 General] jeebob:
I have included dmesg logs for an ezcap and a broadcom adapter if they are any help in diagnosing the issue?
[Nexus 7 General] jeebob:
I am not going to give up n this! lol

Having looked into the exec failed error, I have taken the files which came back as having the wrong driver under the magic thing...

So I pulled the files from the library, ran a conversin using advice earlier courtesy of post #254: http://xdaforums.com/showpost.php?p=50145034&postcount=254

so having run the code of the perl command and created the files, replaced the originals in the library, and ran the commands as per timurs guidance earlier (I cant find the link to the post at the moment).

As It ran, it ran without error - but still I get a report of the Droid TV requiring a valid DVB-T Device to be connected....

Any further thoughts? I have included the output of the dmesg... Please ignore the datestamp, I stuffed that up!
[Nexus 7 General] jeebob:
Well, I am very much stuck at the moment! I cannot get it up and running :( I just keep getting the error it needs to have a valid device and permissions...
[Nexus 7 General] clacton0:
Hi is there any way to make the same device you got go on a Lenovo a5500-f tablet?

The SDR radio touch goes fine on this when I plug this in but would like DVB also.

I had a look at the thread but its all gibberish talk to me and really do not understand this LOL.

:confused:
[Nexus 7 General] moneytoo:
I used PadTV HD and it worked out of the box with my it9135 tuner (Evolveo Mars). But my devices run CyanogenMod so maybe that helped.
[Nexus 7 General] nilsxvx:
I don't get it how to precompile the *.ko files. Do i need Linux/Ubuntu to use perl commands?

The kernel is 3.1.10-g25ab3af and i have a compatible RTL2832U dongle.

Can someone convert the *.ko files for my kernel please? :)
[Nexus 7 General] t_i_t_o:
Hello,

Couple of days I have been fighting this, finally after porting dvb code from kernel 3.10 to 3.4 (which my tablet is) my rtl2832u+r820t dongle successfully created /dev/dvb/adapter0. But now DroidTV refuses to work - it gives "only position independent executables (pie) are supported". Damn, is this time wasted?! What other app could I use to watch TV on Lollipop i.e. an app that uses /dev/dvb/adapter0?

Thanks in advance.
[Nexus 7 General] t_i_t_o:
Here are the sources of DroidTV - github.com/Elbandi/droidtv

Anybody capable of rebuilding it for Lollipop?
[Nexus 7 General] t_i_t_o:
OK, rebuilt wscan and dvblast with "-fPIE -pie" and PIE errors are gone. wscan finds successfully the locally broadcast channels, but dvblast says signal:0 when trying to watch any channel, the fight continues...
[Nexus 7 General] adilkral:
If you download the timurs usb rom it has the excact kernel

including files you require. Remember to copy them from system/local from /dev/dvb/adapter0

I use padtv hd app from playstore. Its still not very usable but droidtv was keep carshing and rebooting the tablet whilst searching for the chanels. Padtv is better once u get used to some silly errors and things.

Sorry for the pic quality
[Nexus 7 General] t_i_t_o:
Padtv hd says no device, perhaps because it expects its own tv tuner device, not a generic rtl2832u one.
[Nexus 7 General] adilkral:
Well i downloaded rtl2832u driver from google play and does the job. As i said its still not very stable cos mine says no device even while im watching it:)
[Nexus 7 General] t_i_t_o:
You must be kidding me. When PadTV says no device, you can do nothing your only choice is to exit the program.
[Nexus 7 General] adilkral:
Nope thats why i put pictures as proof in my previous comment mate. No joke there. It still does mow and again with me saying no device then what i do is restart thr tablet go on the terminal and type the codes in then try with droidtv first and if i manage to pass no device screen on droittv then i open padtv hd straight away and watch tv.
[Nexus 7 General] tricampeao23:
This works on Nexus 5?
[Nexus 7 General] karine_johanne:
Just a thought, would it be possible to put all of the existing drivers in an .apk ready for installation (the same way the rtl2832u drivers have their installer on google play) ? This would avoid the tedious compilation / patching issue. I haven't been able to make this work for my M.O.J.O and Minix Neo X5 yet despite my efforts.

Thanks for reading
[Nexus 7 General] xenpac:
brief summary

hi guys,

i havent red all post in this long thread.

i have a homtom ht6 chinese smartphone running android 5.1, kernel 3.4.5 . (not rooted)

try to connect a generic chinese rtl2832u dongle to its OTG usb port via USB adapter cable.

direct connect...no luck. the dongle needs more power than phone can supply...ie. probably 5V.

so i connected a hub, that has input for external power supply of 5v, then put the dongle into hub.

installed martins rtl2832u driver and SDR touch from play store.......voila its works.

but.... i want to watch dvb-t tv with it.

tried DVB-T elecom app, Padtv hd, and some others....... no luck.

DroidTv welcomed me with a "registration" screen........no thanks.

They all idle...saying ....connect your device...(sounds like they would not need martins driver..and have own support??)

brief:

does the kernel 3.4.5 android support the rtl2832u chipset? ie. driver.

can someone give a brief summary of your findings?

any suggestions on a good working dvb app?

thanks .:confused:
[Nexus 7 General] tmonetti:
Hi guys,

I don't get it how to precompile the *.ko files.

The kernel version is 3.1.10-gddb238c-dirty and i have a compatible RTL2832U dongle.

Can someone compile the *.ko files for my kernel please?

Thanks
[Nexus 7 General] martintzvetomirov:
Hey guys,

If anyone is still interested in this project, you can check out the app that I've written that plays TV using the RTL2832 dongles without root. It's available on Google Play to download.

Link to forum: https://xdaforums.com/general/paid-software/android-4-1-aerial-tv-dvb-t-t2-rtl2832-t3591124
[Nexus 7 General] xxalfalfaxx:
Hi guys,

is this working on nexus 7 2013? is there someone made it work?
[Nexus 7 General] Mungulz:
Might be a dumb question, but are these USB tuners digital or not? Analogue TV reception is being phased out here and all will require a digital tuner.
[Nexus 7 General] lionsh:
DVB is Digital Video Broadcating
[Nexus 7 General] Mungulz:
Thanks for the quick response. Just confirmed that for myself with Google lol. :p

Off to buy a USB tuner and OTG cable.

does this work OK without an amplified antenna? Assuming close to window/outdoors in a good coverage area.
[Nexus 7 General] Sikki:
"DVB" means "Digital Video Broadcasting"

Also, no luck on finding channels on mine. Hmm.
[Nexus 7 General] lionsh:
i have copied the firmware also. did you d\l it from http://linuxtv.org/wiki/index.php/DV...T_USB_Devices?

when you ran startddvb script did you receive any errors? I get an error that the files in /dev/dvb/adapter0 are missing.

only when i create the files manually it passes, but then i can't initialize droid tv.

which kernel version do you use? i have 3.1.10 g52027f9

can you upload the files+script that you used?

thanks.

Quote:
[Nexus 7 General] Sikki:
That's where I got my firmware, yes.

I still get the init failed on all files, but I assume it's because they're already been "done" once, so theres no need to do it again. Thus it saying "File Exists). So on the first time I added a .ko file to the script, that file didn't produce an error.

Upon further examination, and don't ask me why, it started working when I was browsed to the dev/dvb/adapter0 -folder with the system mounted as Write with my EsExplorer as I plugged in my receiver. Only then will it create the 4 files needed in the folder, and I have no idea why. Maybe because of the terminal used?

So far no luck with getting any channels though. It shows going through all the different frequencies, but gives an error at the end.
[Nexus 7 General] lionsh:
Thanks for the info. i know that the second time it says file exists, but for some reason file dvb-usb-af9015.ko is always failed with file not found although it is. and running demsg gives some error in this ko file. it is strange that it works for you... since we use the same files and same system.

i'll keep investigating further.
[Nexus 7 General] Sikki:
Can't say for certain, but the af9015 fail seemed to go away when I added the af9013.ko file and put it to the script as well.

A lot of this goes slightly over my head, and I'm pretty sure there's more randomness than patterns in what happened.
[Nexus 7 General] Psych0Chimp:
Mine's a Freecom DVB-T USB Stick that I got working using dvb-usb-dtt200u.ko and zl10353.ko. I also put dvb-usb-wt220u-zl0353-01.fw in /etc/firmware.

You have to make sure all your permissions are correct. The first script posted has a mistake in it which doesn't set the correct permissions for the /dev/dvb/adapter0 directory.

Is Droid TV working for those who have got their tuner in the "warm state"?
[Nexus 7 General] bmxchampga:
Is there any way to get an ATSC tuner running using this method?
[Nexus 7 General] martintzvetomirov:
I don't have the time to go through all individual questions now but will try to generalize

Yes, droid TV is highly unstable. I started writing my own app and will do the tuning via NDK so will see :) I don't want to give promises when it's going to be ready since it's a learning experience for me as well.

If you get "file missing" error with dmesg saying "missing symbol" then there's a missing dependency. I.e. modules need to be loaded in order and you didn't load a module in this case. I can try to figure out which module was missing by the exact error, but as I said I currently don't have enough time.

A device will work only if it's in a warm state and all permission s are correctly set. The droidTv will do the scanning. If for some reason something behaves funny, try with a hub with external power. If the device is in warm state and permission s are set I see no reason that it won't work. Unless ofcourse there `s something wrong with droidtv, but we don't currently have any alternatives...

In theory everything that can be compiled to Linux from source can be compiled to android. But for example some devices have precompiled drivers which do not work (I have an AverMedia Volar HX which has a proprietary driver precompiked for x86, so no chance running on Android...)
[Nexus 7 General] lionsh:
Thanks Martin,

Can you please explain how to compile these KO files, what are do i need? How to compile them for a different Kernel/android version?

Thanks a lot.