Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Fastboot is the host-side tool for sending firmware images to an Android device in bootloader mode; it is not the same as adb, which communicates with Android while the operating system is running. To flash safely, you need instructions and an image for your exact device and build, the correct fastboot mode, and—if the procedure requires it—a bootloader the manufacturer allows you to unlock. An unlock erases user data. For a Pixel that needs its matching factory firmware, a full OTA or Android Flash Tool may avoid a manual fastboot flash, depending on device support and the recovery goal.

What does fastboot flashing do?

Fastboot is a command-line tool in Android SDK Platform-Tools. It communicates with a device’s bootloader so that supported software images can be installed or other bootloader-level operations performed. The bootloader is a separate environment from Android: a device can be unable to start Android and still, in some cases, respond to fastboot commands.

Flashing can be part of restoring a device’s stock firmware, installing a compatible development build, or installing a generic system image (GSI) where the device supports that route. It is not a universal repair command. An image, partition name, unlock policy, or command that is correct for one model may be wrong for another.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fastboot is distinct from adb. A typical workflow uses adb to ask a running, authorized Android device to reboot into the bootloader, then uses fastboot to communicate with it there. Fastbootd is a third case: a userspace fastboot mode used for operations involving some logical, dynamic partitions. Confirm which mode a device-specific procedure requires before writing anything.

Popular on Amazon
Yojaro 4Pack Silicone Suction Phone Case Mount, Silicon Adhesive Smartphones Stand Sticky, Hands-Free Phone Accessories Holder for Selfies and Videos (Black & White & Translucent & Light Pink)
  • 【Strong Adsorption】The inspiration of the silicone phone suction case comes from the adhesive force of the octopus. Each suction cup phone mount is 3.15 inches long and 2.17 inches wide, with 24 independent suction cups providing a stronger and more stable suction force, so you don't have to worry about your phone falling during use.
  • 【Back of Phone Suction Grip】Remove the adhesive film on the phone suction cup and stick it on the phone case. You can then fix the phone on any smooth surface, which is very convenient. (The phone suction cup cannot be removed and reused after being attached to the phone case. It is recommended to attach it to a regular phone case, not a valuable one.)
  • 【Widely Used】Our non-slip silicone phone sticky grip mount attaches to almost any flat phone case and make it compatible with common mobile phones such as iPhone and Android.You can shoot, watch videos or video calls in the kitchen, gym, dance studio, bathroom and other places.
  • 【Capture the Wonderful Picture】Whether you are a TikTok creator or just like to share videos and photos, this phone suction cup can help you hands-free capture wonderful videos and photos for sharing with friends.
  • 【Note】You can fix the phone suction cup on a smooth surface such as a mirror or glass. If necessary, wipe the suction cup with a damp cloth to obtain stronger suction. Before releasing your hand, make sure the phone is firmly fixed. (Not applicable to rough walls, wooden surfaces, and other uneven surfaces)

Which flashing route should I use?

Choose a route based on the device, the goal, and whether Android still starts. Do not treat these options as interchangeable: their availability and data impact differ.

Restoring a Pixel to its corresponding factory firmware

For a supported Pixel, consider the matching full OTA package before manually flashing a factory image. Google’s Factory Images for Nexus and Pixel Devices page says full OTA sideloading is typically easier and safer; Google also says a matching full OTA has the effect of the corresponding factory image without requiring a bootloader unlock or data wipe. Confirm that the package corresponds to the exact device and intended build. This Pixel-specific option should not be generalized to other Android phones.

Using a Pixel factory image

A factory image is an option when its model-specific instructions fit the goal and device state. The prescribed process may require an unlocked bootloader and can erase user data. Google’s factory-image instructions include device- and build-specific guidance, including anti-rollback and slot warnings for certain releases. Check the current notice for the exact model and build transition; do not assume a generic downgrade or inactive-slot recipe is safe.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Using Android Flash Tool

Android Flash Tool is Google’s browser-based option for listed supported devices and prebuilt builds. Its supported-device list and instructions determine whether it fits a particular phone and goal. Google also documents a fastboot-entry route for cases where a device cannot boot normally. A browser-based workflow is still a device-specific flashing procedure, not a guarantee that every Android phone is supported.

Flashing an AOSP build or GSI

Use the instructions for the exact device and build. Android Open Source Project (AOSP) documentation describes a whole-system fastboot workflow, but manufacturers’ explicit instructions govern GSI flashing because there is no universal procedure. Partition layout, dynamic-partition support, slot behavior, and space constraints can all affect the steps.

Also popular on Amazon
Apple EarPods Headphones with USB-C Plug, Wired Ear Buds with Built-in Remote to Control Music, Phone Calls, and Volume
  • SUPERIOR COMFORT — Unlike traditional circular ear buds, the design of EarPods is defined by the geometry of the ear. Which makes them more comfortable for more people than any other ear bud–style headphones.
  • HIGH-QUALITY AUDIO — The speakers inside EarPods have been engineered to maximize sound output and minimize sound loss, which means you get high-quality audio.
  • BUILT-IN REMOTE — EarPods with USB-C plug also include a built-in remote that lets you adjust the volume, control the playback of music and video, and answer or end calls with a pinch of the cord.
  • COMPATIBILITY — Works with all devices that have a USB-C port.
  • INTEGRATED MICROPHONE — A built-in microphone precisely captures your voice while you’re on the phone, taking a FaceTime call, or summoning Siri — so you’re always heard loud and clear.

What should I check before flashing?

Before a write command, establish the device identity, goal, image source, and data consequences. If any of these are uncertain, pause rather than trying a nearby model’s package or a command copied from another device.

  • Exact model and variant: Read the device-specific manufacturer instructions and match the image to the hardware. A family name alone may not be enough to distinguish models or variants.
  • Intended outcome: Decide whether you need stock restoration, a development build, or a GSI. The appropriate package and procedure depend on that goal.
  • Build and rollback guidance: Check the exact image and the manufacturer’s current notices before changing builds. Some Pixel factory-image transitions have anti-rollback or slot-specific cautions.
  • Bootloader eligibility: Find out whether that device can be unlocked and whether the procedure requires it. If OEM unlocking is unavailable, consult the manufacturer’s and, where applicable, carrier’s eligibility rules; do not assume there is a software workaround.
  • Data consequences: Back up first. Unlocking erases user data, including private app data and shared storage such as photos and videos. Some flashing procedures also wipe data.
  • Correct operating mode: Determine whether the instructions call for bootloader fastboot or fastbootd before writing partitions.
  • Supported tools and image: Use Android SDK Platform-Tools and the official image and procedure for the exact model. Avoid substituting a package because its name looks similar.

How do I back up before unlocking?

Make and verify a separate copy of any files you need before unlocking. Google warns that unlocking erases private app data as well as shared storage, including photos and videos; copying a few files does not constitute a complete app backup.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If Android still runs, the device is authorized for adb, and the files are accessible, adb can copy selected paths to the computer. For example, the general command form is:

adb pull <remote> <local>

Replace the remote and local paths with real paths appropriate to the device and computer. This copies only the specified accessible files or directories; it does not promise to capture protected app data, settings, or everything needed to restore the phone. Check that important copied files open from the destination before proceeding. An external drive can hold another copy after the files reach the computer, but it cannot recover data erased by an unlock.

How do I prepare Platform-Tools and check the connection?

Download Android SDK Platform-Tools for the computer’s operating system from Android Developers. The Platform-Tools page listed revision 37.0.1 in July 2026; that is a dated release identifier, not an evergreen claim that it remains the newest revision. Run commands from the directory containing the tools, or use the appropriate path for your shell.

Also popular on Amazon
PopSockets Adhesive Phone Grip, Holder- Black | Anti-Drop, Kickstand, Secure Comfortable Hold, Black, Create a Mobile Phone Outfit
  • Secure Hold: Our PopSockets adhesive phone grip gives your cell phone a secure, comfortable hold in hand to help prevent drops while texting, taking photos, or scrolling on the go. Designed to stick firmly to most phone cases and devices.
  • Hands-Free Made Easy: Easily turn your PopSocket into a phone stand to prop up your phone anywhere, perfect for watching videos, video calls, or following recipes. A must-have phone holder that keeps your device secure and ready for anything.
  • Compatibility: Works with all phones, tablets, and Kindles. Sticks best to smooth, hard plastic cases and may not adhere to silicone or textured cases. Easily swap your PopTop to change up your style.
  • Black PopSockets: Simple, refined, and endlessly versatile. A timeless essential for any phone.
  • Travel Must-Have for People On the Go: A must-have travel accessory for flights, flying, airports, air travel, airplanes, planes, international trips, cruises, and long travel days. Key gadget for your airport haul, travel accessories and must-haves.
  1. Check the installed tools. Run adb --version and fastboot --version. Confirm that the commands return version information rather than a shell error that the command cannot be found.
  2. Prepare Android if it boots. Enable USB debugging in Android settings, connect the device, and authorize the computer when the device prompts for permission. Run adb devices while Android is running. The device must be authorized for adb commands to work.
  3. Enter bootloader mode. If adb is connected, run adb reboot bootloader. Otherwise, use the documented hardware-key procedure for that exact device.
  4. Check fastboot detection. In bootloader fastboot, run fastboot devices. Confirm that the expected device is listed before trying a write operation.
  5. Use the official procedure. Read the image package’s instructions all the way through before executing its commands. Packages do not all use the same files or command sequence.

If Android does not start, you may be able to reach bootloader mode using the device’s documented key combination. That does not establish that the bootloader is unlockable, that the host can see it, or that a particular image is safe to install.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do I unlock a bootloader when the device supports it?

Only unlock when the exact device’s official procedure requires it and the data-loss consequences are acceptable. For applicable newer Pixel and Nexus devices, Google documents fastboot flashing unlock; that command is not a universal instruction for Android phones.

  1. Back up needed data and confirm that the backup is usable. Unlocking erases the device.
  2. Follow the device’s instructions to enable OEM unlocking where required, then enter bootloader mode.
  3. Issue only the unlock command documented for that device. On applicable newer Pixel and Nexus models, Google’s documented command is fastboot flashing unlock.
  4. Read the on-device warning and confirm physically if prompted. The device’s own confirmation step is part of the process.
  5. After the wipe and reboot, continue only with the exact image and flashing directions for that model.

If OEM unlocking is missing or unavailable, check the model’s and carrier’s eligibility requirements. Do not try unrelated commands to bypass an eligibility restriction. Google documents exceptions for older devices, but those exceptions are not a general procedure for other phones.

How do I flash an image without using a risky generic command?

Follow the instructions supplied for the exact image and model. A command that writes the wrong partition or uses a mismatched image can make a device fail to boot, and this article cannot supply a universal partition-by-partition recipe.

AOSP documents fastboot flashall -w as part of its whole-system workflow. In that documented context, the -w option wipes the device’s /data partition. That example is not a direction to run the command against an arbitrary downloaded archive, nor is it a universal recipe for phones from different manufacturers. Confirm the package’s own instructions and intended data behavior before proceeding.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Also popular on Amazon
Sale
360° Rotating Stainless Steel Phone Tether Tab (Silvery 3-Pack) - Universal for iPhone & Other Phones (Fits Wristbands/Necklaces/Crossbody Straps)
  • [360 ° Flexible Rotation Design] Comes with a rotatable lanyard ring that supports 360 ° free rotation, effectively solving the problem of twisted and tangled lanyards
  • [Wide compatibility] The ultra-thin 0.02-inch design does not block the charging port at all, and both wired and wireless charging can be used directly without removing the pad. Compatible with most smartphones such as iPhone, compatible with various wristbands, lanyards, crossbody straps, and keychains
  • [Durable and Portable Material] Premium rust-resistant stainless steel material with good flexibility, which not only avoids scratching the phone case, but also has excellent anti rust and anti fading performance
  • [Multi scenario Practical] Paired with a lanyard or wristband, hands-free use can be achieved. The phone is within reach and not easily dropped, ideal for daily commuting and outdoor activities. Suitable for full coverage phone cases, does not support half coverage phone cases
  • [Quality Service] If you find any damage or other issues with the product upon receipt, please contact us immediately. We will handle it quickly

Similarly, commands of the form fastboot flash <partition> <image> are safe only when the partition name, image, device, and mode have been verified against the exact procedure. Do not infer a partition map from another model or turn an example command into a write operation without checking those details.

When do I need fastbootd instead of bootloader fastboot?

Some devices use dynamic, logical partitions that must be handled in userspace fastbootd rather than written directly from bootloader fastboot. AOSP says the bootloader should reject direct writes to dynamic partitions and identifies fastbootd as the userspace implementation.

For a supported device and procedure, fastboot reboot fastboot enters fastbootd. The AOSP command fastboot getvar is-userspace can help distinguish the modes: it reports yes in fastbootd and no in bootloader fastboot. Use these checks as the applicable procedure directs; they do not tell you which image or partition is correct.

If a logical-partition operation fails in bootloader fastboot, first check the device instructions and whether fastbootd is required. AOSP discourages routine developer use of force mode to bypass the normal dynamic-partition route. Do not use a force option as a generic fix. Likewise, AOSP’s example for reclaiming space when a GSI does not fit applies to its specified GSI and slot situation—not to every device. Do not delete a partition based on that example alone.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How do I verify the result and relock safely?

After the prescribed flashing process, let the device complete its restart and confirm that it reaches the intended software. If the device fails to start or reports an error, stop and consult the exact model’s recovery instructions rather than repeating writes with a different image or guessed partition name.

Also popular on Amazon
Anteel Double Sided - 2 Pack Silicone Suction Phone Case Mount,2.55"x3.94" | Hands-Free Non Slip Phone Grip, More Suction Cups, Stronger Suction Power, Selfies and Videos, Light Pink&White
  • 【PKYAA Double Sided Silicone Suction Phone Case Mount】PKYAA With Double Sided 40 Strong and Reliable individual suction cups, PKYAA provides a thicken and upgraded universal silicon suction mount for your phone.
  • 【Friendly to Content Creators】If you are a content creator or an online influencer, you can create videos anywhere with this suction mount completely hands free with this silicone cell phone mount for cases.
  • 【HANDS-FREE & Adhere to Mirrors】This Double Sided silicone suction phone case mount allows you to stick your phone to the mirror easily. No longer holding your phone in one hand to watch video tutorials while making up.
  • 【Strong Grip on the Smooth Surface】You can easily hang your phone anywhere with a smooth surface. All you do is you clean off your phone and smooth surface. It is STURDY and it not only sticks to mirrors, it also sticks to windows, it sticks to refrigerators, tiles and other clean, flat surfaces.
  • 【Press Down Firmly Every 30 Minutes】Use your palm or fingers to press the phone down firmly and check it's secure before letting go. Apply even pressure for a few seconds to allow the suction cup to adhere properly. To maintain the grip and prevent accidental falls, it's a good practice to periodically reapply pressure to the suction cup.

Relocking is a security-sensitive step, not a routine cleanup command. A locked device verifies software against a root of trust, and changing lock state wipes data. First establish that the installed image meets that device’s trusted-boot requirements and follow its exact relocking instructions. Google documents fastboot flashing lock for applicable newer devices; its applicability does not extend to every Android phone or arbitrary custom build.

Why isn’t fastboot detecting my phone?

First confirm that the phone is actually in the mode being checked. adb devices checks for adb communication while Android is running; fastboot devices checks for fastboot communication after entering a fastboot mode. A result in one mode does not guarantee detection in the other.

  • Android is running but adb finds nothing: Check that USB debugging is enabled and respond to the device’s computer-authorization prompt. Google’s adb documentation describes this authorization requirement.
  • Fastboot finds nothing after a reboot: Check whether the device entered bootloader fastboot, fastbootd, or returned to Android. Follow the mode required by the model’s instructions.
  • The connection is intermittent: Try another existing compatible cable and a direct computer port. Google advises avoiding hubs, adapters, and extensions where possible. A cable should support data, not merely charging.
  • Windows does not detect the device: An applicable device USB driver may be required. Follow the relevant manufacturer or Android setup guidance for that device.
  • On macOS: The cited Android setup guidance does not call for additional device-detection configuration. If detection still fails, verify mode, cable, port, and the device-specific instructions.
  • The unlock option is unavailable: USB troubleshooting will not change a manufacturer’s or carrier’s bootloader eligibility policy.

A cable or computer utility cannot make mismatched firmware compatible or remove an anti-rollback restriction. Do not keep issuing write commands while the device or its mode is uncertain.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What are the most common fastboot-flashing mistakes?

  • Skipping the backup: Unlocking erases data, and some flashing commands wipe /data. Back up what is accessible before either operation.
  • Using a package for a similar model: A close model name is not proof of image compatibility. Match the package to the exact device.
  • Assuming every phone accepts the same commands: Unlock policy, partition layout, image format, and mode vary. Use the manufacturer’s explicit directions.
  • Confusing adb with fastboot: They communicate with different device environments. Check the expected tool and mode before diagnosing a connection.
  • Writing a dynamic partition from the wrong mode: Check whether the procedure calls for fastbootd rather than bootloader fastboot.
  • Treating an example as a complete procedure: AOSP’s flashall -w and GSI examples have defined contexts. They are not universal commands for arbitrary packages.
  • Relocking before verifying compatibility: A locked device verifies its software against a root of trust. Confirm the installed image and device-specific relocking requirements first.

Frequently Asked Questions

Can fastboot recover files after an unlock wipes my phone?

Do not count on it. The documented unlock process erases user data, and the available guidance does not establish a way to recover those erased files through fastboot; preserve accessible files before unlocking.

Can I use a fastboot image from a different Android model if the phones are similar?

No compatibility should be inferred from similar branding or hardware. The supported image and partition procedure must match the exact device; the evidence here does not establish cross-model image compatibility.

Will installing a factory image remove Android malware?

A compatible factory image can restore the corresponding factory firmware, but that alone is not a guarantee that every security or account issue has been resolved. Use the manufacturer’s instructions for the exact device and address compromised accounts separately.

Does a phone need to boot into Android for every fastboot operation?

Not necessarily: fastboot communicates with the bootloader environment, which is separate from the running Android system. Whether a particular operation is possible depends on the device state, unlock policy, mode, and its official procedure.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply. Prices as of December 6, 2026 9:52 am GMT.