Monday, February 28, 2011

USB Tethering SPICA on fedora

I just usb tethered SPICA on fedora 14.

Here's what I did (could be ugly than other tutorial but works)
But before that, the following helped me.

http://code.google.com/p/azilink/
http://androidforums.com/samsung-i7500/19510-adb-linux.html
http://idolinux.blogspot.com/2010/06/usb-tether-android-with-linux.html <-- Better read this site, than the below thing.

Part 1: Install the driver:
1. Create a new file /etc/udev/rules.d/51-android.rules
vi /etc/udev/rules.d/51-android.rules
2. Copy and paste the below line
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
3. Then in the terminal type:
chmod a+r /etc/udev/rules.d/51-android.rules

Part 2: Install the ADB:
1. Download the Android SDK. It is a .tgz file, extract it.
2. On the terminal go to the extracted folder. It has a sub-folder, tools. Go to tools/
3. Run ./android
4. A GUI comes up, on the left panel select "Avaiable Package".
5. Select "SDK Platform Android 1.5, API 3" from it and click on Install selected. Next Accept the license.
6. Now go to the /platform-tools/
7. Just to test adb is working, try
./adb shell
It should open a shell. That is actually your phone. If it didn't work, try reading the above links. Or try
./adb devices
This will show the device connected.
I got the following:
List of devices attached
5700db4ac5a1 device

My device is a Samsung Spica 5700

Part 3: azilink to tether:
Now install the azilink to your phone. Simply type
./adb install /azilink-2.0.2.apk

Follow the above given blog.