The following instructions to get USB ADB working on Windows:
- Download latest Android SDK, uncompress it in a local folder (i.e. c:\android), and add the full path to the tools\ directory to the system PATH
- Download Android USB Driver and uncompress it in a local folder (i.e. c:\android\usb_driver).
- Edit adb_usb.ini (or create and then edit if it doesn't already exist) file in
- Windows XP: C:\Documents and Settings\
- Windows Vista\7: C:\Users\your_name\.android
- These locations can be accessed at the command prompt by typing 'cd %USERPROFILE%'
Add echo 0x18D1 > "%USERPROFILE%\.android\adb_usb.ini"
4. Edit android_winusb.inf in C:\Android\usb_driver_r03-windows to match EVM/Beagle vendor and product ids. Under [Google.NTx86] for 32 bit machine or [Google.NTamd64] for 64 bit machine section add:
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_9018
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_9018&MI_01
5. Boot the board as normal and wait until shell prompt is available (micro-B USB cable must be disconnected). Then connect micro-B USB cable between board and Windows PC.
6. If the device is detected automatically, install driver that was downloaded. Otherwise go to Windows Device Manager find the Rowboat device to update the driver.
There are lots of useful ADB shell commands which can run on UART window or Windows command line by "adb shell".
- to copy a file or a directory recursively to emulator: adb push source destination
- to copy a file or a directory recursively from emulator: adb pull destination source