Jump to content

VPN on Samsung i5801


Guest Grote.haas

Recommended Posts

Guest Grote.haas

Hello,

I recently acquired a Samsung i5801 with Android 2.1(update 1). It would really be useful if I could use this phone with a VPN connection, since that is the only way to connect with the network of the university hospital.

The ICT-manager referred me to this adress: http://android.modaco.com/content/htc-desi...re-short-howto/

Since I have no HTC, i do not think the page is useful for me. Instead I have rooted the phone following the steps on this page: http://forum.xda-developers.com/showpost.p...p;postcount=112

Apparently I needed busybox, so I installed this by downloading it from the Androidmarket. The VPN-connector I downloaded from the first page I mentioned.

My problem is the TUN.ko file. I downloaded it here: http://forum.xda-developers.com/showthread.php?t=793018 and then I am stuck. I have no idea how to use the code that is mentioned.

As you can guess, this is the first time I use a smartphone but I really need the VPN connection.

Can someone please help me or point me in the right direction?

Tank you,

Link to comment
Share on other sites

Guest flshg

You enter that code into adb (which is part of the android sdk). Now you can get this by downloading the full sdk, with a guide here.

I think there was a minimal version of the adb tool but I cant find the link anymore. If I find it I'll edit this post.

Link to comment
Share on other sites

Guest Grote.haas
You enter that code into adb (which is part of the android sdk). Now you can get this by downloading the full sdk, with a guide here.

I think there was a minimal version of the adb tool but I cant find the link anymore. If I find it I'll edit this post.

Thank you for the help.

Unfortunately I have a new problem. When entering the code "mount -o remount,rw /dev/block/stl6 /system" i get this message: mount: operation not permitted. Do you have any idea why this problem occurs? I have followed the steps on the page.

Link to comment
Share on other sites

Guest flshg

You could first use "adb shell" then "mount" on its own to get a list of partition mounts as you may need to modify the "/dev/block/stl6" part to match the layout of "system" on the phone.

If that doesnt work, you could try:

adb remount

adb push tun.ko /system/xbin/

those do the same as the first set of code on that guide you referred to.

If you still get an error, I guess the root hasnt completed, so you may need to try rooting again, perhaps using a different method e.g. using an app called z4root (search on google).

Link to comment
Share on other sites

Guest Grote.haas
You could first use "adb shell" then "mount" on its own to get a list of partition mounts as you may need to modify the "/dev/block/stl6" part to match the layout of "system" on the phone.

If that doesnt work, you could try:

adb remount

adb push tun.ko /system/xbin/

those do the same as the first set of code on that guide you referred to.

If you still get an error, I guess the root hasnt completed, so you may need to try rooting again, perhaps using a different method e.g. using an app called z4root (search on google).

Hello,

I rerooted the phone using Z4root, but this still does not work. I still get the "permission denied" message when trying to mount or remount. When I try the "push tun.ko /system/xbin/", I get a message "failed to copy ... read-only file system.

Link to comment
Share on other sites

Guest flshg

I'm guessing the rooting or busybox isnt working, but I dont have much experience with that phone. I might have access to that model of phone in a few weeks to try experimenting, but can't promise anything.

Hopefully someone else in this forum will know more. You could also try posting in the xda-developers forums, it seems they have more active users on this phone.

Link to comment
Share on other sites

Guest Grote.haas
I'm guessing the rooting or busybox isnt working, but I dont have much experience with that phone. I might have access to that model of phone in a few weeks to try experimenting, but can't promise anything.

Hopefully someone else in this forum will know more. You could also try posting in the xda-developers forums, it seems they have more active users on this phone.

Ok, but thank you for the help anyway. :D

Link to comment
Share on other sites

Guest Grote.haas
you're welcome, good luck

let us know how you get on or if you get stuck.

Hello!

Just to let you know, after a long search and a lot of trial and error, I finally managed to connect the VPN.

Here is what I did:

1. Turns out the SU wouldn't load because I was unaware I had to look at my phone to give permission... Silly, but it held me back for quite some time. :D

2. After gaining superuser acces, I had to mount /system read-write

3. having done that, I had to load the Tun.ko file:

insmod /sdcard/tun.ko

Since I had som difficulties putting tun.ko in the right folder, I decided to just load it in the SD-card root. Now I just have to remember not to delete this file when cleaning up my folders :D

So thank you for the help, the Z4root app was a great help. Even though it was a bumpy ride, I actually liked working with this code. I might even try to learn some more about it.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.