Advertisements

Factory Image is the last and only way to restore any custom design to its original factory state. Generally speaking, factory state means how the phone looks from the factory to the final user. We have previously discussed adding custom ROMs and other customizations to our phones. I agree it looks cool, but not everyone wants to return to their phone’s original state.

But the sad thing is you don’t know where to get your phone’s factory image. What is the best way to install it if you have that somewhere? We started our research on this and found some ways to help you. As a result of our research, we found that most things are technical, which is why people have difficulty. We will discuss everything from the beginning here, so don’t worry.

How to install a factory image on Android phones?

Factory Image for Android is a firmware that comes as a preinstalled OEM version. Earlier, there was little chance of getting such files. Nowadays, you can quickly get a factory image for your phone. Although factory images are unnecessary for every phone, they become necessary if they are rooted in a custom TWRP recovery and do not receive OTA updates. For this reason, here is a list of instructions for installing factory images on Android phones.

Pre-requirements

  • Make sure you have a factory image, not stock firmware.
  •  Enable OEM Unlock and USB debugging from Settings >> developer option (Tap the build number 7 times).
  •  Setup ADB and Fastboot here

Now you have reviewed the prerequisites, make sure you meet them. Additionally, make sure to have a backup of your essential things; otherwise, everything will wipe out after installing the factory image. So, when these things are done, let’s install the factory image.

Note: Before step 8, if you find the “flash-all.bat” file, you should run it to automatically flash all the files. If you do not find this file, follow step 8 and repeat it for every file.

  1. Download the Factory Image for your phone.
  2.  Move that factory image file to your PC.
  3.  Now extract that ZIP file and open that folder.
  4.  Connect your phone to your PC using a USB cable.
  5.  Next, open a command prompt there.
  6.  Enter the “adb reboot bootloader” command to enter bootloader mode.
  7.  Check the fastboot connectivity by entering “fastboot devices.”
  8.  Enter the “fastboot flash <partition name> <file name>.<extension>” command to flash every file, including partition and extension.
  9.  Lastly, reboot your phone and enjoy your brand-new phone.

Suppose your phone does not have a factory image that you can use. If you want to manually sideload the OTA updates, you can do so. This can be tricky, but it will help you get the factory image experience even if your phone does not have such a file. So, if you want to manually install OTA files, follow the instructions below.

  1. On your Android, open settings >> About phone >> build number.
  2.  Then restore the new boot image corresponding to the installed build number.
  3.  Download the fastboot-compatible factory image corresponding to your PC’s current Android build number. For example, It should be named as <device codename>-<build number>-factory-<hash value snippet>.zip.
  4.  Using any archive manager, open the factory image and locate the image-<device codename>-<build number>.zip file.
  5.  Then extract the boot.img file from it.
  6.  Now enable USB debugging and reboot your phone into bootloader mode.
  7.  Flash the stock boot image and reboot your device.
  8.  After that, head to settings >> system >> system updates >> check for updates.
  9.  Now patch the boot image with Magisk and restart your phone.
  10.  That’s it, and you are on the latest OTA update.

Conclusively, a Factory Image is the easiest way to get back to the standard format of your phone. But not every phone has a dedicated factory image available to download. These users can also read this guide to learn how to manually install OTA files of this kind. Now I hope you have the necessary information to install a factory image on Android. If you still have questions, feel free to ask them in the section below.

Frequently Asked Questions

Q1. What is a factory image file?

Ans. A factory image is designed to replace the vendor’s “stock” firmware.

Q2. What is the factory image partition?

Ans. Some computer makers put a Factory Image or Recovery partition on the hard disk of new computers.

Q3. Will Factory image Restore delete my files?

Ans. It is not confirmed, but it has been observed the deleted files still live on your hard disk and stay here until a piece of new information is overwritten.

Q4. Is it possible to recover photos after a factory reset?

Ans. Android phones have a built-in backup tool to recover your data after a factory reset. 

x
Advertisements