MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

Additional Kernel Modules (cifs.ko and tun.ko)

37 posts in this topic

Posted · Report post

Hi there

Can you help me with my tablet.

I'm searching for Tun.ko module.

Tryed many versions of modules, but no one works.

insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)

My tablet has android 4.0.3 and kernel 3.0.8-perf

255|app_102@android:/ # cat /proc/version

Linux version 3.0.8-perf (zhengqz@ubuntu10) (gcc version 4.4.3 (GCC) ) #2 PREEMPT Mon Aug 6 17:43:21 CST 2012

Can you help with compiling module.

Big Thanks

0

Share this post


Link to post
Share on other sites

Posted · Report post

I think you're in the wrong place. This is a Huawei Ascend G300 forum....

0

Share this post


Link to post
Share on other sites

Posted · Report post

I understand that this topic not for other kings of tablets, but i'm googling much forums and can't find the answer.

I've read in this topic logical solution to the question i'm asking for help.

The essence of it is not in the device , but in the module.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Sorry - I didn't realise what the thread title was! :blush:

0

Share this post


Link to post
Share on other sites

Posted · Report post

You can't just take any old tun module you've found; the module must match the exact kernel included with the OS on your tablet. Are you sure that the kernel in your tablet does not have tun support built-in, rather than as a module? You can find out with the following command:


stat /dev/tun

If it does, you will see output similar to:

File: '/dev/tun'

Size: 0	 Blocks: 0		 IO Block: 4096 character special file

Device: bh/11d Inode: 867		 Links: 1	 Device type: a,c8

Access: (0660/crw-rw----) Uid: ( 1000/ system) Gid: ( 1016/	 vpn)

Access: 2013-02-07 00:57:26.000000000

Modify: 2013-02-07 00:57:26.000000000

Change: 2013-02-07 00:57:26.000000000

I get the impression you've been trying various modules, none worked and now you're asking me to provide a kernel/module building tutorial. If you're not familiar with working with linux and kernel sources then I suggest that you either download a userspace OpenVPN implementation from Google Play, such as the official Android client (it doesn't require tun support in the kernel), or start reading up via the wealth of kernel building help already out there.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi

Writes "stat:not found"

So I realized that I haven't module on my tab. And I can't neither one of them somehow connect.

I used DroidVPN, Vanilla for them requires the tun. App OpenVPN does not support login group configured on the cisco my organization.

So can you help?

0

Share this post


Link to post
Share on other sites

Posted · Report post

I used DroidVPN, Vanilla for them requires the tun. App OpenVPN does not support login group configured on the cisco my organization.

So can you help?

DroidVPN uses its own protocol, so I am confused as to how it interoperates with a commercial Cisco device. My guess is that it doesn't. There are many VPN variants; you're attempting to put an square peg in a round hole, it seems. I could help you, but to be honest, I have no reason to do so. The modules I built were for a particular G300 kernel. The fact that I built them does not mean that I wish to spend my personal time compiling kernels for anyone who wants a particular module for a particular kernel for any other device out there.

But that doesn't mean you can't help yourself. If you absolutely must obtain a working tun module, then I suggest you install linux on a desktop machine, grab the kernel sources for your device and get reading some of the many tutorials out there.

0

Share this post


Link to post
Share on other sites

Posted · Report post

I have installed Linux, download the source code of the 8860,8800

Compiled module tun.ko

By the instruction http://blog.tataranovich.com/2012/08/android.html

but can't start it.

writes "Failed (Exec format error)"

Principle as with the other modules which are found.

Tried to write a version of the file and recompile the module as in the forum instructions. but nothing helps me.

command -urmane -r don't work.

Kernel shows 3.0.8-perf version

Straight trouble.

Can you help me what is wrong?

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

modinfo tun.ko

дал результат

ilename: tun.ko

alias: devname:net/tun

alias: char-major-10-200

license: GPL

author: © 1999-2004 Max Krasnyansky <[email protected]>

description: Universal TUN/TAP device driver

depends:

vermagic: 3.0.8-perf preempt mod_unload modversions ARMv7

dmesg writed

tun: no symbol version for module_layout

Edited by DJ_Grom
0

Share this post


Link to post
Share on other sites

Posted · Report post

command -urmane -r don't work.

Kernel shows 3.0.8-perf version

If that is what you typed, it won't work. You should use the following command to check the version of string of your kernel:

uname -a

The version string shown by 'modinfo tun.ko' must match that of your kernel (i.e. 3.0.8-perf-alphanumeric_string). You can also get the kernel version string from /proc/cpuinfo. Information on matching this string in your kernel build is provided in post #8. Also note that you will need to run 'make' to do a full kernel build, rather than 'make modules'.

0

Share this post


Link to post
Share on other sites

Posted · Report post

root@android:/ # uname -a

Linux localhost 3.0.8-perf #2 PREEMPT Mon Aug 6 17:43:21 CST 2012 armv7l GNU/Linux

root@android:/ # cat /proc/cpuinfo

Processor : ARMv7 Processor rev 2 (v7l)

BogoMIPS : 163.60

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls

CPU implementer : 0x51

CPU architecture: 7

CPU variant : 0x1

CPU part : 0x00f

CPU revision : 2

Hardware : QCT MSM8X55 SURF

Revision : 0000

Serial : 0000000000000000

root@android:/ #

So what will be "3.0.8-perf-alphanumeric_string" ??

0

Share this post


Link to post
Share on other sites

Posted · Report post

Sorry, I mean't /proc/version, not cpuinfo - derp.

OK, so your kernel version doesn't have a localversion appended; its is just 3.0.8-perf, which makes life easier. From what I can tell, you're getting 'tun: no symbol version for module_layout' because module.symvers is not being generated before the modules are built. Where it says:

make modules ARCH=arm CROSS_COMPILE=arm-eabi- O=build KERNELRELEASE=2.6.32.9-perf

You need to remove 'modules', so it's just 'make ARCH=arm...'

That command will build both the kernel image and the modules, so there no need do a 'make modules' afterwards.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Tryed to compile whole kernel image, but tun.ko module doesn't work.

insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)

Any suggestions?

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Please I meed your help to get tun.ko for my device infinix Joypad x700 kernel version 3.0.8-perf-g9d5151f. I have tried tun.ko installer what iI get is your device has no compartible modules. But going through this thread iI saw that iI have people that are guru. Please iI need your help has iI cacan't use openvpn on my device.

.# begin build properties

# autogenerated by buildinfo.sh

ro.build.id=IMM76D

ro.build.display.id=msm7627a-eng 4.0.4 IMM76D eng.yindeyun.20130327.092144 test-keys

ro.build.version.incremental=eng.yindeyun.20130327.092144

ro.build.version.sdk=15

ro.build.version.codename=REL

ro.build.version.release=4.0.4

ro.build.date=Wed Mar 27 09:22:22 CST 2013

ro.build.date.utc=1364347342

ro.build.type=eng

ro.build.user=yindeyun

ro.build.host=andriodsw

ro.build.tags=test-keys

ro.product.model=JOYPAD

ro.product.brand=qcom

ro.product.name=msm7627a

ro.product.device=msm7627a

ro.product.board=7x27

ro.product.cpu.abi=armeabi-v7a

ro.pw.device_name=NONE

ro.product.cpu.abi2=armeabi

ro.product.manufacturer=unknown

ro.product.locale.language=en

ro.product.locale.region=US

ro.wifi.channels=

ro.board.platform=msm7627a

# ro.build.product is obsolete; use ro.product.device

ro.build.product=msm7627a

# Do not try to parse ro.build.description or .fingerprint

ro.build.description=msm7627a-eng 4.0.4 IMM76D eng.yindeyun.20130327.092144 test-keys

ro.build.fingerprint=qcom/msm7627a/msm7627a:4.0.4/IMM76D/eng.yindeyun.20130327.092144:eng/test-keys

ro.build.characteristics=tablet

# end build properties

#

# system.prop for surf

#

rild.libpath=/system/lib/libril-qc-1.so

rild.libargs=-d /dev/smd0

persist.rild.nitz_plmn=

persist.rild.nitz_long_ons_0=

persist.rild.nitz_long_ons_1=

persist.rild.nitz_long_ons_2=

persist.rild.nitz_long_ons_3=

persist.rild.nitz_short_ons_0=

persist.rild.nitz_short_ons_1=

persist.rild.nitz_short_ons_2=

persist.rild.nitz_short_ons_3=

ril.subscription.types=NV,RUIM

DEVICE_PROVISIONED=1

debug.sf.hw=1

debug.composition.7x27A.type=mdp

debug.composition.7x25A.type=mdp

dalvik.vm.heapsize=48m

#

# system props for the cne module

#

persist.cne.UseCne=none

persist.cne.bat.range.low.med=30

persist.cne.bat.range.med.high=60

persist.cne.loc.policy.op=/system/etc/OperatorPolicy.xml

persist.cne.loc.policy.user=/system/etc/UserPolicy.xml

persist.cne.bwbased.rat.sel=false

persist.cne.snsr.based.rat.mgt=false

persist.cne.bat.based.rat.mgt=false

persist.cne.rat.acq.time.out=30000

persist.cne.rat.acq.retry.tout=0

persist.cne.fmc.mode=false

persist.cne.fmc.init.time.out=30

persist.cne.fmc.comm.time.out=130

persist.cne.fmc.retry=false

#persist.dsds.enabled=true

#

# system props for the MM modules

#

media.stagefright.enable-player=true

media.stagefright.enable-meta=false

media.stagefright.enable-scan=true

media.stagefright.enable-http=true

media.stagefright.enable-fma2dp=true

media.stagefright.enable-aac=true

media.stagefright.enable-qcp=true

#

# system prop for opengles version

#

ro.opengles.version=131072

#

# system props for the data modules

#

ro.use_data_netmgrd=true

persist.data.ds_fmc_app.mode=0

#

# system props for IMS module

#

persist.ims.regmanager.mode=0

#

#system prop for Bluetooth hci transport

ro.qualcomm.bt.hci_transport=uart

#

#

# system prop for requesting Master role in incoming Bluetooth connection.

#

ro.bluetooth.request.master=true

#

# system prop for Bluetooth FTP profile

#

ro.qualcomm.bluetooth.ftp=true

#

# system prop for Bluetooth SAP profile

#

ro.qualcomm.bluetooth.sap=true

#

# system prop for Bluetooth Auto connect for remote initated connections

#

ro.bluetooth.remote.autoconnect=true

#

#system property for Bluetooth discoverability timeout in seconds

#0: Always discoverable

#debug.bt.discoverable_time=0

#

# System prop to disable strict mode flash on display

#

persist.sys.strictmode.visual=false

#

# System prop to enable/disable OMH. Enabled by default

#

persist.omh.enabled=1

#System prop to enable ehrpd capability

ro.config.ehrpd=true

# System property for cabl

ro.qualcomm.cabl=1

#

#System prop to determine availability of

#analog fm path

#

ro.fm.analogpath.supported=true

#

#System property for FM transmitter

#

ro.fm.transmitter=false

#

#System property for single instance recording

#

ro.fm.mulinst.recording.support=false

#

#System property for msm

#

ro.hw_plat=7x27a

#

# for using emmc partition instead sdcard

#

persist.sys.emmcsdcard.enabled=1

#

# for disable emmc partition support

#

persist.sys.emmcpartition=1

#

# system props for SD card emulation of emmc partition

#

ro.emmc.sdcard.partition=18

#

# system property to enforce Phone Mode view

#

ro.screen.layout=normal

#

# Turn off tiled rendering

#

debug.enabletr=false

#

#System prop for setting the pixel format

#

ro.staticwallpaper.pixelformat=RGB_565

#

#System prop for disabling the meta data mode for encoder

#

debug.camcorder.disablemeta=0

#

# Simulate sdcard on /data/media

#

persist.fuse_sdcard=false

#

# System prop for using landscape preview layout in camera

#

debug.camera.landscape=true

#

# System prop for capping scroll velocity

#

ro.max.fling_velocity=4000

#

# System prop for disabling the rendering dirty regions

#

hwui.render_dirty_regions=false

# for enable poweroff charging feature

persist.pwroffcharging.enabled=true

#

# System prop for enabling discontinuity for HLS Variant Playlist

#

httplive.enable.discontinuity=true

#

# System prop for enabling camera shutter sound

#

ro.camera.sound.forced=1

persist.data_netmgrd_mtu=1300

# System prop for enabling the cdrom feature

#

persist.service.cdrom.enable=1

#

# ADDITIONAL_BUILD_PROPERTIES

#

pwv.project=I790

pwv.custom.custom=106

pwv.custom=ACT

pwv.headset.btn.function=HANGUP

pwv.time.format=24

pwv.date.format=dd-MM-yyyy

pwv.homepage=http://www.af1234.com/?S=240_320&M=JOYPAD&V=S&Z=7227

pwv.pb.match.num.length=7

pwv.voip.menu=false

pwv.lcd.size=1024X600

pwv.root.permission=NO

pwv.wapi.type=BCM4330

pwv.sql.validity.check=false

pwv.gauge.support=true

pwv.chargeric.type=FAN5405

pwv.shield.communication=false

pwv.receiver.exist=true

pwv.sim.support=true

pwv.default.backlight=102

pwv.cdma.reset.calltime=false

pwv.rf.type=WX

ro.pwv.livewallpaper=null

pwv.settings.multipanel=false

pwv.network.mode.enable=true

pwv.hide.part.development=true

pwv.have.first.contacts=false

pwv.first.contacts.phonename=NULL

pwv.first.contacts.phonenumber=NULL

pwv.first.contacts.phoneemail=NULL

pwv.mainmenu.iconsize.same=true

pwv.default.inputmethod=ANDROID

pwv.isshow.voicebtn.desk=true

pwv.ring.volume=5

pwv.default.acceler.rotation=1

pwv.screenoff.timeout=15000

pwv.gps.support=false

pwv.default.animation.scale=1

pwv.music.volume=11

pwv.default.location.allow=gps

pwv.allow.geolocation.origins=NONE

pwv.cdma.voicemail.enabled=false

pwv.data.space.install.limit=false

pwv.default.install.location=3

pwv.phone.network.mode=empty

pwv.default.touch.sounds=1

pwv.default.screen.lock.sounds=1

pwv.waln.security.type=6

pwv.lockscreen.password.type=NONE

pwv.bt.tether.hide=false

pwv.bluetooth.name=JOYPAD

pwv.hide.development.retain=true

ro.sf.lcd_density=240

persist.dsds.enabled=false

persist.sys.timezone=Africa/Lagos

pwv.light_sensor.support=false

pwv.psensor.menu=false

pwv.have.inand=true

pwv.have.otg=true

pwv.sdcc.boot=false

pwv.camera.size.2m_to_3m=true

ro.pw.version=I790_P2_14WX_AC106_H44_R_0_130327_01

pwv.sw.version.inner=I790_P2_14WX_AC106_H44_R_0_130327_01

pwv.hardware.type=TABLET

dalvik.vm.heapstartsize=5m

dalvik.vm.heapgrowthlimit=36m

dalvik.vm.heapsize=128m

keyguard.no_require_sim=true

ro.com.android.dataroaming=false

ro.com.android.dateformat=MM-dd-yyyy

ro.config.ringtone=Default.ogg

ro.config.notification_sound=Default.ogg

ro.config.alarm_alert=Alarm_Classic.ogg

persist.sys.language=en

persist.sys.country=US

ro.vendor.extension_library=/system/lib/libqc-opt.so

wifi.interface=wlan0

wifi.supplicant_scan_interval=15

ro.kernel.android.checkjni=0

net.bt.name=Android

dalvik.vm.stack-trace-file=/data/anr/traces.txt

build.txt

Edited by summersuccess
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.