After an over‑the‑air (OTA) update, many users discover their phone stuck on the Android logo, looping endlessly. The device appears to be dead, but the hardware is fine – the system partition simply failed to boot. This tutorial shows how to break the loop using the official Android debugging tools adb and fastboot, without rooting or installing third‑party firmware.
adb and fastboot).adb pull /sdcard/ if the device boots into recovery).During an OTA, the update package replaces system files, updates the boot image, and may modify the radio firmware. If any step fails – due to corrupted download, insufficient storage, or a power interruption – the boot image may become mismatched with the system partition. The bootloader then cannot hand off control, resulting in a perpetual “Android is starting” loop.
Because the problem is at the partition level, normal recovery options (factory reset, cache wipe) rarely help. Re‑flashing the original system image restores the expected partition layout and resolves the loop.
Power on the phone. If you see the Android logo for more than 30 seconds repeatedly without reaching the lock screen, you have a bootloop.
Power + Volume Down (hold both for ~3 seconds).Power + Volume Down then select Fastboot with volume keys.If the device still shows the Android logo, repeat the power‑off step and try again. Some phones require you to connect the USB cable before holding the key combo.
fastboot devices
If the command returns a serial number, the connection is good. If not:
android-sdk/platform-tools/usb_driver).sudo.Most stock images can be flashed to a locked bootloader, but some manufacturers require the bootloader to be unlocked for fastboot flash of certain partitions (e.g., boot, system). Unlocking will wipe the device.
fastboot flashing unlock
Warning: Unlocking the bootloader performs a factory reset. All personal data, apps, and encrypted storage will be lost.
pixel_6_pro, oneplus-9-pro). Using a mismatched image can brick the device..zip file and verify its checksum if provided.bootloader.img, radio.img, image‑*.zip, and a flash‑all.sh/flash‑all.bat script.Two approaches are possible. Use the provided script for a one‑click flash, or flash partitions manually for more control.
./flash-all.sh
On Windows, double‑click flash-all.bat or run it from cmd:
flash-all.bat
bootloader, radio, system, vendor, and other partitions. Do not disconnect the phone until the process finishes and the device reboots.boot or system partition.fastboot flash boot boot.img
fastboot flash system system.img
vendor.img, flash it as well:
fastboot flash vendor vendor.img
fastboot reboot
Manual flashing is useful when you only need to replace the boot partition (e.g., a corrupted boot image) while preserving user data.
flash‑all script, ensuring you used the exact image for your model.SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev").platform-tools directory is added to your system PATH, or run the commands from inside that folder.fastboot flashing unlock_critical command if the OEM separates critical partitions.boot and system to see if the problem persists.radio.img first, then the rest.Power + Volume Up). From recovery, select “Reboot system now”.bootloader → radio → boot → system → vendor → other. This mirrors the script’s order and avoids dependency issues.If after multiple attempts the phone still refuses to boot, the problem may be deeper than a software mismatch – for example, a corrupted eMMC chip or a failed hardware component. In such cases, contact the manufacturer’s support or a certified repair shop.
By following this guide, you should be able to rescue most Android devices that have fallen into a bootloop after an OTA update, using only free, official tools and images. The same workflow applies to Pixel, OnePlus, Xiaomi, and many other fastboot‑capable phones, making it a versatile addition to any Android troubleshooting toolbox.









