February 10, 2014 By: eagleeyetom
ADB and Fastboot are invaluable tools for almost every Android user. Without them, flashing a kernel or system image would be much more difficult or even impossible. If you are an experienced user, you can download the Android SDK, click few times, add ADB and Fastboot to $PATH and happily torture your device with latest ROMs and kernels without worry that one small mistake will result as a plastic brick.
If you are a Linux, ChromeOS, or Mac user, you may find a tool made by XDA Forum Member corbin052198 very useful. The Nexus Tools script automatically detects your OS, and then downloads and configures almost everything you need to use ADB on your machine. The only missing thing is a udev list, which makes the device “visible” for debugging, but this can be easily fixed by visiting this thread.
The script runs as root, so don’t be surprised when it asks for sudo and copies all necessary files to usr/bin, which makes them available system-wide. ChromeOS support is experimental and may not work as intended, so please keep that in mind.
If you are planning to set up your PC to work with Android devices, Nexus Tools is a perfect choice. All you need to do is visit the original thread to give it a go.
January 2, 2014 By: eagleeyetom
Android Debug Bridge (ADB) is the most important and widely used debugging tool on Android. With ADB, it’s possible to push a file to the /system partition, make a backup, or even get a logcat for debugging. The official way to install ADB is to download the ADT Bundle or SDK tools, which are nearly 100 MB.
Configuring the ADB on Windows is not the easiest as well, as you need to add its path in order to access it from anywhere on your PC. Downloading a huge package and the troublesome installation process may discourage new users from installing these tools, but there’s now a handy solution thanks to XDA Forum Member snoop5, who created a simple tool to install ADB on a Windows machine in approximately 15 seconds.
The Windows-only tool automatically installs ADB, Fastboot, and the required device drivers, so nothing more is required and your device should work like a charm. The package comes in at only 9 MB, so it’s quite a bit smaller than the original SDK Tools. You don’t need to worry about your system being 32- or 64-bits, as this tool will take care to determine which version are you on.
If the process of installing Fastboot and ADB have been holding you back from further tweaking your device, make your way over to the tool thread and give this a try.
One of the most important tools we have for flashing images directly from a PC is fastboot. Almost anyone who’s rooted an HTC or Nexus device has used it, either through command line or through an automated tool making use of fastboot.
After all, this is how we execute that fastboot oem unlock command that we all know and love on Nexus devices. However, there’s much more that you can do with fastboot. Now thanks to XDA Recognized Contributor demkantor, we have a simple and incredibly easy to understand guide that teaches you how to setup fastboot, what it can do, how you can use it, and why you would even want to use it.
After drawing parallels to ADB and giving beginners a brief overview of what it can do, the initial setup is covered with two options: either manual setup via the Android SDK or a more automated tool to obtain the requisite binaries. After this, basic fastboot commands are covered such as erasing an existing partition or flashing it with an image. Sample output text is provided so that you know what to expect when doing it for yourself for the first time.
If you’re a new user who has never used fastboot, now would be a great time to learn. Head over to the guide thread to learn more.
I run Linux exclusively and I was not happy when my Android device stopped enumerating as a mass storage device. The OS version I have right now doesn’t automount MTP, so how am I supposed to get files on and off of my phone? There are several options, but I think the most simple answer is to use ADB.
I have long ago figured out all the commands and syntax used with the Android Debug Bridge, but I can’t say the same for Fastboot. That’s a tool that compliments what ADB brings to the table. It can flash image files directly from your computer, unlock the bootloader, and a lot more (if you know what you’re doing).
Check out XDA Senior Member Ricky310711‘s guide thread covering common uses of both ADB and Fastboot. You may remember his Android Everything Tool that was featured on the XDA Portal last Saturday. He’s also been working on this guide since the end of April.
Included is a zip for Windows users that provides the packages needed to run ADB and Fastboot, but you may want to use this suite that always installs the latest versions. I wouldn’t say this is a noob-level guide, but anyone who’s had to look up an ADB command to get it to work (or needs a very quick refresher on Android partitions) will benefit from his accumulation of knowledge.
ADB and Fastboot are two of the most indispensable tools for manipulating and modifying your Android device. Offering the ability to perform all kinds of actions ranging from simple operations such as pushing and pulling certain files to unlocking bootloaders and flashing custom recovery images, these two tools are something that nearly everyone who has tinkered with an Android device in some way has been exposed to.
Despite the simple nature of both these utilities, actually getting hold of the latest versions and setting them up can often be troublesome for the less experienced user. The sure fire way to get the most recent versions is to download the Android SDK. That, however, means downloading a lot of stuff for two relatively tiny tools and let’s be honest, ain’t nobody got time for that. If it is just the single tools you’re after, there’s a very simple way of getting hold of them.
XDA Forum Member shimp208 created Minimal ADB & Fastboot which is a Windows-based installer that simply grabs the latest versions of ADB and Fastboot before installing them to a location of your choice, eliminating the need for an enormous downloads or trawling the internet for a specific version. Once you’re connected via USB and your device is recognized, you should be ready to start using ADB and Fastboot. It’s as simple as that.
Check out the original thread for more information.