[DEV] Tun.ko - Eee Pad Transformer Android Development

CrossCompiled today. Tested with VPNC and working http://sandbox.mindcrime.net/?p=75

Wow, that's fantastic - haven't finished rooting the Pad I received just this afternoon but this was going to be my next search.

cifs.ko as well
# lsmod
cifs 213686 0 - Live 0xbf0ab000
http://sandbox.mindcrime.net/?p=79

freeflysage said:
# lsmod
cifs 213686 0 - Live 0xbf0ab000
http://sandbox.mindcrime.net/?p=79
Click to expand...
Click to collapse
Works like a charm! Thanks!

*wishes I knew what you guys are talking about*

freeflysage said:
CrossCompiled today. Tested with VPNC and working http://sandbox.mindcrime.net/?p=75
Click to expand...
Click to collapse
Thank you so much!!!
Sent from my Transformer TF101 using Tapatalk

r34p3rex said:
*wishes I knew what you guys are talking about*
Click to expand...
Click to collapse
These are kernel modules (drivers) that allow your Transformer to support extended features. The tun module is used to open ipsec VPN tunnels that many corporate VPN concentrators require and the cifs module allows you to mount Windows/Samba network file systems locally (among other less common network file systems).

spuniun said:
These are kernel modules (drivers) that allow your Transformer to support extended features. The tun module is used to open ipsec VPN tunnels that many corporate VPN concentrators require and the cifs module allows you to mount Windows/Samba network file systems locally (among other less common network file systems).
Click to expand...
Click to collapse
Thanks for the info

Hate to bother but for us more ignant users can you give a quick 1-2 on how to install this driver?

cvondra said:
Hate to bother but for us more ignant users can you give a quick 1-2 on how to install this driver?
Click to expand...
Click to collapse
Using a root explorer with system mounted R/W place the module in /system/lib/modules then run 'insmod /system/lib/modules/<module.ko>' from term or adb shell

thanks spunium. worked like a champ. thanks OP for compiling/posting as well.

Anyone get the tun.ko working?
I get
insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)

justinship said:
Anyone get the tun.ko working?
I get
insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)
Click to expand...
Click to collapse
What ROM/build are you using?

thanks freeflysage installed tun.ko
also thanks for the instructions spunium

spuniun said:
What ROM/build are you using?
Click to expand...
Click to collapse
Prime. Guess thats why.

justinship said:
Prime. Guess thats why.
Click to expand...
Click to collapse
Prime 1.2 already has both tun and cifs support compiled into kernel - yu have no need for these modules.
sent from a device using an app

this is good wor but i still cant use with my works citrix ive tried the cirtix app, but no joy.. guess im gonna have to remote from the lappy still
Sent from my Transformer TF101 using Tapatalk

Any chance of have a tun.ko for 3.1?

it installed fine on 3.1.
Sent from my Transformer TF101 using Tapatalk

I have Prime 3.1 with netformers kernel and have never gotten VPNC to work, so I thought I would try this but get the same error from above.

Related

compiled a kernel but have problem with wifi-tethering

hello!
i compiled my own kernel using the default .config from my device. i just added CONFIG_NETFILTER=y and CONFIG_IP_NF_IPTABLES=y to enable wifi-tethering.
if i start tethering i get a connection, but it is only local and i have'nt a connection to the web.
does someone know why? do i have to enable more than CONFIG_NETFILTER and CONFIG_IP_NF_IPTABLES?
any help would be great!
frug said:
hello!
i compiled my own kernel using the default .config from my device. i just added CONFIG_NETFILTER=y and CONFIG_IP_NF_IPTABLES=y to enable wifi-tethering.
if i start tethering i get a connection, but it is only local and i have'nt a connection to the web.
does someone know why? do i have to enable more than CONFIG_NETFILTER and CONFIG_IP_NF_IPTABLES?
any help would be great!
Click to expand...
Click to collapse
I would use this .config (look through it for any adjustments you want to make): http://android-wifi-tether.googlecode.com/files/adp-1_6-kernel-config.gz
Got the info from: http://code.google.com/p/android-wifi-tether/wiki/ADP16KernelUpdate
wow, thanks for the quick reply! and that .config is default with enabled netfilter?
frug said:
wow, thanks for the quick reply! and that .config is default with enabled netfilter?
Click to expand...
Click to collapse
ya - that should have all the config you need for wifi-tether
kernel compiled again. everything works now. thanks!
frug said:
kernel compiled again. everything works now. thanks!
Click to expand...
Click to collapse
glad to help!

No help in the general area... WiFi Tether Question

I did my searching here and google and cant seem to find out how to get the WEP 128bit Encryption to work on my MT3G. I have enabled it in the settings and it still shows unsecure on my laptop when connecting.
Phone info:
Firmware - 1.5
Baseband - 62.50S.20.17U_2.22.19.26I
Kernal - 2.6.29-drizzy-drake [email protected] #33
ROM - MyHero2.2
Build - 3.03.703.3 Over
Any help would be great!
Thank you in advance.
But work or not? Do u try getting download any app to wifi security in the Market?
fabioccoelho said:
But work or not? Do u try getting download any app to wifi security in the Market?
Click to expand...
Click to collapse
I have not. This featured has worked on previos ROMs and now that I have found a ROM that is fast and suits me, it does not work. I'm sure it has something to do with the IPTables or wpa_supplicant file, but I do not know enough about that to fix it. Hints why Im asking for help.
zeroplace said:
I have not. This featured has worked on previos ROMs and now that I have found a ROM that is fast and suits me, it does not work. I'm sure it has something to do with the IPTables or wpa_supplicant file, but I do not know enough about that to fix it. Hints why Im asking for help.
Click to expand...
Click to collapse
so, you are using that "myhero"-rom ... right? which version of wpa_supplicant is installed? type "wpa_supplicant -v" in a console. i bet it's v0.5.10!
harry_m said:
so, you are using that "myhero"-rom ... right? which version of wpa_supplicant is installed? type "wpa_supplicant -v" in a console. i bet it's v0.5.10!
Click to expand...
Click to collapse
I am running the MyHero2.2 and you are correct... the wpa_supplicant version is v0.5.10. Should I have another version? How would one get it and install it?
zeroplace said:
I am running the MyHero2.2 and you are correct... the wpa_supplicant version is v0.5.10. Should I have another version? How would one get it and install it?
Click to expand...
Click to collapse
wep-encryption does not work on ANY hero-rom. see here for instance: http://code.google.com/p/android-wifi-tether/issues/detail?id=194#c39
if you want wep-encryption take another rom for your sapphire. this is a rom-related issue:
http://code.google.com/p/android-wifi-tether/issues/detail?id=166#c14
harry_m said:
wep-encryption does not work on ANY hero-rom. see here for instance: http://code.google.com/p/android-wifi-tether/issues/detail?id=194#c39
if you want wep-encryption take another rom for your sapphire. this is a rom-related issue:
http://code.google.com/p/android-wifi-tether/issues/detail?id=166#c14
Click to expand...
Click to collapse
I will look at that Harry. Thanks. I have had the encryption working on a few Hero ROMS before. I may just have to revert back to one of the older ones til a new one comes out. I like the look and feel of the Hero on my MT3G over the Normal Android. Its not as boring.

Looking for cifs.ko for Shield to access windows shares

Hi,
I'm trying to find a cifs module to access windows shares from the Shield with no luck so far. Does anybody know where I can find one already compiled for the latest kernel?
tincore said:
Hi,
I'm trying to find a cifs module to access windows shares from the Shield with no luck so far. Does anybody know where I can find one already compiled for the latest kernel?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2398836 <- You may want to check out the kernel thread. I wouldn't expect anyone to have it ready for a while. There are still a few bigger issues to resolve.
...I also think this thread might be a bit misleading since it's looking for and not offering the cifs.ko but whatever.
twistedumbrella said:
http://forum.xda-developers.com/showthread.php?t=2398836 <- You may want to check out the kernel thread. I wouldn't expect anyone to have it ready for a while. There are still a few bigger issues to resolve.
...I also think this thread might be a bit misleading since it's looking for and not offering the cifs.ko but whatever.
Click to expand...
Click to collapse
You are right about the title. Tried to change it but I dont know how.
tincore said:
You are right about the title. Tried to change it but I dont know how.
Click to expand...
Click to collapse
When you go to edit the first post, choose advanced editor. It lets you change it from there. I'm sure once we can get kernels building, getting a module will be swift.
twistedumbrella said:
When you go to edit the first post, choose advanced editor. It lets you change it from there. I'm sure once we can get kernels building, getting a module will be swift.
Click to expand...
Click to collapse
Do you have issues compiling them?

[MOD] Insecure Boot.img

This is for the Verizon Galaxy S5 Dev. Edition ONLY!!!
SM-G900V
Flash at your own risk!!!!
This mod will flash an insecure boot.img. Allowing you to ADB with root.
1. Download
2. Create back up or have Odin rescue files available.
3. Reboot Recovery
4. Flash sv_deved_insecureboot.zip
(Not signed so you will need to toggle signature verification)
Sent from my SM-G900V using Tapatalk
Does this also set selinux to permissive? Thanks!
jhanson said:
Does this also set selinux to permissive? Thanks!
Click to expand...
Click to collapse
No it does not. But I can create one that does.
Sent from my SM-G900V using Tapatalk
Versatile1 said:
No it does not. But I can create one that does.
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
Please! I really need permissive for the ability to override /dev/input for my appradio. I would greatly appreciate it! Thanks!
I can not add it in, all the usual methods do not work. Only way I know is to flash the kernel posted in Original Development. I'm not good working with kernels or I would try adding the modification.
Sent from my SM-G900V using Tapatalk
Versatile1 said:
I can not add it in, all the usual methods do not work. Only way I know is to flash the kernel posted in Original Development. I'm not good working with kernels or I would try adding the modification.
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
No problem, thanks for the effort anyway. I'm currently running "the arkenstone", which sets selinux to permissive, I was just hoping to have a more stock kernel. Thanks again!
CD Installer
Any chance of modding the boot.img to remove Verizon's CD Installer that pops up when you plug into USB?
Thanks great job on this!!!
EMSpilot said:
Any chance of modding the boot.img to remove Verizon's CD Installer that pops up when you plug into USB?
Thanks great job on this!!!
Click to expand...
Click to collapse
You can do this without kernel mod.
First navigate to /efs/carrier/HiddenMenu and change from OFF to ON save and exit.
Next you will want to navigate to /system/etc/autorun.iso and either rename *.bak or delete it.
Now reboot
Finally enter into your dialer *#0808#
Switch to MTP hit OK
Navigate to developer options and enable USB debugging if applicable.
All should be good.
Hmm... seems this doesn't stick through reboot. I will look into the kernel for you.
Versatile1 said:
You can do this without kernel mod.
First navigate to /system/efs/carrier/HiddenMenu and change from OFF to ON save and exit.
Next you will want to navigate to /system/etc/autorun.iso and either rename *.bak or delete it.
Now reboot
Finally enter into your dialer *#0808#
Switch to MTP hit OK
Enter once again into dialer *#0808# and switch back to MTP + ADB then Reboot
All should be good.
Click to expand...
Click to collapse
There is no /system/efs folder on a Verizon S5
EMSpilot said:
There is no /system/efs folder on a Verizon S5
Click to expand...
Click to collapse
Good catch!
/efs
Sent from my SM-G900V using Tapatalk
boot.img
Versatile1 said:
Good catch!
/efs
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
Look in the ramdisk file name "init.qcom.usb.sh
I believe line 116
EMSpilot said:
Look in the ramdisk file name "init.qcom.usb.sh
I believe line 116
Click to expand...
Click to collapse
I commented out that section and changed default.prop from mass_storage to mtp,adb still no luck. I will look at the source tomorrow. I really believe it's in a *jar
Sent from my SM-G900V using Tapatalk
We got this fixed if anyone is wondering. http://forum.xda-developers.com/showthread.php?t=2831291
Sent from my SM-G900V using Tapatalk
jhanson said:
Please! I really need permissive for the ability to override /dev/input for my appradio. I would greatly appreciate it! Thanks!
Click to expand...
Click to collapse
Wondering if you ever got permissive enabled to work with your app radio?
I have been working on this most of the week.
Have the S5 std edition not the dev ed. What phone are you using?
Thanks
jp712 said:
Wondering if you ever got permissive enabled to work with your app radio?
I have been working on this most of the week.
Have the S5 std edition not the dev ed. What phone are you using?
Thanks
Click to expand...
Click to collapse
Yes, I got it to permissive, but I've got the dev edition, so it's easy (and possible) to change the kernel. I know someone in the forums is working on permissive without kernel change, but last I read it's not completed yet. Best of luck!
jhanson said:
Yes, I got it to permissive, but I've got the dev edition, so it's easy (and possible) to change the kernel. I know someone in the forums is working on permissive without kernel change, but last I read it's not completed yet. Best of luck!
Click to expand...
Click to collapse
Gotcha, Thanks! Im figuring out the kernel stuff. Have been flashing custom roms for years never changed the kernels.
I was under the impression that you could just flash the .zip with safestrap on an std version?
I tried that , never saw the kernel actually change. I thought I was doing something wrong. Your reply leads me to think that changing the kernel on the stock S5 isn't exactly feasible yet?
Thanks!

Question Enable Init.d support?

I tried enabling init.d support on this device using term-init but I get an error in return while running the script: "mount: '/system' not in /proc/mounts". I tried all sorta different init.d apps but that seems to be no work. Is there any other way I can enable init.d support for my device? or if there isnt, how do I fix the mount: /system not in /proc/mounts error. I'm running pixel experience 12 vndklite version. Oh and I also tried remounting but adb root doesn't work.
dude, that thing of "init.d" has been deprecated since andoid 7 is useless now
oh, no wonder most of the searches are atleast 6 years ago
It is kind of useless, but oh well.
https://forum.xda-developers.com/t/...ny-phones-w-o-need-of-custom-kernels.1933849/
ActuallyJammy said:
It is kind of useless, but oh well.
https://forum.xda-developers.com/t/...ny-phones-w-o-need-of-custom-kernels.1933849/
Click to expand...
Click to collapse
wtf!!? dude thar post in from 2012 jajajajja
tutibreaker said:
wtf!!? dude thar post in from 2012 jajajajja
Click to expand...
Click to collapse
still works
ActuallyJammy said:
still works
Click to expand...
Click to collapse
useless since 7 yeras ago
tutibreaker said:
useless since 7 yeras ago
Click to expand...
Click to collapse
works anyways..
what do you mean by still working if it's deprecated

Categories

Resources