Go Back   Android Forums > Android Phones > Micromax A56

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree3Likes
  • 3 Post By anshubham

test: Reply
 
LinkBack Thread Tools
Old August 19th, 2012, 05:44 AM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Mar 2012
Posts: 44
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 42 Times in 13 Posts
Default [TUTORIAL] How to Set-up ADB

Q. What is ADB ?
Ans. ADB stands for Android Debugging Bridge. Now, for all those don’t know what I am talking about, adb is an integral part of the standard Android SDK and provides the terminal interface access so that you can easily interact with your phone’s file system. Since the Android is made on an open source platform as it’s a Linux based system which is useful for doing advanced operations on the device so that you can root your device as the ADB provides access between the machine as well as the computer.

This is the tutorial for setting up adb for noobs.

No need to download the full SDK.

Just Follow these instructions and you are good to go.

1. Make a Folder C:\SDK\ and copy the extracted files (from attachment) to this folder.
Files that are to be copied in C:\SDK\ :

adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe


2. Then open CMD and type :
cd c:\sdk\ (Hit Enter)

3. Now type :
adb.exe (Hit Enter)
It will show some data don't freak out.

4. Now type :
adb devices (Hit Enter)
This will show the connected ADB devices.

You have Succesfully set-up ADB.

Here is list of ADB commands that might be useful for you in the future. (thanks to sekhargreen at xda) . You can also see the list of command after typing "adb" in cmd.

adb devices – list all connected devices
adb push <local> <remote> – copy file/dir to device
adb pull <remote> [<local>] – copy file/dir from device
adb sync [ <directory> ] – copy host->device only if changed
adb shell – run remote shell interactively
adb shell <command> – run remote shell command
adb emu <command> – run emulator console command
adb logcat [ <filter-spec> ] – View device log
adb forward <local> <remote> – forward socket connections forward specs are one of: tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp – list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> – push this package file to the device and install it
adb uninstall [-k] <package> – remove this app package from the device (‘-k’ means keep the data and cache directories)
adb bugreport – return all information from the device
that should be included in a bug report.
adb help – show this help message
adb version – show version num
adb wait-for-device – block until device is online
adb start-server – ensure that there is a server running
adb kill-server – kill the server if it is running
adb get-state – prints: offline | bootloader | device
adb get-serialno – prints: <serial-number>
adb status-window – continuously print device status for a specified device
adb remount – remounts the /system partition on the device read-write
adb reboot [bootloader|recovery] – reboots the device, optionally into the bootloader or recovery program
adb reboot-bootloader – reboots the device into the bootloader
adb root – restarts the adbd daemon with root permissions
adb usb – restarts the adbd daemon listening on USB
adb tcpip <port> – restarts the adbd daemon listening on TCP on the specified port.

If this helped you click THANKS and help me...!!!
Attached Files
File Type: zip platform-tools.zip (440.1 KB, 1650 views)
File Type: txt Instructions.txt (213 Bytes, 528 views)

anshubham is offline  
Last edited by anshubham; October 1st, 2012 at 09:41 AM.
Reply With Quote
The Following 18 Users Say Thank You to anshubham For This Useful Post:
bliizzz (December 26th, 2012), fingersd (September 22nd, 2013), HellRa1SeR (April 1st, 2013), hopedpocketts (December 12th, 2013), htcguy1218 (May 11th, 2013), K Rize (February 20th, 2013), kc0tqd (March 23rd, 2013), Knight Rider (February 1st, 2013), kobesux (January 16th, 2013), M4TT (April 6th, 2013), Phaenomena (January 20th, 2014), RA3 (July 16th, 2013), ripu (September 23rd, 2012), RuffBuster (January 3rd, 2013), sheetalk937 (September 7th, 2012), sloppyjoe116 (January 10th, 2013), Stevenfied (February 15th, 2013), Trunksman98 (January 20th, 2013)
sponsored links
Old September 20th, 2012, 11:08 AM   #2 (permalink)
New Member
 
Join Date: Sep 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

what u mean by CMD??
subrato is offline  
Reply With Quote
Old September 22nd, 2012, 08:02 AM   #3 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Mar 2012
Posts: 44
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 42 Times in 13 Posts
Default

Quote:
Originally Posted by subrato View Post
what u mean by CMD??
CMD means command propmt
open run
type cmd
hit enter.
anshubham is offline  
Reply With Quote
The Following User Says Thank You to anshubham For This Useful Post:
betexxx (November 14th, 2012)
Old December 2nd, 2012, 02:28 PM   #4 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

i got through the steps but the last adb devices commend nothing happens after i type it
tylerboggs is offline  
Reply With Quote
Old December 27th, 2012, 12:06 PM   #5 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Am I supposed to be on the computer with the smartphone attached?

How can I get to the command level on the phone?
sus40 is offline  
Reply With Quote
Old February 1st, 2013, 11:35 PM   #6 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks it worked!

Another thing you can do is edit the system's path environment variable. By doing this you can use adb from anywhere and you needn't navigate to C:\ADB (or wherever you stored it).

Do this by right-clicking on computer -> properties -> advanced system settings -> advanced -> environment variables. In system variables click 'Path' and then click edit. Add ";C:\ADB" (without quotes) to the end of the variable value.
Knight Rider is offline  
Reply With Quote
Old February 10th, 2013, 04:42 PM   #7 (permalink)
New Member
 
Join Date: Jan 2013
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

1. should the phone be connected by usb to the pc before starting ( when I plug in the phone winxp asks fora driver installation - motorola communication interface, my web browser opens to a Verizon page that has a download called backup assistant)?

2. with the phone plugged up by usb cable (driver install was cancelled) I have created the folder, extracted the files, naved to the folder by cmd, ranadb.exe, saw the data listed, typed adb devices

the list I get has no entries

Plz help.
jazzisjazz is offline  
Reply With Quote
Old November 19th, 2013, 04:40 PM   #8 (permalink)
New Member
 
Join Date: Nov 2013
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Smile many thanks :o)

thanks ) thanks ) thanks ) thanks ) thanks ) thanks )
I_am_Zurvan is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Micromax A56

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:44 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.