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

Search This thread

stuntora

Member
Aug 15, 2013
41
10
OnePlus 7 Pro
  • Like
Reactions: khalisz

Toutatis_

Senior Member
Oct 3, 2012
1,138
684
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.

I guess you meant OxygenOS 11 and not Android 11? I've been running encrypted with crDroid v7 (which used OOS 10 as a base until today's build) for months and have used TWRP without any issue whatsoever to dirty flash updates, GApps, custom kernels...
 

Mohitash

Senior Member
Aug 8, 2012
2,205
4,594
Panchkula, Chandigarh
mohitashkumar.xyz

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
 
  • Like
Reactions: drumslave

Gr8man001

Senior Member
Aug 19, 2012
594
246
Washington, DC
OnePlus 7 Pro
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.
 

Mohitash

Senior Member
Aug 8, 2012
2,205
4,594
Panchkula, Chandigarh
mohitashkumar.xyz
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.

My post is not at all threatening my friend.
And by the way you didn't got my point.
I can understand your situation as you just fixed your device. :)
Anyways, I don't wanna ruin this thread from my side so no further words about this from my side. I just said in my past what I felt as a XDA Retired Recognised Contributor. Full stop. :)

Regards.
 

schumissimo

Member
Sep 5, 2007
17
1
Paramètres> Sécurité et écran de verrouillage
Faites défiler vers le bas jusqu'à ce que vous voyiez l'en-tête Chiffrement et informations d'identification. Votre statut de cryptage est répertorié sur la ligne suivante
Thank you very much for your answer. I just checked I'm not encrypted so can I use TWRP without the risk of bootloop?
 

midgo12

Senior Member
May 30, 2017
89
12
Settings>Security & Lock Screen
Scroll down till you see the header Encryption & Credentials. Your encryption status is listed on the next line
If you flash the decrypt file and decrypt the phone would you be able to upgrade from OOS 10 to OOS 11,2 and still keep TWRP and stay rooted?
 

Mohitash

Senior Member
Aug 8, 2012
2,205
4,594
Panchkula, Chandigarh
mohitashkumar.xyz
If you flash the decrypt file and decrypt the phone would you be able to upgrade from OOS 10 to OOS 11,2 and still keep TWRP and stay rooted?
It doesn't matter your device is decrypted or encrypted.
After flashing OOS 11 you still need to flash decrypt file.
You can check this post. This may help you
 

midgo12

Senior Member
May 30, 2017
89
12
It doesn't matter your device is decrypted or encrypted.
After flashing OOS 11 you still need to flash decrypt file.
You can check this post. This may help you
So this requires a new install and you can't upgrade from OOS10 to OOS 11.2 and keep apps etc and still keep TWRP and Root???
 

khalisz

Senior Member
  • Nov 7, 2012
    526
    192
    Paris
    Backup all your data first to do anything.
    - As @Mohitash said, clean install is needed, you can use the unbrick tool to factory reset your device and then update to Oxygen OS 10 following update to Oxygen OS 11.
    - Unlock the BL
    - Installation the lastest magisk manager.
    - Flash the Boot.img patched in fastboot. (link above).
    - Reboot and you're done.

    This is the way to set your device rooted and remain encrypted until the TWRP update.
     

    namastyler

    Member
    Apr 19, 2021
    6
    0
    Hello! I have a GM1913 unlocked, rooted with Magisk (I think 22.1), TWRP 3.5.0_9-0-guacamole and OOS (last flashed version was 10.0.11.GM21BA with OnePlus7ProOxygen_21.E.32_OTA_032_all_2101280020_c39273ef1f205b6.zip).
    No problems for about a month, this morning I rebooted the phone and it keeps booting to Fastboot Mode.
    I can reach TWRP and I can access my phone directories from the pc.
    I would love to avoid any data loss or anything related to having to reinstall every 2FA I have.
    Fearing for a Magisk addon gone crazy, I tried deleting everything from /data/adb/modules but nothing changed.
    I looked around on XDA but I usually get people stuck on Fastboot only and accessible via usb, which is not my case.
    So I was thinking about flashing the latest available OTA, then TWRP, then Magisk from TWRP but I'm not sure if it will works or just worsen my problem.
    Can somebody explain to me why is this happening and how do I fix this?
     

    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