1.) Download the Android SDK for Linux version from this page.

In command console, navigate to the just downloaded package and extract it, and finally copy the “adb” application to your Ubuntu /usr/bin directory .

tar xvf android-sdk_*.tgz
cd android-sdk-linux_86/tools
sudo cp adb /usr/bin/adb

2.) Create a rules file for udev to allow your Ubuntu to see your phone.

Use the command to create and edit a rules file:

sudo gedit /etc/udev/rules.d/91-android.rules

add and save this line into the file:

SUBSYSTEM=="usb", SYSFS{"12d1:1035"}=="12d1", MODE="0666",

Note:There replace red characters with yours idVendor (use lsusb command to get your device’s ID).

Now, restart udev to load the new rule and Ubuntu should finally recognise your device (Enable “USB debugging” on your phone via Settings>Applications>Development and connect to the computer with the USB cable first):

sudo chmod a+rx /etc/udev/rules.d/91-android.rules
sudo reload udev
sudo adb kill-server
sudo adb devices

3.) Now install openvpn that you will connect to your device with it:

sudo apt-get install network-manager-openvpn openvpn
sudo /etc/init.d/networking restart
sudo /etc/init.d/network-manager restart

4.) Install openvpn on your Android phone. (the line “adb install” actually installs the azilink application on your Droid device. After azilink is installed, an icon that looks like a flying insect will appear on your phone in the applications area.)

cd ~/Downloads/
mkdir azilink
cd azilink
wget http://lfx.org/azilink/azilink.apk
adb install azilink.apk
wget http://azilink.googlecode.com/files/azilink.ovpn

5.) Create resolv.conf to replace original one under /etc while using Android as USB modem.

gedit resolv.conf

Copy and paste following as its content:

domain lan
search lan
nameserver 192.168.56.1

6.) Now create a script to start modem:

gedit start_modem

copy and paste following:

adb forward tcp:41927 tcp:41927
sudo cp resolv.conf /etc/
sudo openvpn –config azilink.ovpn

finally, give it executable privilege:

chmod 755 start_modem

7.) On your Android phone, launch AziLink app and place a checkmark by “Service active”.

On your Ubuntu run the start_modem script created in previous step (Uncheck the wireless connection first):

sudo ./start_modem

You should now be able to surf the Internet using your Android phone as a tethered modem.

Thanks to Shannon VanWagner who original post the method about using Verizon Droid as USB modem, and previous steps followed his introduction on a Huawei c8600 phone.