[RECOVERY] [12] [OFFICIAL] TeamWin Recovery Project

Search This thread

khalisz

Senior Member
Nov 7, 2012
620
236
Paris
Sony Xperia Z3 Compact
OnePlus 5
I would consider something like this:

1. Download Latest TWRP FBE v1 and V2 (img and installer) along with your rom files
2. Install TWRP FBEv1 (which is for stock rom)
3. Reboot to recovery and take a nandroid backup / full system backup
4. Once backup is completed. Install TWRP FBEv2 and reboot to recovery.
5. Now follow your rom installation guide.


Note - if things go south, at least you have a restore point to go back to.

Agree 100%
 

H4X0R46

Senior Member
Oct 1, 2013
2,203
727
So I'm getting caught up here, I'm seeing that TWRP does not support OOS12 aside from the test builds linked in the OP?

ALSO, are those test builds meant to only be booted with fastboot or are those images meant to be flashed to the device?
 

H4X0R46

Senior Member
Oct 1, 2013
2,203
727
Has anyone been able to get TWRP installed on OxygenOS 12? Am I doing something wrong? booting one of the OOS 12 TWRP builds causes the phone to endlessly bootloop. I just can't get TWRP on my 7 Pro.
 

Cobmaster

Senior Member
Oct 18, 2011
315
112
Lecco
Samsung Galaxy S10+
OnePlus 7
@H4X0R46 , I already had this problem... The only solution I found by myself is:
1) Backup all your data from the internal memory (i.e. using FTP or whatever method you like the most)
2) Download latest MsmDownloadTool for your device, latest driver for Qualcomm EDL and the latest OTA from the OnePlus site ( we will need it later)
3) Power off your device before connecting to the PC. Hold VOL+ and VOL- and connect it to your PC, you should hear the sound of a connected device and the phone's screen is black.
4) Check if the device is properly connected in device manager. (If it doesn't work select manually the driver)
5) Start MsmDownloadTool V4.0.exe and if it asks the login choose from User Type "Others"
6) Click on the enum button a bunch of times and if your PC is saying "Connected" you can start the downgrade... Be wary that this procedure wipes all the data inside and locks again the bootloader!!
7) When it reboots it's back to OOS 11. Skip all configuration steps (it doesn't matter, we have to unlock the bootloader)
8) Proceed to unlock the bootloader and installing TWRP as the OP said
9) Transfer the OTA from your PC to TWRP and install it but make sure to tick the "Keep TWRP after rom install". Go back to the main menu and select reboot select the correct slot in which you just installed the OTA and select system.
10) When the phone boots up, it will be on OOS12 but with TWRP.
11) Reboot in recovery once more and flash again the OTA with the same option as before. (It's not required, but if you want a bootable phone if you mess around with the system, is a good thing to have)
If you want you can flash magisk 25.2 as normally in recovery too...
 
Last edited:

AFAFontes

Member
Aug 6, 2016
15
4
twrp-3.7.0_12-0-guacamole.img doesn't work for me.
I go to fastboot mode, type fastboot boot twrp-3.7.0_12-0-guacamole.img on cmd and it gets stuck with OP icon and "Fastboot mode" sign.

build: GM1913_11_H.30

Note: tried 3.6.2 version still not working

Anyone has a working version of twrp or can upload patched boot.img for OOS GM1913_11_H.30 build (op7pro eu)?

UPDATE: I just patched the boot.img but when I flash I get into a bootloop, probably due to a magisk module, is there any way to uninstall a specific module or get a list of all installed modules and then uninstall all the modules without root and without a working twrp?

UPDATE2: SOLVED - so after getting the patched boot.img I just flashed using fastboot and immediately rebooted into Safe Mode using hardware keys, this way the system booted with all modules disabled as Magisk does it once it detects the phone is booting into Safe Mode so no more bootloop with patched img, after that I rebooted again back to normal mode and as the module disable state persists, the phone's rooted and I'm able to manage modules through the manager (remove the module that previously caused the bootloop and enable the others).
 

Attachments

  • untitled.JPG
    untitled.JPG
    3 KB · Views: 35
Last edited:
twrp-3.7.0_12-0-guacamole.img doesn't work for me.
I go to fastboot mode, type fastboot boot twrp-3.7.0_12-0-guacamole.img on cmd and it gets stuck with OP icon and "Fastboot mode" sign.

build: GM1913_11_H.30

Note: tried 3.6.2 version still not working

Anyone has a working version of twrp or can upload patched boot.img for OOS GM1913_11_H.30 build (op7pro eu)?

UPDATE: I just patched the boot.img but when I flash I get into a bootloop, probably due to a magisk module, is there any way to uninstall a specific module or get a list of all installed modules and then uninstall all the modules without root and without a working twrp?

UPDATE2: SOLVED - so after getting the patched boot.img I just flashed using fastboot and immediately rebooted into Safe Mode using hardware keys, this way the system booted with all modules disabled as Magisk does it once it detects the phone is booting into Safe Mode so no more bootloop with patched img, after that I rebooted again back to normal mode and as the module disable state persists, the phone's rooted and I'm able to manage modules through the manager (remove the module that previously caused the bootloop and enable the others).
Yep had the same problem, had to downgrade to 11, then unlock and flashed TWRP.
Then updated to 12, kept magisk but had to flash patched image with fastbboot, Magisk all good but cant get TWRP installed. Like you waiting for a viable installable twrp for 12
 

AFAFontes

Member
Aug 6, 2016
15
4
Yep had the same problem, had to downgrade to 11, then unlock and flashed TWRP.
Then updated to 12, kept magisk but had to flash patched image with fastbboot, Magisk all good but cant get TWRP installed. Like you waiting for a viable installable twrp for 12

Well I honestly don't need twrp anymore. Would be cool and it would save me some time but I can definitely survive without it.
Anyways it's probably my last Oneplu$ device since their OS is not great anymore and they're not community friendly anymore.
 
UPDATE ON ANDROID 12 and TWRP
yep got it going, I did this, installed the magisk APP,
downloaded the OS version for android 12 extracted the boot image using PAYLOAD DUMPER on PC, transferred the boot image to the phone, used it in MAGISK to create a magisk boot record, sent it back to PC, used fastboot to flash new boot image.

C:\Users\User>fastboot devices
2de5e2fc fastboot

C:\Users\User>fastboot boot magisk_patched-25200_thTUt
.img
downloading 'boot. image...
OKAY [ 2.561s]
booting...
OKAY [ 0.090s]
finished. total time: 2.651s

Then flashed Magisk again, rebooted and finished the magisk install.

Then used Magisk to Flash twrp-installer-3.7.0_12-0-guacamole.zip reflashed Magisk, rebooted and finished Magisk install
Don't forget when running TWRP for the first time to run the reinstall script
 

kdsgn3

New member
Aug 24, 2014
4
0
OnePlus 7
Google Pixel 5a
Please, someone spell it out for me. I have a OnePlus 7 NOT PRO (guacamoleb) and this twrp img seems like it is only for OnePlus 7 Pro (guacamole). Is it compatible with either??

All the links to a guacamoleb version seem to be broken.
 

nomobytes

Member
Aug 2, 2017
43
34
theManhattan
UPDATE ON ANDROID 12 and TWRP
yep got it going, I did this, installed the magisk APP,
downloaded the OS version for android 12 extracted the boot image using PAYLOAD DUMPER on PC, transferred the boot image to the phone, used it in MAGISK to create a magisk boot record, sent it back to PC, used fastboot to flash new boot image.

C:\Users\User>fastboot devices
2de5e2fc fastboot

C:\Users\User>fastboot boot magisk_patched-25200_thTUt
.img
downloading 'boot. image...
OKAY [ 2.561s]
booting...
OKAY [ 0.090s]
finished. total time: 2.651s

Then flashed Magisk again, rebooted and finished the magisk install.

Then used Magisk to Flash twrp-installer-3.7.0_12-0-guacamole.zip reflashed Magisk, rebooted and finished Magisk install
Don't forget when running TWRP for the first time to run the reinstall script
Your method worked for me. Specifically-
fastboot boot twrp-3.7.0_12-0-guacamole.img left me in fastboot mode. But installing twrp-installer-3.7.0_12-0-guacamole.zip from within magisk worked, though I had to run a magisk direct install immediately afterwards as the twrp installer will unroot your device.

That left me with a stock GM1917_11_H.37 (via OTA) rooted with working twrp device.
 
  • Like
Reactions: Zobat

indiman

Member
Oct 6, 2011
34
3
UPDATE ON ANDROID 12 and TWRP
yep got it going, I did this, installed the magisk APP,
downloaded the OS version for android 12 extracted the boot image using PAYLOAD DUMPER on PC, transferred the boot image to the phone, used it in MAGISK to create a magisk boot record, sent it back to PC, used fastboot to flash new boot image.

C:\Users\User>fastboot devices
2de5e2fc fastboot

C:\Users\User>fastboot boot magisk_patched-25200_thTUt
.img
downloading 'boot. image...
OKAY [ 2.561s]
booting...
OKAY [ 0.090s]
finished. total time: 2.651s

Then flashed Magisk again, rebooted and finished the magisk install.

Then used Magisk to Flash twrp-installer-3.7.0_12-0-guacamole.zip reflashed Magisk, rebooted and finished Magisk install
Don't forget when running TWRP for the first time to run the reinstall script
Could you explain more details pls? Thanks.
 
  • Like
Reactions: AdUser

AdUser

Member
Sep 10, 2012
7
0
UPDATE ON ANDROID 12 and TWRP
yep got it going, I did this, installed the magisk APP,
downloaded the OS version for android 12 extracted the boot image using PAYLOAD DUMPER on PC, transferred the boot image to the phone, used it in MAGISK to create a magisk boot record, sent it back to PC, used fastboot to flash new boot image.

C:\Users\User>fastboot devices
2de5e2fc fastboot

C:\Users\User>fastboot boot magisk_patched-25200_thTUt
.img
downloading 'boot. image...
OKAY [ 2.561s]
booting...
OKAY [ 0.090s]
finished. total time: 2.651s

Then flashed Magisk again, rebooted and finished the magisk install.

Then used Magisk to Flash twrp-installer-3.7.0_12-0-guacamole.zip reflashed Magisk, rebooted and finished Magisk install
Don't forget when running TWRP for the first time to run the reinstall script
Do you can explain pls?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    UPDATE ON ANDROID 12 and TWRP
    yep got it going, I did this, installed the magisk APP,
    downloaded the OS version for android 12 extracted the boot image using PAYLOAD DUMPER on PC, transferred the boot image to the phone, used it in MAGISK to create a magisk boot record, sent it back to PC, used fastboot to flash new boot image.

    C:\Users\User>fastboot devices
    2de5e2fc fastboot

    C:\Users\User>fastboot boot magisk_patched-25200_thTUt
    .img
    downloading 'boot. image...
    OKAY [ 2.561s]
    booting...
    OKAY [ 0.090s]
    finished. total time: 2.651s

    Then flashed Magisk again, rebooted and finished the magisk install.

    Then used Magisk to Flash twrp-installer-3.7.0_12-0-guacamole.zip reflashed Magisk, rebooted and finished Magisk install
    Don't forget when running TWRP for the first time to run the reinstall script
    Your method worked for me. Specifically-
    fastboot boot twrp-3.7.0_12-0-guacamole.img left me in fastboot mode. But installing twrp-installer-3.7.0_12-0-guacamole.zip from within magisk worked, though I had to run a magisk direct install immediately afterwards as the twrp installer will unroot your device.

    That left me with a stock GM1917_11_H.37 (via OTA) rooted with working twrp device.
    1
    UPDATE ON ANDROID 12 and TWRP
    yep got it going, I did this, installed the magisk APP,
    downloaded the OS version for android 12 extracted the boot image using PAYLOAD DUMPER on PC, transferred the boot image to the phone, used it in MAGISK to create a magisk boot record, sent it back to PC, used fastboot to flash new boot image.

    C:\Users\User>fastboot devices
    2de5e2fc fastboot

    C:\Users\User>fastboot boot magisk_patched-25200_thTUt
    .img
    downloading 'boot. image...
    OKAY [ 2.561s]
    booting...
    OKAY [ 0.090s]
    finished. total time: 2.651s

    Then flashed Magisk again, rebooted and finished the magisk install.

    Then used Magisk to Flash twrp-installer-3.7.0_12-0-guacamole.zip reflashed Magisk, rebooted and finished Magisk install
    Don't forget when running TWRP for the first time to run the reinstall script
    Could you explain more details pls? Thanks.
    1
    Currently with oos 11 and magisk 25.2
    Do we have a safe method to upgrade to oos 12 with root and recovery working. Thanks in advance
    that's exactly my question also. 😂
    1
    that's exactly my question also. 😂
    i just did...
    stay at TWRP-3.6.2-guacamole-Nebrassy-02-10-22.img and twrp-installer-3.6.2_11-0-guacamole.zip
    and follow the usual upgrade method. Make sure you have backup.
  • 97



    Introduction:

    Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's 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.

    Key Features:

    Touchscreen driven with real buttons and drag-to-scroll
    XML-based GUI that allows full customization of the layout true theming!
    Settings are saved to the sdcard and persist through reboots
    Ability to choose which partitions to back up and which to restore
    Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
    Onscreen keyboard
    Easy selection of internal/external storage

    In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe, and run a backup.

    We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open source project.

    Source Code:

    GitHub - https://github.com/TeamWin/android_bootable_recovery

    Gerrit Instance - http://gerrit.twrp.me

    If you have made your own TWRP build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.


    Hello, this is TWRP, for Oneplus 7/Pro/5G that supports Android 11
    can be flashed to boot with working decryption on android 11 roms


    bugs:
    backup/restore is unreliable

    Installation:
    1. fastboot boot twrp.img
    2. go to Advanced > Flash Current TWRP
    3. after that is done, if you were using a custom kernel, reflash it now
    4. if you were using magisk, reflash it now

    Updating to a newer build:
    1. download new build to internal storage
    2. go to Advanced > Install Recovery Ramdisk
    4. select the new image
    5. after that is done, if you were using a custom kernel, reflash it now
    6. if you were using magisk, reflash it now

    Send me a beer: Crypto(Preferred) | PayPal

    Trees:
    https://github.com/TeamWin/android_device_oneplus_guacamole
    https://github.com/TeamWin/android_device_oneplus_sm8150-common

    Telegram group: https://t.me/NSSFB

    Download: https://twrp.me/oneplus/oneplus7pro.html

    Unofficial 12 builds: https://www.pling.com/p/1835156/
    18
    new build is up

    fixed decryption on newer roms
    added an option to auto flash TWRP after flashing a rom
    fixed the problem where you needed to refresh sizes before being able to flash TWRP
    14
    this is now official

    12
    Uploaded new build for non FBEv2 fixing backup in most cases, you should still not depend on TWRP backup as the only backup you have as restoring while encrypted can be problematic
    11
    I am in the same position as the person above my comment. Can someone please give me instructions?

    I am on a GM1917 with OxygenOS 10 Open Beta 19, and I want to jump to OxygenOS 11 Open Beta 5.

    Is this instruction my best path? https://forum.xda-developers.com/t/...eamwin-recovery-project.4289455/post-85157715

    Any advice from someone that has already updated would be highly appreciated, especially if you have a GM1917.



    PLEASE HELP!!!!!!

    I installed the OOS 11 OB5 through OTA and then I did not reboot.
    Then I installed Magisk in the Magisk app for both the current slot and slot_b.
    Then I rebooted.
    I was in my phone and nothing was wrong, then I booted into fastboot and I connected my phone to my computer.
    Then I installed this version of TWRP just like the original post says.
    Then I rebooted.
    NOW IT BOOTS ONLY INTO THIS VERSION OF TWRP!!!!
    HOW DO I GET MY PHONE BACK??????!!!!
    This is what I did to install the latest version of OOS 11 and keep root and this version of TWRP.
    Maybe it will help you.

    1. Install OTA update as a local upgrade but DON'T REBOOT.
    2. Open Magisk and install to direct install DON'T REBOOT.
    3. Open Magisk again and install to inactive slot NOW REBOOT.
    4. After reboot you should still be rooted and have the latest OTA update with stock recovery.
    5. Use phone stock recovery to boot into bootloader mode.
    6. Use your PC with adb to flash nebrassy 2 TWRP image in the phone bootloader mode.
    7. When in TWRP go to Advanced > Flash Current TWRP.
    8. Flash latest Magisk (have this .zip file in download folder already) again to keep root.
    9. Reboot and enjoy latest OOS11 version with TWRP and rooted.