Want to restore the factory settings on your Android phone after installing a Custom ROM? The simplest approach to restore stock on your phone is to do this.
For a number of reasons, you might wish to restore your rooted phone back to stock Android. Selling it or making a warranty claim are the two primary choices. But you also need to do so if you wish to install a system update. Another option is that you’ve made so many tweaks and adjustments that you want to get back to some kind of normalcy.
In this post, we’ll look at the three main ways to get back to stock Android. You’ll discover a solution that works for you, whether it’s going back to the stock ROM while keeping root access, or being completely unrooted with a locked bootloader.
1. Restore a Nandroid Backup
The simplest approach to restore your phone to its stock ROM is by restoring your Nandroid backup. If you have a recent backup available, this shouldn’t result in much—or any—data loss.
The term “Nandroid backup” refers to a complete system backup created in the recovery. You ought to make one each time you flash a new ROM or apply a mod. This is the first tool you should use if you ever need to unbrick a phone.
A Nandroid backup includes a complete copy of your phone’s contents, including the operating system, apps, data, and everything else. If you restore it, the ROM you were using at the time will be returned. If you created a backup while running the stock ROM, you’re fine to go.
However, utilizing a Nandroid backup to restore to stock is merely a short-term fix. In other words, because the backup will restore your prior applications and data, apps you’ve removed will reappear and text messages you’ve received afterwards will no longer be displayed. You may only want to use your Nandroid backup in an emergency if it has been around for longer than a day or two.
How to Restore a Nandroid Backup
Fortunately, restoring a Nandroid backup only requires a few simple steps:
- Start your own recovery on your phone. We advise TWRP.
- Choose Restore. You’ll get a list of all the backups that are accessible.
- Select a backup that was create with the stock ROM.
- Should choose the partitions you want to restore . This typically signifies that you need to complete every task.
- Swipe the Swipe to Restore bar to finish. After a little waiting period, you can reboot.
You return to your vanilla ROM after doing that. You must also unroot your phone if you want to complete the process.
The method you employ will depend on the software you used to root your device. For instance, if you used SuperSU, choose Full Unroot from the Settings tab, then restart your phone. Now, it will unroot.
Perhaps you should also relock your bootloader. The method will differ depending on the device. Using Fastboot and the commands fastboot oem lock or fastboot flashing lock is the most popular approach.
Relocking the bootloader completely erases your device. Only do so if it is really necessary, such as when you are selling or sending your phone in for a warranty repair.
2. Flash a Stock ROM
Flashing a stock ROM is your next best choice if restoring a Nandroid backup is not an option. Along with this annoyance, you will likely need to conduct a factory reset at some point, which means you will need to backup and restore your Android data.
The fact that you must rely on someone else to make the ROM is the largest barrier to utilizing a ROM to return to stock. This won’t be an issue if your phone is well-known and has a thriving community on the XDA Developers forums. A stock ROM could be more difficult to locate if you have a lesser-known gadget.
The OnePlus smartphone is the only exception. You can accomplish this by directly downloading a flashable stock ROM from the OnePlus website.
How to Flash a Stock ROM
You’ll find all the information you need in our guide on installing a custom ROM. Here are the procedures once more:
- For your phone, locate a stock ROM. Find the forum for your device on the XDA Developers website. Stickied postings at the top of development boards are frequently where you can find stock ROMs.
- Your phone should download the ROM.
- Do a complete data backup.
- Start your rehabilitation.
- For a factory reset of your phone, select Wipe. This is optional (if you don’t want to bother backing up and restoring), but if you don’t do it, you may run into problems or even get stuck in a bootloop. Start wiping by swiping the bar.
- Choose Install from the recovery home screen and then find the stock ROM you downloaded.
- Start the installation by swiping the bar. When it’s over, you can reboot your phone.
You’re now set to go if you download a pre-root stock ROM and wish to keep it that way. Relocking the bootloader will restore your device to stock condition if you ran a non-rooted ROM. Keeping that in mind, your phone will be erased.
3. Flash a Factory Image
Flashing a factory image is the only way to restore your phone to stock. Your phone will return to almost its original state after doing this. After that, all you have to do to restore factory settings is lock the bootloader.
Factory photos are obtained straight from the companies that make the gadgets; many of them withhold them. Among the well-known businesses that accomplish this are Google and Motorola. Factory pictures are typically available from Samsung and LG, but you might need to acquire them from unofficial websites.
Additionally, they are more challenging to install than either of the other strategies we’ve described, even in cases when they are available. For some, utilizing the command line and the ADB and Fastboot utilities is the only option. Some utilize their own software, including Samsung and HTC.
Flashing a factory image is your best bet if you ever need to totally reset your device, despite the challenges. If you’ve bricked your device and all other fixes have failed, it can also be used as a last resort.
How to Flash a Factory Image
From one device to another, the process for flashing a factory image can be different. For a Pixel, the procedures are straightforward:
- Get the ADB and Fastboot utilities, then install them.
- From the Android website, get the factory image. On your desktop, unzip the downloaded file.
- Boot your phone into Fastboot mode after connecting it through USB.
- Open the Terminal software or Command Prompt.
- Run flash-all from the command prompt , run flash-all or bat on Windows.sh on Linux or Mac.
- Wait till it finish, then restart.
You will then be taken to a stock, unrooted ROM and stock recovery. You can restore your system to regular operation by locking the bootloader.
Different instructions may be available for other phones. The same website where you downloaded the photographs is generally where you can find them outlined. Just keep in mind that flashing a factory image will typically wipe your phone completely.
Reinstall the Stock Firmware
The methods used to first install ROMs and mods are also use to return to stock. There shouldn’t be anything strange or concerning in this guide if you’re using a rooted phone.
The process should just take a few minutes once you’ve downloaded the original software or discovered an appropriate backup of your own.
Keep in mind that using the stock firmware on your phone does not equate to using stock Android because the skin, apps, and other customizations made by the manufacturer of your phone are still present. However, there are a few advantages to using stock Android that are well worth investigating.
Frequently Asked Questions
1. How can I remove a custom ROM?
Simply download the stock from any website and then insert it into the SF card (or get the stock/AOSP ROM for your device). Go to your phone’s recovery menu after that, choose “Wipe Everything” or “Clean to install a new ROM,” depending on what is available, and then erase the data and cache. I expect you got the answer. if not surf internet more, you will find.
2. Does using a modified ROM shorten battery life?
Yes, installing a custom ROM reduces a smartphone’s battery life since the user who installs the custom ROM is unfamiliar with hardware optimization. Additionally, the phone’s install custom ROM can not performance-optimize. Is it dangerous to install a custom ROM on an Android device? Hope you got the answer.