DVB-T dongle running on Nexus 7

BarMt

Member
Jan 26, 2012
15
4
0
I'm trying to compile those driver for my nexus 7 2nd gen.
I modified the dvbn7comp with the flo kernel source code but havi this little problem:
Code:
*********************************
* dvbn7comp from Martin Marinov *
* Attempting to compile DVB-T   *
* kernel modules for Nexus 7    *
  kernel 365a6e0
*********************************

More info: http://forum.xda-developers.com/showthread.php?t=1841759


  *** Kernel already downloaded, updating ***
  *** Toolchain already downloaded, updating ***
  *** Using toolchain path tchain/arm-eabi-4.4.3/bin. Now we are in /home/bar 
  *** Environments set for Android compiling ***
  *** Resetting git repo to commit  365a6e063e66b55dbba6f7cfbd7070b8c567e429 ***
M	arch/arm/configs/flo_defconfig
HEAD is now at 365a6e0... gpu: ion: Minimize allocation fallback delay
Removing .config
Not removing drivers/media/dvb/.tmp_versions/
Removing drivers/media/dvb/b2c2/modules.order
Removing drivers/media/dvb/bt8xx/modules.order
Removing drivers/media/dvb/ddbridge/modules.order
Removing drivers/media/dvb/dm1105/modules.order
Removing drivers/media/dvb/dvb-core/modules.order
Removing drivers/media/dvb/dvb-usb/modules.order
Removing drivers/media/dvb/frontends/modules.order
Removing drivers/media/dvb/mantis/modules.order
Removing drivers/media/dvb/modules.order
Removing drivers/media/dvb/ngene/modules.order
Removing drivers/media/dvb/pluto2/modules.order
Removing drivers/media/dvb/pt1/modules.order
Removing drivers/media/dvb/siano/modules.order
Removing drivers/media/dvb/ttpci/modules.order
Removing drivers/media/dvb/ttusb-budget/modules.order
Removing drivers/media/dvb/ttusb-dec/modules.order
Not removing drivers/media/rc/.tmp_versions/
Removing drivers/media/rc/keymaps/modules.order
Removing drivers/media/rc/modules.order
Not removing include/config/
Not removing include/generated/
Removing scripts/basic/.fixdep.cmd
Removing scripts/basic/fixdep
Removing scripts/kconfig/.conf.cmd
Removing scripts/kconfig/.conf.o.cmd
Removing scripts/kconfig/.zconf.tab.o.cmd
Removing scripts/kconfig/conf
Removing scripts/kconfig/conf.o
Removing scripts/kconfig/zconf.hash.c
Removing scripts/kconfig/zconf.lex.c
Removing scripts/kconfig/zconf.tab.c
Removing scripts/kconfig/zconf.tab.o
HEAD is now at 365a6e0 gpu: ion: Minimize allocation fallback delay
  CLEAN   include/config include/generated
  *** Enabling DVB-T support ***
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
[B]make: *** No rule to make target `modules_prepare'.  Stop.[/B]
  *** Compiling drivers ***

  WARNING: Symbol version dump /home/bar/ksrc/Module.symvers
           is missing; modules will have no dependencies and modversions.

  Building modules, stage 2.
  MODPOST 0 modules
[B]/bin/sh: 1: scripts/mod/modpost: not found[/B]
[B]make[1]: *** [__modpost] Error 127[/B]
[B]make: *** [modules] Error 2[/B]

  WARNING: Symbol version dump /home/bar/ksrc/Module.symvers
           is missing; modules will have no dependencies and modversions.

  Building modules, stage 2.
  MODPOST 0 modules
[B]/bin/sh: 1: scripts/mod/modpost: not found[/B]
[B]make[1]: *** [__modpost] Error 127[/B]
[B]make: *** [modules] Error 2[/B]
  *** Copying to output dir ***
mkdir: cannot create directory ‘output_365a6e0’: File exists
the problem is with the make command,I've tried everything and nothing works!
 

_behrooz_

Senior Member
Mar 5, 2013
66
0
0
For those who has PCTV NanoStick T2 (290e):

em28xx and cxd2820r

I just succesfully making PCTV NanoStick T2 (290e) running on my STOCK rooted N7 (Linux kernel version 3.1.10-g05b777c)
I attched the module files, and the the procedure is similar to the OP's.

Enjoy. :)
Hello guys
i have a dvb-t card , it is Pinnacle PCTV Hybrid Pro Stick .
my kernel nexus 7 is 3.1.10-g4737b10 . the chipset use my dvb-t card is em28xx family . if i wrong ? please correct me ?
i use above guide for run this dvb-t on nexus 7 but when i run command sh startdvb_em28xx.sh in terminal . this output show me .
Code:
[email protected]:/data/local/tmp # sh startdvb_em28xx.sh
Loading modules...
insmod: init_module 'dvb-core.ko' failed (Function not implemented)
14.insmod: init_module 'videobuf-core.ko' failed (Function not implemented)
13.insmod: init_module 'videobuf-vmalloc.ko' failed (Function not implemented)
12.insmod: init_module 'tveeprom.ko' failed (Function not implemented)
11.insmod: init_module 'drxd.ko' failed (Function not implemented)
10.insmod: init_module 'cxd2820r.ko' failed (Function not implemented)
9.insmod: init_module 'em28xx.ko' failed (Function not implemented)
8.insmod: init_module 'em28xx-dvb.ko' failed (Function not implemented)
7.6.5.4.3.2.1.
Unable to chmod /dev/dvb/adapter0/dvr0.ts: No such file or directory
DONE!
now , what i can do for solve this problem ?
thanks
sorry for english .
 

_behrooz_

Senior Member
Mar 5, 2013
66
0
0
i use this script dvbn7comp and this output show me .
Code:
[email protected]:~/dvb for nexus 7$ ./dvbn7comp 3.1.10-g4737b10

*********************************
* dvbn7comp from Martin Marinov *
* Attempting to compile DVB-T   *
* kernel modules for Nexus 7    *
  kernel 3.1.10-g4737b10
*********************************

More info: http://forum.xda-developers.com/showthread.php?t=1841759


  *** Downloading kernel files ***
Cloning into 'ksrc'...
fatal: remote error: Access Denied (not available in your country)
  *** Toolchain already downloaded, updating ***
  *** Using toolchain path tchain/arm-eabi-4.4.3/bin. Now we are in /home/n7/dvb for nexus 7 
./dvbn7comp: 76: export: 7/tchain/arm-eabi-4.4.3/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: bad variable name
 

BarMt

Member
Jan 26, 2012
15
4
0
cnato

i use this script dvbn7comp and this output show me .
Code:
[email protected]:~/dvb for nexus 7$ ./dvbn7comp 3.1.10-g4737b10

*********************************
* dvbn7comp from Martin Marinov *
* Attempting to compile DVB-T   *
* kernel modules for Nexus 7    *
  kernel 3.1.10-g4737b10
*********************************

More info: http://forum.xda-developers.com/showthread.php?t=1841759


  *** Downloading kernel files ***
Cloning into 'ksrc'...
fatal: remote error: Access Denied (not available in your country)
  *** Toolchain already downloaded, updating ***
  *** Using toolchain path tchain/arm-eabi-4.4.3/bin. Now we are in /home/n7/dvb for nexus 7 
./dvbn7comp: 76: export: 7/tchain/arm-eabi-4.4.3/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: bad variable name
LOL where are you from?
Try using proxy or VPN...
 

domain

Senior Member
Jul 23, 2007
67
14
0
Sofia
Does anyone compiled modules for 3.1.10-g1e8b3d8 kernel?

My log :
./dvbn7comp 3.1.10-g1e8b3d8

*********************************
* dvbn7comp from Martin Marinov *
* Attempting to compile DVB-T *
* kernel modules for Nexus 7 *
kernel 3.1.10-g1e8b3d8
*********************************

More info: http://forum.xda-developers.com/showthread.php?t=1841759


*** Downloading kernel files ***
Cloning into 'ksrc'...
remote: Sending approximately 436.83 MiB ...
remote: Counting objects: 40436, done
remote: Finding sources: 100% (352/352)
remote: Getting sizes: 100% (156/156)
remote: Compressing objects: 100% (3447375/3447375)
remote: Total 2219871 (delta 1857744), reused 2219729 (delta 1857738)
Receiving objects: 100% (2219871/2219871), 436.90 MiB | 1.43 MiB/s, done.
Resolving deltas: 100% (1857796/1857796), done.
*** Downloading 64 bit toolchain! ***
Cloning into 'tchain'...
remote: Sending approximately 124.64 MiB ...
remote: Counting objects: 33, done
remote: Finding sources: 100% (33/33)
remote: Total 580 (delta 146), reused 580 (delta 146)
Receiving objects: 100% (580/580), 124.64 MiB | 648 KiB/s, done.
Resolving deltas: 100% (146/146), done.
*** Using toolchain path tchain/bin. Now we are in /usr/src/nexus
*** Environments set for Android compiling ***
*** Resetting git repo to commit 1e8b3d8ac4fa2c26e979bd00df3ea658ff239995 ***
Checking out files: 100% (38128/38128), done.
Note: checking out '1e8b3d8ac4fa2c26e979bd00df3ea658ff239995'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 1e8b3d8... ashmem: avoid deadlock between read and mmap calls
HEAD is now at 1e8b3d8 ashmem: avoid deadlock between read and mmap calls
*** Enabling DVB-T support ***
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
arch/arm/configs/tegra3_android_defconfig:594:warning: override: reassigning to symbol RC_CORE
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
make: *** No rule to make target `modules_prepare'. Stop.
*** Compiling drivers ***

WARNING: Symbol version dump /usr/src/nexus/ksrc/Module.symvers
is missing; modules will have no dependencies and modversions.

Building modules, stage 2.
MODPOST 0 modules
/bin/sh: 1: scripts/mod/modpost: not found
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2

WARNING: Symbol version dump /usr/src/nexus/ksrc/Module.symvers
is missing; modules will have no dependencies and modversions.

Building modules, stage 2.
MODPOST 0 modules
/bin/sh: 1: scripts/mod/modpost: not found
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2
*** Copying to output dir ***
 
Last edited:

nesk1

New member
Jul 22, 2012
2
0
0
Sofia
3.1.10-g1e8b3d8

Does anyone compiled modules for 3.1.10-g1e8b3d8 kernel?

My log :
./dvbn7comp 3.1.10-g1e8b3d8

*********************************
* dvbn7comp from Martin Marinov *
* Attempting to compile DVB-T *
* kernel modules for Nexus 7 *
kernel 3.1.10-g1e8b3d8
*********************************

More info: http://forum.xda-developers.com/showthread.php?t=1841759


*** Downloading kernel files ***
Cloning into 'ksrc'...
remote: Sending approximately 436.83 MiB ...
remote: Counting objects: 40436, done
remote: Finding sources: 100% (352/352)
remote: Getting sizes: 100% (156/156)
remote: Compressing objects: 100% (3447375/3447375)
remote: Total 2219871 (delta 1857744), reused 2219729 (delta 1857738)
Receiving objects: 100% (2219871/2219871), 436.90 MiB | 1.43 MiB/s, done.
Resolving deltas: 100% (1857796/1857796), done.
*** Downloading 64 bit toolchain! ***
Cloning into 'tchain'...
remote: Sending approximately 124.64 MiB ...
remote: Counting objects: 33, done
remote: Finding sources: 100% (33/33)
remote: Total 580 (delta 146), reused 580 (delta 146)
Receiving objects: 100% (580/580), 124.64 MiB | 648 KiB/s, done.
Resolving deltas: 100% (146/146), done.
*** Using toolchain path tchain/bin. Now we are in /usr/src/nexus
*** Environments set for Android compiling ***
*** Resetting git repo to commit 1e8b3d8ac4fa2c26e979bd00df3ea658ff239995 ***
Checking out files: 100% (38128/38128), done.
Note: checking out '1e8b3d8ac4fa2c26e979bd00df3ea658ff239995'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 1e8b3d8... ashmem: avoid deadlock between read and mmap calls
HEAD is now at 1e8b3d8 ashmem: avoid deadlock between read and mmap calls
*** Enabling DVB-T support ***
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
arch/arm/configs/tegra3_android_defconfig:594:warning: override: reassigning to symbol RC_CORE
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
make: *** No rule to make target `modules_prepare'. Stop.
*** Compiling drivers ***

WARNING: Symbol version dump /usr/src/nexus/ksrc/Module.symvers
is missing; modules will have no dependencies and modversions.

Building modules, stage 2.
MODPOST 0 modules
/bin/sh: 1: scripts/mod/modpost: not found
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2

WARNING: Symbol version dump /usr/src/nexus/ksrc/Module.symvers
is missing; modules will have no dependencies and modversions.

Building modules, stage 2.
MODPOST 0 modules
/bin/sh: 1: scripts/mod/modpost: not found
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2
*** Copying to output dir ***
I had the same issue. If someone had a compiled version of kernel modules and driver for rtl2832U it would be very kind to share with us these files.

PS: I'm running Android 4.3 with kernel 3.1.10-g1e8b3d8

Thank you in advance :)
 
Last edited:

CyberCodeDroid

Senior Member
Aug 3, 2012
87
8
28
Could I ask for help with the following? I set the rights to 777, but it is still the USB DVB-T does not work ..

Tuner I have this:
Code:
http://dx.com/p/rtl2832u-r820t-mini-dvb-t-dab-fm-usb-digital-tv-dongle-black-170541
 
Last edited:

martintzvetomirov

Senior Member
Dec 13, 2008
211
136
0
Vratsa
martinmarinov.info
Could I ask for help with the following? I set the rights to 777, but it is still the USB DVB-T does not work ..

Tuner I have this:
Code:
http://dx.com/p/rtl2832u-r820t-mini-dvb-t-dab-fm-usb-digital-tv-dongle-black-170541
The messages say failed to set modules. So there's something wrong with the modules (probably not compiled for the right kernel?). Read the dmesg log it should shed some light.