Solved How to use Android Debug Bridge in Windows?

April 26, 2017 at 10:32:24
Specs: several
This is both a Windows question and an Android question.

I have an Amazon Fire 5th generation tablet computer.
Very soon after aquiring it, I locked it up. Holding down the
power button will not restart it. On some website somewhere
I learned that I can press the power button and the volume-up
button simultaneously to put the tablet into a mode something
like the BIOS setup program of a PC. I also learned that I need
to use a program called Android Debug Bridge (ADB) to do a
factory reset. I finally got around to downloading a zip file that
is supposed to contain that program.

I Googled and found this page:

How to Install and Use ADB, the Android Debug Bridge Utility
https://www.howtogeek.com/125769/ho...

At Step One, it says to 'Head to the Android SDK download page and
scroll down to “SDK Tools Only”, which is a set of tools that includes ADB.'

The page referred to is linked from there. I went to that linked page and
found that there is no text saying exactly “SDK Tools Only”, but there is
a section titled "Get just the command line tools", which I presume is
the same thing. I downloaded the SDK tools package for windows, which
is sdk-tools-windows-3859397.zip .

I then unzipped it as instructed on the HowToGeek page. The next thing
the HowToGeek page says is to "Start the SDK Manager EXE". But no such
file was unzipped. At the top level is a folder named "tools". Inside it, at the
next level, are 4 folders and 7 files:

bin
lib
proguard
support
android.bat
emulator.exe
emulator-check.exe
mksdcard.exe
monitor.bat
NOTICE.txt
source.properties

NOTICE.txt is apparently the licenses for everything else.
Enough to choke a whale and make it turn blue.

The folder named "support" only contains spelling correction
files in 8 languages.

The folder named "bin" actually contains only .bat files, not
binary files.

The folder named "lib" contains 4 folders and lots of files,
mostly .jar files.

The folder named "proguard" contains lots of info about a program
called "ProGuard", but it pretty clearly is neither the SDK Manager
nor the Android Debug Bridge.

The zip file *seems* to be the correct file because it has exactly the
same number of bytes that the download page says it should have.

Am I supposed to run emulator.exe ? Did the download site screw up?

-- Jeff, in Minneapolis


See More: How to use Android Debug Bridge in Windows?

Report •

✔ Best Answer
May 9, 2017 at 20:26:10
I googled found this page https://software.intel.com/en-us/xd...


#1
April 26, 2017 at 14:52:31
Press & hold the volume DOWN button. At the same time, press & hold the power button. After several seconds, the Amazon logo will display...do NOT release the buttons. Continue to hold until the Recovery screen comes up. Use the volume button to highlight wipe data/factory reset. Press the power button to begin.

Report •

#2
April 26, 2017 at 21:19:16
That brings up the mode I described as being like BIOS setup.
I don't know whether it is the volume up or volume down button.
It's the button on the left. If you are right and that is the volume
down button, then one presses the volume up button to scroll down
the list, and the volume down button to scroll up the list.

I did what you suggested at least nine times after I first bricked the
tablet, before I gave up, and then learned I need to use ADB. Then
several months went by before I acquired a new Windows computer
on which I could run ADB. But then several more months went by
before it finally occurred to me -- a day ago -- that I now have the
Windows computer I needed, and all I had to do was locate ABD,
download it, and run it. But the instructions I found for running it
don't match up with the filenames in the zip file.

I know that I tried the hard reset at least nine times because the
tablet keeps a log of the attempts, and I can read those logs, and
the dates are in them near the top of each log. I'm flabbergasted
at how much time has gone by since I was given the tablet, and
by how quickly I bricked the thing, assuming it was given to me
on my birthday last year, not earlier. If, as it appears, it is set to
GMT, not CST, then I bricked it in less than 24 hours.

I vaguely remember that I speculated at the time that the tablet
was trying to update itself -- without telling me it was doing so --
when I turned it off.

-- Jeff, in Minneapolis

message edited by Jeff Root


Report •

#3
April 26, 2017 at 21:47:16
I recall now that it didn't make sense that the tablet could be
updating itself since I had not given it any information about
connecting to a network. If it connected to the Internet, it did
so through some random Wi-Fi hotspot that I had no part in
selecting and never knew about.

-- Jeff, in Minneapolis


Report •

Related Solutions

#4
April 27, 2017 at 05:49:37
Jeff Root: [T]he tablet was trying to update itself ... when I turned it off.
That's . . . Yeah, don't do that. If the update was updating the recovery environment too, the device might truly be bricked.

Jeff Root: The folder named "bin" actually contains only .bat files, not binary files.

The folder named "lib" contains 4 folders and lots of files, mostly .jar files.
Jar files makes sense; Google's pretty big into the whole Java thing. What are the batch files in bin?

How To Ask Questions The Smart Way


Report •

#5
May 9, 2017 at 20:26:10
✔ Best Answer
I googled found this page https://software.intel.com/en-us/xd...

Report •

Ask Question