Fix Soft Bricked HTC One: Flash New ROM via ADB
In this article
If your HTC One is stuck on the boot logo, bootlooping, or stuck in recovery, it's likely soft-bricked. This guide will walk you through flashing a new ROM using ADB (Android Debug Bridge) to get your phone back to a working state. This process will wipe your data, so back up anything important if you can. You'll need a computer, a USB cable, and your HTC One.
What You'll Need
- HTC One (any variant, but steps are for the unlocked/developer model; carrier models may have locked bootloaders)
- Windows, Mac, or Linux computer
- USB data cable (not just a charging cable)
- ADB and Fastboot tools installed on your computer (download from the official Android developer site or your platform's package manager)
- A compatible ROM ZIP file for your exact HTC One model (e.g., for the M7, M8, etc.) – download from a trusted source like XDA Developers or the manufacturer's official site
- HTC USB drivers installed on your computer (for Windows)
- Unlocked bootloader (if you haven't unlocked it, you'll need to do that first via HTC's official unlock process)
Step-by-Step
- Install ADB and Fastboot: Download the platform-tools from the Android developer site and extract them to a folder on your computer (e.g., C:\adb). On Windows, add that folder to your PATH or open a command prompt there. On Mac/Linux, you can use the terminal.
- Install HTC USB drivers: If on Windows, download and install the official HTC USB driver from HTC's support page. This ensures your computer recognizes the phone in fastboot mode.
- Download a compatible ROM: Find a stock or custom ROM that matches your HTC One model exactly (e.g., for the HTC One M7, the model number is often PN071). Place the ROM ZIP file in the same folder as ADB.
- Boot your phone into fastboot mode: Turn off the phone. Press and hold the Volume Down button, then press and hold the Power button for a few seconds. You should see a screen with a bootloader menu. Use the volume keys to highlight "FASTBOOT" and press Power to select it.
- Connect the phone to your computer: Plug in the USB cable. Your computer should recognize the device. To verify, open a command prompt/terminal in the ADB folder and type:
fastboot devices. You should see your device serial number listed. - Unlock the bootloader (if not already): If your bootloader is locked, you'll see "LOCKED" at the top of the fastboot screen. To unlock it, you must go through HTC's official unlock process (htcdev.com). This will wipe your data and void your warranty. If it's already unlocked, skip this step.
- Flash a custom recovery (optional but recommended): If you don't have TWRP or another custom recovery installed, you can flash one now. Download the correct recovery image for your model (e.g., TWRP for HTC One M7). Then, in the command prompt, type:
fastboot flash recovery recovery.img(replace with the actual filename). - Boot into recovery: From the fastboot menu, use volume keys to select "RECOVERY" and press Power. If you flashed TWRP, you'll see the TWRP interface.
- Wipe data and cache: In TWRP, tap "Wipe" and then "Advanced Wipe". Select Dalvik/ART Cache, System, Data, and Cache. Swipe to wipe. This clears the old system and data, preparing for a fresh ROM. (This step is essential to avoid bootloops.)
- Transfer the ROM to your phone: In TWRP, go to "Mount" and check "MTP" (or use "ADB Sideload" if MTP isn't working). Then, on your computer, copy the ROM ZIP file to the phone's internal storage. Alternatively, you can use ADB sideload: In TWRP, tap "Advanced" > "ADB Sideload", then on your computer type:
adb sideload rom.zip(replace with your filename). - Flash the ROM: Once the ROM is on the phone, go back to TWRP's main menu and tap "Install". Navigate to the ROM ZIP file and select it. Swipe to confirm the flash. Wait for the process to finish (it may take a few minutes).
- Reboot the phone: After flashing, tap "Reboot System". The first boot may take several minutes. If it boots to the setup screen, you've successfully fixed your soft brick.
Common Mistakes
- Using the wrong ROM: Flashing a ROM meant for a different HTC One variant (e.g., using an M8 ROM on an M7) will cause a brick or bootloop. Always match the model number exactly.
- Skipping the wipe: Flashing a new ROM over the old one without wiping data and system often leads to bootloops. Always perform a full wipe before flashing.
- Not unlocking the bootloader: If the bootloader is locked, fastboot commands like flashing recovery will fail with an error. Unlock it first.
- Using a faulty USB cable: A cable that only charges but doesn't transfer data will cause fastboot to not detect the device. Use a known good data cable.
- Interrupting the flash: Unplugging the phone during a flash can permanently damage the software. Let the process complete without touching the cable.
Tips
- Always back up your current ROM and data before attempting any flash, if possible, using TWRP's backup feature.
- Keep your phone charged above 50% before starting, as a power loss during flashing can cause a hard brick.
- Use a reliable computer and a short USB cable to minimize connection issues.
- If you're new to this, read the XDA forum thread for your specific HTC One model—they often have model-specific instructions and troubleshooting.
- After flashing, if the phone boots but has issues, you may need to flash a matching firmware package (radio, bootloader) separately. Check the ROM's instructions.
Troubleshooting
- Fastboot doesn't detect the device: Try a different USB port (preferably a rear port on a desktop). Reinstall the HTC USB drivers. On Windows, check Device Manager for any unrecognized devices and update drivers manually. Try a different cable.
- Flash fails with "FAILED (remote: not allowed)": This usually means the bootloader is locked. Unlock it via HTC's official method first.
- Phone boots to recovery instead of system: After flashing, you may have accidentally booted to recovery. Select "Reboot" > "System" from the recovery menu. If it keeps going to recovery, you may have flashed a recovery that is not compatible, or the system partition is empty—flash the ROM again.
- Bootloop after flashing: This often means the ROM is incompatible or the wipe wasn't complete. Go back to recovery, perform a full wipe (including System), and re-flash the ROM. If it still bootloops, try a different ROM.
- ADB sideload not working: Ensure you have the latest ADB version. In TWRP, go to "Mount" and enable MTP, then copy the file manually. Or, try using a different USB port.
- Phone stuck on HTC logo after flash: Wait a few minutes—first boot can be slow. If it stays for more than 10 minutes, force reboot by holding Power + Volume Down for 10 seconds, then boot to recovery and re-flash.
Frequently Asked Questions
Will this erase my data?
Yes, flashing a new ROM via this method wipes all data on your phone, including apps, photos, and settings. Back up anything important before starting.
Do I need an unlocked bootloader?
Yes, to flash a custom recovery and ROM, your bootloader must be unlocked. HTC's official unlock process is required for most models.
What if my HTC One is a carrier model (e.g., Verizon, AT&T)?
Carrier models often have locked bootloaders and may not be officially unlockable. Check HTC's developer site for your specific model. If it's not supported, you may not be able to flash a custom ROM.
Can I use this method to restore to stock Android?
Yes, you can flash a stock ROM (the original firmware) using the same steps. Just download the stock RUU or a stock ROM ZIP for your model.
What is the difference between ADB and Fastboot?
ADB is used when the phone is booted into Android or recovery, allowing file transfer and shell commands. Fastboot is used when the phone is in bootloader mode, allowing you to flash partitions like recovery and boot.
What if I get a "signature verification failed" error when flashing?
This usually means the ROM is not compatible with your device or the bootloader is locked. Ensure you have the correct ROM and that your bootloader is unlocked.