[Q] Looking for a tun.ko - Android Software Development

hi all
i'm looking for a tun.ko for OpenVPN with Samsung Galaxy S FroYo JPP/JPO ... is there something out yet or already in developement? (or any alternative... i want to connect to a cisco vpn)
thx in advance

I don't have a Galaxy, nor do I know much about them, but I have compiled this module for HTC phones. Do you know if the kernel source for "Galaxy S FroYo JPP/JPO" (actual version running on your phone) is available? If so, I'm pretty sure I could compile a module for you.

Hi all,
I'm intrested for the same module tun.ko.
If somebody can provide it
Thanks

couldnt find it yet... if someone does pls post the link for gene or someone else

I can try to find it. Type this in a command window for me:
adb shell uname -a
and post the results.

hmm im probably too stupid
i couldnt get adb shell working on windows 7 (followed some tuts but none worked for me... always "error: protocol fault (no status)" (yes i dled everything and enabled usb debugging @ my sgs)
so i installed a shell app on my mobile and ran "uname -a" into it.. here is the result:
Linux localhost 2.6.32.9 #6 Wed Oct 20 17:47:45 CEST 2010 armv7l GNU/Linux
hope thats what you were looking for
btw an vpnc version would also be very appreciated (if its not a ****load of work )

Well, I've been searching all over and I can't make any sense out of all the Galaxy stuff. I don't own one and so I'm not up on all the jargon and what the current state of the custom ROMs is so, I'm sorry, but I can't find a repository of the kernel source.
If anyone could point me to it, I'd be happy to try and compile it, but otherwise, I'm stuck.

too bad hopefully someone can point u to it ... but not me since im kinda new to this stuff :/

There's a how to on one of the FAQ's in the samsung galaxy s forum.
look for
[HOWTO] [REF] [FAQ] [Guides] [Tutorials] Flash/Root/ADB/ROM [MUST READ!]
in: post #5 tips and tricks

actually i didnt find it there... there is a "create a tun.ko for sgs" but the link is wrong...

you can close this post as a tun.ko for another kernel is also definetly working ->> http://forum.xda-developers.com/showthread.php?t=793712
totally working with JPO... used autostart (root) from market to install the tun.ko with insmod on reboot
tried it today with cisco vpn connection (+"VPN Connections" (vpnc)) @ my university and it totally worked!

Related

Cross-compiling, what am i doing wrong

Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Richard_Xeli said:
Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Click to expand...
Click to collapse
Hello,
i am having problems with the linker too! i am using the NDK (because it actually does C / C++ code) and the code compiles with very few warnings on some instructions but works well otherwise, it just WOULD NOT LINK the stuff together!! one interesting setting i noticed in some public makefiles for the NDK i noticed is that they actually set the linker to /system/bin/linker, which is obviously a file on the target device. but i don't know how it would access it? any ideas?
BTW: post your error(s) please
Try this
The system won't let me post a link (as a new user), however there is a really good tutorial on native android development and debugging using the AOSP build system. Search on Aton International Incorporated and click on blogs in the menubar. I am in no way associated with the company, just happy to finally be able to cross-compile, link and debug for android.
Maybe someone who has more posts could post a link here.
http://www.aton.com/android-native-development-using-the-android-open-source-project/

Wireless Tether for Liquid - We need testers!

Hi!
I'm one of the authors of "Wireless Tether for Root Users".
We are currently trying to add support for the liquid. The problem is that we don't have such a device available for testing!
That's why we probably need YOU!
I've created an issue-report on our google-code page:
http://code.google.com/p/android-wifi-tether/issues/detail?id=289
There you can find (hopefully helpful) information and download-links to test-applications. Please add your comments (regarding problems or other stuff) there. I will ask questions - please try to answer these as good/fast as you can (this helps to get it done).
Ah ... one more thing: Wirelesss Tether needs a custom kernel (netfilter-support!) - please see our faq (http://code.google.com/p/android-wifi-tether/wiki/FAQ).
Thanks for your help.
Harry
harry_m said:
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
We are currently trying to add support for the liquid. The problem is that we don't have such a device available for testing!
That's why we probably need YOU!
I've created an issue-report on our google-code page:
http://code.google.com/p/android-wifi-tether/issues/detail?id=289
There you can find (hopefully helpful) information and download-links to test-applications. Please add your comments (regarding problems or other stuff) there. I will ask questions - please try to answer these as good/fast as you can (this helps to get it done).
Ah ... one more thing: Wirelesss Tether needs a custom kernel (netfilter-support!) - please see our faq (http://code.google.com/p/android-wifi-tether/wiki/FAQ).
Thanks for your help.
Harry
Click to expand...
Click to collapse
Im up for it let me know what tests need to be done etc.
im willing to test also.
as for the kernel module required for wireless networking to work correctly....we aren't able to compile the module for some reason. iirc the liquid was using some non-standard module for one portion of the networking, was so long ago can't remember exactly. Disc0 was the one who wrote about it, i'll see if ican find it.
I was personally thinking about this the other day, is it possible to run both a wifi and hsdpa connection and bridge them? if we could then it'd be as simple as an ad-hoc network and a proxy solution
http://android.modaco.com/content-page/302370/disco-custom-kernel-v-b01/page/220/#entry1188059
built fine but fc on every apk as disc0 said. Don't think he released his modified kernel source either

Researching Linux / Android ROM

Hello everybody,
I'm Johan, I live in the netherlands and i'm doing a study Informatica->Software Engineer. For a schoolproject we have to write an Android Application, though i don't have Android running on my telephone natively. So i searched the internet and found out that on the XDA forums its all about custom roms and that there are some Android Roms available. Unfortunately nothing for my MDA Compact/HTC Magician yet.
After asking arround a bit and searching all over the internet I figured nowone actually was bothering to further investigate Android for Magician.
So even though I have no idea if it will ever gonna work i'm gonna try to document as much as possible, and I hope others might join this topic and give some (usefull!!) feedback.
These websites I think are the best place to start, as I don't have any experience with ROMS or Android-OS its gonna be a challenging task but if you guys have any idea's, suggestions or websites where we can find more information feel free to post comments.
Startpage for Magician info:
http://wiki.xda-developers.com/index.php?pagename=HTC_Magician
HaRET bootloader working on magician:
http://www.handhelds.org/moin/moin.cgi/HaRET
http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation
Linux kernel for Magician:
http://www.htc-linux.org/wiki/index.php?title=Kernel#Kernel_for_intel_PXA_based_devices
Current status for linux kernel:
http://wiki.xda-developers.com/index.php?pagename=MagicianProgress
http://www.handhelds.org/moin/moin.cgi/Magician
Source code for Android:
http://source.android.com/
How to build Android OS:
http://source.android.com/porting/build_system.html
Compatiblity test suite:
http://source.android.com/compatibility/cts-intro.html
Any feedback is apreciated but please don't make it like "nice, when is it finished?" or "its impossible!"
as I have no idea about both of those 2 comments yet, I'll have to figure that out on the go.
It should be possible, someone already ported android to pxa270!
http://www.mask.org.tw/demo.htm
need to throw in a kernel guess i ll fetch yet another magician if that happens!!!
Hi header2k and evildarknight, thanks for the input.
My chinese/tw isn't to good, so i googled for android and pxa270 and found the following website, no idea if its any usefull (currently not at home, and my datalimit on my laptop dislikes downloading 1,3GB so i'll have to see what it is when i'm at my desktop again.)
http://www.ntut.edu.tw/~wyliang/
This looks interesting, if it comes to testing, you can contact me!
guess my chinese aint better
can't somebody anybody compile the android froyo kernel 2.6.32 for the magician which seems to be inline with ph5 dev???
I can't read chinese either, but i wanted to link to the pdf files:
http://www.mask.org.tw/data/Android_Porting_on_PXA270.pdf
http://www.mask.org.tw/data/BringUp_Android_on_PXA270.pdf (he used files from: svn co https://android-pxa270.svn.sourceforge.net/svnroot/android-pxa270 android-pxa270 )
He uploaded his work, too(with two mirrors, after 原始碼 (1.3GB) 下載位置: )
His machine:
[email protected] <-- identical with our magician
64MB RAM <-- identical with our magician
32mb ROM <-- Isn't important because he used an external usb-stick with chroot - We can use our sdcard and haret
Toppoly TD035STEB1 <-- identical wth our magician
Setting up Dev-Team
So this proves i guess its a done deal already
But is it then just theoretically/closed project? or did he indeed release his sourcecode as well? Sourceforge SVN shows there isn't anything deposited.
Anyway, still want to use this on my telephone, no idea what it takes to use/modify his work. Anyone interested in actually joining the project-team to make it run on a telephone? cause in the pics in the powerpoint i see some laptop and some mainboard and touchscreen but not a MDA Compact/HTC Magician yet.
There are copies of the project www.mask.org.tw/data/release-sourceforge.tgz and www.ntut.edu.tw/~wyliang/release-sourceforge.tgz. I don't have access to a linux box at this moment. Need to fix my PC before working on android.
Hello, This is Mask from http://www.mask.org.tw
Hello, I am Mask and I found there are some traffic from xda-developers to my website, so I come here and found there are some discussion of my work before in last year.
I had open an android project for pxa270 on sourceforge, but I didn't know how to upload my source code to sourceforge, so I put the source code on my website and mirror sites.
I hope maybe I could help you if you are interest in "android porting" and some related topics.
mask.chung said:
Hello, I am Mask and I found there are some traffic from xda-developers to my website, so I come here and found there are some discussion of my work before in last year.
I had open an android project for pxa270 on sourceforge, but I didn't know how to upload my source code to sourceforge, so I put the source code on my website and mirror sites.
I hope maybe I could help you if you are interest in "android porting" and some related topics.
Click to expand...
Click to collapse
Yes, i have a question. Do you have a pxafb.c driver that works with android and the 2.6.32 kernels?
sorry about that I have no time to maintain my android project for pxa270, and now I have no plan to keep to maintain it, maybe we could upload whole developing source code including all svn reversion from begin to now, do you know how to import svn to sourceforge ? thanks a lot.
Here is some information on SVN and sourceforge.
http://haacked.com/archive/2006/02/22/QuickstartGuidetoSubversiononSourceForge.aspx some older howto from 2006 not sure if its up to date
http://sourceforge.net/apps/trac/sourceforge/wiki/Subversion Official sourceforge howto.
http://tortoisesvn.net/ svn client
Kernel
Can someone test this kernel and see if it works as I do not have a magician to test it with.
If it does boot can you follow the steps posted here to see if android boots...
http://forum.xda-developers.com/showthread.php?t=658664
notime2d8 said:
Can someone test this kernel and see if it works as I do not have a magician to test it with.
If it does boot can you follow the steps posted here to see if android boots...
Click to expand...
Click to collapse
I try to use kernel on Qtek S110(WM 6.1 by Cotulla), but get freeze screen on line "Jumping to Kernel...". When i use zImage from thread "Android 1.5 Cupcake on Universal" - again freeze on line "Jumping to Kernel...". Any ideas?
If you need to test something on Magician, contact me by ICQ 258113792.
Pavel A Safonov said:
I try to use kernel on Qtek S110(WM 6.1 by Cotulla), but get freeze screen on line "Jumping to Kernel...". When i use zImage from thread "Android 1.5 Cupcake on Universal" - again freeze on line "Jumping to Kernel...". Any ideas?
If you need to test something on Magician, contact me by ICQ 258113792.
Click to expand...
Click to collapse
Make sure you have the radio turned on and not in airplane mode and wifi and bluetooth turned off. Also the correct machine type 875 in the startup text file or 855 if using the one for the universal.
i think set MTYPE 875 should be the right one
notime2d8 said:
Make sure you have the radio turned on and not in airplane mode and wifi and bluetooth turned off. Also the correct machine type 875 in the startup text file or 855 if using the one for the universal.
Click to expand...
Click to collapse
When radio is turned on, Linux loading and stop on next lines:
1. With kernel for Magician
...
mmc0: new SD card at addess 41a8
mmcblk0: mmc0:41a8 SD01G 982 MiB
mmcvlk0: p1 p2 p3
Waiting for root device /dev/sdb2...
I wait more then 5 minutes, but nothing happens.
2. With kernel for Universal
...
ds1wm: ds1wm: reset failed
Device vibrate all time and after last line turn off display.
Pavel A Safonov said:
When radio is turned on, Linux loading and stop on next lines:
1. With kernel for Magician
...
mmc0: new SD card at addess 41a8
mmcblk0: mmc0:41a8 SD01G 982 MiB
mmcvlk0: p1 p2 p3
Waiting for root device /dev/sdb2...
I wait more then 5 minutes, but nothing happens.
2. With kernel for Universal
...
ds1wm: ds1wm: reset failed
Device vibrate all time and after last line turn off display.
Click to expand...
Click to collapse
Ok, don't use the universal kernel, from what you posted it seems that the kernel is not pointing to the correct memory card path in the startup text file or try reinserting the card.
If anybody knows how to build kernels i can provide the files and walk them through how i built the kernel for the universal which i have just gotten a very slow and unusable eclair (mostly due to hardware) working. I think this is the most i can help out as i don't have a magician.

[Q] Has anyone successfully ported ubuntu or debian to the samsung vibrant?

Has anyone found a workaround for the /sdcard/sd issue? Or found loop support? I tried the linux installer found in the market. I have read several posts related to nexus g1,captivate,etc. I haven't found the solution for the vibrant. Has anyone had such luck? I've run out of places to look.
Yes they have... Do a search... I think its somewhere in the development section for vibrant
http://forum.xda-developers.com/showthread.php?t=754258
Got it working...
Yeah ...just want to add that I got it working finally...
used the bootubuntu fix posted
got tightvnc configured on openSUSE 11.3
ran androidvnc emulator
works good...not very useful
I can load up rythmnbox and play music through my pc's speakers from the other side of the planet ...wow...i can download and install stuff...might have to get a better image to play with ...anyone have a something ported for ARM.besides the ubuntu 10.10 or 10.04 version I saw around?

[REQ] tun.ko module

Hi Guys,
if possible could someone compile a tun.ko compatible with the desire HD?
would i need to be running a particular kernel or should the module work with some OC\UV kernels out there?
Cheers for your help guys
Mark
MOD Edit:
Moved to General
M_T_M
I also require the tun.ko file for DHD . Id do it myself but have absolutely no clue aha.
awaiting a reply and tun.ko file
Me,too. I need it to make my DHD linking to school's VPN net(IPsec).
BY the way, I heard Cisco is developing " VPN connect for Android" just like it had done for IPhone. The Beta is being close tested. Maybe, just maybe, it will be published in spring, 2011.

Categories

Resources