ADB lets you control an Android phone from a PC.
1. Download "SDK Platform-Tools" from developer.android.com and extract it, for example to C:\platform-tools.
2. Turn on USB debugging on the phone (see our USB debugging tip) and connect it.
3. Open a terminal in that folder and run: adb devices
Accept the prompt on the phone. The phone should be listed as "device".
Useful commands:
adb reboot recovery: restart into recovery
adb reboot bootloader: restart into fastboot
adb install app.apk: install an app from the PC
adb pull /sdcard/DCIM C:\backup: copy photos to the PC
adb shell pm list packages: list installed apps
Only use ADB on phones you own or with the owner's permission.