ADB is most usefull for rooted Device , so you might wanna acquire root before you continue .
1_ Setting up
First of all you will need these files :
1_ USB Drivers for your OS : USB and PC Charging Drivers - Motorola USA
2_ SDK : Android SDK | Android Developers
For ease of use make sure you install the sdk in the root of the drive for example c:\ and not c:\Program files
Once you have updated the sdk to the latest version , and the USB Drivers installed you are ready to go .
First set your Milestone 's usb debugging 'On' ( there si a check box that needs to be checked in settings / application / )
Then conect your Phone to PC via USB , and set the USB mode ( on the phone ) to 'charge only'
You are now all set and read to go . lets mak e a quick test se if it works .
Now open command prompt (under windows : start / run ) type cmd then hit enter .
In the window you need to navigate to the directory where you installed the sdk ( in my case c:\sdk\tools )
to do so type this :
Now most mods will be launched using adb shell so lets start with it , type :Code:cd c:\sdk\tools
now we need to acquire root privileges in order to do so you have to type :Code:adb shell
at this pointif itis the first ype you run it you have to check your phone as it will ask you if you want to allow it to have root access and click 'always'Code:su
sometimes when permissions are requested you have to type ' su ' again if it didnt work ...
you will know you have root as it will show # instead of $ in the console .
2 _ USING ADB in recovery console
Please note they are 2 ways to use adb , while the phone is on or in recovery console .
I prefer using it in Recovry console,and sometimes (when modifying critical system files )you have to.
it also have a few advantages such as no need to type
mount -o rw,remount /dev/block/mtdblock6 /system
all youhave to do is type mount /system .
to use adb recovery all you have to do is boot in recovery and applu the update.zip from the custom update package , then plug via usb .
Now the fun starts !!!!
They are many mods you can do from there becareful as you can brick your phone and I will not be held responsible for it ...