When an Android device gets stuck in a boot loop, shows only the Fastboot screen, or refuses to start after a bad OTA, the term “bricked” is often used. In most cases the hardware is fine; the software simply needs to be re‑flashed. This tutorial shows you how to bring a non‑functional phone back to life using the official Fastboot interface and ADB tools, without requiring root or custom recoveries.
These steps will erase all user data on the device. If you have any chance to back up files (e.g., via adb pull or a custom recovery), do it now. Ensure the phone’s battery is at least 60 % or keep it plugged into a charger throughout the process.
If any of these items are missing, the procedure will stop at the first roadblock.
Fastboot is a low‑level protocol that runs when the bootloader is unlocked and the device is in “Fastboot mode”. It lets you write raw images to individual partitions (boot, system, vendor, etc.). ADB (Android Debug Bridge) works when Android is running, but it is also useful for pulling logs before the device becomes unresponsive.
Because Fastboot works before the OS boots, it does not need root access. However, most manufacturers lock the bootloader to protect the device; unlocking it will wipe the device and may void warranty. This guide explains both unlocked and locked‑bootloader scenarios.
platform-tools zip from the Android developer site.C:\adb or ~/adb.Path to include the folder.adb version and fastboot version to confirm they are recognized.If the commands are not found, double‑check the PATH entry or run the executables directly from the extracted folder.
When the device still boots enough to show the Android UI, enable USB debugging to pull logs or backup data before flashing.
If the phone never reaches the OS, skip this step and move straight to Fastboot mode.
The key combination varies by manufacturer. Below are the most common methods:
Power + Volume Down until the Fastboot screen appears.Power + Volume Up + Bixby (or Volume Up only on newer models) and select “Download mode”. Fastboot is not available on most Samsung devices; they use Odin instead (covered in the “Alternative” section).Power + Volume Up.Connect the phone to the PC via USB while it is in Fastboot mode.
fastboot devices.If fastboot devices returns nothing, try a different USB cable, a different USB port, or install the OEM USB driver (Windows only). On macOS/Linux, you may need to add a udev rule for Android devices.
Many manufacturers ship devices with a locked bootloader. Unlocking is a one‑time operation that wipes the device.
fastboot flashing get_unlock_ability. If the response is 0, the bootloader cannot be unlocked (common on carrier‑locked phones).1, unlock with fastboot flashing unlock. You will see a confirmation screen on the phone – use the volume keys to select “Yes” and power button to confirm.Some OEMs (e.g., Xiaomi, Huawei) require an unlock code obtained from their developer portal. Follow the OEM’s official instructions if you encounter that situation.
Flashing the wrong image can brick the device permanently. Always use the exact model number (e.g., Pixel 5 (redfin)) and the latest stable build from the manufacturer’s site.
Download the zip file and extract it. Inside you will find a script (e.g., flash-all.sh) and a set of .img files (boot, system, vendor, etc.).
There are two ways: use the provided script (simpler) or flash each partition manually (more control). The script works on macOS/Linux; Windows users can run the batch file flash-all.bat after enabling execution permissions.
cd ~/Downloads/Pixel5../flash-all.sh
(Linux/macOS) or double‑click flash-all.bat (Windows).
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img
# Add other partitions as needed, e.g., radio, userdata (optional)
fastboot flashing lock
fastboot reboot
The device should now boot into the fresh Android system. The first boot may take a few minutes as it optimizes apps.
Samsung phones do not expose Fastboot; they use a proprietary tool called Odin. If you have a Samsung device stuck in a boot loop, follow these steps:
.tar.md5 firmware from SamMobile or the official Samsung site.Because this guide focuses on Fastboot, the Samsung section is brief. Users should consult Samsung‑specific tutorials for deeper troubleshooting.
sudo nano /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
# Replace 18d1 with your vendor ID (run lsusb to find it)
sudo udevadm control --reload-rules && sudo service udev restart
fastboot oem unlock [code].system.img will be rejected.fastboot flash --slot=all syntax for A/B partitions. Adjust the command accordingly.
fastboot flash boot boot.img --slot=all
--skip-reboot flag and reboot manually after all partitions are written.vendor partition.Once the phone boots, perform these quick checks:
adb devices from your PC; the device should appear as device, not offline.adb shell getprop ro.bootloader to confirm the bootloader state (locked/unlocked) as you intended.If any component fails, revisit the troubleshooting section or consider flashing a different firmware version (e.g., an older stable build).
If the device refuses to enter Fastboot mode, shows hardware‑level errors (e.g., “No bootable device”), or the bootloader is permanently locked by the carrier, the software route may no longer be viable. In such cases, contacting the manufacturer’s support or a certified repair shop is advisable.
With the steps above, most software‑related bricks can be resolved without expensive repairs. The key is preparation: the right drivers, the exact factory image, and patience during flashing. Good luck, and enjoy your revived Android phone!









