[EVO 4G Android Development] joeykrim:
Feel free to contribute - Creating this at toast's request

Will do my best to update this with everybody's experience and knowledge to help out the new comers. Welcome to the world of Android!!

Definition of ADB - http://developer.android.com/guide/developing/tools/adb.html

1. Install Drivers

Win 7 drivers - http://depositfiles.com/en/files/yd61xorii - thanks shep211.

Win 7 64bit, Vista and XP - Confirmed works with HTC Sync - thanks to crackerstyle OR use HTC Sync.exe from the stock MicroSD card shipped with the phone. Myn also used these drivers - http://member.america.htc.com/download/Driver/HTC EVO (Sprint)/HTC_Sync_2.0.40.exe

Mac OS X drivers -

Linux drivers -

2. Install ADB (part of Android SDK)

Google's Main page - on the Android SDK which contains the adb binary inside the tools folder - http://developer.android.com/sdk/index.html

Windows Specific Android SDK installer (contains ADB binary inside tools folder) - http://developer.android.com/sdk/download.html?v=android-sdk_r06-windows.zip

Linux Specific Android SDK installer (contains ADB binary inside tools folder) - http://developer.android.com/sdk/download.html?v=android-sdk_r06-linux_86.tgz

Mac Specific Android SDK installer (contains ADB binary inside tools folder) - http://developer.android.com/sdk/download.html?v=android-sdk_r06-mac_86.zip

3. Enabling ADB support on EVO

If using completely stock EVO, adb will be disabled in recovery and can't be enabled.

If using the PC36IMG.zip (userdebug RUU) automatically turns on adb in recovery mode.

If in normal android mode, adb can be enabled by Settings->Applications->USB Debugging.

4. Running (Executing) ADB on Host computer

Windows - start->run->cmd . Navigate to the extracted the Android SDK folder and into the subfolder called tools.

cd c:\android-sdk\tools\

Now simply execute the commands in Step 5 and 6.

5. Learn basic ADB commands

adb push - sends a file to the phone over ADB thru USB - adb push c:\test.apk /sdcard/test.apk

adb pull - receives a file from the phone over ADB thru USB - adb pull /system/app/Test.apk c:\Test.apk

adb shell - starts a shell connection with the phone

adb reboot - restarts the phone

adb reboot recovery - restarts the phone into recovery

adb reboot bootloader - restarts the phone into the bootloader (white screen)

adb remount - remounts the file system

adb install <path to .apk file> - installs an application - adb install c:\swype.apk

adb uninstall <package name> - uninstalls an application - package name is usually in the format, com.android.browser

6. Learn basic Linux commands to run through ADB shell

cd - changes directories - works through stock android toolbox - cd /system/app

ls - lists all files in the directory - works through stock android toolbox - ls /system/app/

cat - copies files - works through stock android toolbox - cat /system/app/Test.apk > /sdcard/Test.apk

rm - removes files - works through stock android toolbox - rm /system/app/Test.apk

mv - moves files from one location to another - works through stock android toolbox - mv /system/app/Test.apk /sdcard/Test.apk

cp - copies files - functions similar to cat - uses busybox installed by the EVO-recovery.zip into recovery mode - cp /system/app/Test.apk /sdcard/Test.apk

mount - loads the file system (usually auto loaded except sometimes in recovery) - mount /dev/block/mtdblock4 /system

unmount - unloads the file system - umount /system