![]() |
| Flash Android firmware safely by using the correct ROM, charging your battery, and following the proper flashing method for your device model. |
How to Flash an Android Phone: The Complete Guide
Flashing an Android phone means installing new firmware or a ROM onto the device — whether that's reinstalling the official stock software to fix a software issue, updating to a newer Android version manually, or installing a custom ROM. It sounds intimidating, and it genuinely carries real risk if done carelessly, but the process itself is well-documented and achievable with either a computer or, in many cases now, just your phone. Here's everything you need to know.
A quick note on legitimate use: This guide covers flashing firmware on a device you own. If you're trying to regain access to a phone that isn't yours, or bypass a screen lock on a device you don't have legal ownership of, that's a different (and often illegal) activity — this guide won't help with that, and no legitimate flashing tool is designed for it.
Flashing an Android Phone
- - What it does: Installs new firmware/ROM, overwriting the phone's current software
- - Common reasons to flash: Fix software bugs, remove malware, unbrick a device, install a custom ROM, or manually update Android
- - Data impact: Flashing typically erases apps, messages, media, and settings — backup first
- - Minimum battery recommended: At least 50–70% before starting, to avoid a shutdown mid-process
- - Can it be done without a PC? Yes, for many devices — using Developer Options, a custom recovery, and files transferred directly to the phone
- - Popular PC-based tools: Odin (Samsung), SP Flash Tool (MediaTek chipsets), Mi Flash (Xiaomi)
- - Risk of a botched flash: A "bricked" phone — one that won't boot or power on at all
- - Warranty impact: Flashing, particularly with custom ROMs or an unlocked bootloader, typically voids your manufacturer warranty
What Does "Locked" Mean in This Context?
If you've searched "how to flash a locked Android phone," it's worth clarifying what "locked" usually refers to here: the bootloader — a security layer that, by default, prevents unauthorized firmware from being installed on the device. This is different from a screen lock (PIN, pattern, or password).
To flash most custom firmware, you typically need to unlock the bootloader first, which is a standard, manufacturer-supported step (though it does usually void your warranty and wipes the device). Some manufacturers require an official unlock code requested through their developer portal (Xiaomi and OnePlus both use this system); others allow unlocking directly through Developer Options and a fastboot command.
Before You Start: Essential Preparation
Skipping preparation is the single biggest cause of flashing going wrong. Work through this checklist first.
1. Back Up Your Data
Flashing erases apps, messages, media, and settings in nearly every case. Use Google's built-in backup, or a dedicated backup app, to secure your photos, contacts, and important files before doing anything else.
2. Charge Your Battery
Aim for at least 50–70% battery before starting. A phone that shuts down mid-flash due to low battery is one of the more common causes of a bricked device.
3. Confirm Your Exact Device Model and Firmware Match
This is critical: flashing the wrong firmware for your specific phone model and variant can permanently brick the device. Double- and triple-check your model number (usually found in Settings → About Phone) against the firmware file you're about to install.
4. Download Firmware Only From Trusted Sources
Use official manufacturer sites where available, or well-established, reputable community sources like XDA Developers. Avoid unfamiliar third-party download sites — a corrupted or malicious firmware file can damage your device or compromise your data.
5. Unlock Your Bootloader (If Required)
Some flashing methods, particularly custom ROM installation, require an unlocked bootloader. This process varies by manufacturer, generally involves Developer Options and a fastboot command, and will typically wipe your device and void your warranty — factor this into your preparation, not as an afterthought partway through.
How to Flash an Android Phone Without a Computer
A growing number of flashing methods no longer require a PC at all, relying instead on Developer Options, a custom recovery, and files transferred directly onto the device.
Step 1: Enable Developer Options
1. Go to Settings → About Phone
2. Find Build Number and tap it 7 times until you see "You are now a developer!"
3. Return to Settings — you'll now see Developer Options in the menu
Step 2: Enable OEM Unlocking and USB Debugging
1. Open Developer Options
2. Toggle on OEM Unlocking (allows bootloader unlocking)
3. Toggle on USB Debugging (lets your phone communicate with flashing tools, even ones running from another device)
Step 3: Get Your Flashing Files Ready
1. Download a custom recovery (such as TWRP) suited to your specific device, along with the ROM or firmware file you intend to install
2. Verify these files are built specifically for your device model — this is not a step to guess on
3. Transfer the files to your phone's internal storage or SD card via Wi-Fi transfer, a file-sharing app, or a cloud download directly on the device
Step 4: Boot Into Recovery Mode
1. Power off your phone completely
2. Hold the correct button combination for your device to enter recovery mode — this varies by manufacturer: many Tecno, Infinix, and Samsung devices use Volume Up/Down + Power (sometimes with Home), though the exact combination differs by model, so confirm yours before attempting this
Step 5: Flash the Firmware
1. From the custom recovery menu, select the option to install/flash from the ROM or firmware file you transferred
2. Confirm and let the process run without interrupting it — this can take several minutes
3. Once complete, reboot the phone
How to Flash an Android Phone With a Computer
For devices or situations where a PC-based tool is more reliable — particularly MediaTek-chipset phones — this remains the more established method.
1. Download the correct flashing tool for your device's chipset: Odin for Samsung, SP Flash Tool for MediaTek devices, Mi Flash for Xiaomi
2. Install the required USB drivers for your device and chipset (these are typically available from the manufacturer or the flashing tool's official source)
3. Download the firmware/scatter file matching your exact device model
4. Open the flashing tool and load the firmware/scatter file into it
5. Connect your phone to the PC via USB cable
6. The tool should automatically detect your device — once it does, start the flashing process and wait for the completion message (often labelled "OK" or "Download OK")
7. Disconnect and reboot your phone once flashing finishes
What If Your Phone Won't Turn On (Hard Bricked)?
If your phone is completely unresponsive — won't power on at all, even into recovery or download mode — this is what's known as a hard brick, and it's a more serious situation than a standard failed flash.
- - You'll likely need a computer-based tool specifically (SP Flash Tool, Odin, or Mi Flash, depending on chipset), since phone-only flashing methods require a device that can at least boot into a basic mode
- - If tool-based recovery doesn't work, a professional repair technician may be able to recover the device using specialized hardware-level flashing equipment
- - Always verify your firmware source before attempting recovery — a hard brick is sometimes caused by a corrupted or fake ROM in the first place, and using another unverified source risks compounding the problem
Risks Worth Understanding Before You Flash
- - Compatibility issues. The wrong ROM version can leave your phone with reduced or broken functionality.
- - Software malfunctions. Some apps or system features may not work correctly with an unofficial or foreign ROM.
- - Warranty voiding. Flashing, especially with an unlocked bootloader or custom firmware, voids your manufacturer warranty in most cases.
- - Bricking. The most serious outcome — a phone that can no longer boot, sometimes recoverable, sometimes not.
- - Data loss. Nearly all flashing processes wipe the device, which is exactly why backing up beforehand isn't optional.
- Android Multi Tool Download: What It Is and How to Use It
- Android System Key Verifier: What It Is and How It Works
- How to Remove Android from Safe Mode (2026 Guide)
- Remove a Security Plugin on Android (With/Without PC)
Flashing an Android phone — with or without a computer — is a legitimate, well-documented way to fix software issues, update firmware, or install a custom ROM, but it carries real risk if you skip preparation. Confirming your exact device model, backing up your data, charging your battery, and downloading firmware only from trusted sources are the steps that separate a smooth flash from a bricked phone.
FAQ
How do I flash an Android phone without a computer?
Enable Developer Options and toggle on OEM Unlocking and USB Debugging, transfer a custom recovery (like TWRP) and your ROM/firmware file to the device, then boot into recovery mode and flash the files directly from there.
How do I flash a locked Android phone?
"Locked" in flashing usually refers to the bootloader, not a screen lock. You'll typically need to unlock the bootloader through Developer Options and a fastboot command (or your manufacturer's official unlock process) before you can flash custom firmware — this wipes the device and voids your warranty.
What tools do I need to flash an Android phone with a computer?
Odin for Samsung devices, SP Flash Tool for MediaTek-chipset phones, or Mi Flash for Xiaomi, along with the correct USB drivers and firmware file matching your exact device model.
Will flashing my phone delete everything?
Yes, in almost all cases — flashing erases apps, messages, media, and settings. Back up your data before starting.
What do I do if my phone won't turn on after a failed flash?
This is called a hard brick. Try a computer-based flashing tool matching your device's chipset (SP Flash Tool, Odin, or Mi Flash); if that doesn't work, a professional repair technician with specialized recovery equipment may be your only remaining option.
- Google's official Android Flash Tool
- XDA Developers, for device-specific firmware and community guides
- Samsung Odin official support resources

