Know Your Android Tools: What Is Fastboot & How Do You Use It?

Know Your Android Tools: What Is Fastboot & How Do You Use It?
If you've ever owned an HTC device or anything in the Nexus line, odds are, you have typed the word "fastboot" into your command line at one time or another. That said, odds are, you have only just barely scratched the surface of what this handy little Android tool can do. Let's take a deeper look.
What Is Fastboot?Fastboot is a tool/protocol for writing data directly to your phone's flash memory. In practical use, it is used to flash images such as recoveries, bootloaders, and kernels to your Android device. Outside of the obvious, you can also restore nandroid backups, change your splash screen, and flash system updates.Fastboot can do very little without a rooted device and an engineering SPL (secondary program loader), meaning the bootloader, or HBOOT for HTC. If you have a Nexus device, you don't typically need to mess with your SPL, as your device comes from the factory with a fairly capable bootloader.Just like ADB, fastboot is included in the Android SDK.
Step 1: Installing FastbootDownloading the entire Android SDK if you only need fastboot is overkill. Thankfully, it is possible to download and install the specific tools that we need in just a few easy steps, on all major operating systems.

Windows InstallationGetting fastboot to work on Windows can be a little challenging. Thankfully, XDA forums user Snoop05 created an installer that massively simplifies the process, by installing both Fastboot and ADB, installing the necessary device drivers, and adding these tools to your system PATH (allowing them to be run from any folder via the command line), into a 15-second operation.Simply download and run the installer. You will be asked if you want to install ADB and Fastboot—type "Y" and press enter. It will then ask if you want to install ADB system-wide—again, type "Y" and press enter. After that, it will ask about installing the device drivers. Once again, type "Y" and press enter, which will open another installer for the drivers. Simply click "Next" and allow the drivers to install. Once the installation is complete, select "Finish" and the installer will close and you are all done.
Mac OS X InstallationIn the same vein as the Windows installer used above, scripts have been written for OS X that massively simplify the Fastboot installation process. Please enable JavaScript to watch this video.
Follow the process in the above video and described here by Andrew to quickly install Fastboot and ADB on your Mac computer.

Linux InstallationBy far the easiest installation process of them all. On many distros, including Kali Linux and BackTrack, you will only need to issue a single command from the terminal:sudo apt-get install android-tools-fastboot android-tools-adb If for some reason that does not work, you may need to manually add a repository to APT (advanced packaging tool) with the following command. Once that is complete, issue the first command again and it should install this time.sudo add-apt-repository ppa:phablet-team/tools && sudo apt-get updateNote: If you are using a flavor of Linux that does not use APT, you will need to look up the installation procedure for your specific package manager, though it should be fairly similar.

Step 2: Setting Up Your Phone to Use FastbootNow it's time to boot your phone into "fastboot mode." On most models, you can enter fastboot mode by turning your device completely off and turning it back on by holding down the Power and Volume Down buttons simultaneously. With your device in fastboot mode, connect it to your computer using your device's USB cable, then open up the command/terminal prompt on your computer and type the following.fastboot devicesIf fastboot is working properly, you will see your device listed here by its serial number. If you do not see any devices listed, make sure that your device is actually in fastboot mode and that you are using a good USB cable (yes, this does make a difference).
Step 3: Basic Fastboot CommandsNow that we have fastboot up and running, let's see what we can do with it.
Unlock/Relock Your BootloaderOn Nexus devices, the following command is all that is required to unlock your bootloader and root your device.fastboot oem unlockHowever, on other devices, unlocking the bootloader alone will not be very helpful. You will need to use specific exploits to remove the radio secure flag completely. Be sure to do research on your specific device to know the exact unlocking/rooting procedure.To reverse the above process and relock your device's bootloader, simply use the following command.fastboot oem lockNOTE: Be aware that unlocking the bootloader will wipe your device, so back up all your user data before doing this.

Flash a Custom RecoveryThere are a number of custom recoveries that are available for most devices, the most popular of which are ClockworkMod and TWRP. Download a recovery for your device to your computer and make sure that it is an IMG file (it may need to be extracted, if it has a ZIP or other archive extension).Open the command prompt, navigate to the folder where the recovery image is saved and issue the following commands:fastboot erase recoveryfastboot flash recovery <recovery-file.img>

Flash a Custom ROMTypically, once a custom recovery installed, most will use it to install ROMs, kernels, etc. However, it is possible to to do all of that with the fastboot, which can be useful, especially if you find yourself in a situation where your recovery partition is corrupt.Download a compatible ROM to your computer. Open up the command prompt and navigate to the folder where you downloaded the file, then use the following:fastboot erase system -wfastboot erase boot These commands will wipe your device's system, data, cache, and boot partitions before your install your new ROM. While there are times when a "dirty" flash is okay, doing this will help you to avoid issues when installing a new ROM. Now, enter the following command:fastboot update <your-file.zip>The zip is now installed—if your device does not automatically reboot, you can do it manually by issuing this command:fastboot reboot
Flashing a RadioFlashing a new cellular radio to your device can be dangerous. That said, a new radio can improve cellular reception, data speeds, and battery life. It is impossible to know which radio will work best for you without trying it out and observing the effects, as they will react different based off geography and general signal strength in your location.Download a radio for your device to your computer and make sure that it is an IMG file (it may need to be extracted, if it has a ZIP or other archive extension).Open the command prompt, navigate to the folder where the radio image is saved and issue the following command:fastboot flash radio <radio-file.img>When that command executes successfully, reboot the bootloader:fastboot reboot-bootloaderOccasionally, device manufacturers will also release a "rcdata.img" file with a new radio. This file should also be flashed, via this command:fastboot flash rcdata rcdata.img

Flashing a KernelDownload a compatible kernel for your device to your computer. The kernel should be an IMG file. Open a command prompt, navigate to the folder where you saved the kernel and issue the following commands:fastboot erase bootfastboot flash boot <kernel-file.img>
Step 4: Advanced Fastboot CommandsNow that you've got the basics down, here are some fun advanced fastboot techniques that might come in handy.
Change Your Device's Splash ScreenFlashing a new splash screen (the image or GIF that displays as your device is booting up) is a surprisingly low-level task to perform on your Android device and, as such, requires full s-flag off status to work. If you don't know what this means, I would suggest just sticking with the default.Download or create a splash screen image file. Open your command prompt and navigate to the folder where it is saved , then issue this command:fastboot flash splash1 <splash-screen-file.img>When you reboot your phone, you should now see your new splash screen.

Boot Your Phone with a Kernel or Recovery Image Without Flashing ItEver feel like trying out a new kernel or a custom recovery, but you're not sure that you want to commit? Maybe you would like to test out several kernels back to back to evaluate their features and performance, or you need a specific recovery feature but know you will only need it once. Here is how to boot your device with a kernel or recovery without flashing it.For kernels, open a command prompt, navigate to the folder containing the kernel (which must be an IMG file) you want to boot and type:fastboot boot <kernel-file.img> For custom recovery images, open a command prompt, navigate to the folder containing the recovery (which must be an IMG file) you want to boot and type:fastboot boot <recovery-file.img>
Restore a Nandroid BackupWhile unfortunately you cannot make a nandroid backup with fastboot, you can use this versatile tool to restore one, quickly and cleanly.The nandroid backup must be stored on your computer (which is convenient anyway as it frees up space on your device) and it must be stored in the yaffs2 format (you can identify this format as a series of IMG files that correspond to the various backed up partitions, like data, system, and boot).First, perform a system wipe:fastboot erase system -wfastboot erase bootNext, flash each partition from your nandroid backup:fastboot flash userdata data.imgfastboot flash system system.imgfastboot flash boot boot.imgAs easy as that, your backup is restored and you can reboot your device.Now that you have a better grasp on what fastboot is and what exactly it can do, you can dive into your Android device's partitions and flash with confidence.That's about it for this introduction to fastboot. Is this something you'll be using the next time you hack your device? Or are you already familiar with fastboot and think we left something out? Let us know in the comments!



Check and Verify whether your Android Smartphone's Bootloader is Locked or Unlocked, check the status of android bootloader for lock and unlock status of bootloader.
How to Unlock Your Android Phone's Bootloader, the Official Way


If you want to root your Android device, install a custom ROM or many other advanced-level techniques then you need to learn how to install ADB and Fastboot on Windows. Here is a guide for getting
ADB and Fastboot Tools installation guide for Ubuntu


You can send commands while the phone is turned on and booted, or even when it's in recovery mode. While ADB is often used in conjunction with rooting or modifying your phone, you can use ADB to send terminal commands to unrooted devices as well. Fastboot: When you need to modify your phone's firmware, fastboot is the tool you need.
The Easiest Way to Install Android's ADB and Fastboot Tools


You need ADB and Fastboot if you are one of those people that like to mod/hack your Android phone. While many mods/hacks are now becoming more main-stream-user friendly with GUIs (i.e. they no longer require users to use ADB or Fastboot), there are still times when users need to use ADB and/or Fastboot.
How to install ADB and Fastboot | AndroidPIT


You can now use a tool like FFmpeg to extract the image, use gimp to make a new one, and follow this simple guide if your confused. Or ask here and I can help. Or ask here and I can help. You may have noticed none of the above used fastboot huh, and here this is a fastboot guide!
How to install ADB and Fastboot on Windows for use with

Know Your Android Tools: What Is Fastboot & How Do You Use It


Unlocking your Android phone's bootloader is the first step to rooting and flashing custom ROMs. And, contrary to popular belief, it's actually fully supported on many phones. Here's how to unlock your bootloader the official way.


If you've ever owned an HTC device or anything in the Nexus line, odds are, you have typed the word "fastboot" into your command line at one time or another. That said, odds are, you have only just barely scratched the surface of what this handy little Android tool can do. Let's take a deeper look
Know Your Android Tools: What Is ADB & How Do You Use It?


Anyone who has rooted their Android device has likely used a tool called Android Debug Bridge, better known as ADB, at some point during the process.For most, that is their only interaction with the ADB, but to be a true Android power user, you need to really know the tools at your disposal.
[Guide] How To Setup And Use Fastboot - Android Forum for


This is a simple way to download the Fastboot Tool on your Windows/Mac system and use it to advance the functionalities of your Android device. Part 4: Common Fastboot Commands. Once you have successfully installed Fastboot Tool, you can use the commands to bring about the changes in your Android device.
How to Check if your Bootloader is Locked or Unlocked


If you've ever tried to root your Android phone or flash a ROM, you may have heard about ADB and/or fastboot. These two tools are surprisingly powerful, but can be a bit overly complex to install.
Free Download and use Fastboot Tool 2019 - tenorshare.com

0 comments:

Post a Comment