[RECOVERY][3.4.0-10][U][guacamole]Official/Unofficial TWRP recovery for OnePlus 7 Pro

Search This thread

esi2121

Senior Member
May 12, 2010
193
23
i have A11 and twrp 3.4.0-10 ,it was normall, i just want to flash new kernel and restart to recovery but twrp just flash screen
i go to fastboot and make it fastboot boot recovery.img and just stuck on fastboot mode logo
and turning of the phone and boot again just such boot loop (or flik twrp first screen),,, and so on
what i must doing to fix???
 
Last edited:

pitrus-

Senior Member
Sep 4, 2011
1,268
541
Östersund
www.wickenberg.nu
i have A11 and twrp 3.4.0-10 ,it was normall, i just want to flash new kernel and restart to recovery but twrp just flash screen
i go to fastboot and make it fastboot boot recovery.img and just stuck on fastboot mode logo
and turning of the phone and boot again just such boot loop (or flik twrp first screen),,, and so on
what i must doing to fix???
As TWRP resides in the boot partition, and currently is incompatible with Android 11 encryption. You will need to restore the original Android 11 boot image which can be found in this thread if you search. This means you will not be able to flash any other kernel either until a new TWRP is released with Android 11 support, or you will need to factory reset and disable encryption completely, then you can use the incompatible TWRP as it's only the encryption that fails decrypting.
 
  • Like
Reactions: khalisz and esi2121

esi2121

Senior Member
May 12, 2010
193
23
As TWRP resides in the boot partition, and currently is incompatible with Android 11 encryption. You will need to restore the original Android 11 boot image which can be found in this thread if you search. This means you will not be able to flash any other kernel either until a new TWRP is released with Android 11 support, or you will need to factory reset and disable encryption completely, then you can use the incompatible TWRP as it's only the encryption that fails decrypting.
fastboot stock boot image isnot working and phone goes to bootloop..
 

Meliiito

Member
Mar 27, 2021
10
3
OnePlus 7 Pro
Ok guys, answer to your questions is so simple but you all are getting confused may be.

First of you need to know that Stable TWRP is not available for OOS 11 Stable and Beta. To use TWRP and OOS 11/Beta together your device must be decrypted.

NOTE: If you are already in bootloop or something after flashing oos 11 with twrp then check my this post. There you have only two options to get back and then follow below steps if you need

Now here is a perfect drill
It will make 0% chances of any bootloop or anything.
These steps will let your device boot up 100% with exact 0% chances of any bootloop

First download Latest "Disable Dm verity and force encrypt zip" from attachment.
Now things you need:
A PC/Laptop with cable or USB OTG drive with required files in it.
Requered files-
1. Latest Official TWRP Installer zip
2. Latest Magisk zip
3. Latest Disable Dm verity and force encrypt zip
4. And obviously OOS 11 rom zip file

Now follow steps below

Main Steps you need:
1. Backup data (If you have data and need that)
2. Boot in TWRP and factory reset.
3. Format Data and type yes to format it.
4. Install oos 11
5. Install TWRP installer zip
6. Install Magisk zip
7. Install Disable Dm verity and force encrypt zip
8. Reboot Recovery
9. Install Magisk again
10. Install Disable Dm verity and force encrypt zip again
11. Reboot and you are good.

There is 0% chance of any bootloop if you follow this.

Regards
Is the same proccess if we want to update? A new OOS11 just come out, do i still need to format data? Am already decrypted.
 
  • Like
Reactions: esi2121

Mohitash

Senior Member
Aug 8, 2012
2,205
4,594
Panchkula, Chandigarh
mohitashkumar.xyz
Is the same proccess if we want to update? A new OOS11 just come out, do i still need to format data? Am already decrypted.

I am already on OOS 11.0.0.2 :)

Dirty flash will work with same steps for updating to latest release. :)

As Fixed Stable TWRP is still not available for OOS 11:

If you are already on decrypted OOS 11 with magisk and working twrp-
And want to update to latest release that is OOS 11.0.0.2

Required files in your phone:
1. Latest Official TWRP Installer zip
2. Magisk v21.4 (latest zip version) [Download here if you don't have already]
3. Latest Disable Dm verity and force encrypt zip [Download here if you don;t have already]
4. And obviously latest OOS 11 rom zip file


1. Reboot to TWRP
2. Wipe cache (as I always do this while updating same rom with latest release)
3. Install latest OOS 11.0.0.2
4. Install TWRP installer zip
5. Install Magisk 21.4 (latest zip version)
6. Install latest Disable Dm verity and force encrypt zip
7. Reboot recovery
8. Flash Magisk 21.4 again
9. Flash latest Disable Dm verity and force encrypt zip again
10. Reboot and you are good.
11. Open magisk and update it (direct install)

As before, There is 0% chance of any bootloop if you follow this.

P.S.: This OOS 11.0.0.2 update is just a small hotfix update as all changelogs are same as OOS 11.0.0. We can assume this is a first Stable OOS 11 release LOL. (I noticed this happens many times with OOS as I have used 3 OnePlus devices before 7 Pro.
But anyways, I didn't found any issue on OOS 11.0.0

Regards
 
Last edited:

Meliiito

Member
Mar 27, 2021
10
3
OnePlus 7 Pro
I am already on OOS 11.0.0.2 :)

Dirty flash will work with same steps for updating to latest release. :)

As Fixed Stable TWRP is still not available for OOS 11:

If you are already on decrypted OOS 11 with magisk and working twrp-
And want to update to latest release that is OOS 11.0.0.2

Required files in your phone:
1. Latest Official TWRP Installer zip
2. Magisk v21.4 (latest zip version) [Download here if you don't have already]
3. Latest Disable Dm verity and force encrypt zip [Download here if you don;t have already]
4. And obviously latest OOS 11 rom zip file


1. Reboot to TWRP
2. Wipe cache (as I always do this while updating same rom with latest release)
3. Install latest OOS 11.0.0.2
4. Install TWRP installer zip
5. Install Magisk 21.4 (latest zip version)
6. Install latest Disable Dm verity and force encrypt zip
7. Reboot recovery
8. Flash Magisk 21.4 again
9. Flash latest Disable Dm verity and force encrypt zip again
10. Reboot and you are good.
11. Open magisk and update it (direct install)

As before, There is 0% chance of any bootloop if you follow this.

P.S.: This OOS 11.0.0.2 update is just a small hotfix update as all changelogs are same as OOS 11.0.0. We can assume this is a first Stable OOS 11 release LOL. (I noticed this happens many times with OOS as I have used 3 OnePlus devices before 7 Pro.
But anyways, I didn't found any issue on OOS 11.0.0

Regards
Ahh thanks bro.
 
  • Like
Reactions: Mohitash

khalisz

Senior Member
  • Nov 7, 2012
    526
    192
    Paris

    schumissimo

    Member
    Sep 5, 2007
    17
    1
    Hello everyone, I am under OOS11 and I followed the procedure where you have to flash with "Disable Dm and force encrypt zip", obviously I can use the latest version of TRWP but before that I would like to check if I am encrypted or not . Where or how can I see it, please? See thanking in advance.
     

    khalisz

    Senior Member
  • Nov 7, 2012
    526
    192
    Paris
    Hello everyone, I am under OOS11 and I followed the procedure where you have to flash with "Disable Dm and force encrypt zip", obviously I can use the latest version of TRWP but before that I would like to check if I am encrypted or not . Where or how can I see it, please? See thanking in advance.

    Please stop doing that !
    Check this tutorial : https://www.thecustomdroid.com/android-11-magisk-rooting-guide/

    +

    My 7 Pro is EU and I use the Global ROM 11.0.0.2
    Here's the Patched Boot.img for 11.0.0.2

    => https://drive.google.com/drive/folders/1NIF6yCFTs0h1dAr9-CGw1EbKUiGufMjc?usp=sharing

    Do you know how to flash it ?
    - The bootloader must be unlocked.
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 2
      Is the same proccess if we want to update? A new OOS11 just come out, do i still need to format data? Am already decrypted.

      I am already on OOS 11.0.0.2 :)

      Dirty flash will work with same steps for updating to latest release. :)

      As Fixed Stable TWRP is still not available for OOS 11:

      If you are already on decrypted OOS 11 with magisk and working twrp-
      And want to update to latest release that is OOS 11.0.0.2

      Required files in your phone:
      1. Latest Official TWRP Installer zip
      2. Magisk v21.4 (latest zip version) [Download here if you don't have already]
      3. Latest Disable Dm verity and force encrypt zip [Download here if you don;t have already]
      4. And obviously latest OOS 11 rom zip file


      1. Reboot to TWRP
      2. Wipe cache (as I always do this while updating same rom with latest release)
      3. Install latest OOS 11.0.0.2
      4. Install TWRP installer zip
      5. Install Magisk 21.4 (latest zip version)
      6. Install latest Disable Dm verity and force encrypt zip
      7. Reboot recovery
      8. Flash Magisk 21.4 again
      9. Flash latest Disable Dm verity and force encrypt zip again
      10. Reboot and you are good.
      11. Open magisk and update it (direct install)

      As before, There is 0% chance of any bootloop if you follow this.

      P.S.: This OOS 11.0.0.2 update is just a small hotfix update as all changelogs are same as OOS 11.0.0. We can assume this is a first Stable OOS 11 release LOL. (I noticed this happens many times with OOS as I have used 3 OnePlus devices before 7 Pro.
      But anyways, I didn't found any issue on OOS 11.0.0

      Regards
      2
      Decryption is not recommended, you can be rooted without TWRP. As I mentioned few posts above, untill the update of TWRP.

      +1
      2
      This is 3rd time you are breaking the XDA rule.
      Before you were just sharing external site (may be yours and just want to take visitors there...whatever) link that is not needed because a good guide is already here in this thread itself in posts.
      You are not helping or explains or giving answer to anything. Just sharing external link.

      And this time you said: "Please stop doing that!"
      What's wrong?.
      And then again shared the same link.
      Please stop doing this otherwise your posts/profiled will get reported by several xda members here.

      Regards
      The guide in the link is the most accurate guide for rooting with magisk22 . If you can't understand the process, there is no need to threaten the person trying to help. Sharing the external for the guide is not illegal. I followed the instructions listed on the link and rooted without any difficulty. You can skip the steps of extracting the stock image by googling the stock image or search on the xda forums.
      2
      Is there a working android 11 twrp for any device? If no, what is the reason?
      The TWRP doesn't works yet with A11, be patient.
      If you want to root your device, you can do it easily. check my post above. :)
      2
      My phone is already rooted, I just want to know if I am encrypted or not.
      If you can use TWRP under Android 11 then you are unencrypted, else you wouldn't be able to use TWRP until we get a version that supports Android 11 encryption.
    • 148
      Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

      Code:
      #include <std_disclaimer.h>
      /*
      *
      * We are not responsible for bricked devices, dead SD cards,
      * thermonuclear war, or you getting fired because the alarm app failed. Please
      * do some research if you have any concerns about features included in this ROM
      * before flashing it! YOU are choosing to make these modifications, and if
      * you point the finger at us for messing up your device, we will laugh at you.
      *
      */

      Features:
      - Seems is working all
      - Android Q Support
      - Android 11 Decryption

      Install guide (Reccomended):
      1. Install fastboot tools from google's sdk on your PC
      2. Enter fastboot mode
      3. Unlock your bootloader
      4. Run "fastboot boot recoveryimgfilename.img" in command line (if you want to have it permanently you should flash the installer)
      5. If you will flash the installer and you are stock you need also to flash magisk or your phone will not boot again
      6. Enjoy it:)

      Other Install guide (More articulated but fully functional):
      1. Install fastboot tools from google's sdk on your PC
      2. Enter fastboot mode
      3. Unlock your bootloader
      4. Run "fastboot boot recoveryimgfilename.img" in command line
      5. Copy the recoveryimgfilename.img in the phone memory
      6. Go in advanced menu
      7. Click on "Install Recovery Ramdisk"
      Screenshot-2019-04-04-17-25-43.png

      8. Choose the recoveryimgfilename.img
      9. Swipe to install


      OLD Install guide (Much more articulated but perfectly functional):
      1. Follow this guide to root your device: https://forum.xda-developers.com/oneplus-7-pro/how-to/guide-root-oneplus-7-pro-patched-boot-t3931205
      2. Flash the TWRP installer like a magisk module
      3. Flashing the TWRP installer you will lose the root, so you will need to flash magisk again from magisk manager before reboot the device or you can reboot the device and flash magisk in twrp


      HOW TO UPDATE a ROM and KEEP TWRP and ROOT:
      Before all Disable all magisk modules for boths methods

      - Put rom.zip, twrp installer.zip and magisk.zip on your internal storage;
      - Flash Rom;
      - Flash TWRP Installer;
      - Flash magisk;
      - Reboot.

      If you want you can also update a stock rom from phone settings with local upgrade:
      - Update the Rom WITHOUT REBOOT;
      - Open Magisk Manager;
      - Menu/modules/+ button/select the twrp installer.zip and flash it;
      - Always in Magisk Manager, click on Install/Install/Direct Install;
      - Again in Magisk Manager, click on Install/Install/Inactive Slot;
      - Reboot.


      BugReport:
      Please all, when you got a problem, bootloop, error in twrp, unable to do something, please be sure you have followed the guides properly and when you write here you have problem just follow this guidelines for the bugreport:
      - Write what rom and version you have actually;
      - Write which device you have, gm1910, gm1913, gm1917, gm1915, gm1920, gm1911.
      - Write which twrp you are using (Unofficial, Officia and the version);
      - If you got an error in the twrp flashing a zip, after got the error make a log using this command : "cat /tmp/recovery.log" or if you are using adb with "adb shell cat /tmp/recovery.log". Copy the output in a text file and send me it.
      - Write what are you trying to do;
      - Write how you flash the twrp and magisk, just write what you do.

      If you don't give me this infos i can't help you.
      If something doesn't work, don't just complain, but try to get the problem resolved by giving all the information you have.

      Tips:
      If android Q TWRP .img doens't work, reboot in fastboot again and try the Pie TWRP
      If you alread have a twrp flashed you can only flash the new installer zip or the new installation method to update your TWRP (remember to flash again magisk or your system will not boot).
      If you have some problems with backup, like 255 error or something similar please check this guide: https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
      For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".

      Download:
      India Fake Partition Deleter by mauronofrio
      Official Builds

      TWRP 3.4.0-10 Unified Unofficial Q by mauronofrio
      TWRP 3.4.0-10 Unified Unofficial Installer by mauronofrio

      TWRP 3.4.0-0 Unified Unofficial Q by mauronofrio
      TWRP 3.4.0-0 Unified Unofficial Installer by mauronofrio


      Official Builds
      OnePlus 7 Pro 9.5.3 stock boot.img

      Reccomended ADB and Fastboot binaries:

      Adb and Fastboot Installer

      Source code:
      https://github.com/omnirom/android_bootable_recovery
      https://github.com/mauronofrio/android_device_oneplus_guacamole_TWRP
      https://github.com/mauronofrio/android_device_oneplus_guacamole_unified_TWRP
      Android Pie IMG: https://gitlab.com/HolyAngel/op7
      Android Q IMG: Precompiled stock one

      My Telegram TWRP Support Group:
      https://t.me/twrp_Mauronofrio

      Donations:



      Credits:
      Thanks to @Titokhan for the tests
      Thanks to all Telegram Test Group
      Thanks to @HolyAngel for the kernel
      Thanks to @rsyhan for the help with the reserve script
      Thanks to @arter97 for the help with the Android Q Kernel

      Created 2019-05-18
      76
      Let's do it again:

      New TWRP 3.3.1-70 guacamole unified (OnePlus 7, OnePlus 7 Pro, OnePlus 7 Pro 5G):
      - Fixed fastboot boot command also for Android Q.

      Actually i will publish an .img for android Q, one for android Pie and an Installer that will works on both.

      TWRP 3.3.1-70 Unified Unofficial Q by mauronofrio
      TWRP 3.3.1-70 Unified Unofficial Pie by mauronofrio
      TWRP 3.3.1-70 Unified Unofficial Installer by mauronofrio

      I want to say a big thanks to @arter97 that help me to make this new TWRP.

      I hope this community will support me also in the next OnePlus generation.
      51
      TWRP 3.3.1-74 OnePlus 7/ 7 Pro/ 7 Pro 5G (guacamole unified) by mauronofrio:
      FInally fixed all problems with rom flashing;
      Added a new script to support this new india.img fake partitions (now you can flash Open Beta 6).

      TWRP 3.3.1-74 Unified Unofficial Q by mauronofrio
      TWRP 3.3.1-74 Unified Unofficial Pie by mauronofrio
      TWRP 3.3.1-74 Unified Unofficial Installer by mauronofrio
      49
      For the reserve partition problem, I thought I had already solved the problem, apparently it wasn't like that. I want to explain why this problem happens:
      The main problem is that reserve partition doesn't exist, the reserve.img should be copied directly in a data folder (precisely /data/reserve/reserve.img ), unfortunately this is not easy, because on the devices with A/B slots to flash a rom using a TWRP we need to use the update_engine_sideload, an executable that will automatically flash the partitions present in the payload.bin in the respective partitions of the inactive slot.
      So a reserve.img file should be flashed (from the update_engine_sideload) in the /dev/block/bootdevice/by-name/reserve_a ( if a slot is the inactive one), but /dev/block/bootdevice/by-name/reserve_a doesn't exist.
      So i managed to make a new service-script that will automatically create the /data/reserve/reserve.img file and /dev/block/bootdevice/by-name/reserve_a and /dev/block/bootdevice/by-name/reserve_b symlinks.

      Another problem came at beginning with some other partitions that are not 2 but only one, but that wasn't a big problem.

      Now i can say that the reserve problem should be fixed at all.

      Now, there some problems with Android Q, i worked for few days to see if possible to make the TWRP boots from fastboot, but actually i'm unable to make a TWRP that boots from fastboot in Android Q., i don't know if it is a bootloader problem, a kernel problem or a twrp problem. (I actually think it is a bootloader problem in all cases)

      If you need to flash the TWRP on android Q i reccomend to flash it with magisk manager ( so to do this you need to flash a patched_boot.img to have root), this guide is already explained in the first post under thread "Old Flashing Guide".

      I did also a new feature to keep twrp and root after you update your rom (or you flash a boot.img), this new feature is called inject TWRP and you can enable (or disable) it after you selected a zip in the install option. Remember to disable it when you don't need of it or it will create some problems. I will reccomend to don't use it if you are flashing a new kernel or magisk.zip.
      Image Explanation:
      Screenshot-2019-09-03-09-22-36.png


      Update TWRP 3.3.1-65 guacamole unified (OnePlus 7, OnePlus 7 Pro, OnePlus 7 Pro 5G) by mauronofrio:
      - Fixed reserve partition error during ROM flashing;
      - Updated kernel (Reduced .img size from 56MB to 33MB);
      - Added new Inject TWRP feature.

      TWRP 3.3.1-65 Unified Unofficial by mauronofrio
      TWRP 3.3.1-65 Unified Unofficial Installer by mauronofrio
      45
      TWRP 3.3.1-75 OnePlus 7 / 7 Pro / 7 Pro 5g (guacamole unified) by mauronofrio:
      - Fixed error 255 during backup caused by /data/per_boot folder.

      TWRP 3.3.1-75 Unified Unofficial Q by mauronofrio
      TWRP 3.3.1-75 Unified Unofficial Pie by mauronofrio
      TWRP 3.3.1-75 Unified Unofficial Installer by mauronofrio
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone