FORUMS
Remove All Ads from XDA

[RECOVERY][3.3.1-35][U][guacamole]Official/Unofficial TWRP recovery for OnePlus 7 Pro

2,992 posts
Thanks Meter: 6,031
 
View First Unread Post Reply Email Thread
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

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

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/one...-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://forum.xda-developers.com/one...e-999-t3801632
For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".

Download:
TWRP 3.3.1-35 Unified Unofficial by mauronofrio
TWRP 3.3.1-35 Unified Unofficial Installer by mauronofrio
TWRP 3.3.1-33 Unified Unofficial by mauronofrio
TWRP 3.3.1-33 Unified Unofficial Installer by mauronofrio
TWRP 3.3.1-30 Unofficial by mauronofrio
TWRP 3.3.1-30 Unofficial Installer by mauronofrio
actually official 3.3.1-1 and 3.3.1-25 are the same twrp (in the unofficial one i added also a commit for decryption on may security patch)
TWRP 3.3.1-3 Official by mauronofrio
OnePlus 7 Pro 9.5.3 stock boot.img

Source code:
https://github.com/omnirom/android_bootable_recovery
https://github.com/mauronofrio/andro...guacamole_TWRP
https://github.com/mauronofrio/andro...e_unified_TWRP
https://gitlab.com/HolyAngel/op7

Donations:

Donate link

Credits:
Thanks to @Titokhan for the tests
Thanks to all Telegram Test Group
Thanks to @HolyAngel for the kernel

Created 2019-05-18
Attached Thumbnails
Click image for larger version

Name:	photo_2019-05-19_12-54-28.jpg
Views:	10136
Size:	231.5 KB
ID:	4761608  
The Following 79 Users Say Thank You to mauronofrio For This Useful Post: [ View ] Gift mauronofrio Ad-Free
 
 
18th May 2019, 02:19 PM |#2  
Before you start asking, i don't know if this twrp will work on OnePlus 7, it should works too, but i'm not sure.
The Following User Says Thank You to mauronofrio For This Useful Post: [ View ] Gift mauronofrio Ad-Free
18th May 2019, 03:07 PM |#3  
Member
Flag Diever
Thanks Meter: 25
 
Donate to Me
More
Do you have any idea if it's region specific or not? Since the stock OxygenOS zips are region and serial specific
18th May 2019, 03:19 PM |#4  
Quote:
Originally Posted by tych_tych

Do you have any idea if it's region specific or not? Since the stock OxygenOS zips are region and serial specific

I think you can flash it without problems on all region variants
18th May 2019, 03:27 PM |#5  
Senior Member
Flag Haarlem
Thanks Meter: 282
 
More
Hello, after I do fastboot reboot it bootloops oos. And I followed the tutorial step by step

E:\Desktop\akbar\platform-tools>fastboot getvar current-slot
current-slot: a
finished. total time: 0.005s

E:\Desktop\akbar\platform-tools>fastboot --set-active=_b
Setting current slot to 'b'...
OKAY [ 0.045s]
finished. total time: 0.046s

E:\Desktop\akbar\platform-tools>fastboot flash boot test-twrp-3.3.1-1-guacamole.img
target reported max download size of 805306368 bytes
sending 'boot_b' (55972 KB)...
OKAY [ 1.191s]
writing 'boot_b'...
OKAY [ 0.292s]
finished. total time: 1.484s

E:\Desktop\akbar\platform-tools>fastboot reboot
rebooting...

finished. total time: 0.002s
18th May 2019, 03:30 PM |#6  
Quote:
Originally Posted by mingo_mgx

Hello, after I do fastboot reboot it bootloops oos. And I followed the tutorial step by step

E:\Desktop\akbar\platform-tools>fastboot getvar current-slot
current-slot: a
finished. total time: 0.005s

E:\Desktop\akbar\platform-tools>fastboot --set-active=_b
Setting current slot to 'b'...
OKAY [ 0.045s]
finished. total time: 0.046s

E:\Desktop\akbar\platform-tools>fastboot flash boot test-twrp-3.3.1-1-guacamole.img
target reported max download size of 805306368 bytes
sending 'boot_b' (55972 KB)...
OKAY [ 1.191s]
writing 'boot_b'...
OKAY [ 0.292s]
finished. total time: 1.484s

E:\Desktop\akbar\platform-tools>fastboot reboot
rebooting...

finished. total time: 0.002s

try to manually reboot in recovery mode, there is something be understood for now. If it doesn't boot in twrp in any method just flash stock boot.img.


EDIT:
TWRP 3.3.1-2:
Fixed vibration:
TWRP 3.3.1-2 Unofficial by mauronofrio
TWRP 3.3.1-2 Unofficial Installer by mauronofrio
The Following User Says Thank You to mauronofrio For This Useful Post: [ View ] Gift mauronofrio Ad-Free
18th May 2019, 03:35 PM |#7  
Senior Member
Flag Haarlem
Thanks Meter: 282
 
More
Quote:
Originally Posted by mauronofrio

try to manually reboot in recovery mode, there is something be understood for now. If it doesn't boot in twrp in any method just flash stock boot.img.

Will try, but my device has oos 9.5.1, and I can't find the full rom zip anywhere
18th May 2019, 03:39 PM |#8  
Quote:
Originally Posted by mingo_mgx

Will try, but my device has oos 9.5.1, and I can't find the full rom zip anywhere

you should update, the twrp is made with 9.5.3
18th May 2019, 03:43 PM |#9  
Member
Thanks Meter: 12
 
More
Please can someone confirm if unlocking the bootloader makes you lose Widevine L1 on this device please ?
The Following User Says Thank You to Link2811 For This Useful Post: [ View ] Gift Link2811 Ad-Free
18th May 2019, 05:47 PM |#10  
Senior Member
Flag sacramento
Thanks Meter: 651
 
Donate to Me
More
Quote:
Originally Posted by mauronofrio

try to manually reboot in recovery mode, there is something be understood for now. If it doesn't boot in twrp in any method just flash stock boot.img.


EDIT:
TWRP 3.3.1-2:
Fixed vibration:
TWRP 3.3.1-2 Unofficial by mauronofrio
TWRP 3.3.1-2 Unofficial Installer by mauronofrio

From looking at the source of device extracted. There are a few changes we need to make .
The first I noticed is that we have a recovery partition again.
Along with the metdata encryption.
Not sure about the v3 synthetic keys on this but looking at the fstab from device I believe it is. Even if it's not on May security patch. Can anyone confirm this?
The Following 2 Users Say Thank You to twinnfamous For This Useful Post: [ View ] Gift twinnfamous Ad-Free
18th May 2019, 05:58 PM |#11  
Quote:
Originally Posted by twinnfamous

From looking at the source of device extracted. There are a few changes we need to make .
The first I noticed is that we have a recovery partition again.
Along with the metdata encryption.
Not sure about the v3 synthetic keys on this but looking at the fstab from device I believe it is. Even if it's not on May security patch. Can anyone confirm this?

recovery partition is not there, i checked the partitions, there is only a string on the fstab, it is not in may security patch
The Following User Says Thank You to mauronofrio For This Useful Post: [ View ] Gift mauronofrio Ad-Free
Post Reply Subscribe to Thread

Tags
decryption, guacamole, mauronofrio, oneplus 7 pro, twrp

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread