yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] dirk1978:
Ah, PIT files are only partition information templates for Odin to move the sizes of the internal device partitions around. Everyone should just be using the 512 PIT now as the others were just development hacks. You will already have the 512 layout so there's no reason to even load it into Odin, always just let it flash without repartitioning.

But if you're not sure, then follow the samfirmware instructions, it's making you use the 512 PIT anyway, the 803 being loaded into Odin but repartition not being ticked does nothing.
[Galaxy S I9000 Android Development] [Ramad]:
You don't need a pit or I9000XWJM8, what you need is to flash directly CODE as PDA, MODEM as PHONE and CSC as CSC...no repartition.

If you must re-partition then use 512.pit and these files from here:

http://xdaforums.com/showpost.php?p=8911755&postcount=83

You need the first download and only one of the three CSC files(I recommend XEE).

Extract once using 7-zip, then load the files as I wrote earlier and PIT as 512.pt and check Re-partition.
[Galaxy S I9000 Android Development] dupel:
Actually it is. Just dont use weird localized google. google.COM is there for a reason.
[Galaxy S I9000 Android Development] [Ramad]:
Hi

I there a reason for you to act as a policeman in this forum?
[Vibrant Q&A, Help & Troubleshooting] Schettini:
Hi guys

Ok i have bionix fusion 1.1 and it comes with launcher pro but not the plus version and i have the plus version but when i try to install it from astro i get "application not installed" and i really need the plus version what can i do? :confused:
[Vibrant Q&A, Help & Troubleshooting] StefanB86:
Just go to Menu>Preferences>Unlock LauncherPro Plus and put your email and unlock code there, it should work.
[Vibrant Q&A, Help & Troubleshooting] Schettini:
yea about that i didn't buy launcher pro plus i just downloaded it from 4shared :P
[Vibrant Q&A, Help & Troubleshooting] briankao1992:
Nice try then. filesharing is bad :P

but in all seriousness, you cannot get launcherpro plus without the unlock key. just buy it. its only 4 bucks.
[Vibrant Q&A, Help & Troubleshooting] s15274n:
Nobody help this guy. What a waste.
[Vibrant Q&A, Help & Troubleshooting] raduque:
reported..
[Galaxy S I9000 Q&A, Help & Troubleshooting] yiannisthegreek:
[Q] What is the "accessibility" option for under Settings ~ Accessibility?

Is this an internal device option for rooted phones? It is greyed out and says that an accessibility app needs to be downloaded to be used.

Does anyone know? Sorry if this is a dumb question but i am still a bit of an Android noob...
[Galaxy S I9000 Q&A, Help & Troubleshooting] ickyboo:
Its for things like text to speech and to help people with vision problems. You need to dowbload the addons from market.

Sent from my GT-I9000
[Desire HD General] nxtwrld:
Has anyone managed to get openvpn going? compiling custom tun.ko file for DHD?
[Desire HD General] K900:
It's probably possible, now that we have the source. Don't have a DHD just yet, so can't try :(

Sent from my HDfied HTC Desire
[Desire HD General] egzthunder1:
Thread moved to General.
[Desire HD General] driden91:
hello

i'm interesting too for the kernel mod tun.ko for the DHD :D
[Desire HD General] driden91:
any reponse ?
[Desire HD General] EFCAugure:
Hello,

i'm very interesting in this file too...

My NAS awaits the phone "call". ;)
[Desire HD General] mero01:
Hey everyone. First time poster, so hoping its a happy reply :)

Has anyone had any luck with this ? i also require the tun.ko file for DHD. been searching the net for hours :(

looking forward to your replies.
[Desire HD General] EFCAugure:
I heard that tun.ko file has to be specifically compiled for each kernel version. Is that right?

Is it also linked to the radio version?

If we could have a link for kernel source, i might be able to follow tutorial and publish it here.

I have 2.6.32.21 -g66cfb7a kernel version and you? (not sure if the second part is part of the kernel version)

Lionel
[Desire HD General] thedji:
Attached is tun.ko for the Desire HD (for kernel 2.6.32.21-gf3f553d). Built it today & it seems to insert OK and work fine with VPN Connections.
[Desire HD General] nxtwrld:
Perfect! Thanks!!
[Desire HD General] svitakj:
Very thanks for the module.
[Desire HD General] MikeMelbourne:
DHD - tun.ko for 2.6.32.21-g66cfb7a

Yes. After trying other people's tun.ko modules, it wasn't until I checked the output of dmesg that I learnt this (got my first Android 3 weeks ago - so I'm still a n00b).

Lionel, it would appear that my Desire HD has the same kernel.

2.6.32.21-g66cfb7a

2.6.32 is the base kernel version

I assume 21 is the revision or build number.

The hex string on the end seems to vary by which ROM you have installed. This was what was stopping me from loading these other tun.ko modules - including the one posted by @thedji

I've just compiled the tun.ko module for 2.6.32.21-g66cfb7a (on a headless Pentium 2 400 MHz lol). It loads fine and can be seen in the output of lsmod. I've attached it below.

Edit: I was able to use this module successfully to connect to a Cisco VPN with vpnc.

Mike
[Desire HD General] C.K.:
@MikeMelbourne

Can you explain to me how and with what Software you connected to a Cisco VPN?
[Desire HD General] MikeMelbourne:
First - applications.

1) You're going to need a terminal/console app. I used one called Terminal Emulator.

2) You're going to want an app called "VPN Connections". I downloaded a patched APK in post #4 here:

hxxp://code.google.com/p/get-a-robot-vpnc/issues/detail?id=122&q=patch

Alternatively, you might get it from here: hxxp://code.google.com/p/get-a-robot-vpnc/downloads/list (although YMMV).

Second - setup.

1) You're phone needs to be rooted.

2) You need to have the appropriate tun.ko module (for your phone's kernel) loaded. Load up the Terminal Emulator then:

a) Type 'su' without quotes and hit enter.

b) Type 'insmod /path/to/tun.ko' without quotes and press enter. If your tun.ko is on your sdcard in the root, the path would be /mnt/sdcard/tun.ko

c) If the step above worked, you should be able to type 'lsmod' and see the tun module loaded.

Note: I didn't have any luck running the "VPN Connections" app directly - the connection kept failing (possible due to the configuration of the VPN I was connecting to). So I start it from the command line. You might want to try using the GUI first as it would make things so much easier if it works.

Third - connecting to the VPN by a command line.

1) The command to enter is quite long (and I got sick of typing it), so I put it into a file called 2.sh in the root of the sdcard.

2) Inside the file /mnt/sdcard/2.sh, I entered the following:

/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach --natt-mode cisco-udp --debug 1 --gateway AAA.BBB.CCC.DDD --id groupid --username mike --enable-1des

Note that the gateway is the IP address of the VPN you are connecting to. The username for me is just my username - it isn't prefixed by my company's active directory domain.

3) Open the Terminal Emulator.

4) Enter 'su' without quotes and press enter.

5) Enter 'sh /mnt/sdcard/2.sh' without quotes and press enter.

6) You will be asked to provide the group password, then the personal password for your username. Then it should attempt to connect.

You can change the debug value to 2 or 99 if you want to get more information (if it doesn't connect successfully).

If you want to know what command line options are available, enter the following at the Terminal Emulator:

/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --long-help

I think that's it - I hope this helps. After disconnecting I tend to do a long reboot (takes 1-2 minutes) to get the network back to the way it was; although I'm not sure this is necessary.

Mike

Edit: seems like you need to create a directory and a symbolic link. This is my working script:

mkdir /dev/net

insmod /mnt/sdcard/download/tun.ko

lsmod

ln -s /dev/tun /dev/net/tun

/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach --natt-mode cisco-udp --debug 1 --gateway AAA.BBB.CCC.DDD --id groupid --username mike --enable-1des
[Desire HD General] C.K.:
:eek:

Damn I hoped it woulld be easier. As I have never worked with Android that sounds like a challenge to me. So there is no easy switching on and off of the VPN connection? I always have to use the scripts?
[Desire HD General] MikeMelbourne:
Because the "VPN Connections" GUI app didn't connect for me, I had to resort to the script - you may not need to (depending upon the configuration of your Cisco VPN box).

I just need to run the final script (the 5 liner above) to connect to the VPN - good enough for the time being. You just need to modify the path to tun.ko, set your gateway server, groupid & username.

I hadn't worked with Android before the weekend just past - I've just rooted my first Android phone. It's all a learning experience - I guess it depends how badly you want VPN access? Hopefully it will get easier in time as the apps improve.

Good luck!

Mike
[Desire HD General] thedji:
You can use something GScript to make it a two-click process (open app, click script). It's just as efficient as using VPN Connections (open app, click connect).

For me personally, I use VPN Connections to connect (successfully) but the traffic is routed down the wrong interface (i.e. not tun0).

After connecting I have to run

ip ru del table wifi

or

ip ru del table gprs

to fix the issue.

You should definitely try VPN Connections first. If that doesn't work, try the long method above.
[Desire HD General] MikeMelbourne:
GScript is a great idea - it will save me doing any typing to connect to the VPN.

Once I added these VPNC flags (--natt-mode cisco-udp --enable-1des) to "VPN Connections" I was able to successfully connect after running the script in GScript.

It doesn't say I'm connected, however my IP address has been assigned and I can Remote Desktop to my work PC. My routing already seems to be ok, so I don't to run the 'ip ru del' commands that you do.

I'm pretty satisfied with this now... no typing - just point and press. :-)

-Mike-
[Desire HD General] Exposure:
What about tap.ko? (needed for OpenVPN bridge mode)
[Desire HD General] MikeMelbourne:
What kernel version are you running? If you have '2.6.32.21-g66cfb7a' I could compile tap.ko for you?
[Desire HD General] Kaidjin:
Hi, I have a quick question : how do you compile tun.ko for your kernel ? Can you compile the source directly from your phone ?

Thanks.
[Desire HD General] nolman:
I would like to know how to compile also,

Or has anyone got the tun.ko for 2.6.32.15-g6a358a9 ?

thanks
[Desire HD General] Exposure:
Thanks for the offer, I have 2.6.32.21-gf3f553d though.
[Desire HD General] tunefish:
tun.ko to /system/lib/modules - yea ok - but HOW?

hey,

i might sound a little noobish but... how the hell do i get my tun.ko file into /system/lib/modules

as you might know, while normal run time you get a "read-only filesystem" error... well i kinda expected that ^^

but how else?

my DHD is rooted and s-off'd already, and i read something about setting setting it to recovery mode and pushing the file via adb...

well, my phone here seems to be a bit *****y and doesn't want to be found by adb while in recovery mode. i tried that with XP x86, 7 x64, and Ubuntu 10.10 x64

when in recovery mode the device is offline - in normal mode it's there and i can do everything via adb - everything but pushing files to /system/..

would appreciate some help, im kinda new to android at all.

thx

Chris
[Desire HD General] nolman:
i used rootexplorer tot copy. but haven't found the right tun.ko yet.
[Desire HD General] MikeMelbourne:
I use a free app called 'mount /system (rw / ro)' to enable/disable write access. Search for mount in the Market.
[Desire HD General] MikeMelbourne:
Some people use a hex editor to change the hexadecimal kernel ID within a .ko file - allowing them to use a module compiled for a different Desire HD.
[Desire HD General] tunefish:
thx a lot, that one's solved - but still need help

thx, that 'mount' one helped so far, i got the file into that directory now...

but it's still not working and a bit weird.

I use a very special way to establish an ovpn connection, so googling didn't help much with my problem either:

- ConnectBot opens an ssh tunnel to a tomato router, tunneling 1194 to localhost:1194

- My ovpn client should now use my config file which is configured to connect to localhost:1194 and establish the vpn connection through the ssh tunnel.

well, so far it appears to me that it works - the connection doesn't fail, i get an ip from my network and tomato also lists the ovpn connection.

but it won't find any of my IPs... ping via TerminalEmulator or browsing to my webserver with the private IP, or trying rdp to a win pc there - nothing.

EDIT: btw, this ovpn configuration worked fine while i used it on a pc at work to tunnel home, doing private stuff :P - so i guess it is not any configuration fail on the vpn server (tomato v1.27vpn3.6)

i guess it's a routing issue, but at that point i can't help myself anymore -.-

thx for ur help

Chris
[Desire HD General] MikeMelbourne:
Have you tried executing the 'ip' commands posted further up by thedji?

hxxp://xdaforums.com/showpost.php?p=9516300&postcount=17
[Desire HD General] tunefish:
tried

#ip ru del table gprs
RTNETLINK answers: No such file or directory
[Desire HD General] pagubg:
Any chances to get tun.ko compiled for 2.6.32.21-g3d0aaff?

insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)
[Desire HD General] MikeMelbourne:
Desire HD modules for 2.6.32.21-g3d0aaff

Hi pagubg,

I edited my makefile (putting in g3d0aaff), then cleaned and rebuilt the modules.

Obviously I can't test them however.

Included is:

* tun.ko (the module you want)

* cifs.ko, slow-work.ko and nls_utf8.ko (for accessing Windows Shares).

You can discard the last three if you have no use for them.

Please let me know whether they insmod successfully for you (if so I have a repeatable process that works).

Mike
[Desire HD General] pagubg:
Hi Mike,

Thank you for your fast response :)

It seems that tun.ko is working perfectly.

# insmod /system/lib/modules/tun.ko
# lsmod
tun 11171 0 - Live 0xbf000000
#

I am unable to test the other modules, because i have no idea what kind of software i need use them with. If you explain me, i will test them.
[Desire HD General] MikeMelbourne:
That's ok - if one works, the others will too. Thanks for letting me know tun.ko works!
[Desire HD General] pagubg:
# insmod /system/lib/modules/nls_utf8.ko
# insmod /system/lib/modules/slow-work.ko
# insmod /system/lib/modules/cifs.ko
# lsmod
cifs 228949 0 - Live 0xbf05b000
slow_work 11240 1 cifs,[permanent], Live 0xbf052000 (P)
nls_utf8 1107 0 - Live 0xbf04c000
tun 11171 0 - Live 0xbf000000

Yes, confirmed :)
[Desire HD General] MikeMelbourne:
Cool - you even inserted them in the right order!

You should be able to download (from the Market) an app called Cifs Manager - used to mount Windows (or Samba) file shares.
[Desire HD General] ErMeglio:
***solved***
[Desire HD General] madindehead:
Can I ask, how exactly do you install the new tun.ko module to use VPN Connections? I have VPN Connections installed, just need to have the new module I assume so it doesn't force close.

Can anyone help please? :)

Update: Ok, discovered it is very easy. Just copied to /system/lib/modules and executed the code in Terminal Emulator. Easy :) Works now. Just need to test VPN Connections on Monday when I'm in uni to make sure I can connect to the VPN!
[Desire HD General] MikeMelbourne:
Is your phone rooted? You need it to be rooted to be able to load the kernel module.

I downloaded a terminal app called 'Terminal Emulator' that allows you to enter commands such as:

su (asks for super user permissions)

insmod /mnt/sdcard/tun.ko (which loads the module that I saved to the root of the sdcard).

The module can be loaded from the sdcard (that's how I do it anyway). I just need to make sure I've run the two commands above after turning on the phone - and before running VPN Connections.

Hope this helps...

-Mike-
[Desire HD General] madindehead:
Cool thanks mate. Think it's all working properly for me now :) At least when I try to connect, it no longer force closes VPN Connections. Like I said though, can only test it at uni. Will need to wait until Monday.
[Desire HD General] madindehead:
Well, I managed to connect to my uni's VPN, but I can't browse the internet still, because I need to change the proxy server.

Does anyone know of a program for Android where I can setup a proxy to connect via.
[Desire HD General] MikeMelbourne:
It sounds like you need a web browser that supports configuring a proxy server for internet access.

I just had a quick look at Opera Mobile, Firefox and "Internet" (Webkit based). Their settings don't seem to have proxy server options (unlike their desktop equivalents). You might want to try some other web browsers for Android and see if they support the specification of proxy servers.

I realise this doesn't help much - sorry.
[Desire HD General] chiidea:
I can't find a tun.ko for my dhd.

My kernel version is 2.6.32.21-g46445e7.I have try many tun.ko,but they don't work at all. Attachment is a tun.ko which work well before i update my phone to new version.

who can give me a match file.
[Desire HD General] MikeMelbourne:
Try the zip file attached to this posting.
[Desire HD General] itwt:
Could you edit a tun.ko to match 2.6.35.10-g1418c33

Thanks!
[Desire HD General] chiidea:
Thanks

It work well.Thank you very much.
[Desire HD General] MikeMelbourne:
Sorry, I only have the stock Desire HD source for kernel 2.6.32.21.
[Desire HD General] chiidea:
How can i get the Desire HD source for kernel 2.6.32.21,i only can download the source for kernel 2.6.32 from htc.
[Desire HD General] MikeMelbourne:
Easy. Go to http://developer.htc.com/

There are 3 matches... you probably want "HTC Desire HD - Froyo - 2.6.32 kernel source code	86.6 MB".
[Desire HD General] chiidea:
Done.Thank you.
[Desire HD General] MikeMelbourne:
No problems!

I installed CyanogenMod 7.0 (Android 2.3.3) this week, but I still have the 2.6.32.21 build environment setup. Let me know if you need a module.

PS: I just asked the same question here ;-)

http://forum.cyanogenmod.com/topic/20831-kernel-source-for-cyanogenmod-7-for-htc-desire-hd-v700-10-april-2011/

Have a good weekend.
[Desire HD General] koshi:
Did you build the tun.ko for 2.6.35.10-g1418c33?

I would need it myself but unfortunately i am under windows only right now, so setting up a build environment would be a real drag...
[Desire HD General] MikeMelbourne:
Kernel Modules for 2.6.35.10-g1418c33

Edit: These modules will not work. I compiled against 2.6.32.21 instead of 2.6.35.10 which was what was asked for by koshi. I do not have the source to 2.6.35.10.
[Desire HD General] redeye86:
Hi

i am using the Android Revolution HD 4 Beta (http://xdaforums.com/showthread.php?t=984045), which comes with that kernel version. I tried your modules but they can't be loaded, so i think this kernel has been compiled in another way or so.

I tried to use HTCs Desire S-Kernel with the config from the Rom, as it had the same version, but it didn't compile. It seems that there are device specific drivers missing.

Could you compile a tun.ko for the AR HD 4 Rom or at least give me a hint what kernel source you use so i can do it myself?
[Desire HD General] totaluser:
has anybody succeeded in building tun.ko against this 2.6.35.10-g0956377 kernel version?

thank yoy very much in advance

//edit:

I compiled it myself

http://xdaforums.com/showthread.php?p=13586304#post13586304
[Desire HD General] Tarnumius:
thanks all for tun.ko
[Desire HD General] HTC PULSE:
Please help with tun.ko file for my droid eris

HI,

Please help me out with tun.ko for my droid eris as PER the version Details given below. I am looking to work around with cisco vpn with group credentials to access my company mail.

Please help with tun.ko

When I attempt to insmod tun.ko I get exec format error and dmesg yields

tun: version magic '2.6.29 preempt mod_unload ARMv7 ' should be '2.6.29-bcb140a0 preempt mod_unload ARMv6 '

More Details if amy required: Android 2.1 firmware version

Droid ERIS.

Kernal Version: 2.6.29-bcb140a0

htc-kernal@and18-2#1
[Desire HD General] hacko2:
Please i need urgently a tun.ko for my viewpad7, kernel version 2.6.32.9

Thanks. :)
[Desire HD General] nikeysunfire:
Has anyone came across a tun.ko module for kernel 3.0.41-BeastMode from TrickDroid ICS 4.0.4? Seems like the only compatible ones are up to Android 2.3.5.
[EVO 4G Q&A, Help & Troubleshooting] daktah:
do evos or android 2.2 in general support text input with bluetooth keyboards like this? if not is there a way to patch/fix it to allow them?

btw i mean latest ota as in fresh 3401 rooted unlocked, not regular stock unrooted locked
[EVO 4G Q&A, Help & Troubleshooting] potna:
The answer to your original question about ota update and bt hid, I found the answer to be no. This is something I look forward too. Cm6 is the only Rom I'm aware of that supports bt hid and I tried it myself and it worked very good.

As far as the rest of your questions I don't know.
[Galaxy S I9000 General] Tehpriest:
http://samsunggalaxysforums.com/showthread.php/2626-New-Froyo-I9000XWJPA-is-Out!!

Is this another leaked ROM or the final?
[Galaxy S I9000 General] andrewluecke:
Like I said ages ago with JPM, until it's rolled out, assume it's a release candidate or beta.
[HD2 Android Q&A, Help & Troubleshooting and Genera] kashifsajjad:
I have Htc Hd2 T8585...Already installed Os Version 5.2.21869 ---- Manila Version 2.5.19211619.0 ----- Rom Version 1.66.405.2 ----- Radio Version 2.07.51.22_2....How To Install Android Latest Version ..... Or Windows 7 ..... Please Help me........
[HD2 Android Q&A, Help & Troubleshooting and Genera] jzibit17:
really!?

http://xdaforums.com/showthread.php?t=732380
[Desire HD General] nubicurio:
Hey everyone (this is my first post although I've been following the forum for a couple of weeks now!)

Like most everyone I've been eagerly waiting for the Desire HD and getting impatient for the delay. I just watched a video comparing Desire HD and EVO 4g on engadget, in which the guy says the Desire HD 3G won't work in the US? :confused: I'm an absolute newbie and have never had an Android phone...can anyone confirm this? Thanks!

Here is the said video:

engadget.com/2010/10/30/htc-desire-hd-vs-evo-4g-fight/

EDIT: I just found another similar thread that answered my question...wanted to delete my post but don't know how...well at least there's that engadget video :D...
[Desire HD General] ll_l_x_l_ll:
to be honest. i think only a retard would sell his Evo 4G to DHD. as i personally think the EVO 4G is superior to DHD in many ways its not even funny.

its kinda like the europen/asia/middle eastern people got a stupid low version of the EVO 4G.

1- no 4G

2- No second camera

3- no kick stand

4- no mini hdmi port

are they serious ?

and on top of all that, there are some hardware problems with the DHD it self that needs to be fixed " sensor, touch panel etc".

i think the DHD is a total fail. with all respect to everyone who bought it.

and i really hope it bombs hard to htc think twice before f****ng up their customers outside the US.

too bad the evo is CDMA only. i would have paid 700$ for it :/
[Desire HD General] teihoata:
4g hasn't even been released in many places outside of america, it's capable of handling hspa+ speeds..

I don't know anyone who actually uses the secondary camera. I've had it on my n95 and touch pro 2 and never missed it going onto my nexus one.

No hdmi port because we have dlna.

How is the desire hd a fail? It's been noted worldwide that it is one of the best, if not the best android phone out at the moment.