After you install the android SDK & Platform tools. (see my post about it here. ). Now try connecting to the real devices via Android Debug Bridge on Archlinux.
What is ADB? ADB (Android Debug Bridge) is a tool that
comes with the Android SDK that allows you to control and interface with
your Android device.
Okay on this post, i will try to connect 2 android devices.
1. Samsung Nexus S - (Android Phone)
2. Ainol Novo 7 Aurora - (Android Tablets)
1. Enable the USB debugging on The devices (System -> Developer Options)
2. First check the Vendor / Product ID.
$lsusb
Here the results:
Samsung Nexus S 18d1:4e22
Ainol Novo 7 Aurora 18d1:0003
3. Create Android Rules.
$sudo nano /etc/udev/rules.d/51-android.rules
Per devices:
#ADB your devicesSUBSYSTEM=="usb", ATTR{idVendor}=="id vendor", ATTR{Product}=="id product", MODE="0666"
Also in fastboot the procedure is same as number 2 above, when you into fastboot mode then see product id/vendor id. Then add it on 51-android.rules
#Fastboot your devicesSUBSYSTEM=="usb", ATTR{idVendor}=="idvendor", ATTR{idProduct}=="id product", MODE="0666"
Here is my rules configuration for samsung nexus s and ainol novo 7 aurora.
$sudo udevadm control --reload-rules
Unplug usb cable then plug cable again.
4. Test ADB
$adb devices
If you see the results like this, then your devices is connected.
That's is now android devices is connected. You can try some apps that require adb. here's some ddms connected to my devices.
Enjoy, android debug bridge on Archlinux.
:D