can't install tun.ko to my galaxy tab - General Questions and Answers

Hi,
I need vpn connection to cisco vpn server so i have tried to install corresponding soft to my galaxy tab. Finally I am stopped with following problem:
I try to follow this: http://forum.xda-developers.com/showthread.php?t=1013513
But when I input
"insmod tun.ko" I receives:
tun: version magic '2.6.32.9 SMP preempt mod_unload modversions ARMv7 ' should be '2.6.32.9 preempt mod_unload ARMv7 '
My kernel version is 2.6.32.9 ([email protected] #1)
Build number is FROYO.XWKB8
Microcode version is 2.2.1
Where can I find correct version of tun.ko?
Thanks.
Sorry for bad English

Related

Problem with modules compilation for 3.0.8

Hi,
I've got problem with building Android kernel modules. I'm using GoClever A73 with Android ICS (4.0.3, kernel 3.0.8) for Eken T02 (both are Allwinner A10 based). I'm trying to compile modules for this kernel. Module I've found in Android has following modinfo:
Code:
filename: /home/sid/usbnet.ko
license: GPL
description: USB network driver framework
author: David Brownell
depends:
vermagic: 3.0.8+ preempt mod_unload modversions ARMv7
parm: msg_level:Override default message level (int)
And file:
Code:
/home/sid/usbnet.ko: ELF 32-bit LSB relocatable, ARM, version 1 (SYSV), not stripped
I'm using sources from github: madprogrammer/linux-aurora . I want to build for example usbserial.ko and pl2303.ko. I've built module with modinfo:
Code:
filename: drivers/usb/serial/usbserial.ko
license: GPL
description: USB Serial Driver core
author: Greg Kroah-Hartman, [email protected],
depends:
vermagic: 3.0.8+ preempt mod_unload modversions ARMv7
parm: vendor:User specified USB idVendor (ushort)
parm: product:User specified USB idProduct (ushort)
parm: debug:Debug enabled or not (bool)
Code:
drivers/usb/serial/usbserial.ko: ELF 32-bit LSB relocatable, ARM, version 1 (SYSV), not stripped
But when I'm trying to insmod module I've got Exec format error. There is a line:
Code:
usbserial: no symbol version for module_layout
strace says:
Code:
(...)
init_module(" ELF", 0xb634) = -1 ENOEXEC (Exec format error)
(...)
I'm think that there are some config values set in wrong way but haven't idea which.
There is .config in attachement. (Unfortunetely kernel running on Android doesn't provide config through /proc).
Have You got any idea where I made mistake?
Thanks
sorry buddy, I have no answer for you, but if you manage to build kernel, please post it here... thanks!
There is an SlateDroid post that might help you out.
I still can't post outside links, so ...
www dot slatedroid dot com
+
/topic/27852-generic-usb-serial-gps-hal-driver/page__view__findpost__p__344837
Regards,
Rodrigo

Bluetooth driver for vermagic=3.0.8 preempt mod_unload modversions ARMv7

Can anyone copy files or compile for bluetooth usb adapter for Chinese Tablet and serial fdti?
I try too install two file but i have problem:
- one have wrong vermagic "vermagic=3.0.8+ SMP preempt mod_unload ARMv7"
- second one "Exec format error" disagrees about version of symbol module_layout
My tablet have:
- Android 4.0.3 (kernel 3.0.8)
- CPU ARMv7 rev2 (v7l)
- Hardware sun5i
- vermagic=3.0.8 preempt mod_unload modversions ARMv7
I think Allwinner A10 have the same configuration.

Octoplus Nexus 5 Error

Platform: LG Qualcomm
Selected port: COM18
Selected model: D820
Reading info...
Initializing ADB...OK
Waiting for phone...OK
Model ID: Nexus 5
Firmware version:
Kernel version: 3.4.0-g9eb14ba ([email protected]) (gcc version 4.7 (GCC) ) #3
SMP PREEMPT Tue Nov 26 12:04:50 CST 201
Android version: 4.4.4
Hardware: Qualcomm MSM 8974 HAMMERHEAD (Flattened Device Tree)
ARMv7 Processor rev 0 (v7l)
Performed by 2.4.6 Software version.
--------------------------------------------------------------------------------
Checking data...OK
Platform: LG Qualcomm
Selected port: COM18
Selected model: D820
Reading info...
Initializing ADB...OK
Waiting for phone...OK
Model ID: Nexus 5
Firmware version:
Kernel version: 3.4.0-g9eb14ba ([email protected]) (gcc version 4.7 (GCC) ) #3
SMP PREEMPT Tue Nov 26 12:04:50 CST 201
Android version: 4.4.4
Hardware: Qualcomm MSM 8974 HAMMERHEAD (Flattened Device Tree)
ARMv7 Processor rev 0 (v7l)
Switching to Fastboot mode...OK
Unlocking Bootloader...
Bootloader is unlocked.
Writing Bootloader...OK
Please, wait while the phone will turn on and press "Ok" button.
Trying to enable Diagnostics ports...
Initializing ADB...OK
Waiting for phone...OK
Checking root access...
Phone is already rooted.
Diagnostics ports are enbled!
Switching to Serial Port...
Failed!
Performed by 2.4.6 Software version.
Any Solution ?
I'm not sure what the problem would be since the software and box should force flash the phone, assuming the phone is not physically damaged.
I have been repaired, But what is the Solution Of " Mobile network Not Available ' And ' No Signal " ?
Was the phone dropped? Possible loose internal connection? Phone is showing the correct imei?
Yes It's Have A Correct Imei , I'm not dropped the phone ...
is The problem Of Hardware ?

Help with slide sp-4013

Hey guys, i need some help with something.
I have a chinese device ( SLIDE SP 4013)
Here's the info:
BB chip: MT6580
MS Board: t53_A_X40
Build Time: 2016/10/25 13:10:17 CST
Kernel Ver: 3.10.72 ([email protected]) (gcc version: 4.8) (GCC)
#1 SMP PREEMPT tue Oct 25 13:22:37 CST 2016
Android Ver: 5.1
SWver: ALPS.L1.MP6 V2_ALONG6580.WE L_P18
Custom Build Verno: Unknown
Modem Ver: MOLY.WR8.W1449.MD.WG.MP.V6.P10 2016/08/10 01:43
Bar Code: 10
I've tried to unlock bootloader via fastboot ( fastboot oem unlock), but the bootloader is locked.
I Need to root this phone and instal CWM recovery as well. (bootloader locked)
Screen is brocken, so touch-screen doesn't work but it displays.
Any idea about it?
Regards

Desperately seeking hid-dr.ko

Hi, I spent my evening (and night) trying to load this driver module into a cheap chinese tablet with Lollipop:
Code:
Linux version 3.4.39 ([email protected]) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #651 SMP PREEMPT Fri May 5 15:47:15 CST 2017
I tried to compile it on my own on Debian, but (even if I'm a developer) I've no experience in kernels, so the best I got is an .o file instead of a .ko file, and I'm not sure if I'm using the right kernel sources/toolchain/compiler
I also tried to download a precompiled .ko for this kernel (3.4.39) and to change the magic number with an hex editor, but with no luck:
Code:
insmod: init_module '/vendor/modules/hid-dr.ko' failed (Invalid argument)
So before going to bed I'm asking here as my last resource. I'm open to any help and suggestion :good:

Categories

Resources