Related
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
Hey all!
I've jsut want to ask you, that how depends on the compatibility of a rom on a kernel? so what need to modify in a rom for being compatible with the specific kernel(nAa for exemple).
I've got no idea But if your point is to create a rom, I think you should start by working with the stock kernel for now
kevin coelho said:
I've got no idea But if your point is to create a rom, I think you should start by working with the stock kernel for now
Click to expand...
Click to collapse
i've just want to make compatibile a rom with nAa11
From my experience the correct Kernel to use is always suggested by the developers of the ROM. For example the Minicm7-2.1.9 is built around the nAa Kernel and as far as I'm aware the ROM will only work with that Kernel.
CM7 suggests a FreeXperia Kernel which comes with the ROM (e.g. FX043) - I've not had any luck with this kernel and ROM myself. I did get the CM7 ROM installed with the nAa kernel but it kept freezing up.
Always try the suggested kernel or search for compatable kernel for the ROM you want to use. Of course you can always try to load any rom to any kernel and experiment / hope for the best as I have....
Hope this helped.
I now that the timur kernel do it but this kernel don't work in the new version of android (kitkat4.4) so we need another kernel that do the same
samovalle41 said:
I now that the timur kernel do it but this kernel don't work in the new version of android (kitkat4.4) so we need another kernel that do the same
Click to expand...
Click to collapse
good luck, there isn't even one for 4.3, let alone 4.4
I need to otg charge on 4.4 ~~
I flash new kernel and after my phone don´t start, don´t start cwm, work only downloading.....PLEASE HELP ME !
What kernel?
Powered by CM11
jurinecko said:
I flash new kernel and after my phone don´t start, don´t start cwm, work only downloading.....PLEASE HELP ME !
Click to expand...
Click to collapse
Flash stock firmware with Odin.
I think that you installed CM kernel, maybe that Aroma installer for CM kernels on JB. CM kernel does not work on JB or GB, JB kernel do not work on CM or GB, GB kernel do not work on CM or JB. Also do not use CM10.1/2 kernel on CM11 or any combination, use kernel on ROM version that kernel is made for.
Hello people. I have a I9305XXUEMK1 and i had a problem trying to flash
Yank555.lu-SGS3-JB-kernel-v3.3-aroma-I9305_by_ausdim.zip
I did a backup using twrp recovery,wiped cache etc, and flashed the kernel,it said ok,and when i rebooted all o got was a black screen.Any suggestions?The reason i wanted to flash a custom kernel was to overclock CPU
Send telepathically
Tont GS3 said:
Hello people. I have a I9305XXUEMK1 and i had a problem trying to flash
Yank555.lu-SGS3-JB-kernel-v3.3-aroma-I9305_by_ausdim.zip
I did a backup using twrp recovery,wiped cache etc, and flashed the kernel,it said ok,and when i rebooted all o got was a black screen.Any suggestions?The reason i wanted to flash a custom kernel was to overclock CPU
Send telepathically
Click to expand...
Click to collapse
I had that problem too, the only way i could get out was to reflash my ROM and directly after that the custom kernel (and the G-apps)
Tont GS3 said:
Hello people. I have a I9305XXUEMK1 and i had a problem trying to flash
Yank555.lu-SGS3-JB-kernel-v3.3-aroma-I9305_by_ausdim.zip
I did a backup using twrp recovery,wiped cache etc, and flashed the kernel,it said ok,and when i rebooted all o got was a black screen.Any suggestions?The reason i wanted to flash a custom kernel was to overclock CPU
Send telepathically
Click to expand...
Click to collapse
this kernel is not updated for a while now and may have been incompatible with latest firmwares. you might want to check another kernel like this one here JB boeffla kernel 5.3 beta7, fresh and recently updated if you gonna use this, you will need to download boeffla config v2 app also for overclocking or undervolting options
of course you could also try another custom rom/custom stock rom who has a kernel that supports OC and UV by default (kerneltweaker)
just look in the development thread for those kind of roms
MaHo_66 said:
this kernel is not updated for a while now and may have been incompatible with latest firmwares. you might want to check another kernel like this one here JB boeffla kernel 5.3 beta7, fresh and recently updated if you gonna use this, you will need to download boeffla config v2 app also for overclocking or undervolting options
of course you could also try another custom rom/custom stock rom who has a kernel that supports OC and UV by default (kerneltweaker)
just look in the development thread for those kind of roms
Click to expand...
Click to collapse
boeffla config v2 app can be purchased only by donating?!
Tont GS3 said:
boeffla config v2 app can be purchased only by donating?!
Click to expand...
Click to collapse
No not necessarily, but if you want to donate you are free to do so. Here you can download the latest B.config v2 app.
Note: be careful, dont flash Samsung stock based kernel on AOSP based roms, and dont flash AOSP based kernels on Samsung stock based roms
Can you guide me through the installation? Cause i do the wipe and i install the kernel and the boeffla app..
Send telepathically