Jump to content


Photo

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

- - - - -

  • Please log in to reply
36 replies to this topic

#21
droiddruid

droiddruid

    Enthusiast

  • Members
  • PipPipPip
  • 210 posts
  • Gender:Male
  • Location:Newcastle, UK
off topic but they done a decent job with xcom :)

Edited by droiddruid, 09 November 2012 - 06:23 PM.

  • 0

#22
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
Aye :) I guess they had to, or thousands of old farts would've complained vociferously... Just waiting for a bugfix update so 'classic' ironman is possible without hair loss ;)

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#23
droiddruid

droiddruid

    Enthusiast

  • Members
  • PipPipPip
  • 210 posts
  • Gender:Male
  • Location:Newcastle, UK
PS3 had a patch hit today but it's still a buggy mess.

  • 0

#24
tmor

tmor

    Newbie

  • Members
  • Pip
  • 10 posts
  • Devices:Huawei Ascend G300

It was discussed briefly on IRC lastnight, as it happens ;) :rolleyes:

I have an OTG cable but not a hub. Like I said, I might give it a whirl soon, if I can drag myself from XCOM for an evening. I doubt the G300 can supply power and it would be better if someone with a hub and a power meter (for the safety of the precious G300) tested it.


Thanks for the reply

  • 0

#25
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
No dice. It does indeed appear that an external hub is required for power, or that some or all G300s do not have a Micro AB USB jack.

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#26
DJ_Grom

DJ_Grom

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:3Q QS0716D
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

#27
dalyer

dalyer

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,545 posts
  • Gender:Male
I think you're in the wrong place. This is a Huawei Ascend G300 forum....

  • 0

#28
DJ_Grom

DJ_Grom

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:3Q QS0716D
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

#29
dalyer

dalyer

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,545 posts
  • Gender:Male
Sorry - I didn't realise what the thread title was! :blush:

  • 0

#30
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
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
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#31
DJ_Grom

DJ_Grom

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:3Q QS0716D
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

#32
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300

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
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#33
DJ_Grom

DJ_Grom

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:3Q QS0716D
I have installed Linux, download the source code of the 8860,8800

Compiled module tun.ko
By the instruction http://blog.tatarano...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

#34
DJ_Grom

DJ_Grom

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:3Q QS0716D
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, 12 February 2013 - 05:07 PM.

  • 0

#35
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300

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
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#36
DJ_Grom

DJ_Grom

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:3Q QS0716D
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

#37
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
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
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#38
DJ_Grom

DJ_Grom

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:3Q QS0716D
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

#39
summersuccess

summersuccess

    Newbie

  • Members
  • Pip
  • 1 posts
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.co...YPAD&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

Attached Files


Edited by summersuccess, 28 September 2013 - 08:30 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users