Ok, i’ll explain the simple and fast method “How to set it up”. The purpose is just to run command into your device through ADB shell.

ADB stands for Android Debug Bridge. It comes as a part of the standard Android SDK, which you can grab here. Basically, it provides a terminal-based interface for interacting with your phone’s file system. Since Android platform is based on Linux, command-line is the only way to obtain and manipulate root access. While these things can be done directly on the device itself using some terminal emulator, it will be rather difficult to execute complex commands on such a small screen. ADB provides the bridge between your machine and your computer

You don’t need to download Android SDK, what you need is ADB and Fastboot program and HTC Sync. I’m not sure about JDK, this is my current system:

  • Win 7
  • .Net Framework 4
  • JDK 6
  • HTC Sync 3

After you get ADB program,
1. Connect your phone in USB debugging mode.
2. Open adb program from command prompt
3. Type test command ‘adb devices’ and hit enter

Your connected device should show up with a serial number. Thats all.
For a complete list of adb commands, check out the official adb guide

Please do it at your own risk.