A comma separated list of the following valuesġ or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwpĪNDROID_SERIAL – The serial number to connect to. environmental variables:ĪDB_TRACE – Print debug information. – If it is “system” or “data”, only the corresponding partition is updated. – If is not specified, both /system and /data partitions will be updated. defaultroute debug dump local notty usepeerdns Note: you should not automatically start a PPP connection.
(no option) – don’t touch the data partitionĪdb wait-for-device – block until device is onlineĪdb start-server – ensure that there is a server runningĪdb kill-server – kill the server if it is runningĪdb get-state – prints: offline | bootloader | deviceĪdb status-window – continuously print device status for a specified deviceĪdb remount – remounts the /system partition on the device read-writeĪdb reboot – reboots the device, optionally into the bootloader or recovery programĪdb reboot-bootloader – reboots the device into the bootloaderĪdb root – restarts the adbd daemon with root permissionsĪdb usb – restarts the adbd daemon listening on USBĪdb tcpip – restarts the adbd daemon listening on TCP on the specified portĪdb ppp – Run PPP over USB. (‘-k’ means keep the data and cache directories)Īdb bugreport – return all information from the device
(‘-s’ means install on SD card instead of internal storage)Īdb uninstall – remove this app package from the device (‘-r’ means reinstall the app, keeping its data) (you must be in the bootloader for fastboot to recognize your device)ĪDB Commands Quote: adb devices – list all connected devicesĪdb sync – copy host->device only if changedĪdb shell – run remote shell interactivelyĪdb forward – forward socket connections forward specs are one of: tcp:Īdb jdwp – list PIDs of processes hosting a JDWP transportĪdb install – push this package file to the device and install it You can also type adb reboot bootloader which will put the device into bootloader mode. Now type fastboot devices then hit enter in the command prompt an it should list your device. You should now see something that looks like this C:\adb>Ħ.Type adb devices then hit enter in the command prompt and it should list your device.ħ. Then choose “Local Disk C:”.(You can now click and drag the adb folder you extracted to the C: drive.ĥ.Open a command prompt and type cd\adb and hit enter. Open your “Start” menu and click on “My Computer”. You can use a program called 7-ZIP to extract if needed (google it, its free and a great tool).Ĥ. There is 1 folder and a install note (these instructions) that should extract.
Download the file at the bottom of these instructions to your desktop and extract the contents. Install the program by hitting “Run” and follow the instructions. click on developer options then select usb debugging from there. New phones go the settings about phone then click on the build number 10 times then back out to settings again and you will see developer options right above about phone. On your phone go to Settings/Development and make sure USB debugging is ON and plug it in via the usb.
Sometimes, you can see this information right away in the bootloader display of your Android phone.Instructions for setting up Adb/Fastboot (windows)ġ. If it says ‘false,’ it means that that it’s still locked.