If you are looking for solutions to common TWRP recovery errors then, you are at the right place as in this post, we will help you with all common TWRP recovery errors and their solutions. Note that before you can install TWRP recovery on your device, you need to have an unlocked bootloader. With the help of TWRP Recovery, you can install custom ROM or root your device to try out modified applications or install custom OS like LineageOS, etc. Recovery like TWRP or CWM will always allow you to try most of the latest released Android OS on your phone before the official Stock ROM release.
However, you are required to have TWRP access before you can go ahead and root your smartphone. And for flashing the TWRP recovery image, you need to follow the guide properly to avoid errors. However, if you are getting errors then, fortunately, in this post, we will give the solution to that issue. In fact, if you have a TWRP Recovery on any Android Phone, you can always try Custom ROM, Kernel, Xposed, Rooting, Mods, etc in few simple steps. So, without any further ado, let us get straight into the article itself;
Table of Contents
- 1 All Common TWRP Recovery Errors and Solutions
- 1.1 Fix the “Cannot Load twrp.img” Error
- 1.2 Fix TWRP LineageOS OTA Update Modem Version Error
- 1.3 Fix Error 70 While Installing Gapps
- 1.4 Fix: Unsupported Baseband Error While Flashing ROM
- 1.5 Fix PIN Errors After Restoring from TWRP Android Backups
- 1.6 Fix TWRP “unable to mount data” Error and Internal Storage showing 0MB
- 1.7 Fix Magisk Install Error 1 in TWRP Recovery
- 1.8 Fix Zip File is Corrupt Error in TWRP
- 1.9 Fix Status Error 7 in TWRP Recovery
All Common TWRP Recovery Errors and Solutions
Before we head-on with the common problems and solution with TWRP recovery, let us know the advantages of TWRP recovery:
- You can flash Custom ROM with TWRP Recovery
- You can flash modding zip files to customize your phone
- Easy to use Xposed Modules’
- Easy to Root and Unroot using TWRP Recovery flashable zip SuperSU
- You can always take FULL NANDROID Backup in case of any modding or flashing.
- Easy access to restore the Nandroid Backup.
- You can flash the image file using TWRP Recovery.
- Can remove all bloatware using TWRP Recovery.
- To underclock and overclock.
- You can clean Wipe, Cache, and Data.
Fix the “Cannot Load twrp.img” Error
- Instead of typing the patch of the folder where you have downloaded the TWRP image file, simply drag and drop the twrp.img file into the command prompt.
Fix TWRP LineageOS OTA Update Modem Version Error
You need a few things before you can go ahead with the method.
- Check out our tutorial on How to Install ADB and Fastboot Tools guide.
- Then you need to enable the Developer Mode on your device. If you do not know how? then follow our guide on How To Enable Developer Options On Any Android Smartphone.
- Once you have enabled the Developer Mode on your device then you also need to enable USB Debugging options under it.
Now once you are ready with the pre-requisites then, follow the below steps:
- Download the latest version of OxygenOS for your device.
- Extract the content in a folder on your PC.
- Move the NON-HLOS.bin file to your ADB/Fastboot folder
- Boot the smartphone into Fastboot mode.
- Connect your device to the PC via a USB cable and grant USB debugging permission if prompted.
- Open a command prompt on the same folder where you have extracted the ADB and Fastboot tools.
- Execute the following command:
fastboot flash modem NON-HLOS.bin
- Hit the Enter key.
- Wait for the Fastboot command to show Okay message
- That’s it
Fix Error 70 While Installing Gapps
- Head to Opengapps.
- Then you need to select the Pico Variant which includes Google Play Services and other Google apps. It is small in size and would be good enough to run all the Google services. Moreover, you can install other Google apps later.
- Now select the appropriate Platform/Architecture of your system. i.e.
– ARM: ARMv7 or armeabi.
– ARM64: AArch64 or arm64.
– x86: x86 or x86abi.
Fix: Unsupported Baseband Error While Flashing ROM
- Copy the ROM.zip to your computer.
- Extract the contents of the zip file.
- Now head to META-INF\com\android and open the updater-script file using NotePad application.
- You need to remove the first two lines from the script and save the file.
- Once the script has been saved compress the ROM as a ZIP and copy it back to your phone.
- Reboot your device into TWRP recovery.
- You need to perform quick wipe and then, flash the ROM.
- That’s It!
Fix PIN Errors After Restoring from TWRP Android Backups
- Go to Settings>>Screen Lock.
- Tap on PIN or Password to set a new pin or password.
However, if you are not able to unlock the device at all then:
- Boot back to the TWRP’s recovery.
- It will ask you to enter the PIN or Password.
- Enter the most recent working password or PIN that you remember.
- In case you have never set a pin then type in the default password.
- You will be taken to the home screen of TWRP Recovery.
- Now head to Advanced > File Manager > /data/system folder.
- Scroll down for finding two files with ‘.key‘ extension.
- Delete all the files with word containing locksettings.
- If you have deleted all the .key and locksettings containing files, reboot your device.
- You will be asked to install SuperSU, if prompte then Do NOT install.
- You will be prompted to enter a PIN or password. Enter the most recent one.
- That’s it!
Fix TWRP “unable to mount data” Error and Internal Storage showing 0MB
- Go to Settings > Security > Screen Lock.
- Change screen lock method to either Pass or Pin and enter a new one.
- Reboot your Android device to the TWRP recovery.
- Enter the password or PIN if prompted.
- TWRP will now decrypt device’s internal storage.
- Reboot again into TWRP Recovery again.
- Then head to Wipe>Advanced Wipe>Data>Repair or Change File System>Repair File System and check whether this fixes the issue.
- If not then go to Change File System>Ext2>swipe to confirm.
- Head back to TWRP menu>Mount menu and check now if your partitions can be mounted now.
- Even now if the problem is not solved then you need to repair internal partitions i.e. wipe your internal storage.
Fix Magisk Install Error 1 in TWRP Recovery
- Put the “boot.img” file in your MicroSD card.
- Reboot your device in Recovery mode.
- Tap on Install.
- Now tap on Install Image option which will be located at the bottom right corner.
- Select the boot.img.
- Now select the Boot Partition then swipe to confirm.
- That’s it.
Fix Zip File is Corrupt Error in TWRP
- You will be required to re-download the file.
- Now check the checksum to see if anything is corrupted or not during the transfer.
- Download the right Gapps compatible to the architecture of your mobile.
- If every zip file is shown as corrupt then your storage is faulty.
- Use the Repair function to solve this issue.
Fix Status Error 7 in TWRP Recovery
- Firstly, copy the ROM file to your PC.
- Extract the content of the zip file.
- After extracting the content, you need to find META-INF folder.
- Go the META-INF/com/google/android line.
- In the last directory you will find two files called “update-binary” and “updater-script“. For this issue, we need the updater-script.
- Now you need to rename “updater-script” to “updater-script.txt” and open it in any text editor.
- Remove the line starting with “assert” to the next semi-colon.
- You can find it in the first few lines or in the beginning of the text file.
- Save the modified file.
- Then rename “updater-script.txt” back to “updater-script“.
- Update all files that you have extracted.
- Copy the modified zip-file on your phone;
- Reboot your Android device to recovery mode and try to update it again.
- That’s it! Status Error 7 should be gone.
So, there you have it from my side in this post. Hope you guys liked this post and were able to overcome all the above-mentioned issue by following the steps above. Let us know in the comments below if you know the solution to any other errors in TWRP Recovery and also whether there is an issue with the above-mentioned solutions. Until the next post….Cheers!