Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
xdadev_user
Old
(Last edited by xdadev_user; 12th June 2011 at 11:54 PM.) Reason: wrong Release XXJVP is correct one
#1  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: May 2011
Default [Q] tun.ko for Gingerbread 2.3.4 (XXJVO)

Hello,

I had a tun.ko working with FROYO, but this tun.ko module doesn't work with Gingerbread 2.3.4 anymore.

Where can I find a new tun.ko module for Gingerbread 2.3.4 (XXJVP) ?

Thanks in advice
 
cwaffles
Old
#2  
cwaffles's Avatar
Member
Thanks Meter 5
Posts: 56
Join Date: Dec 2010
Use Darky's rom (10.1). Works great with OpenVPN.

Check load tun kernel module using insmod

Location is /lib/modules/tun.ko

Binary is installed to /system/xbin/openvpn
 
xdadev_user
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: May 2011
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
 
jps1974
Old
#4  
Senior Member
Thanks Meter 46
Posts: 108
Join Date: Nov 2009
Location: Vienna
Quote:
Originally Posted by xdadev_user View Post
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
Don't have time right now, but I'll try to compile it for JVP tomorrow.

Sent from my GT-I9100 using Tapatalk
Devices: Motorola Xoom | Point Of View Mobii Tegra 3G Tablet (P10AN01 / Advent Vega clone) | Samsung Galaxy S GT-I9000 | Samsung Galaxy S II GT-I9100 | Google Galaxy Nexus
 
captive
Old
#5  
Senior Member
Thanks Meter 8
Posts: 121
Join Date: Dec 2009
don't know if it works, but this is the one extracted from latest darky's rom kernel.
I'm still on 2.2.1, but you may try it and post some feedback..
Attached Files
File Type: zip tun.zip - [Click for QR Code] (82.8 KB, 628 views)
 
jps1974
Old
#6  
Senior Member
Thanks Meter 46
Posts: 108
Join Date: Nov 2009
Location: Vienna
Quote:
Originally Posted by xdadev_user View Post
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
I had a quick look, and as far as I can tell tun.ko should not be required as it should be built into the kernel in Gingerbread (that is, if you are not using a custom kernel). At least it is enabled in the kernel config that comes with the sources, can't confirm if it's actually enabled in the shipped kernel, but it should be.
Devices: Motorola Xoom | Point Of View Mobii Tegra 3G Tablet (P10AN01 / Advent Vega clone) | Samsung Galaxy S GT-I9000 | Samsung Galaxy S II GT-I9100 | Google Galaxy Nexus
 
xdadev_user
Old
(Last edited by xdadev_user; 14th June 2011 at 08:13 PM.)
#7  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: May 2011
@captive
thanks for this tun.ko, but it doens't work.
Code:
insmode tun.ko
invalid module format. Maybe this module is for 2.3.3.

@jps1974
lsmod shows me no tun device

Or can someone explain me how I can build my tun.ko ?
 
jps1974
Old
#8  
Senior Member
Thanks Meter 46
Posts: 108
Join Date: Nov 2009
Location: Vienna
Quote:
Originally Posted by xdadev_user View Post
@captive
thanks for this tun.ko, but it doens't work.
Code:
insmode tun.ko
invalid module format. Maybe this module is for 2.3.3.

@jps1974
lsmod shows me no tun device

Or can someone explain me how I can build my tun.ko ?
That's because it's not a kernel module but built into the kernel instead. So whatever you're trying to do should, from what I understand, work without having to load any module. Anyway, here's a tun.ko that you can try.
Attached Files
File Type: zip tun_xxjvp.zip - [Click for QR Code] (85.4 KB, 620 views)
Devices: Motorola Xoom | Point Of View Mobii Tegra 3G Tablet (P10AN01 / Advent Vega clone) | Samsung Galaxy S GT-I9000 | Samsung Galaxy S II GT-I9100 | Google Galaxy Nexus
 
Woddi123
Old
(Last edited by Woddi123; 16th June 2011 at 03:19 PM.) Reason: stupid question
#9  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Apr 2011
my question was stupid
 
xdadev_user
Old
#10  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: May 2011
thanks @jps1974,

but with your tun.ko I got the same error message
Quote:
invalid module format
Any idea, what I'm doing wrong ? With Froyo I had no problem.
A module must only be compiled for correct kernel version 2.6.35.7, or?

My Basisbandversion: I9000XXJVP
Kernel-Version: 2.6.35.7-I9000XXJVO-CL182937
Buildnumber: GINGERBREAD.XXJVP

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more