Board logo

標題: [教學]OpenVPN on Nexus One [打印本頁]

作者: nissin    時間: 2010-11-29 00:35     標題: [教學]OpenVPN on Nexus One

需要:
1. Superuser 權限的N1
Android v2.2.1 FRG83可以用market 的 z4root 去 root without unlock
詳情:http://forum.xda-developers.com/showthread.php?t=833953
另一root without unlock方法(非Market App):
http://forum.xda-developers.com/showthread.php?t=803682

2. 可用的OpenVPN config 檔案(e.g. ca.crt, client.crt, client.key, client.ovpn)
3. 配合kernel version的 tun driver (http://forum.xda-developers.com/showthread.php?t=630703)
4. Internet access

安裝步驟:
1. 安裝BusyBox (e.g. Market: BusyBox installer)
2. 安裝OpenVPN (e.g. 執行 Market: OpenVPN Installer)
3. 安裝OpenVPN Settings (Market: OpenVPN Settings)
4. 抄 OpenVPN config 檔案去 \sdcard\openvpn\
5. 抄 tun driver (tun.ko) 去 \system\lib\modules\
6. 執行 OpenVpn Settings
 Settings --> Advanced
   選擇Load tun kernel module
   進入TUN module settings
     Load module using 選 insmod
     Path to tun module輸入 /system/lib/modules/tun.ko
   Path to openvpn binary 輸入安裝OpenVPN 的路徑 (e.g. /system/bin/openvpn)
7. Turn On OpenVPN, 選擇config檔案開始連線 VPN

附件:Android 2.2.1 FRG83 適用的 tun.ko
作者: 觀星是答案    時間: 2010-11-29 16:27

要 root 機
作者: 天下布武    時間: 2010-11-29 20:47

FRG83D係唔係ROOT唔到?
作者: nissin    時間: 2010-11-30 01:00

可試另一root without unlock方法(非Market App)那個連結
理論上Shell Root 應該係除左有NAND鎖的HTC機之外大部份都root到

我用FRG83D試...
Killing ADB Server...

OK

Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

OK

Waiting for device...

OK

Pushing rageagainstthecage...
168 KB/s (0 bytes in 5392.000s)

OK

chmod rageagainstthecage...

OK

Running rageagainstthecage...
OK

***IF IT KEEPS LOOPING, TRY DISABLING USB DEBUGGING NOW***

Killing ADB Server...
* server not running *

OK

Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

OK

Waiting for device...

OK

Running rageagainstthecage...
OK

***IF IT KEEPS LOOPING, TRY DISABLING USB DEBUGGING NOW***

Killing ADB Server...
* server not running *

OK

Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

OK

Waiting for device...

OK

Running rageagainstthecage...
OK

***IF IT KEEPS LOOPING, TRY DISABLING USB DEBUGGING NOW***

Killing ADB Server...
* server not running *

OK

Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

OK

Waiting for device...

OK

Running rageagainstthecage...
ROOTED
話就話Rooted...不過似乎就咁行唔到
http://forum.xda-developers.com/ ... &postcount=1273

要另外裝 superuser, busybox, su...先得
http://forum.xda-developers.com/ ... 03&postcount=55
作者: nissin    時間: 2010-11-30 07:52

想Root的大家可以試試這個方法
1. Click Shell Root
2. 等待Waiting for Device 出現時開機
3. 出現Rooted 時 Click Root

P.S. 暫時未試到點 Unroot  




歡迎光臨 PC Infinity (http://pcinhk.com/discuz/) Powered by Discuz! 7.0.0