How to Permanently Install TWRP without TWRP ZIP File (only using TWRP.img file)

0
Share

In this tutorial, we are able to show you a way to permanently install TWRP recovery on any Android device in the Recovery Ramdisk, using best the TWRP IMG file. Long tale short, the TWRP.img file is used to boot your device to TWRP recovery, and then you flash the twrp.zip file to permanently defloration. But now no longer each device has a ZIP file of this custom recovery.

As a result, they boot their tool to the TRWP recovery via the IMG file and in the next boot, it gets replaced with stock recovery. Today we will cope with all these issues. We will show you a way to permanently install the TWRP Recovery through simply the TWRP.img file. Follow along. It become all so right till Google decided to bring in the A/B partition thing. This dual-slot resulted in a slew of changes, maximum notably in the recovery partition being removed.

Yes, now there is no recovery partition, rather the whole thing is now looked after through the boot partition. This is the purpose why you can not truly flash the TWRP recovery the use of the fastboot flash recuperation recovery.img command. We first must boot the twrp with the use of the fastboot boot twrp.img command. Once the IMG file receives booted, you can then flash the ZIP file to make it permanent.

What if you don’t flash the ZIP file? Well then after each boot, the custom recovery will be replaced with the stock recovery. So you’ll join the device to the PC ship in the fastboot boot command every time you want to apply the TWRP. This definitely calls for lots of effort. But the thing isn’t users have a say in this.

We are seeing many gadgets best have the TWRP IMG document however now no longer the ZIP file. As a result, those users can’t get a taste of what the everlasting TWRP feels like. If you also are cruising withinside the equal boat, then this guide will be available in handy. Today, we are able to display you a way to Permanently Install TWRP without the TWRP ZIP file in the Recovery Ramdisk, best the use of the TWRP IMG file. Follow along.

How to Permanently Install TWRP without TWRP ZIP File (only using TWRP.img file)

Prerequisites

  • First and foremost, check if your device has a Ramdisk or not. To do so, install the Magisk Manager app on your device and then launch it (it doesn’t require root). Now check for the status next to Ramdisk. If it says YES, then proceed ahead with the steps to permanently install TWRP, otherwise, it is not advised (the tech enthusiasts could still try out this tweak on their devices if they wish).recovery ramdisk samsung magisk
  • Along the same lines, I haven’t tested this method on Samsung devices. But judging by the fact that it requires flashing the TWRP TAR file via Odin, these steps might not work on Samsung devices either. Again if you wish to retry, you are more than welcome, though at your own risk. Whatever is the result, do let me know in the comments so that it may help out other users as well.
  • With that said, let’s now come to the requirements of this article to permanently install TWRP. So to begin with, make sure you have your device’s TWRP.img file. If you don’t have it yet, then head over to the TWRP official page and download the same. Or if there’s no official build, search for an unofficial one over at XDA. Even if that is futile, drop in your device name in the comments, we will help you out.
  • Furthermore, install the Android SDK and Platform Tools on your PC. This will be needed so that your device is recognized by your PC in fastboot mode.

STEP 1: Enable USB Debugging and OEM Unlock

oem unlock usb debugging

To begin with, you will have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging and OEM Unlocking.

STEP 2: Transferring of TWRP

First off, rename the downloaded twrp recovery to just twrp. The complete name will hence be twrp.img. Then transfer this twrp.img file to the platform-tools folder. Furthermore, also make a copy of this recovery and transfer it to your device. Just a simple Copy (Ctrl+C) and Paste (Ctrl+V) will do.

STEP 3: Launch the Command Prompt

Head over to the platform-tools folder and in the address bar, type in CMD and hit Enter. This will launch the Command Prompt.

command prompt twrp

STEP 4: Boot your device to TWRP

  1. To boot your device to TWRP, connect it to your PC via USB Cable.
  2. Then in the command prompt that you had opened in the above step (3), enter the below command to boot your device to Bootloader/Fastboot modeadb reboot bootloader
  3. Once that is done, execute the below command just to make sure that your device has been successfully booted to fastboot:fastboot devicesUseful ADB_Fastboot Commands- fastboot devices
  4. If you get an alphanumeric string followed by the fastboot text, then the boot to fastboot is successful. Now type in the below command to boot your device to TWRP:fastboot boot twrp.imgtwrp
  5. Your device will now boot to TWRP Recovery. It’s now time to permanently install this TWRP Recovery onto your device in the Recovery Ramdisk using just the TWRP.img file. Follow along.

STEP 5: Permanently Flash TWRP

Even though now your device has been booted to the TWRP Recovery, it is just a temporary boot. The next reboot will replace this custom recovery with the stock one. So it is now time to make it permanent. As already mentioned, we would only be using the twrp.img file. Here is how to proceed ahead:

UPDATE 1 [November 29, 2021]: Instead of using the Install Recovery Ramdisk option, you could now also use the Flash Current TWRP option. The benefit of this method over the former one is the fact that you would no longer have to manually select the twrp.img file and then flash it [you will not have to perform the third point in the below instruction]. Rather as soon as you select the Flash Current TWRP option, it will automatically (and permanently) flash the TWRP.img file on your behalf.

This feature has just been added officially over to TWRP 3.6.0 (and on some older TWRP 3.5 versions). So to try it out, you need to go to the Advanced menu of TWRP and just select Flash Current TWRP. Once done, make sure to fix the recovery bootloop from the Advanced section as well (see point 4 below). <End of UPDATE 1> The original guide with the Install Recovery Ramdisk continues below.

  1. Inside the TWRP, head over to Advanced.
  2. Now select the Install Recovery Ramdisk option.
  3. Navigate to the twrp.img file and perform a right swipe to install it.
    permanently install twrp img flash install recovery ramdisk
  4. When that is done go back to the Advanced menu. This time select the Fix Recovery Bootloop option.
    permanently install twrp fix recovery bootloop
  5. Hit the Swipe to Confirm button to fix this bootloop. When that is done, head over to the Reboot option and reboot to Recovery.
  6. When your device reboots to TWRP again, you could now boot your device to the system. For that, head over to Reboot and tap on System.

That is it. With this, you have now permanently installed the TWRP Recovery in the Recovery Ramdisk on your device using the twrp.img file. Do share your views on the same, in the comments section. Likewise, if you are having any issues with respect to any of the above-mentioned steps, do let us know your queries in the comments.

[su_button url=”https://t.me/getdroidroms” target=”blank” style=”flat” background=”#0064c9″ size=”7″]Join us on telegram[/su_button]