[Motorola Droid X2] VioletR:
How to Get ADB working without A-SDK/J-SDK on your HOST PC

Well for few Months ago even I was struggling hard to use all this ADB and fastboot stuff, Later I get to know to use a easier Method to get my adb and fastboot working

What I do is as follows:

(1) You may not need Android-SDK and Java-SDK to be installed on Host PC

(If it is installed valent GOOD for other dev. tasks)

(2) Download Android.zip and Extract Android folder. Just < 3MB stuff Download from Link below

(3) Copy this whole folder to C:\

(4) Now you have got a new adb.exe directory i.e C:\android (Well you can place this folder anywhere u want , only thing is that you have to cd this location whenever you need access to the 'adb.exe' or 'fastboot.exe' sitting in this folder.

(5) This folder also contains working adb_usb.ini and android_winusb.ini and other essential drivers and stuff

Your adb access cant be successful failing on following: CHECK THIS

(1) Device must be conected with USB Debugging marked "ON" (Check in Settings-->Developement)

(2) You must have installed latest device drivers on your Host PC

(3) On successful driver installation; You must see "Android Composite ADB Interface" under "Android" in your device manager while device is connected

(4) If your adb access fails after a Reboot/ or while moving to various modes like fastboot/recovery/adb then Open Task manager --Go to Process--locate adb.exe and kill it--Close. Reopen cmd and start over.

Commands and How Things will reflect on cmd:

Lets guess you have adb.exe directory as C:\Android

and you want to push a APK named Titanium_Backup.apk into /system/app and want to install it

(1) Start cmd:

Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\USERNAME>

(2) CD your adb directory

[Windows 7 or higher user can drectly opne cmd from this their Android folder with Shift+Right Click-->Open Command Prompt from here]

C:\Documents and Settings\USERNAME>CD C:\Android

C:\Android>

(3) Now you are in your adb.exe directory. Let check the status of device connection to your Host PC

C:\Android>adb devices

List of devices attached

Micromax-A56 device (This confirms your device is communication with you PC)

(4) Let check the Root Status and do mounting the file systems

C:\Android>adb root

restarting adbd as root (Device will flash for a instance and if you have root access it will allow you to access "root")

C:\Android>adb remount rw

remount succeeded (If no proper root access it won't allow you to remount filesystem as "rw".)

[If you getting error like remount failed then you need to check your root status or eithe have to root again with proper guidelines. You can try with updating su binaries]. I guess you get succeeded message as you have proper root access... like I have...

(5) Using adb push and adb shell commands to install a system or data application on your device:

Apk name: Titanium_Backup.apk [Copy it to C:\Android. There must not be any space in file name; if so fill it with . or _ ]

C:\Android>adb push Titanium_Backup.apk /system/app [this will copy apk to /system/app]

2303 KB/s (5787419 bytes in 2.453s)

C:\Android>adb shell chmod 644 /system/app/Titanium_Backup.apk [this will change the permissions to RW-R-R (644)]

C:\Android>adb reboot [on a reboot you will find Titanium Backup is installed and working]

In general to install a app you have to use following commands:

C:\Android>adb push<space><APK_Name.apk><space><DirectoryPath>

C:\Android>adb shell chmod 644<space><Device_Directory>/<APK_Name.apk>

Note: To carry out above thing your apk must be copied to the adb.exe directory i.e in Android folder on C:\

:fingers-crossed:Well this guide is for newbies..and similarly you can find various commands to work with 'adb' or 'fastboot' or in 'recovery' mode.