yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] shoalin_style82:
how did you get the sound to work...i have the same problem...everything works for me but when i try to make calls...the sound buttons work...just can't hear a person when i call or they can't hear me either...i have the 2.10.50.26 radio...and my rom is the 2.13.531.1......and i did run the clrcad first then the haret file...but nothing...any help would be appreciated...:)..thank you..
[HD2 Android Q&A, Help & Troubleshooting and Genera] geon106:
I used the 2.12 radio, I boot without SD card into nrg Rom, used file explorer to locate Android folder on card (put back in at this point) and start. Those files then it works
[HD2 Android Q&A, Help & Troubleshooting and Genera] Ducter:
My sons phone was doing this, he had Energy Rom Reference and had sound issues, flashed Titanium and all has been good, didnt change his radio, using a .50 one, didnt recopy the Android folder, simply wiped the phone and flashed.
[HD2 Android Q&A, Help & Troubleshooting and Genera] geon106:
I may flash winmo to titanium but keep radio and Android version the same
[Droid X Themes and Apps] Legacystar:
has anyone seen a port of this music player, it's so much better then our stock android player.
[Droid X Themes and Apps] Elite Precision:
No but i would love another alternate to the boring stock player. Currently using Lithium Player and it is much better.
[Droid X Themes and Apps] cray1000:
couldnt we just get the apk from the system dump?
[Droid X Themes and Apps] Legacystar:
Idk its usually not that simple
[Droid X Themes and Apps] SysAdmin-X:
As said previously, its not so simple. Many times apps for different phone types rely On other system apps or service .apk files to work correctly.
[Droid X Themes and Apps] apavolka:
As much as I hate sense, I wouldn't mind seeing a sense music player being ported.
[Droid X Themes and Apps] albertwesquer:
any news?? i would love the samsung music player in my lg optimus black!!!
[Galaxy S I9000 General] hiraj_panosian:
Is there any dutchmen out there, who stil has the stock rom on his/her device?
[Galaxy S I9000 General] Bandis710:
:D I received my Galaxy last Friday so my Galaxy is still a virgin :D It has stock JF3
[Galaxy S I9000 General] hiraj_panosian:
Could you please upload your firmware somewhere? I want to get back to stock my stock rom, but I didnt safe it:(

The problem is if you dont have the stock rom, KIES says, deze apparaatversie kan niet worden geupgrade, so i really need it for FroYo:(
[Galaxy S I9000 General] Bandis710:
If you can tell me how to backup my firmware I will gladly do so .. About kies ...Ik krijg ook je software kan niet worden geupgrade dus je msit nog niks ..
[Galaxy S I9000 General] wilfred_hup1:
Hi, check the site "samsung-firmwares[punt]com/i9000.htm".

You can download the stock JF3 from there.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
I am trying to connect to my company's vpn server (Cisco) with an application named vpnc.

but it needs a tun.ko module which I can't find on the Dell Streak.

I find tun.ko for other devices but I can't use them as a module on the Dell Streak. It does not accept the exec format.

Can anyone compile a tun.ko for Dell Streak ? Or is there any compiled tun.ko for it ?

Thanks.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
I'd appreciate any help...
[Streak 5 Q&A, Help & Troubleshooting] fards:
I misunderstood the OP query
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
As the OP said, tun.ko needs to be specific to the device.

The one you found says:

"tun for Android 2.2 (Froyo) Nexus One devices"

We are both looking for one for the Streak - in my case at 2.1 level.

Thanks for looking.

Post #12 Here http://xdaforums.com/showthread.php?t=630703&page=2 appears to have all the instructions, but I don't have the skills.
[Streak 5 Q&A, Help & Troubleshooting] fards:
is there really that much difference between the streak and the nexus?

I misunderstood what the OP meant by "other devices" I Presumed he meant linux not android,

have you thought about asking on that google code page for them to compile it for you?

-----edit scratch that..

having read that thread..

I think you need the streak source code..

Best get involved in the attempts to get Dell to release it to comply with the GPL.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
actually, we don't need the source code of Streak.

we just need to compile tun.ko for Streak.

I don't know how to do that.

I asked in the project site but nobody answered.
[Streak 5 Q&A, Help & Troubleshooting] fards:
according to the thread mardibloke posted you need the source as he checks out the nexus-one specific head..
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Made some progress, but now stuck getting the tun.ko file copied onto my streak.

Streak 2.1 does not appear to have cp or pull commands.

Cannot push the file over via adb, to where I need it

Cannot move the file

Any help really appreciated.

>adb push tun.ko /system/lib/modules/tun.ko

failed to copy 'tun.ko' to '/system/lib/modules/tun.ko': Permission denied

>adb push tun.ko /sdcard/tun.ko

877408 KB/s (158130 bytes in 0.000s)

>adb shell

$ su

su

# mount -o remount,rw /dev/block/mtdblock3 /system

mount -o remount,rw /dev/block/mtdblock3 /system

#

# mv /sdcard/tun.ko /system/lib/modules/tun.ko

mv /sdcard/tun.ko /system/lib/modules/tun.ko

failed on '/sdcard/tun.ko' - Cross-device link
[Streak 5 Q&A, Help & Troubleshooting] ashwincr:
how did you get it compiled for the streak without the kernel source?
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Can we see if I get it working before I comment on that ;)
[Streak 5 Q&A, Help & Troubleshooting] ashwincr:
couldn't you just put in on your sd card and copy over to system/lib/modules once you mount it r/w with root explorer?
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
I don't appear to have the cp command available

You see I tired to move it (as mv command was available), and that failed.

I'm new to Linux, so maybe I missed something obvious?

>adb shell

$ su

su

# mount -o remount,rw /dev/block/mtdblock3 /system

mount -o remount,rw /dev/block/mtdblock3 /system

#

# mv /sdcard/tun.ko /system/lib/modules/tun.ko

mv /sdcard/tun.ko /system/lib/modules/tun.ko

failed on '/sdcard/tun.ko' - Cross-device link
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
more coffee, and found CAT is available..

cat /sdcard/tun.ko > /system/lib/modules/tun.ko

appears to have worked, off for some more testing.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
can you share that ? :)
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Attached is tun.ko that as you will see below appears to run on my 2.1 Streak

VPNC not currently connecting for me though :/

rod@RodsT61p:~/mydroid/kernel-streak$ adb push drivers/net/tun.ko /sdcard/tun.ko
1572 KB/s (161314 bytes in 0.100s)
rod@RodsT61p:~/mydroid/kernel-streak$ adb shell
$ su
# mount -o remount,rw /dev/block/mtdblock3 /system
# cat /sdcard/tun.ko > /system/lib/modules/tun.ko
# mount -o remount,ro /dev/block/mtdblock3 /system
# cd /system/lib/modules
# insmod tun.ko
# exit
$ exit
rod@RodsT61p:~/mydroid/kernel-streak$
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
thank you for sharing. but why doesn't vpnc connect ?
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Sorry don't know why vpnc does not connect.

To be honest, I don't know how to tell tun is running properly.

Any advice, places to check logs etc appreciated.
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Was interested if it worked for you, as I may just have my vpnc config wrong for our work connection.

Nothing bad has happened since I installed, and ran the tun.ko that I attached, but clearly I should say using it is at your own risk.

For example i see:

Known issues¶

Usernames can not contain the @ symbol

and my usernames do have the @ symobol for my work credentials :(
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
w00t! or whatever you say after spending 3 evenings trying to get this working.

Am connected fine, using the tun.ko file I already attached.

Final issue for me was solved by some debug with using a shell on my Streak and command:

/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach --debug 1

To see what was going on, turns out I *just* needed to install Busybox.

So I think what you need to be the same as me is:

2.1 UK Build 6941

Rooted

Busybox install - on marketplace

Then the tun.ko file I posted, and use the commands shown in the same post.

Any problems, just ask.

Did I mention, pretty pleased :)
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
it's obvious that you are pleased :)

let's see:

I have only Android 1.6 on my Dell Streak.

Would that work ?

it's rooted already.

installing BusyBox right now. (why is that needed btw ?)

done !

copied tun.ko to /system/lib/modules

insmod is fine. I can see the module loaded by "lsmod"

configured my company vpn.

btw, my user also has @ sign , is that a problem ?

leave password empty. it asks for password. fine....

"failed to connect" :(

what do I have to check ?
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
1.6 could be a problem I guess, can you go into settings, about phone and tell me what exactly it says for Kernel Version. Also what it says for Build Number.

If those don't match mine, I'm not surprised that tun.ko is not running correctly.

I found the vpnc scripts need to call some commands that are not available unless busybox is installed. Could be worth a power off, and on after you installed busybox, then restart tun.ko manually again.

My id's also have @ and working for me, so assume not a problem.

I filled my password in, in the vpnc dialogue box(es). So I don't get prompted.

Finally, worth trying the command:

/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach --debug 1

From an adb shell on Streak, as will give us more information to work with.

I'm mostly thinking I will have to build you a new tun.ko file though, specific to your 1.6 version.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
thanks.

mine says:

kernel: 2.6.29-perf

build: 4399

tun.ko seems installed fine because I see it when I do a "lsmod"

I can't enter the password in the dialog boxes because my password is a one-time password generated every 60 seconds.

when I run the debug command, it says:

/system/bin/make-tun-device: not found

can not open /dev/net/tun

edit:

now, Icreated /dev/net/tun by :

mkdir /dev/net

mknod /dev/net/tun c 10 200

but now it does not complain about /dev/net/tun , however it gives a segmentation fault.
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Could you do a :

adb pull /proc/config.gz

and attach or send me your config.gz file please.

But I'm also wondering if vpnc is supported on 1.6 - perhaps you could ask the developer.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
Forum doesn't. Allow me to attach from streak. I will attach once I get home

thx
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
Nevermindd I found a way to attach. Please change the extension to gz.

Thx
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
did you get it ? is it the correct file that you want ?
[Streak 5 Q&A, Help & Troubleshooting] JasonYng:
I got this to work on the Beta 2.1 but installed the Official 2.1 and cant seem to get it working again. Would be we need a tun.ko for this build? Have you tried the official 2.1 yet?
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Will update to what is claimed to be official 2.1 build, probably Tuesday, and build a new tun.ko for testing then.
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Sorry for the delay, away from home until Tuesday, when will take a look at your config.gz file, and try and build you a new tun.ko for 1.6.

But initial quick look suggests the one I already posted should work.

Did you try asking vpnc developer if vpnc should work on 1.6?
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
I see many people's comments that vpnc is running on devices with 1.6 Android.

And JasonYng says that he couldn't run your 2.1 version on another 2.1 firmware.

So I guess that we will need specific tun.ko for each kernel version.

If you can describe me how you build the module, I can try it myself as well.

I have a linux box and I know a little about compiling.

But if it's hard, I will wait for your return.

thx.
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Thanks for checking if vpnc is working for others with 1.6.

Attached is a tun.ko built based on your 1.6 config.gz file - I'm not confident, but worth a shot to see if it works for you. Cannot think what else to try if it does not work.

Unzip it and give it a try.

I'm doing no more than just following the instructions already posted in links, and in this thread to create these, plus a tiny bit of googling.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
Thanks.

I'll try this when I get home.

Btw, I thought you could help me on another issue with your good knowledge of the kernel and the OS:

I am trying to run the application on "http://android.gval.biz/" named Bluetooth Dial Up Network on my Dell Streak.

The application basically connects to another phone over bluetooth and dials a 3G connection using the second phone as a bluetooth modem. Finally it brings up a ppp interface and supplies internet connection over other phone.

On my Dell Streak the application runs and I see the connection on my Nokia phone. However, 3G is not connected.

I couldn't find a way to debug it. How can I understand what is wrong with my settings ? It could be just an issue of DUN chat script...
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Sorry, wish I could help, but all my knowledge is from 3 nights last week blundering around and searching on google. The tun.ko's have been created using a lot of trial and many hours of errors.

Post a new thread? There appear to be a few helpful people here.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
Hi mardibloke,

The new tun.ko works on my 1.6 Dell Streak.

I finally got connected to my company VPN.

Now, I want to make the"insmod tun.ko" command automatic. How can I do that ?

I don't want to connect to ssh each time I need VPN.

Thx.
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
I suspect if you put the tun.ko in the place that vpnc expects it, it may get started by VPNC if not running. Not tried that myself.

Also remember seeing some posts about making tun.ko autostart when I was googling last week - so worth a search.

Thanks for reporting back that it works - helps me understand that what I am doing is correct. Should be no problem building tun.ko for other 2.1/2.2 builds now.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
Hi,

Can you explain how you build tun.ko for a specific kernel version ?

In case we can't reach you when we have a new firmware (Froyo) we can build it :)

I have some questions in mind:

1. where do you get the source for tun.ko ?

2. what is the command to build it ?

3. what do you do for a specific kernel version ? How does a config.gz help you build it ?

Thank you.
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Sure thing, its no secret and would love to see more people getting involved....

As I said, lots of trial and error, but turns out successful if:

1) build using Nexus source - making sure same kernel version as running on Streak

2)

make ARCH=arm CROSS_COMPILE=/home/rod/bin/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- distclean
make ARCH=arm CROSS_COMPILE=/home/rod/bin/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- modules

3) The config.gz is applied in the final make command, and ensures built with all the correct options for the Streak, but most of all builds with the Firmware Version matching.

I found this works, but no idea if its the best way to be doing it.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
But I am really dummy user.

I need where to download the source.

I just have the kernel source on my linux server.

How to prepare the build environment ?

What is the final command which includes config.gz ?
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Full Commands I used to create your 1.6 version

git clone git://android.git.kernel.org/kernel/msm.git kernel-streak16
cd kernel-streak16
git checkout -b origin/android-msm-2.6.29-nexusone
make ARCH=arm CROSS_COMPILE=/home/rod/bin/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- distclean
** Edit your config and search for CONFIG_TUN uncomment it and add =m **
** copy .config file into directory **
make ARCH=arm CROSS_COMPILE=/home/rod/bin/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- modules

strings drivers/net/tun.ko
** above command should verify built with correct kernet *and* firmware version

just ask if anything not clear.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
Thanks; that's very clear.

So, I understand you download streak kernel source as "kernel-streak16"

What about kernel for 2.1 ?

How did you download it ?

By "config file" you mean the file from config.gz archive ?
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
kernel-streak16 is just an empty directory - you can name it anything you wish.

The 'git' commands will populate that directory.

Kernel for 2.1 comes from the git commands - its the nexus code

Yes config file is config.gz, unzip it, edit it, save it as .config withing the kernel-streak16 directory before you do the final make command.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
Thank you. This will help me a lot when I upgrade to 2.1 and eventually 2.2 (someday)
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
O2 Official 2.1 Built 8105

new file attached
[Streak 5 Q&A, Help & Troubleshooting] JasonYng:
I am running one of Paul's custom ROMS based on 8105 and can not get this to work. Here is the debug error i get:

vpnc version ERSION

/data/data/org.codeandroid.vpnc_frontend/files/vpnc-script: /system/bin/make-tun-device: not found

can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/ne

t/tun): No such file or directory

can't initialise tunnel interface: No such file or directory

Any idea what that means?

You have no idea how much I appreciate your help and all the work you have put into this.
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Sounds like tun.ko module not loaded/running.

So either you didn't load it, or perhaps its not compatible with Pauls ROM's.

So first lets double check its loading:

Rooted?

Busybox Installed?

Have you restarted Streak?

Then load up tun module:

adb shell

> su

> cd /system/lib/modules

> insmod tun.ko

Should get no errors.

Then install/run/configure vpnc

If that does not work, grab me your config.gz file (detail in this thread if you scroll back), and rename config.gz to config.zip and attach it for me, so I can take a look at it. Will then build another tun.ko from that if required.
[Streak 5 Q&A, Help & Troubleshooting] JasonYng:
Tried everything again this morning and still cant get it to work. Here is the config file maybe it is different from the official release.

Thanks again for all your help.
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
New file attached, based on your config.gz - unzip it, and pop it onto your Streak.

Give it a try and report back.

in Settings/About Phone what does it say for :

Model Number?

Firmware Version?

Kernel Version?

Build Number?
[Streak 5 Q&A, Help & Troubleshooting] JasonYng:
Still not working. It also kills my internet connection when I try to connect and the only way to get it back is to power off.

Model Number: Dell Streak

Firmware Version:2.1-update1

Kernal version: 2.6.29-perf

Build Number: 8105

Have you tried flashing one of Pauls custom ROMS from the online kitchen over at modaco?
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
How weird, it really should just work. Really sorry it kills your internet connection.

Same message when you run the debug command through adb shell command line for vpnc?

Could you check there are no other tun.ko's on your device:

>adb shell

su

find / -name tun.ko

also do a:

lsmod

and see if tun is running - mine shows as :

# lsmod

tun 11592 0 - Live 0x7f02b000

If Paul wants to give me access to the kitchen, happy to invest some time in working on this a bit more ;)
[Streak 5 Q&A, Help & Troubleshooting] pvlagsma:
In my experience with previous versions the internet connection is killed because tun is no longer on, but dns is set for VPN.

See if

getprop net.dns1

and

getprop net.dns2

have the same values before and after using VPN.

That they are not reset is because the vpnc-script does not find resolv.conf on the Streak, does not save the values when setting up VPN, and then does not restore these values when vpn is torn down.

you can restore them with

setprop tun.dns1 <original-getprop net.dns1-value>

and

setprop tun.dns2 <original-getprop net.dns2-value>

and you should get the internet working again.
[Streak 5 Q&A, Help & Troubleshooting] JasonYng:
Ok I have tried everything, including wiping my device and starting fresh. I am thinking the problem lies in busybox. Paul's cooked roms come with busybox installed already. I tried it before installing busybox from the market and after both give me this error:

vpnc version ERSION

/data/data/org.codeandroid.vpnc_frontend/files/vpnc-script: /system/bin/make-tun-device: not found

can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/ne

t/tun): No such file or directory

can't initialise tunnel interface: No such file or directory

Here is some more of the info that was requested:

find / -name tun.ko

/sdcard/tun.ko

/system/lib/modules/tun.ko

find: /proc/1247/task/1355/fd/105: No such file or directory

find: /proc/1247/task/1355/fd/106: No such file or directory

Before market busy box:

lsmod

tun 11592 0 - Live 0x7f02e000

dhd 166816 0 - Live 0x7f000000

After:

lsmod

Module Size Used by Not tainted

tun 11592 0

dhd 166816 0

I am assuming Paul's busybox is missing some files and the market place busybox isn't installing correctly because of what is already there or maybe something is in th wrong place.

I am really just guessing here. I will see if I can get Paul to take a look at this tread to see if he has any input.

Let me know if you guys can think of anything else.

Thanks,

Jason
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
Or just disconnect and reconnect wireless/3g.

- --

Rod, UK
[Streak 5 Q&A, Help & Troubleshooting] mardibloke:
I'm out of ideas, as I cannot replicate the problem here, and don't have enough understanding of busybox etc.

- --

Rod, UK
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
has anyone tried this with Froyo release from Steve ?

which one is the correct tun.ko file ?
[Streak 5 Q&A, Help & Troubleshooting] wyx:
Is there any gui to handle the (open)vpn client on Android?

I dont want to use this in shell, too complicated.
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
Hi,

I need tun.ko for Dell Streak Froyo build.

I couldn't find it anywhere , so I decided to compile myself as mardibloke explained.

However, I have a problem with compiling for ARMV7 :

I have the android kernel source and I'm trying to build the kernel modules

I put the config file from Dell Streak

and use the armeabi for cross compiling

however, when I start building, the parameter about ARM version in config file changes from V7 to V6

as a result I end up with modules for AMRV6 which is not suitable with my kernel

how can I compile for V7 ?
[Streak 5 Q&A, Help & Troubleshooting] mrmrmrmr:
tun.ko for 2.2 Dell Streak (Froyo build by DJ_Steve)

Tunnel driver (used for VPN connections) is compiled thanks to DJ_Steve.

You can use this for Dell Streak Froyo build (tested on v1.0)

just place "tun.ko" at /system/lib/modules and run the VPN application of your choice.

I've tested it with "VPN Connections" for Cisco VPNC.
[Streak 5 Q&A, Help & Troubleshooting] wyx:
How can I use this on my Froyo?

Please describe it.

Any GUI for the connection you mentioned?

We use OpenVPN.