Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,393 Members 53,568 Now Online
XDA Developers Android and Mobile Development Forum

[Q] build tun.ko for Defy / Froyo

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, 1270 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: 19
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?

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

Advanced Search
Display Modes


XDA Xposed Tuesday: How to Shut Up Your Phone – XDA Developer TV

So many different applications want to send us notifications that … more

Add Some Power to First Generation Snapdragon CPUs

Some older devices still remain very popular. Phones like theHTC Desire, Sony Ericsson … more

Android M Mentions Spotted in Android Code Review

While we are still waiting for Android L to be officially released, the first mentions of … more

Create a Simple Custom Launcher from Scratch

When you are starting your journey intoany sort of development, it’s never easy at the … more