TWRP 2.8.3.0 Available for Supported Devices

The TeamWin Recovery Project (or TWRP, for short) has quickly become one of the most popular … more

Easily Generate and Export Material Design Palletes

For many people, it can be pretty difficult to create a palette of complementary colors. … more

Android One Expanding to Bangladesh, Nepal, and Sri Lanka

At Google I/O 2013, Google proudly announced that the Android operating system was … more

Android 5.0.2 Fixes 2012 Nexus 7! Sony’s Making a Google Glass Competitor? – XDA TV

Android 5.0.2 Lollipop is available for the … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] build tun.ko for Defy / Froyo

OP Linkiger

19th February 2011, 03:03 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Nov 2010
More
Hello everybody,
how can I get a working tun.ko for Defy with leaked Froyo?

Kernel is 2.6.32.9-g3c35cd0
Build 3.4.2-117

Any idea?

Regards,
Linki
24th February 2011, 01:33 PM   |  #2  
Junior Member
Thanks Meter: 3
 
2 posts
Join Date:Joined: Jan 2008
I also would need it. Or can somebody explain how to build one?
28th February 2011, 03:27 PM   |  #3  
Junior Member
Thanks Meter: 3
 
2 posts
Join Date:Joined: Jan 2008
problem solved
Hi,

i found out that the Droid Froyo Image also has the 2.6.32.9 kernel. So the tun.ko found here http : / / w w w.saturnwiki.net/droid_tun_driver/2.6.32.9/tun_alt.ko ( or attached to this message ) work just fine!
Attached Files
File Type: zip tun.ko.zip - [Click for QR Code] (85.0 KB, 1295 views)
The Following 3 Users Say Thank You to valles For This Useful Post: [ View ]
1st March 2011, 04:48 AM   |  #4  
Junior Member
Thanks Meter: 1
 
8 posts
Join Date:Joined: Feb 2011
Talking
Quote:
Originally Posted by valles

Hi,

i found out that the Droid Froyo Image also has the 2.6.32.9 kernel. So the tun.ko found here http : / / w w w.saturnwiki.net/droid_tun_driver/2.6.32.9/tun_alt.ko ( or attached to this message ) work just fine!

thanks, it worked!
1st March 2011, 05:10 AM   |  #5  
Junior Member
Thanks Meter: 1
 
8 posts
Join Date:Joined: Feb 2011
Quote:
Originally Posted by valles

Hi,

i found out that the Droid Froyo Image also has the 2.6.32.9 kernel. So the tun.ko found here http : / / w w w.saturnwiki.net/droid_tun_driver/2.6.32.9/tun_alt.ko ( or attached to this message ) work just fine!

it worked!
8th March 2011, 05:03 PM   |  #6  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Nov 2010
More
perfect, thank you!

Anyway, is there a possibility to build tun.ko on my own?
27th March 2011, 08:40 PM   |  #7  
hamid_nazari's Avatar
Junior Member
Tehran
Thanks Meter: 1
 
19 posts
Join Date:Joined: Mar 2011
More
Can you please compile tun.ko for kernel 2.6.32.9 on ARM71 which is the platform for latest Galaxy S I9003
13th May 2011, 10:25 AM   |  #8  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Apr 2011
can anyone please help me with the steps required to install the tun.ko module?
13th May 2011, 11:31 AM   |  #9  
Mdfy's Avatar
Junior Member
Thanks Meter: 9
 
22 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by tsod

can anyone please help me with the steps required to install the tun.ko module?

Copy the file(tun.ko) to system/lib/modules directory either by pushing via adb or by using file manager/root explorer.
The Following User Says Thank You to Mdfy For This Useful Post: [ View ]
13th May 2011, 12:53 PM   |  #10  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Apr 2011
yeah thanks, got it working now with

Code:
adb remount
adb push <file> <dest>
then i had to

Code:
insmod /system/lib/modules/tun.ko
and to disable the comp-lzo in my server.conf

is there a way to load the module automatically on reboot?

Post Reply Subscribe to Thread

Tags
defy, tun.ko, vpn
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes