5,605,311 Members 38,587 Now Online
XDA Developers Android and Mobile Development Forum

[How To] Free OpenVPN Connection on Xperia X10

Tip us?
 
jimbo77
Old
(Last edited by jimbo77; 23rd August 2011 at 06:07 PM.)
#1  
jimbo77's Avatar
Recognized Contributor - OP
Thanks Meter 2121
Posts: 1,432
Join Date: Nov 2010
Location: Guatemala

 
DONATE TO ME
Default [How To] Free OpenVPN Connection on Xperia X10

So this is my 2nd Thread ... I know a lot of people use their Xperia X10 to surf through the WEB and i'm sure that like me a lot of you also have problems due some sites being blocked or unable to perform certain downloads. My problem is the Second; I can't download from almost any host (Megaupload, Hotfile, Rapidshare...) because my career has set up the same IP address to all Mobile Phones...

To avoid this issue i was using EvoVPN and it was good until 2 weeks ago when the service was shut down. Anyways i've read a lot and probably This has been post before but i found a way to have FreeVPN services working in our beloved X10s....

What do you need?

1. Have SuperUser Access (ROOT).

2. Install Busybox from within the Android Market (Version 1.17).[Mandatory]

UPDATE!!!
[*] Added Tun.ko Working for Android 2.3.3 Update.. Thanks to gergnz

HERE!!

3. Download and unzip this file in the root of your SDCARD
3.1Dropbox
3.2Mirror Mediafire

4. Install OpenVPN Settings from within the Android Market.

5. Install Android Terminal Emulator from within the Android Market.

Procedure:

1. Open Android Terminal Emulator and issue the following Commands:

Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system

busybox insmod /sdcard/openvpn/tun.ko
busybox cp /sdcard/openvpn/openvpn /system/xbin/openvpn
busybox cp /sdcard/openvpn/openvpn /system/xbin/tun.ko
chmod 700 /system/xbin/openvpn
mkdir /system/xbin/bb
busybox ln -s /system/bin/busybox /system/xbin/bb/ifconfig
busybox ln -s /system/bin/busybox /system/xbin/bb/route

busybox mount -o remount,rw /dev/block/mtdblock2 /system
busybox cp /sdcard/openvpn/chargemon /system/bin/chargemon
busybox cp /sdcard/openvpn/busybox /system/bin/busybox
reboot
* Note the last two lines are useful only if you have Xrecovery Installed because it needs this busybox version to work, you can skip it if you don't use Xrecovery....

2. Open VPN Settings and press Menu-->Advanced

3. Check the "Load tun Kernel module" checkbox

4. In TUN module settings select: insmod ; and the path to run module should be: /sdcard/openvpn/tun.ko

5. Path Configurations should be: /sdcard/openvpn

6. Path to openvpn binary should be: /system/xbin/openvpn

7. Back

8. Click on OpenVPN

9. Select freeopenvpn.ovpn

10. This should automatically assign you an IPAddress and you'll be set to use freevpn services.

NOTES!! Please READ BEFORE POSTING/Asking

Thanks to alx5962 for compiling the TUN.KO module!!!

1. Whenever you connect to freeopenvpn.ovpn the web browser will redirect you to http://www.freeopenvpn.com in order to activate the service, you just need to click on the linck and you'll be set.

2. If you don't click on that you won't be able to transfer any data either over WIFI or 3G

3. It's not always but if you can't load the http://www.freeopenvpn.com webpage after clickin on it,please wait while the phone is trying to comunicate with the server, it can take up to 5 Minutes :S but it will eventually load

4. After the webpage loads you'll be redirected to their site but you can start browsing using the assigned IP Address.

5. EVERY time you close the VPN connection and you login again the phone/server will request the process stated above.

6. If you find this useful you can always use the Thanks button and buy me a beer.... HERE

BEFORE:






AFTER:





Downloading

If want to support my work just click HERE

Current Model: LG Optimus G - [ROM] PAC - 4.4.2 [KERNEL] Matrix Linaro Kernel!

Creator of:
The Following 5 Users Say Thank You to jimbo77 For This Useful Post: [ Click to Expand ]
 
WindGhost
Old
(Last edited by WindGhost; 19th January 2011 at 02:27 AM.)
#2  
WindGhost's Avatar
Senior Member
Thanks Meter 14
Posts: 179
Join Date: Aug 2010
Location: Penza
All good, but...
Quote:
It's not always but if you can't load the http://www.freeopenvpn.com webpage after clickin on it,please wait while the phone is trying to comunicate with the server, it can take up to 5 Minutes :S but it will eventually load
I'm still waiting about 15 min

Quote:
busybox mount -o remount,rw /dev/block/mtdblock2 /system
busybox cp /sdcard/openvpn/chargemon /system/bin/chargemon
busybox cp /sdcard/openvpn/busybox /system/bin/busybox
NO NEED FOR THESE, EVEN IF YOU GOT xRecovery.

All works good, thnx
Samsung Galaxy SII (GT-I9100)
ROM : STOCK 4.1.2
 
nini8888
Old
#3  
Junior Member
Thanks Meter 0
Posts: 24
Join Date: Oct 2009
hi , which app do u use for browse , thx
 
jimbo77
Old
#4  
jimbo77's Avatar
Recognized Contributor - OP
Thanks Meter 2121
Posts: 1,432
Join Date: Nov 2010
Location: Guatemala

 
DONATE TO ME
@Windgosht is everything working fine? I know is kind of heavy but it's a solution though...

@nini8888 in the screenshots I'm using Miren Browser...

Jim

Sent from my X10a
If want to support my work just click HERE

Current Model: LG Optimus G - [ROM] PAC - 4.4.2 [KERNEL] Matrix Linaro Kernel!

Creator of:
 
WindGhost
Old
#5  
WindGhost's Avatar
Senior Member
Thanks Meter 14
Posts: 179
Join Date: Aug 2010
Location: Penza
Yep, works great, but as I said in my post above, no need for those three lines :
Quote:
busybox mount -o remount,rw /dev/block/mtdblock2 /system
busybox cp /sdcard/openvpn/chargemon /system/bin/chargemon
busybox cp /sdcard/openvpn/busybox /system/bin/busybox
xRecovery stopped work (Android 2.1 : 2.0.2.A.0.24 - zdzihu ROM). About the SE ROM, I don't know.
Samsung Galaxy SII (GT-I9100)
ROM : STOCK 4.1.2
 
gohwh1
Old
(Last edited by gohwh1; 19th January 2011 at 06:53 AM.)
#6  
Senior Member
Thanks Meter 10
Posts: 195
Join Date: Nov 2010
5. EVERY time you close the VPN connection and you login again the phone/server will request the process stated above.


Does it mean:
1. Whenever you connect to freeopenvpn.ovpn the web browser will redirect you to http://www.freeopenvpn.com in order to activate the service, you just need to click on the linck and you'll be set.

2. If you don't click on that you won't be able to transfer any data either over WIFI or 3G

3. It's not always but if you can't load the http://www.freeopenvpn.com webpage after clickin on it,please wait while the phone is trying to comunicate with the server, it can take up to 5 Minutes :S but it will eventually load

4. After the webpage loads you'll be redirected to their site but you can start browsing using the assigned IP Address.


Or the procedure above, where we need to type in all the command?
I get error when issuing the first line of command. Permission denied
 
WindGhost
Old
#7  
WindGhost's Avatar
Senior Member
Thanks Meter 14
Posts: 179
Join Date: Aug 2010
Location: Penza
Quote:
Originally Posted by gohwh1 View Post
5. EVERY time you close the VPN connection and you login again the phone/server will request the process stated above.


Does it mean:
1. Whenever you connect to freeopenvpn.ovpn the web browser will redirect you to http://www.freeopenvpn.com in order to activate the service, you just need to click on the linck and you'll be set.

2. If you don't click on that you won't be able to transfer any data either over WIFI or 3G

3. It's not always but if you can't load the http://www.freeopenvpn.com webpage after clickin on it,please wait while the phone is trying to comunicate with the server, it can take up to 5 Minutes :S but it will eventually load

4. After the webpage loads you'll be redirected to their site but you can start browsing using the assigned IP Address.


Or the procedure above, where we need to type in all the command?
I get error when issuing the first line of command. Permission denied
type first su in command line
Samsung Galaxy SII (GT-I9100)
ROM : STOCK 4.1.2
 
khelwani
Old
(Last edited by khelwani; 19th January 2011 at 03:07 PM.)
#8  
khelwani's Avatar
Senior Member
Thanks Meter 67
Posts: 155
Join Date: Dec 2010
my phone is rooted and everything is done !
but I got Permission denied with the first line , even with su
what to do ?!!


It's working ,, I used the adb on windows ti issue the lines
 
WindGhost
Old
#9  
WindGhost's Avatar
Senior Member
Thanks Meter 14
Posts: 179
Join Date: Aug 2010
Location: Penza
Any one get GTalk, Market, Gmail FC???
Samsung Galaxy SII (GT-I9100)
ROM : STOCK 4.1.2
 
jimbo77
Old
#10  
jimbo77's Avatar
Recognized Contributor - OP
Thanks Meter 2121
Posts: 1,432
Join Date: Nov 2010
Location: Guatemala

 
DONATE TO ME
Quote:
Originally Posted by WindGhost View Post
Any one get GTalk, Market, Gmail FC???
Not me kind sir... See attached...






Sent from my X10a
If want to support my work just click HERE

Current Model: LG Optimus G - [ROM] PAC - 4.4.2 [KERNEL] Matrix Linaro Kernel!

Creator of:

Tags
openvpn, vpn
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes