FORUMS
Remove All Ads from XDA

[RECOVERY][3.3.1-35][Uni][guacamoleb] Official/Unofficial TWRP for OnePlus 7 (Stable)

3,117 posts
Thanks Meter: 6,355
 
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 except vibration

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
Official Builds
TWRP 3.3.1-4 Unofficial by mauronofrio
TWRP 3.3.1-4 Unofficial Installer by mauronofrio

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

Donations:

Donate link

Credits:
Thanks to @HolyAngel for the kernel

Created 2019-05-23
The Following 15 Users Say Thank You to mauronofrio For This Useful Post: [ View ] Gift mauronofrio Ad-Free
 
 
5th June 2019, 04:42 AM |#2  
Hot-Proton's Avatar
Member
Thanks Meter: 15
 
More
Have where test this? I get my OP7 today and need root.
5th June 2019, 08:56 AM |#3  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by 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.



Features:
-Seems is working

Install guide:
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

Other Install guide:

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


Install guide:
Actually seems "fastboot boot twrp.img" is not working so we need to use another guide:
1. Install fastboot tools from google's sdk on your PC
2. Enter fastboot mode
3. Unlock your bootloader
4. Now you should check which slot are you using with this command "fastboot getvar current-slot"
5. Now you should change the slot in use with this command "fastboot --set-active=*" you should replace with the slot is not in use, for example if you are using slot a the command will be "fastboot --set-active=b"
6. Now you should flash the twrp in the boot partion using this command "fastboot flash boot twrp.img"
7. Now reboot the device with in recovery mode scrolling the menu with the volume button and selecting "Recovery Mode" with the power button
8. First thing go in reboot menu and restore the old active slot
9. Now you can flash the installer (Actually you can do it using sideload, start sideload server from twrp advanced menu and from pc use this command "adb sideload twrpinstaller.zip")

If you are already rooted, you can skip all and directly flash the installer like a magisk module. Always remember that after you flashed the installer you will be unrooted.


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-2 Unofficial by mauronofrio
TWRP 3.3.1-2 Unofficial Installer by mauronofrio

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

Donations:



Credits:
Thanks to @HolyAngel for the kernel

Created 2019-05-23


great! very useful!
5th June 2019, 09:13 AM |#4  
Quote:
Originally Posted by Hot-Proton

Have where test this? I get my OP7 today and need root.

I made the twrp for.oneplus 7 pro, they have a common kernel so the twrp is really similar, it should work without problems
5th June 2019, 11:20 AM |#5  
Senior Member
Flag Lucknow
Thanks Meter: 75
 
More
recovery works but anyone got the stock recovery ?
5th June 2019, 11:47 AM |#6  
Quote:
Originally Posted by Dragonlord07

recovery works but anyone got the stock recovery ?

Stock recovery is in stock boot.img, flash the stock boot.img to restore the stock recovery
The Following User Says Thank You to mauronofrio For This Useful Post: [ View ] Gift mauronofrio Ad-Free
5th June 2019, 12:08 PM |#7  
Senior Member
Flag Lucknow
Thanks Meter: 75
 
More
Quote:
Originally Posted by mauronofrio

Stock recovery is in stock boot.img, flash the stock boot.img to restore the stock recovery

i probably sound stupid but where is the stock boot.img???
5th June 2019, 03:38 PM |#8  
icyfire's Avatar
Junior Member
Flag Bangalore
Thanks Meter: 1
 
Donate to Me
More
Quote:
Originally Posted by Dragonlord07

i probably sound stupid but where is the stock boot.img???

`boot.img` can be obtained from the stock ROM I guess. Extract the zip file to find it. Currently it's unavailable I think. You can search for it or check OnePlus website.
5th June 2019, 03:47 PM |#9  
Hot-Proton's Avatar
Member
Thanks Meter: 15
 
More
There is no stock rom for download now. I get my 7 non-pro now and test twrp. Why are there three install guides?
5th June 2019, 07:19 PM |#10  
Member
Flag Utrecht, The Netherlands
Thanks Meter: 10
 
More
I can confirm that the recovery is working. I managed to flash it and use it to install Magisk. Thank you!
The Following User Says Thank You to ghiri For This Useful Post: [ View ] Gift ghiri Ad-Free
5th June 2019, 07:21 PM |#11  
Junior Member
Thanks Meter: 6
 
More
I found I could flash this version of TWRP and then flash the Magisk zip no problem. Magisk works fine. However, the Magisk uninstaller fails with "Unable to mount partitions" when trying to flash it in TWRP.
Post Reply Subscribe to Thread

Tags
guacamoleb, mauronofrio, oneplus 7, root, twrp

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

Advanced Search
Display Modes