How to Install Flash on an Android Phone or Tablet

How to Flash Android using Smart Phone Flash Tool (SP Flash Tool)

These are the instructions to How to Download and Flash Android Stock Firmware Rom (flash file) using Smart Phone Flash Tool (SP Flash Tool) on Windows Computer.

Do you want to change the stock ROM of Android Device or your stock ROM has got corrupted ? Then in this tutorial we’ll guide you to the process of using the SP Flash Tool (Smart Phone Flash Tool) to install the custom ROM on your Android device.

Requirements: Your Android must have atleast 40-50% of battery and USB Drivers


How do I use Mi flash tool?

How to use Xiaomi Flash Tool. Step 1: Download (latest) and install Xiaomi Flash Tool on your Computer. Step 2: Download the Stock Firmware (fastboot firmware) and extract it on your computer). Step 4: Now, Press and Hold Volume Down + Power key at the same time for atleast 8 seconds to enter into the Fastboot Mode.

How can I fix my Android phone?

Fix an installed Android app that isn’t working

  1. Step 1: Restart & update. Restart your device. To restart your phone, press and hold the power button for a few seconds. Then, on your screen, tap Restart .
  2. Step 2: Check for a larger app issue. Force stop the app. In general, you don’t need to close apps. Android automatically manages the memory that apps use.

Flashing the Factory Image ROM

Flash the bootloader, replacing bootloader-hammerhead-hhz20f.img with the bootloader image.

Now reboot the bootloader

Flash the radio, replacing radio-hammerhead-m8974a- with the radio image.

Flash the boot image.

Flash the system image. This will take a while since it is the largest image, so don’t panic if it takes a few minutes.

If you’re using the stock recovery, you might want to flash the recovery image. Otherwise, if you’re using something like TWRP, flash that instead.

If flashing a new system image is all you wanted, and you don’t wish to install root/Xposed, then we’re done. Reboot into the Android system.

Note: Technically, it is only necessary to flash whatever images have changed between versions. Here we assumed that everything has changed.

How to Connect a USB Flash Drive to Android

After having a USB OTG cable and formatting or converting the USB drive to FAT32, you can connect the drive to your Android. If you don’t know how to make the connection, this guide is helpful.

Step 1. Plug your cable into your Android.

Step 2. Plug your USB drive into the female connector of the cable.

Step 3. Then the file explorer on your Android should automatically pop up after detecting the USB drive.

Step 4. If the USB drive is not properly formatted, it will require you to erase and format your drive. If your USB drive is properly formatted with MiniTool Partition Wizard, you are able to tab the notification and open the file explorer to view the contents of the drive as if they were originally stored on your Android.

Then you are able to transfer files from android to this removable drive and play media files from the USB drive. Remember that do not remove the storage device while using it, as this will cause unexpected data loss on the USB drive.

If you need to copy and paste certain files from the flash drive to your Android device, you can long-press on the items you want to move and perform the proper operation. If you want to remove the Android USB drive, to avoid data loss, you should safely disconnect the Android flash drive.

Flashing your device

  1. Connect your device directly to your development machine (no hubs, adapters, extenders, or monitors).
  2. Open in a browser on your development machine. It opens to the Welcome page.
  3. Allow the flash tool to communicate with your test device through adb by accepting the popup that says Allow site access to your ADB keys in order to communicate with devices.
  4. Click Add new device.
  5. Select your device from the list and click Connect. This list may not contain the full device name.
  6. On your device’s screen, select Always allow from this computer and click OK to accept the USB debugging connection.
  7. Select the connected device in your browser.
  8. Search for and select your desired build from the list. You can also select options, such as wiping the device or force flashing all partitions.
  9. Click Install to start the process. The device reboots and enters fastboot mode.
  10. After Flash Complete appears, disconnect the device from the USB cable.

USB transfer errors

Sometimes Android devices have trouble communicating through certain USB ports or hubs due to the high throughput of data. To improve reliability:

  • Don't use USB hubs. This includes connections through monitors.
  • Don't use USB extension cables or adapters if possible.
  • Try a different USB port. Rear ports are often more reliable than front ones.
  • If you're using a USB C port, try a USB A port instead.

Unbrick Samsung Devices via Odin

If you have a Samsung device, then you wouldn’t be able to unbrick it via Fastboot Commands. Rather you would need the Odin Tool installed on your PC. After that, you need to download the firmware via Frija Tool or SamMobile site and load it to Odin.

Finally, you will have to boot your device to Download Mode and then flash the firmware via Odin. All this has been explained in our detailed guide, do refer to it: Unbrick Samsung | Flash Stock Firmware via Odin.


We hope that this guide will help you install custom ROMs on any Android phone using ADB sideload command. If you like this article, then please share it on your social media platforms. Finally, if you face any problems, then do drop a comment below.

Device requirements

You can flash a new version of Android to these supported devices:

Part 2. Preparation Before Flashing Android Phone using PC Software

Check the requirements below before you start to flash your phone.

  • The device you want to flash
  • PC
  • USB Cable for your device
  • Unlocked Bootloader
  • Flashing software
  • Android USB Drivers
  • Custom ROM downloaded

If you use iMyFone Fixppo for Android, then no need to install Android USB drivers and download ROM.

Before following any of these methods, make sure your bootloader is unlocked and you have Android USB drivers installed for your device. Make sure that your device’s battery is above 50% before doing this.

Prerequisite 1: Installing USB Drivers

Samsung devices:

  • Download the Samsung USB drivers from the Samsung developer’s website.
  • Extract the zip file by right-clicking it (on windows), choosing “extract all” and then clicking extract.
  • Open the extracted folder and run the “.exe” file.
  • Click next, choose your language and click install. Wait for the installation to complete and click finish.

 MTK Devices:

  • Download the Android CDC driver file from online and extract it (right-click, choose to extract all and extract).
  • Open device manager by searching for it in Windows or by searching for “device manager” in Control Panel.
  • In the device manager, click on your Computer’s name, click on the action button and “Add legacy hardware”.
  • Click on the “Next” button, choose the “Install the hardware that I manually select from a list (Advanced)” and click next.
  • Choose the “have disk” option, click on “browse”, locate the extracted driver folder and click on the “Android Gadget CDC Driver” file.
  • Click on “OK“, “next“, wait for the driver to install and click “finish“.

If you get a Windows security box, click on “Install this driver software anyway”.

Prerequisite 2: Unlocking the Bootloader

Samsung devices come with an unlocked bootloader, so you do not need to follow these steps. Here is a general guide.

  • Download and install Android SDK tools.
  • Download the drivers for your device (these can be found from your manufacturer’s website).
  • Enable developer’s options and then enable USB Debugging in the developer’s options menu on your device.
  • Get the unlock key for your device from your manufacturer’s website.
  • Use command prompt to unlock the bootloader via fastboot commands.

Searching Google for your device’s bootloader unlocking method will give you a more in-depth method that you can follow.

Fastboot Commands Sheet to Flash Stock Firmware

Here is a sample fastboot command sheet. I tried to write down the commands for all frequently used files. These commands are not for any particular device nor in any particular order. It could come in handy if you wish to flash a file but aren’t sure of that file’s associated fastboot command. Likewise, you could also just download the stock firmware, and rather than extracting and creating the fastboot commands from the XML File, you could refer to the fastboot commands from below and then flash the files using these commands.

Moreover, if you want to flash a file to both the partition, then make sure to specify the partition in the commands as well. For example, if you wish to flash the boot.img to Partition A and B, then the command will be fastboot flash boot_a boot.img and fastboot flash boot_b boot.img. Likewise, you may modify the rest of the commands accordingly, if required. Or ask me via the comments section below.

So this is all from this guide on how to flash stock firmware via fastboot commands. Feel free to drop your queries in the comments section below!


Leave a Reply

Your email address will not be published. Required fields are marked *

Go up