[OnePlus 7 & 7 Pro Cross Device Development] mauronofrio:
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.

#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 except vibration

- 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"

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://xdaforums.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 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://xdaforums.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

Spoiler content hidden.

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_guacamoleb_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 @HolyAngel for the kernel

Created 2019-05-23