Looking to rebuild kernel from source. Does anyone know how to obtain the .config file for the kernel build?
Thanks
Hi everyone,
I need tun/tap driver to get openvpn working. I know some kernel/rom have that, like CM, neoblaze, djdroid etc. But I want to keep stock kernel with stock rom because I have tried every roms and the stock one satisfies me the best! But it only lacks tun driver !
Can somebody compile a tun.ko file working with the stock rom and kernel? Thank you.
I've tried and I don't think it's possible. tun.ko requires the kernel to export the symbol "outer_cache" which it does not. (only tegra kernel seems to be missing this as default...). It's an easy fix, but to use the generated module you would have to replace the kernel as well (to one that exports the required symbol)
Thank you for you answer.
I have tried to do that too and wasted 2 hours. I wonder if I do it right. I downloaded not the aosp kernel but the v20l kernel source from http://www.lg.com/global/support/opensource/opensource-detail.jsp?detailCustomerModelCode=LGP990. I used this tutorial http://stevechui.blogspot.com/2011/10/compiling-kernel-modules-tunko-for.html. But the Lg sources doesn't include the tegra folder.
ergoen, you seem to say that you managed to create a tun.ko file with a slightly modified stock kernel ? That would be what I search for.
just flash spica HP kernel SR2 and if you want flash the PP7. it does support tun.ko and cifs.ko already tried. good luck if you want to try (in his kernel it's not module but it's on built in driver)
i use vpn to my office with vpnc connection and it good to go
here is the link if you want to download vpnc connection
Code:
http://code.google.com/p/get-a-robot-vpnc/downloads/list
just download the vpnc connection.apk don't download anything else in there
Or try the Modaco custom kernel r26 with GR5. You can get a nearly stock phone with that.
ergosum said:
Thank you for you answer.
I have tried to do that too and wasted 2 hours. I wonder if I do it right. I downloaded not the aosp kernel but the v20l kernel source from http://www.lg.com/global/support/opensource/opensource-detail.jsp?detailCustomerModelCode=LGP990. I used this tutorial http://stevechui.blogspot.com/2011/10/compiling-kernel-modules-tunko-for.html. But the Lg sources doesn't include the tegra folder.
ergoen, you seem to say that you managed to create a tun.ko file with a slightly modified stock kernel ? That would be what I search for.
Click to expand...
Click to collapse
I can build a kernel based on stock source with tun enabled and provide a cwm flashable.
ergosum said:
Hi everyone,
I need tun/tap driver to get openvpn working. I know some kernel/rom have that, like CM, neoblaze, djdroid etc. But I want to keep stock kernel with stock rom because I have tried every roms and the stock one satisfies me the best! But it only lacks tun driver !
Can somebody compile a tun.ko file working with the stock rom and kernel? Thank you.
Click to expand...
Click to collapse
It's not possible to keep stock kernel and just add the modules as if... You have to recompile the whole kernel and flash it... So why doing this as other kernel based in stock sources are available? Install SR2 kernel from spica and it will be perfect. A you perhaps... Know if you change only kernel it won't affect your /system, so you ROM will be stock like...
Don't waste time trying to make things that have already been made and working.
You have to recompile the whole kernel and flash it... So why doing this as other kernel based in stock sources are available?
Click to expand...
Click to collapse
Because I tested other kernels and even if there are lots of improvement authors do, there are some bugs they introduce (ex: neoblaze => tethering not working, thanatos 4.2 => mybackuppro not working, cm7 => hdmi partialy working, djdroid => changements I don't like, etc) or changements I don't like. That's why I like the principle of using the stock rom/kernel as long as everything works.
I don't know about spica kernel, it's the only one I've not tried with swiftextreme. I will try it maybe later because restoring apps takes some time.
ergosum said:
Because I tested other kernels and even if there are lots of improvement authors do, there are some bugs they introduce (ex: neoblaze => tethering not working, thanatos 4.2 => mybackuppro not working, cm7 => hdmi partialy working, djdroid => changements I don't like, etc) or changements I don't like. That's why I like the principle of using the stock rom/kernel as long as everything works.
I don't know about spica kernel, it's the only one I've not tried with swiftextreme. I will try it maybe later because restoring apps takes some time.
Click to expand...
Click to collapse
Flashing kernel doesn't touch /data you don't need to restore apps.
NeoBlaze seems not working with 20L. swiftextreme works only with CM7.
Hey there,
i've just built tun.ko vor v20l stock kernel.
Added a "struct outer_cache_fds outer_cache" in tun.c to replace a missing symbol in the stock kernel.
Greetings
Thank you so much tantalus! Although today I just installed Django with spica kernel (so with tun), that file should be usefull to other people!
tantalus1983v2 said:
Hey there,
i've just built tun.ko vor v20l stock kernel.
Added a "struct outer_cache_fds outer_cache" in tun.c to replace a missing symbol in the stock kernel.
Greetings
Click to expand...
Click to collapse
Hi there.
How can I install this module?
I have the v20o stock kernel: will it work?
Thank you!
svetj said:
Hi there.
How can I install this module?
I have the v20o stock kernel: will it work?
Thank you!
Click to expand...
Click to collapse
OK, I've solved using Module Loader.
Using VPNC widget I get connected to cisco our vpn gatway.
Hope this help.
Bye
I noticed that the usual modules in GDX is not in placed in the latest release of DX, specifically MDDI for lag fix, does DX find it unnecessary to place modules because we already have custom kernels? or does the kernel have preset modules installed e.g. MDDI in it? or do I have to manually set the module, because DX preferred it to be optional? too many questions but this really bugs me.
hello,
seems that the scripts in the init.d folder does not work for kernels except for ICS ICY Glitch?
There is?
Does anyone know where I can find this kernel? (Ready to flash)