In Case Of Emergency: Custom Roms Can Be Removed Again – So It Goes

The installation of custom ROMs is not always smooth – possibly the device no longer works, or you don’t like the new Rome. We show you how to restore the old State with little effort.

Flashing a Smartphone with a custom ROM is always risk-free. Despite it can come to problems, and your Android powered device gets stuck in a boot loop, for example, so an endless loop at boot up. It is reassuring, if you previously made a full backup of your data, to which you can return by simply pressing a button.

Even if the replay works, there are enough reasons for a way back to the previous version, or even to the original firmware: this begins with the missing stability of the well-established custom ROMs, continues to the simple disappointment over the alternative operating system up to the desire to sell the device. As you make your way back to the original, we will show you the second part of the workshop.

For those who are happy with your custom ROM, but again would get rid of the rooted State reasons, we show how you easily and without much effort can accomplish this.

The proper preparation

Before you begin playing a custom ROMs, should take all necessary steps for a safe return to the original state. This includes a backup of the current state of your system. Problems during the installation of the custom ROMs, you can always go back to the previous state.

Use best the features of the recovery solution you have in use for this safeguard. We have at our workshops until now always very good experiences with ‘TWRP’ (team win recovery project) made, which is why we use the solution in this context.

Before we start with the backup of the data, there are a few settings you can tune in ‘TWRP’. First, the language of the software would be there: for our example we changed the language in the settings of ‘TWRP’ in German. Moreover, we also recommend the time zone to UTC + 1 to adapt. This allows the follow-up clearly determine when the backup was created.

Tip: Data backup for smartphones – how to’s

Make a backup

Start your phone into recovery mode to perform the backup. Switch off your device and boot it using the right key combination. This is often the off switch and the low key. After you have arrived in the drop-down menu, select the item “Save”.

You can see an overview of the partitions, which are at the disposal. Here select the options “Boat”, “System” and “data from. You don’t really need the cache to recover your current Rome.

Set “Select memory” button, where ‘TWRP’ to back up your data. If your device has a micro-SD card, you get these shows how the internal memory as well as a choice.

If you have little space on your mobile device, but also no micro SD card available, you can in the options that ‘enable compression’. Thus, the amount of data being backed up is much smaller, it takes the backup but also significantly longer.

If you have sensitive data on your device, it allows ‘TWRP’ also to encrypt the backup and secure with a password. To enable this function before the start of the operation, you enter a password in the menu of “Encryption”.

Then, start the backup of your device with your predetermined parameters. This operation can take depending on the size of the allocated memory as well as the options selected and the storage medium from five minutes to an hour. ‘TWRP’ you but always informed about the current status and the amount of data already secured.

After you have performed the backup, you can get to the playing of the new custom ROMs or – if this was only a security measure – using”reboot system” back to normal with your Android system continue to work.

Important steps to play on

A data backup is often required when playing on a custom ROMs is not successful. In many cases the problems to prevent but already from the beginning, and you must not rely on the backup copy. It is often only at a forgotten step or a wrong parameter during the installation of the custom ROMs.

The cleanup of various memory and cache of your mobile device is particularly important in this context. This is not carefully done, leave a mark of the current operating system, and end up in the worst case in a boot loop or see a little dead green man at boot your device.

All of the features available are within of ‘TWRP’. Go to the implementation in the “Delete” menu and restore the factory settings by moving the slider at the bottom from left to right.

This action will delete the cache memory as well as the data on the mobile device. This includes the Dalvik cache on the many instructions explicitly indicated. In this particular area of memory your Android device sets the directory tree for all of your installed apps, also of Android he is also used as an intermediate storage for apps with high storage requirements. When a new custom ROM it is therefore of vital importance, that started on the part of the installed apps again at the start and the Dalvik-cache will be deleted for this reason. After you have reset your Smartphone to ‘TWRP’ back to factory settings, your device is ready for the installation of a new custom ROMs.

Tip: Smartphone data despite faulty display

Back to the starting point

Should despite the good preparation during the installation a problem arose or they be simply not satisfied with the quality of the custom ROMs, are available with an existing backup a simple way back to your previous operating system available. To restore, boot your Smartphone or Tablet back into recovery mode and select “Restore” menu item in ‘TWRP’.

See all storage groups that are currently on your preset memory in the overview. If you selected other media for backup, you can access it “Select memory” button. ‘TWRP’ restores your previous operating system with this information, and after a reboot it is together with the installed apps like before again available.

Play the original firmware

There are several reasons why it makes sense to restore the original firmware: this begins with the sale of the device and enough to send in a warranty claim, if only the original condition is accepted.

In our example we will show you how you return from a Smartphone with custom ROM to the original firmware of the manufacturer. Correctly calculating of the hardware you have is important for the first step. You can find this information in the settings of the device under “Over the phone” or “the tablet”.

Most manufacturers offer the latest firmware version for download on their Web sites.In the following example we will show you how you play on the original firmware on a nexus device. For devices from other manufacturers, the way deviates from this approach. A good source of information, as the way looks specifically for your Smartphone or tablet, is the developer forum XDA-developers. It is a very detailed guide for most devices as you get back to the original firmware.

Install original firmware on nexus

We perform the installation of the original firmware from the command prompt onWindows because this is a very safe and reliable way. The communication running smoothly, you need the ADB tool for one including fast boot and on the other hand the nexus driver for Windows. In the XDA Developer Forum you will find a compilation with the current program data. It’s an executable file with the necessary components are installed on your Windows System.

Open the installation directory in the Windows folder – this is the default “C:\Program files (x 86) \Minimal ADB and fastboot”- and run the file “MAF32.exe”. The command prompt opens, and you are in the folder with the tools.

Now connect your nexus device to the computer, and activate the “USB debugging” in the developer settings. Enter then in the command prompt the command adb devices. If everything is working correctly, the Smartphone is detected, and see the attached end device, in a list.

Next, you will need the original firmware for your nexus device. You find this on the manufacturer’s website, in this case Google’s developer website. Google offers you the possibility to choose between different stages of firmware. Often only the most recent version is available from other manufacturers. Load the appropriate image on your computer, and move the file in the directory in which the adb program is best. Unpack you the data in any sub directory, so that the img files in the form of entpackter exists – in the example uses “android6”.

The flashing begins

Your device must be located in bootloader mode, so that you can transfer the data and install. Do this to deactivate the Smartphone or tablet. Restart it and keep doing the on/off button and the soft key pressed simultaneously. As soon as you are in bootloader mode appears the Smartphone with an on the back of the droid.

So that the device can be flashed, the boot loader must be unlocked be. If you have already installed a custom ROM, this is already the case, and the “lock state” is “unlocked”. If this still does not happen, then unlock the device with the commandfastboot oem unlock. Thus, they have created the basis for the installation of the above image files. Play this with the following commands:

Wipe, Flash and reboot

Delete your old configuration, as well as the associated data in the last step and install the new system: fastboot flash w system android6\system. img. Then, start the device using the command fastboot reboot new. The first launch can take up to 15 minutes. Therefore, there might be no cause for concern, if you see the Android animation time only.

Remove root app

There are not only good reasons to reset a device to its original state. Many users are satisfied with their custom ROM, but have problems, because it is rooted. Some apps, especially in the commercial Streamingbereich, but also the popular board game “Pokémon go” refuse cooperation with rooting Smartphones or tablets. There are several ways to reverse root. These are depending on what conditions are present on your Android device. If you have used the app “SuperSU” to manage the root privileges, you can use the standard function to return to a ungerooteten State. The function “Full UN-root”, see the settings in the section of “Cleanup”.

Another app, which was only created once again to remove the root rights Smartphones or tablets, called universal Unroot. The app is available for purchase in the play store for good a euro. However exactly sure whether your a Smartphone or Tablet is also compatible with the app, before you make a purchase. After the installation, select the function “Unroot” from the home screen. You are then asked whether you really want to perform the action, before “universal Unroot” these implements.

Manually remove root

If you are using another app as “SuperSU”, or this way does not work on your mobile device offers also the manual way through a file manager to the desired success. For this action, particularly the free app offers ” File Explorer ” on. Activate the function “Root Explorer” in the settings after installation. Thus you can also directly access the protected system directories. Then, you need to confirm the required root privileges on the management app accordingly. “/ System/bin” then go to the directory and look for the files “su” and “busybox”. Select it and delete the selection over the trash can from the toolbar. If you find the files at this point, check the directory “/ system/xbin”, and remove the two files from there.

At the end, delete the file “superuser.apk” from the folder “/ system/app” and reboot your system. If you then check the status of the system, for example, with the app “Root Checker”, you see that the device is no longer rooted.

Conclusion: Backup protects against problems

When flashing it can always come also for correct execution of all instructions problems.For this reason, you should create always a backup of your source system. The way is Alternatively you back to the original firmware. You have your device in a clean delivery condition again.