Likewise, if you have flashed the LineageOS, then your TWRP might be replaced with Lineage Recovery. this further complicates the entire matter. There have been various instances of this error message: from XDA Developers to GitHub to Reddit, many users have voiced this concern. But fret not. In this guide, we will help you understand the reason behind this error and how you could easily fix it as well. Follow along. One of the biggest perks of having an open-source ecosystem like Android is the plethora of tweaks that it brings with itself. These include the ability to unlock the device’s bootloader, gain administrative rights by rooting via Magisk, flashing tons of modules, framework, Syubstratum Themes among others. Likewise, many users also prefer to install an altogether new build of Android OS in the form of Custom ROMs. This customized firmware offers a plentitude of features and customizations that the stock OS could not offer. TWRP GUIDES

How to Install OTA Updates in Rooted Android DeviceHow to Permanently Install TWRP without TWRP ZIP File (only using TWRP.img file)Root Android Devices Without TWRP RecoveryHow to Fix TWRP Error 7 (While Flashing Custom ROM via TWRP)

Apart from that, you will also be getting Android upgrades beyond what the OEM has promised. Well, devices like OnePlus One that was launched in 2014 is still quite an active player in the community. If we talk about these custom ROMs, then a few big players include LineageOS, HavocOS, Pixel Experience, among others. Each of these ROMs mainly differs in their offerings. While LineageOS is a basic ROM that mostly focuses on stability, without adding many features.

On the other hand, HavocOS has incorporated tons of features and customization opportunities. Likewise, Pixel Experience, as the name suggests, gives you the cleanest and purest stock Android experience, just what the Pixel devices have to offer. Apart from that, there is another differentiating factor between these ROMs- Google Apps Package or GApps. ROMs like LineageOS don’t come with Google Apps and hence you will have to flash the Google Apps package separately. Whereas Pixel Experience is one ROM that has all the Google Apps, Services and Frameworks baked in. The real issue arises when you have flashed the Custom ROM and then are about to flash these GApps. TWRP would straightaway throw the ERROR: 20 with this GApps file. Likewise, GApps will say that: “Gapp’s pkg is for Android 10.0.x ONLY. Please download the correct version for your ROM: 9 (SDK 28)”. This is followed by the Gapps installation failed message. So why does this happen in the first place? And more importantly how to fix this TWRP Error 20 issue. Well in this guide we will be addressing all these queries and will list out complete instructions set to fix this issue as well. Follow along. Magisk Guides

[GUIDE] Flash ROMs/Magisk/TWRP/Kernels on A/B Partition DevicesEverything About Magisk- Manager, Modules, and MoreBest Magisk Modules of 2020 [PART-1][3 METHODS] Unroot any Android Device-Uninstall Magisk

Why TWRP Error 20 with GApps Occurs?

To begin with, the TWRP Error 20 happens when you don’t reboot to TWRP after flashing the Custom ROM, rather you directly flash the GApps package. As a result, the boot partition (in case of A/B Partition devices) or the boot partition (in non-A/B devices) gets corrupted and unrecognized. Furthermore, the next time you boot your device, chances are your TWRP recovery will be replaced by the LineageOS Recovery. All this makes it more difficult for the end-user. But, we would be making use of this issue only to find the fix. Sounds interesting right, well it definitely is! Here is what needs to be done from your end.

How to Fix TWRP Error 20 with GApps

The below instructions are listed out keeping the LineageOS in mind. This is because this issue seems to only with this said Custom ROM. With that said, as of now, you might have wiped the Data, System, and Cache partition and flashed the LineageOS custom ROM as well. And then you have flashed the GApps package but got the TWRP Error 20. Given below, we have shared two different methods. The first one is relatively shorter than the second, but the second method comes with a higher success rate. Anyways, there is no harm in giving a shot to the first one, you might be among the lucky ones and this issue might be fixed within seconds. If not, the second method is always there.

METHOD 1: From TWRP Itself

DON’T MISS: We conducted a Rooting Poll involving the General Audiences and got some amazing results. Do check out our Rooting Survey Results! <VOTING LINES ARE STILL OPEN!>

METHOD 2: Via LineageOS Recovery

That is it. These were the steps to fix the TWRP Error 20 with GApps. Now you could easily sign in with your Google Account, restore all the data, try out your favorite Google Apps, and dive deep into the Google ecosystem. Rounding off, if you have any queries with respect to any of the aforementioned steps, do let us know in the comments section below. We would definitely get back to you with a solution. NOTE: ALL IMAGES ARE TAKEN BY THE ADMIN OF DROIDWIN.COM. YOU MAY NOT USE IT ON YOUR SITE FOR ANY PURPOSE, WITHOUT CREDITING THIS SITE (DROIDWIN.COM) A/B Partition Guides

[GUIDE] Flash ROMs/Magisk/TWRP/Kernels on A/B Partition DevicesHow to Flash Various Files in A/B Partition DevicesInstall Custom ROMs on any Android Device- Includes A/B PartitionHow to Fix FAILED (remote: unknown command) Error

 

About Chief Editor

How to Fix TWRP Error 20 GApps after flashing LineageOS   DroidWin - 94How to Fix TWRP Error 20 GApps after flashing LineageOS   DroidWin - 48How to Fix TWRP Error 20 GApps after flashing LineageOS   DroidWin - 6How to Fix TWRP Error 20 GApps after flashing LineageOS   DroidWin - 12How to Fix TWRP Error 20 GApps after flashing LineageOS   DroidWin - 98How to Fix TWRP Error 20 GApps after flashing LineageOS   DroidWin - 87How to Fix TWRP Error 20 GApps after flashing LineageOS   DroidWin - 22How to Fix TWRP Error 20 GApps after flashing LineageOS   DroidWin - 3How to Fix TWRP Error 20 GApps after flashing LineageOS   DroidWin - 25How to Fix TWRP Error 20 GApps after flashing LineageOS   DroidWin - 65