Install TWRP Recovery

Way to Install TWRP Recovery on any Android device

In today’s tutorial, we will tell you how you guys are able to install the TWRP Recovery on Android. TWRP is actually a custom recovery that is able to bring a plethora of features to Android. In fact, this recovery replaces your stock recovery & permits you to get different custom items on the device, including custom ROMs & custom kernels.

Well, for installing the TWRP recovery on Android devices, then you will just need to use a suitable method for your device. Few methods are here mentioned in order to get TWRP Recovery on your Android device.

Get TWRP Recovery on an Android device

Here keep in mind that we have broken down the steps into separate sections to understand all the steps easily. Now let’s get started!

Take a Backup

Remember that getting the TWRP Recovery does not lead to the loss of your data. However, it’s a prerequisite just like unlocking the bootloader does actually. In some cases, decrypt the data partition simply by doing a factory reset. As we know all these things would in turn remove the data from the device. Therefore, you have to here take a backup of all your data.

Enable USB Debugging & OEM Unlocking

Getting the TWRP Recovery on your Android just needs you guys to enable USB Debugging & OEM Unlocking. The earliest is required so that your device can easily interact with your Personal Computer in ADB Mode. It can be used to boot the device to Fastboot in order to get the recovery on your device.

Similarly, the OEM Unlocking is actually needed to take permission for the bootloader unlocking. (In case you guys have already unlocked the bootloader, then you guys do not have to enable OEM Unlocking, in spite you guys should only enable USB Debugging). Here are the needed instruction steps in order to enable both these options on Android devices:

  1. Open Settings on the device.
  2. Head to the About Phone section on Build & click Number 7 times. Now the developer option has been enabled.
  3. Again open the Settings option & then click on System
  4. Open Developer Options & Enable USB Debugging and OEM Unlocking.

Unlock Bootloader

Unlock the bootloader on the device. Until and unless you do so, you guys would not be able to get any custom binary, as well as TWRP Recovery on the Android. Remember that the unlocking process will make the device’s warranty null & void & also remove all the data from the device.

Get ADB & Fastboot on Personal Computer

Here install the Android SDK Platform Tools on the Computer. This is the official ADB & Fastboot binary offered by Google which supports in establishing a successful connection b/w your device & the Computer in ADB & Fastboot modes.

Related Article: Install Android 12 ROM and TWRP on Galaxy S8/S8 Plus

Get TWRP Recovery for Android

Now get hold of your device’s TWRP Recovery file. The official builds have been hosted on TWRP official site. Otherwise, in case your device is not on that list, you probably also download the unofficial builds from XDA. Whilst some devices have both the TWRP IMG & ZIP files, others have the TWRP IMG file. The reason for the same will be removed later on in this guide. Yet download the available TWRP file/files for the device.

Moreover, there is even an option of creating & porting TWRP Recovery for Android. While it does need technical expertise, however, you probably give it a try (in case there is no official/unofficial TWRP for your device): Now let’s head to the next step in order to install TWRP Recovery on the Android.

Verify if the Device has A/B Partition or A Partition

In case your Android device is A-only, it would be having the recovery partition. Thus directly flash the TWRP IMG file to the recovery partition. Otherwise, in case it is A/B, then there would not be any recovery partition, in spite it is now taken care of by the boot partition. Therefore, the fastboot command to flash TWRP Recovery has been launched.

  1. First of all, you have to download & install the Treble Check app from Google Play Store.
  2. Set it up and now see the Seamless System Updates section.
  3. In case the line reads as follows, so then you guys have a dual A/B Partition (slot) device.
    ......and is detected to have an A/B system partition
  4. Otherwise, in case it reads out as follows, your Android device has only a single partition/slot (i.e A):
    ....and is detected to have an A-only system partition
  5. Don’t forget the answer as it would be used in the subsequent sections for getting TWRP Recovery on the Android.

Boot Device to Fastboot Mode

  1. You have to boot your device to the Fastboot Mode. Therefore, with USB Debugging enabled, you have to connect the device to the Personal Computer using a USB cable.
  2. Go to the platform-tools folder, copy and paste in CMD in its address, & press Enter. This should execute the Command Prompt.
  3. Bring out the below-mentioned command in the CMD window in order to boot your device to the Fastboot Mode:
    adb reboot bootloader

Once completed, go to the next step in order to install TWRP Recovery on Android. In case the result from the test in STEP 6 came out to be A/B partition, go to B. Whereas in case your device has just A partition so then verify A. Whether you like to know more on this A/B vs A-only & its relation with TWRP.

Also, see: How to Fix the issue Spotify not working in Roku

A: Get TWRP on an A-only Android

In these devices, as of now, you have the recovery partition, therefore, you guys can flash the TWRP IMG file to the recovery partition. Moreover, for these sets of devices, the TWRP IMG file will be available since they do not need a ZIP Installer. Ensure to rename the downloaded recovery to twrp, therefore, the complete name becomes twrp.img.

Send this twrp.img file to the platform-tools folder. Similarly, re-check that the CMD window is opened inside this platform-tools directory, in case that is not the case, do so right away (by typing CMD in its address bar).

  1. Along with your device connected to your Personal Computer by using the USB cable & booted to Fastboot, bring out the below-listed command in the CMD window in order to install TWRP Recovery on the A-only Android device.
    fastboot flash recovery twrp.img
  2. At last, simply use the following command in order to boot the Android device to the OS:
    fastboot reboot

B: Get TWRP on A/B Android Device

We can’t flash TWRP to the recovery partition. We will here firstly boot your device to the TWRP by using its IMG file & permanently flash it by using its ZIP file. Moreover, as you probably have noticed by now, actually these devices have both the TWRP ZIP & IMG files. Ensure that you guys download both the variants (.zip and .img).

When it is downloaded, then you have to rename both the files to twrp, thus the complete file names would be twrp.zip & twrp.img. Send the twrp.zip file to the device whereas sending the twrp.img file to the platform-tools folder on your Personal Computer. Similarly, you have to here re-check that the CMD window is still opened inside this platform-tools directory, in case that is not the case so then do so right away (by typing CMD in its address bar).

  1. With your device which is connected to Personal Computer just by using the USB cable & booted to Fastboot, bring out the below-mentioned command in the CMD window in order to ‘boot’ the device to the TWRP Recovery.
    fastboot boot twrp.img
  2. Otherwise, in case you guys are planning to ‘flash’ the TWRP Recovery to the boot partition, use the below command:
    fastboot flash boot twrp.img
  3. At that time when it is booted to TWRP, open its Install section. Go to the twrp.zip file, choose it & do a right swipe in order to flash it. [In case your TWRP does not have the ZIP file, & offers the IMG file, at that time flash this IMG file to the Ramdisk partition.
  4. Head to Restart and click on Recovery. Your device will restart to the TWRP Recovery.
  5. When that happens, you probably restart it to the OS. You have to head to Reboot & click System.

That’s all now done!

Leave a Reply Cancel reply