Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Linkiger
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Nov 2010
Default [Q] build tun.ko for Defy / Froyo

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
 
valles
Old
#2  
Junior Member
Thanks Meter 3
Posts: 2
Join Date: Jan 2008
I also would need it. Or can somebody explain how to build one?
 
valles
Old
#3  
Junior Member
Thanks Meter 3
Posts: 2
Join Date: Jan 2008
Default 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, 1101 views)
The Following 3 Users Say Thank You to valles For This Useful Post: [ Click to Expand ]
 
zhxiaobo
Old
#4  
Junior Member
Thanks Meter 1
Posts: 8
Join Date: Feb 2011
Quote:
Originally Posted by valles View Post
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!
 
zhxiaobo
Old
#5  
Junior Member
Thanks Meter 1
Posts: 8
Join Date: Feb 2011
Quote:
Originally Posted by valles View Post
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!
 
Linkiger
Old
#6  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Nov 2010
perfect, thank you!

Anyway, is there a possibility to build tun.ko on my own?
 
hamid_nazari
Old
#7  
hamid_nazari's Avatar
Junior Member
Thanks Meter 1
Posts: 17
Join Date: Mar 2011
Location: Tehran
Can you please compile tun.ko for kernel 2.6.32.9 on ARM71 which is the platform for latest Galaxy S I9003
 
tsod
Old
#8  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Apr 2011
can anyone please help me with the steps required to install the tun.ko module?
 
Mdfy
Old
#9  
Mdfy's Avatar
Junior Member
Thanks Meter 9
Posts: 22
Join Date: Apr 2011
Quote:
Originally Posted by tsod View Post
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: [ Click to Expand ]
 
tsod
Old
#10  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: 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+
Tags
defy, tun.ko, vpn
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more