[REQUEST]tun.ko for the Inspire kernel - HTC Inspire 4G

If anyone with the know-how could compile a tun.ko file for the 2.6.32-g3c08447 kernel I would be very appreciative. I have been reading for the past few hours but I just don't know enough about linux to do it myself. The only thing that I do not have working yet is the ability to connect to Cisco ASA VPNs and the tun.ko file will give us that.
Thank you in advance!!
NVM. After more reading I found that you need the source for the kernel and we don't have that yet. Mods can delete this post, please.

Related

Compiling Android + Kernel from Source.

Hi there,
Now, I understand that there's a thread or two and a few web pages directed at compiling Android and its kernel from source.
However, the thread in question is months old, and didn't fully explain the process.
As for the web pages, they are mostly outdated and don't include enough information, not to mention desire specific instructions.
I think that, properly explained, building Android shouldn't be daunting, and everyone should be able to attempt it, if they wanted to.
So, I hope to compose a comprehensive guide on how to do just that.
The problem is that I myself have not been able to put enough instructions together to be able to complete a build. And there is no point digging up old threads.
So, If anyone who knows the ropes (that is, compiling android and a kernel from source) would be willing to lead the way, I'd happily turn it into an easy to understand guide.
Josh.
fllash said:
Hi there,
Now, I understand that there's a thread or two and a few web pages directed at compiling Android and its kernel from source.
However, the thread in question is months old, and didn't fully explain the process.
As for the web pages, they are mostly outdated and don't include enough information, not to mention desire specific instructions.
I think that, properly explained, building Android shouldn't be daunting, and everyone should be able to attempt it, if they wanted to.
So, I hope to compose a comprehensive guide on how to do just that.
The problem is that I myself have not been able to put enough instructions together to be able to complete a build. And there is no point digging up old threads.
So, If anyone who knows the ropes (that is, compiling android and a kernel from source) would be willing to lead the way, I'd happily turn it into an easy to understand guide.
Josh.
Click to expand...
Click to collapse
I followed this guide here and successfully compiled a modified HTC Kernel and I had very little Linux and Android experience.
Obviously instead of cloning the Cyanogen git, you just use the gits you wish to compile
Mekrel said:
I followed this guide here and successfully compiled a modified HTC Kernel and I had very little Linux and Android experience.
Obviously instead of cloning the Cyanogen git, you just use the gits you wish to compile
Click to expand...
Click to collapse
Thanks for the link
Though i don't fully understand the whole 'git' thing. Where do i find them? And how to i know which ones are the ones i want to use?
Josh
EDIT: Also, how do you 'edit' the kernel (i imagine it is somewhat like make menuconfig?). Also:
- Are these sense kernels?
- How do you add modules like OC and UV?
fllash said:
Thanks for the link
Though i don't fully understand the whole 'git' thing. Where do i find them? And how to i know which ones are the ones i want to use?
Josh
EDIT: Also, how do you 'edit' the kernel (i imagine it is somewhat like make menuconfig?). Also:
- Are these sense kernels?
- How do you add modules like OC and UV?
Click to expand...
Click to collapse
A git is a repository for source code, developers upload their source code there and can commit changes. The commit can allow descriptions of what was changed and also details the files changed.
The git system allows other people to add to the source if they have permission, or allows others to read the changes and download the source code.
Git links are usually posted by people who release software, as Android is GPL licensed so people have to release their source code if they're distributing their work.
Editing the kernel, take a look into the git and the commits and it will show you which files were changed and how exactly they were changed. That will give you the best understanding.
UV/OC is done by changing the acpu table in the architectures files and changing the minimum/maximum voltage figures in the board_bravo.c file.
The Cyanogen kernels are not Sense kernels no, it's a modified Google Kernel.
Thanks for the explanation. I followed the guide and built the rom, and it works (always a plus )
Now, the next thing is the kernel. How do I build a kernel with the CM tweaks integrated? I understand that all i would be doing is rebuilding the same one that is already installed, but im doing it to learn.
So, if i synced the GIT, does that include the CyanogenMOD kernel source? If it does, where is it and how do i rebuild it. If not, where do i find it?
Thanks,
Josh.

TPGB20110518 & tun.ko

hello. im new to android and i'm messing with openvpn and i need tun.ko. from what i understand, not just any tun.ko will work with a particular rom so i was wondering if anyone knows where i can obtain or at least make this file that would possibly work with the TPGB20110518 rom? thanks.
You should probably post in the author's thread, but I sse you probably can't post in the dev section yet (need 10 posts I think). Anyway, I looked at that ROM in the dev section and it's apparently running Di11igaf's kernel. I checked out his thread here:
http://forum.xda-developers.com/showthread.php?t=1070501
but he doesn't post any links to the kernel source.
With the source, it would be a simple matter of compiling in the module and adding it. I'd suggest you contact the author.
Pm the developer and he will respond asap
the issue was actually already resolved. did a bit of reading and apparently tun.ko file was built into cm so seeing as tpgb is based off of cm, it was built in as well. =)
Source is posted. Git is in my sig for the kernel

Where to Find Kernel Source to Build tun.ko

Never mind, a further search pointed the source on the LG web site. But it is still appreciated if someone can post tun.ko because people were looking for it and I don't have the setup to do the compiling yet.
===============
I was trying to get tun.ko for ThiaiZO3D or other GB build. I searched the forum and found several people asked before in ThiaiZ's thread and ThiaiZ seemed to acknowledge to add TUN support long ago but it never appeared in ThiaiZ's kernel. I PM'ed ThiaiZ but he did not respond to me. So I am asking help here. In order to build tun.ko, do I need the original source to compile, or can I just grab some other source and set the correct CPU type and version header to just compile the module? If the original source is needed, where to find it? Or if someone had the source handy, can you post the tun.ko? Thanks for your help.
mbuugg said:
Never mind, a further search pointed the source on the LG web site. But it is still appreciated if someone can post tun.ko because people were looking for it and I don't have the setup to do the compiling yet.
===============
I was trying to get tun.ko for ThiaiZO3D or other GB build. I searched the forum and found several people asked before in ThiaiZ's thread and ThiaiZ seemed to acknowledge to add TUN support long ago but it never appeared in ThiaiZ's kernel. I PM'ed ThiaiZ but he did not respond to me. So I am asking help here. In order to build tun.ko, do I need the original source to compile, or can I just grab some other source and set the correct CPU type and version header to just compile the module? If the original source is needed, where to find it? Or if someone had the source handy, can you post the tun.ko? Thanks for your help.
Click to expand...
Click to collapse
Hi mate, sorry if I didn't answer, I have really a lot of things to do right now, but would like to help as soon as I make my 4 ROM out there stable. 2/4 are already working stable, so soon we can join forces to port what you need in the kernel.
Sent from my LG-P920 using xda premium
Thanks ThiaiZ! Actually trax11 has post tun/cifs modules long time ago. I should have done more homework before posting.
http://forum.xda-developers.com/showthread.php?p=23264904

[Q] Galaxy tab 2 10.1 tun.ko for vpn question

I have a galaxy tab 2 10.1. I want to get a vpn client (F5) running, but I need the tunnel module. I rooted the tablet, and have tun.ko installer on it, but there's no tunnel module available. So i thought I'd compile my own since I use linux on my pc, but I'm having trouble finding the source for the kernel. tun.ko installer says my system is:
model: gt-p5113
build number: IML74K.P5113UEALD7
Android version: 4.0.3
Kernel version: 3.0.8-396106-user
Does anyone know where I can find the source for the kernel? I tried http://android.git.kernel.org, but I didn't see it.
Thanks.
You could personal message cheatman about it (see this thread).
thanks. cheatman provided me this info:
Code:
The samsung code for the P5113 can be found here: http://opensource.samsung.com/
I can't give you a direct link because of the site JS codes, but do a search for "p5113" and it should turn out a single result.
i got the source code and the ARM cross compiler, but according the directions i found, the next step is i need to get the config.gz file off the tablet, but that file doesn't exist. anyone know what i could do about that? thanks again.
still can't find the tunnel module or config.gz, anyone have any ideas on how i can get this working? thanks
tun.ko for gt-p5100
we're having the same problem bro.. i cant find tun.ko for my tab2.. i can't use my openvpn.. grr.. by now i'm downloading the link that someone gave to you,,., my question is.. after downloading that.. what would happen next? was that the tun.ko that we are looking for?
aleks12345 said:
we're having the same problem bro.. i cant find tun.ko for my tab2.. i can't use my openvpn.. grr.. by now i'm downloading the link that someone gave to you,,., my question is.. after downloading that.. what would happen next? was that the tun.ko that we are looking for?
Click to expand...
Click to collapse
i downloaded the source code, but there's no config.gz file, so i couldn't compile the tun.ko module

[Q][EASY $30] Need to compile Android kernel - Help wanted

Hey guys,
After two weeks of research and trying myself, I have decided I need someone to help this linux noobie out.
What I am looking for is to change 1 value which is in 1 file in the kernel source.
I've found which file it is. The problem is that with all the tutorials I've read and kernels I tried to compile,
they don't seem to be working with the source code I need to compile.
Details:
Source code I need to compile is for Samsung Tablet 2 10.1 - GT-P5110
Source code can be found @ samsung's open source site (can't post link here ) ... search for "GT-P5110_ICS_Opensource.zip"
Value I need to change is in the company layer of kernel.
I have been able to compile this kernel and get a zImage and some modules.
But I fear this isn't enough, I think I need a system.img?!
In any case, is there anyone who can help me out?
Do I need something else, patch/boot.img? Maybe I'm overlooking another easy solution?
I'll give you $30 on your Paypal account, same day!!
***Please note that $30 is only for the first working solution/person who can help, not for every solution :angel:***

Categories

Resources