tun.ko for kernel 2.6.29-36d5cb8d (Stock 2.1 firmware) - Hero, G2 Touch Android Development

Hi everyone!
Just wanted to ask if anyone could upload their tun.ko for the said kernel. I'm trying OpenVPN and it is one of the requirement for the program to run.
Thanks a lot in advance!

blue_algae said:
Hi everyone!
Just wanted to ask if anyone could upload their tun.ko for the said kernel. I'm trying OpenVPN and it is one of the requirement for the program to run.
Thanks a lot in advance!
Click to expand...
Click to collapse
You can't build a loadable kernel module without recompiling the kernel, hence theoretically you must also change the kernel....
I think that the stock kernel has this model built inside the kernel, so you should be able to just run OpenVPN and it should work, no need to load anything.
If this still does not work for you, look at the FlyKernel from my signature, it should solve the problem for you (if you try it and there are problems let me know on it's thread).

Thanks for the reply! I cant find tun.ko anywhere so I guess it is missing from the official rom. Im getting tired of the stock rom anyway so maybe its time to load up some custom prepared eclair or froyo.;-) i'll try cronos droid as im curious of what divx library is for. Maybe it can paly divx natively? Anyway, thanks again!

blue_algae said:
Thanks for the reply! I cant find tun.ko anywhere so I guess it is missing from the official rom. Im getting tired of the stock rom anyway so maybe its time to load up some custom prepared eclair or froyo.;-) i'll try cronos droid as im curious of what divx library is for. Maybe it can paly divx natively? Anyway, thanks again!
Click to expand...
Click to collapse
I'll try to clarify what I tried to say above: To the best of my knowledge there is no tun.ko in the official ROM. This is the way it should be. And yet openVPN will still work for you. Did you try to use OpenVPN and have some problem with it?

hey, thanks for taking time helping me out.
I was able to install openvpn. I can enable openvpn too, however, may problem is I can't use my openvpn configuration. For some reason, I can't make my openvpn configuration enabled. No error whatsoever. When I click the check mark for the configuration, it just blinks. Here's my hunch, In the tun module settings, there is this option: "path to tun module" which I dont know where to point to since the stock kernel does not have tun.ko. I downloaded a couple of tun.ko that I saw here and a couple of others I found using google. But since these are all not for the kernel that I have, it all didn't work. what do you think should I do?

blue_algae said:
hey, thanks for taking time helping me out.
I was able to install openvpn. I can enable openvpn too, however, may problem is I can't use my openvpn configuration. For some reason, I can't make my openvpn configuration enabled. No error whatsoever. When I click the check mark for the configuration, it just blinks. Here's my hunch, In the tun module settings, there is this option: "path to tun module" which I dont know where to point to since the stock kernel does not have tun.ko. I downloaded a couple of tun.ko that I saw here and a couple of others I found using google. But since these are all not for the kernel that I have, it all didn't work. what do you think should I do?
Click to expand...
Click to collapse
Ok, I was sure for some reason that openVPN should work well with the stock kernel (personally I don't use VPN so can't really check it myself).
I think your best bet now is to try a different kernel. You can try my kernel from my signature (flykernel) which should work on almost any ROM. Or if you where planning to checkout different ROMs, go for it and hopefully it will work for there.

just finished reading your kernel details and it sounds interesting! I'll give it a try now.
and yea, thanks for the help and for your kernel.

Related

[Q] HTC Touch Pro 2 Incoming call > Mic not working

Hi,
I'm now trying to use Android on HTC fulltime (way too many crashes in WM6.5+HTC Sense, phone becomes unusable) but I'm having some trouble with the microphone when someone calls.
I've read the problem is solved in the latest build of Froyo, but that is the one I have installed.
Is there a difference between the "Reference version" and the "BLAZN version" found on this page: http---sites.google.com-site-androidport-downloads ?
I have installed the "BLAZN version" of Froyo 2.2, which has a different update date.
Can someone recommend installing the "Froyo Reference version" to solve the microphone issue?
You can try updating to the newest kernel to try & fix the mic issue.
I thought this was resolved for everyone, but evidently not. Can you try the newest kernel and post back your results?
arrrghhh said:
You can try updating to the newest kernel to try & fix the mic issue.
I thought this was resolved for everyone, but evidently not. Can you try the newest kernel and post back your results?
Click to expand...
Click to collapse
I don't follow... :$
What do you mean with "try the newest kernel"?
I have copied the contents of the Froyo BLAZN 2.2 - cab to my phone SDcard and installed the cab. Previously I have updated the phone with all the patches and fixes HTC made available for download.
Did I miss a step in the installation process?
Some more information that might be useful:
Belgian bought HTC Touch Pro 2 (no sim-lock, no fixed telecom provider),
now running the AndroidonHTC Rhodium - Rhod100_UK (to have the correct keyboard mapping) installation with maximum overclocking and HW3D unchecked (read the updates list today and should have checked it, I know )
Thanks for your quick reply btw
ps: I didn't find anyone else with this problem, so it is probably resolved,
I think it's a small missing update in the Froyo BLAZN pack, but wanted to verify before having to reinstall the whole thing again (takes quite some time for sth stupid like importing my contact list from my SIM, linking FB contacts,... not sth I like to do on a daily basis )
Uhm... update using the kernel autobuild service?
The issue is certainly kernel related, and I know the 'newest' blazn uses a kernel that's quite old (nearly a month!)
The new reference build is quite new, but still is behind several kernel commits.
There's a new kernel out all the time - I've said it before, sometimes there's several daily patches to the kernel, sometimes there's a week between commits. Just depends on what's going on in the developer world.
arrrghhh said:
Uhm... update using the kernel autobuild service?
The issue is certainly kernel related, and I know the 'newest' blazn uses a kernel that's quite old (nearly a month!)
The new reference build is quite new, but still is behind several kernel commits.
There's a new kernel out all the time - I've said it before, sometimes there's several daily patches to the kernel, sometimes there's a week between commits. Just depends on what's going on in the developer world.
Click to expand...
Click to collapse
http-//forum.xda-developers.com/showthread.php?t=788837&page=5[/url]
Found this using google and does seem like a kernel update could do the trick, but I still don't get where I could do a "kernel update" or the "kernel autobuild service".
I have never used such function, so I'm sorry for the newb-question...
Could you hand me some more keywords/hints to find the most recent kernel build for my phone?
Is this kernel you're talking about some kind of update for the radio? As far as I get it now, it is some sort of unofficial update/patch provided by (open-source) developers?
RealReality said:
I don't follow... :$
now running the AndroidonHTC Rhodium - Rhod100_UK (to have the correct keyboard mapping) installation with maximum overclocking and HW3D unchecked (read the updates list today and should have checked it, I know )
Click to expand...
Click to collapse
same microphone issue, but with the 14. Oct energy ROM.
Can you please help me ..where to find this program for the correct key mapping?
thank you.
bogdan_wrc said:
same microphone issue, but with the 14. Oct energy ROM.
Can you please help me ..where to find this program for the correct key mapping?
thank you.
Click to expand...
Click to collapse
Correct key mapping is a setting in your startup.txt/default.txt file OR when you use the XDAndroid Starter application in WM, you just have to select "Rhod100_uk" (in my case, I don't know your keyboard layout?)
The latter is the easiest solution btw.
Kernel Autobuild
RootFS autobuild
Initramfs autobuild
Alright,
thank you for your help, the problem is solved!
Solving process:
1) Android Startup app didn't want to update
2) Downloaded the newest Android Startup app (version 1.3)
3) Hit "update"
4) Found new Kernel > installed
5) Working microphone with incoming calls...
bogdan_wrc said:
same microphone issue, but with the 14. Oct energy ROM.
Can you please help me ..where to find this program for the correct key mapping?
thank you.
Click to expand...
Click to collapse
For the keymapping thing, if you look in the startup.txt file on the sim card, look for: "physkeyboard=Tilt2" (minus quotes). Change "Tilt2" to "tilt2". I've found that by changing the capital T to a lowercase t, it fixes the key mapping issue. It's worth a shot.
Solving the microphone problem has triggered another one...
I had Launcher Pro Plus installed and could use the "Home key" to show an overview of my different homescreens...
Now the Home key doesn't work anymore...
Most recent builds etc are installed now, so I have no idea what to do to solve this issue.
RealReality said:
Solving the microphone problem has triggered another one...
I had Launcher Pro Plus installed and could use the "Home key" to show an overview of my different homescreens...
Now the Home key doesn't work anymore...
Most recent builds etc are installed now, so I have no idea what to do to solve this issue.
Click to expand...
Click to collapse
Check this
Best thing to do otherwise is to wait for a fix.
contributor_M said:
Check this
Best thing to do otherwise is to wait for a fix.
Click to expand...
Click to collapse
Thank you
Quite a relief it's just a minor bug,
I can live with the workaround you suggested,
instead of "Home" for the End Call button, I choose "Home, Then Sleep"
RealReality said:
Correct key mapping is a setting in your startup.txt/default.txt file OR when you use the XDAndroid Starter application in WM, you just have to select "Rhod100_uk" (in my case, I don't know your keyboard layout?)
The latter is the easiest solution btw.
Click to expand...
Click to collapse
thank you! that worked. Now, i am still fighting to solve the microphone problem...because this:
"1) Android Startup app didn't want to update
2) Downloaded the newest Android Startup app (version 1.3)
3) Hit "update"
4) Found new Kernel > installed
5) Working microphone with incoming calls..."
did not help
Hey guys, I have the same problem with the mics. I am running the newest kernels on Rhodium 400. I updated everything with the startup utility. It only is a problem when someone calls me, I can't hear them but they can hear me. If I disconnect and then call them, it works fine. Just recently, I had the problem of my mic not working in a call.
I have just been keeping my head down because I really appreciate what the developers are doing, but I figured if I don't say anything, they won't know there are still problems. Thanks again for everything you guys are doing!!
OK can we all ignore the update utility for the time being, go and grab the newest kernels and let us know if it's solved? Supposedly the newest kernels solve this issue, but I personally never experienced it on my RHOD, so I'm not a good test...
minikirchner said:
Hey guys, I have the same problem with the mics. I am running the newest kernels on Rhodium 400. I updated everything with the startup utility. It only is a problem when someone calls me, I can't hear them but they can hear me. If I disconnect and then call them, it works fine. Just recently, I had the problem of my mic not working in a call.
I have just been keeping my head down because I really appreciate what the developers are doing, but I figured if I don't say anything, they won't know there are still problems. Thanks again for everything you guys are doing!!
Click to expand...
Click to collapse
I tried pressing "Volume Up" when I picked up a call today and sure enough it worked. I previously experienced the same issues you describe. When pressing volume up I did it quickly about 3-4 times.
arrrghhh said:
OK can we all ignore the update utility for the time being, go and grab the newest kernels and let us know if it's solved? Supposedly the newest kernels solve this issue, but I personally never experienced it on my RHOD, so I'm not a good test...
Click to expand...
Click to collapse
for beginners, just like me, how and from where can we take the newest kernels?
bogdan_wrc said:
for beginners, just like me, how and from where can we take the newest kernels?
Click to expand...
Click to collapse
The search is not strong with this one...
Kernel Autobuild
RootFS Autobuild
initramfs Autobuild
The kernel by far gets more updates than any of the other two.
arrrghhh said:
The search is not strong with this one...
Kernel Autobuild
RootFS Autobuild
initramfs Autobuild
The kernel by far gets more updates than any of the other two.
Click to expand...
Click to collapse
sorry....but i still can not understand what i have to download can you please more specific?

tun.ko for dinc2?

Does anyone know if any of the kernels out so far have a working tun.ko for them? Or perhaps someone has a working module?
Check out CM7. I successfully used get-a-robot-vpnc on CyanogenMod 7 for the HTC Incredible 2 INC2: V7.1.0-Beta1 (3 July 2011) which requires tun.ko to function.
3ntr0py said:
Check out CM7. I successfully used get-a-robot-vpnc on CyanogenMod 7 for the HTC Incredible 2 INC2: V7.1.0-Beta1 (3 July 2011) which requires tun.ko to function.
Click to expand...
Click to collapse
Thanks! I'll check it out again. I put it on yesterday but it felt like it killed my battery quick even after tweaking the settings. I'll give it more time this time around.
Here is a stock kernel with TUN and CIFS modules.
Need to be S-OFF to install with clockworkmod.
Enjoy!!
*EDIT*
I suggest wiping the cache/dalvik cache before rebooting.
*EDIT AGAIN*
Pulled kernel - see my camera problem thread
Did some hacking and here is a tun.ko module for the stock GB sense ROM and doesn't break the camera! This worked on my device (RMK ROM).
Let me know if anyone has any problems insmod'ing it.
Thanks, Matt.
mattwood2000, would you mind sharing the steps you used to get tun.ko loaded? Did you simply copy to the system\lib\modules and run insmod?
I tried your earlier kernel and I too had the camera bug, however I was able to get vpn working with it. I am using the ROM located here: http://forum.xda-developers.com/showthread.php?t=1166582. I was able to download before the thread was closed and it works great, no problems. I have been running it for a week. It did not include the social network apps but I just copied them from another Sense ROM.
Thanks in advance.
Thread moved to proper forum.
Yes just copy to /system/lib/modules if you want it to autoload from any application that calls it. You can always insmod it from the sedate for testing though.
Sent from my ADR6350 using XDA App

[Q] IPSEC VPN (tun.ko)

I'm trying to connect my phone up to my works Cisco VPN.
I've read online that I need a compiled version of tun.ko kernel module in order for it to work. I've checked in /system/lib/modules/ and can't see it in there.
There are instructions online for compiling it which I wouldn't mind doing but I'm guessing this will have to wait until HTC release the kernel sources for the One X(?)
Can I use the module from another phone running the same kernel version?
EDIT: Sorry just done some more reading and found out tun.ko is baked into ICS so this can't be the problem I'm having
Did you manage to get this working? I am trying to connect to a L2TP/IPsec PSK VPN and I keep getting a timeout.
This has been working for the past 2 years on my gingerbread Desire HD.
I think it's to do with this issue:
http://code.google.com/p/android/issues/detail?id=23124
but if anyone knows of a fix that would be great?
i need this tooo ,, but without root please >>>

wifi calling logcat

anybody has any sugestion on how to get this fix, i am trying to install the wifi calling app on the cm nightly.
I am trying to figure this out first but I don’t know where to start.
04-17 11:25:52.820 E/dalvikvm(6079): dlopen("/system/lib/libkineto.so") failed: Cannot load library: soinfo_relocate(linker.cpp:1013): cannot locate symbol "_ZN7android11AudioRecordC1EijijijPFviPvS1_ES1 _ii" referenced by "libkineto.so"...
appreciate any help.
http://forum.xda-developers.com/showthread.php?t=2224785
You are better off adding to this thread, wifi calling is a t-mo only thing and built into framework...think some kernel modifications would be needed, not just a matter of installing apk and libs, otherwise all aosp roms would have it already...
ronin178 said:
http://forum.xda-developers.com/showthread.php?t=2224785
You are better off adding to this thread, wifi calling is a t-mo only thing and built into framework...think some kernel modifications would be needed, not just a matter of installing apk and libs, otherwise all aosp roms would have it already...
Click to expand...
Click to collapse
i see... thanks for the replay i will keep trying to get it to work who knows maybe i get lucky
Good luck, lots of people pulling for you

[Q]S4 Mini LTE After Root Wi-Fi & Bluetooth Not Working

Hi Guys, I thought I would make a thread here as i can not seem to be able to find a solution. Rooted my device obviously, everything is fine until I installed a "Kernel" (cant remember author) to overclock mainly then encountered several problems. 1: Wi-Fi has become unstable. It seems to either crash my phone or signal disappears after my phone is on standby for a period of time (variable). 2: My Bluetooth just does not work. At all!! I have not done anything more to my device so the solution (hopefully). I forgot to mention that it is STOCK ROM. I do not wish to wipe my phone clean, i want to find a fix. Possibly a more stable kernel. Overclocking does not want to happen either but the "Governor's, I/O Scheduler's and Underclocking" do work. If there is anything more you guys need to know please ask!!
Looking forward to ideas
Kye
KyeWalker said:
Hi Guys, I thought I would make a thread here as i can not seem to be able to find a solution. Rooted my device obviously, everything is fine until I installed a "Kernel" (cant remember author) to overclock mainly then encountered several problems. 1: Wi-Fi has become unstable. It seems to either crash my phone or signal disappears after my phone is on standby for a period of time (variable). 2: My Bluetooth just does not work. At all!! I have not done anything more to my device so the solution (hopefully). I forgot to mention that it is STOCK ROM. I do not wish to wipe my phone clean, i want to find a fix. Possibly a more stable kernel. Overclocking does not want to happen either but the "Governor's, I/O Scheduler's and Underclocking" do work. If there is anything more you guys need to know please ask!!
Looking forward to ideas
Kye
Click to expand...
Click to collapse
It not the root that causing the issue, it the kernel that tried. If I remember correctly there's only two kernel for the S4 mini that allows overclcoking, and one of them has stopped developerment since last year. That leaves the F4k kernel.
He has two different kernels: one for the AOSP/CM (custom) ROM another is also a bit outdated for the default Samsung TouchWiz ROM. Are you sure you've download the correct kernel?
TNCS said:
It not the root that causing the issue, it the kernel that tried. If I remember correctly there's only two kernel for the S4 mini that allows overclcoking, and one of them has stopped developerment since last year. That leaves the F4k kernel.
He has two different kernels: one for the AOSP/CM (custom) ROM another is also a bit outdated for the default Samsung TouchWiz ROM. Are you sure you've download the correct kernel?
Click to expand...
Click to collapse
Well to my knowledge I had used the correct kernel....... I never used one from here but I did find a website claiming that F4k has a stock over clocking kernel...... Unfortunately for the life of me I can not find this website. I've managed to overclock with success using a apk. I found on here (performance control) brilliant tool!! Is there any chance you able to post a link to this stock kernel you talk about so I can test myself and report back? Everything else is working without a problem apart from Wi-Fi and bluetooth.
Kye
KyeWalker said:
Well to my knowledge I had used the correct kernel....... I never used one from here but I did find a website claiming that F4k has a stock over clocking kernel...... Unfortunately for the life of me I can not find this website. I've managed to overclock with success using a apk. I found on here (performance control) brilliant tool!! Is there any chance you able to post a link to this stock kernel you talk about so I can test myself and report back? Everything else is working without a problem apart from Wi-Fi and bluetooth.
Kye
Click to expand...
Click to collapse
For custom ROM - http://forum.xda-developers.com/showthread.php?t=2568479
For Samsung TW ROM - http://forum.xda-developers.com/showthread.php?t=2636890
summarise.....
TNCS said:
For custom ROM - http://forum.xda-developers.com/showthread.php?t=2568479
For Samsung TW ROM - http://forum.xda-developers.com/showthread.php?t=2636890
Click to expand...
Click to collapse
So I've come to a conclusion after many weeks of testing and searching........ Unfortunately the overclock kernel for "TouchWiz" roms is unstable........ looking through forums I can see that F4k has only realised a "test" version....... on the other hand I have found a kernel from Vikinger (if spelt correctly) that's has fixed my issue and is working great... shame it isn't overclocked nor under and has no additional governors..... any one with ideas please feel free to share..... many thanks.
Kye

Categories

Resources