yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro Guides, News, & Discussion] @soka:
Yes, it will.

Unlock boot loader , as instructed.

Reboot into fastboot mode, fastboot boot twrp.img ( use the lastest unofficial one 3.4 version)

Phone will boot into recovery , flash the 3.4 installer.zip
[OnePlus 7 Pro Guides, News, & Discussion] moslondon:
And after that i could flash any custom rom with twrp? I wasn't sure if get the op7 pro or op8 pro. The process of flashing roms is kind more difficult with the op8 pro.
[OnePlus 7 Pro Guides, News, & Discussion] @soka:
You can flash custom roms, most of them advise you to be on the latest OOS version 10.3.4

Tried a few , prefer OOS.
[OnePlus 7 Pro Guides, News, & Discussion] moslondon:
Im planning to keep the phone for a couple of years and at the same time keeping the device with latest Android version with custom roms. LOS my favorite
[OnePlus 7 Pro Guides, News, & Discussion] grandelemon:
Thank you!!!

This did the trick. I think this needs to be added to the guide.
[OnePlus 7 Pro Guides, News, & Discussion] rhavock:
How?
[OnePlus 7 Pro Guides, News, & Discussion] rhavock:
Guys I'm facing problems to flash twrp.

I even tried patch the boot.img with magisk and still facing the send buffer problem.

My OOS is latest beta.

Is anyone facing this?
[OnePlus 7 Pro Guides, News, & Discussion] DoItJust:
Nice Guide

Worked just as you said it would. Great job!

Thank you:good:
[OnePlus 7 Pro Guides, News, & Discussion] maor23:
i want to upgrade my phone. there is update to 10.0.9.

i cant understand something.

i have Edxposed module, i need to delete it also or just call recording and themes modules should be removed?

please help me, thank you.

and one more thing, the app of magisk was changed, how do i get this line? :

Step 4: Click the back button in the top left, followed by the hamburger menu in the top left as well (3 horizontal lines). Click Magisk and then click the top Install button, followed by Install again, then Install to Inactive Slot. You may now click Reboot.
[OnePlus 7 Pro Guides, News, & Discussion] maor23:
i did the 4 section and now im stuck on the red&white circles.

what should i do?
[OnePlus 7 Pro Guides, News, & Discussion] DoItJust:
Just tried section 4 on the 10.0.9 update. Worked just like you said. Perfect. Thank you!
[OnePlus 7 Pro Guides, News, & Discussion] ozyk100:
Hello

I'm running OOS 10.3.4 but planning to do local update to 10.3.6 as it's available to download in updater app. I just wanted to make sure the procedure I want to use is right before updating so I don't end up in boot loop again. Just two days ago I had to use msm tool because processes to flashing are VERY different from 5T. I just got this phone.

After uninstall of Magisk modules and substratum

1. Download update, copy it to root storage and do local upgrade...

2. In Magisk install twrp installer.zip

3. Magisk > Install > direct install

4. ? ? ? - Do i need to install Magisk to inactive slot as

well or can I reboot after step 3?

I'm trying to not use twrp retention script as I noticed a lot of problems in this thread after using it, the above procedure seems more straightforward (at least to me). Just not sure about step 4

Thanks in advance
[OnePlus 7 Pro Guides, News, & Discussion] nabril15:
Those steps sound right but you forgot the most important ones - do not reboot after steps 1 and 2 and 3.

Yes, you need to install magisk to the inactive slot as well, and I've always used the twrp retention script without issues. Either it or the twrp installer will work. Good luck
[OnePlus 7 Pro Guides, News, & Discussion] ozyk100:
Thank you for the quick response.

I didn't forget, just didn't mention it either - my mistake since we are talking about step by step process.

Just another question about twrp backup.

I'll make twrp backup of recovery + boot + system (image) + vendor (image) + data

If anything goes wrong I can simply restore full backup like on the phones without A/B slots, or do I have to be careful and pay attention on which slot I am currently and restore to that slot?

I have never had a phone with A/B slots and this is, currently, poit of confusion for me.

Also, I'm currently on twrp 3.3.1 - 79 guacamole and there's no need for me to update recovery to 3.4.0 before update?
[OnePlus 7 Pro Guides, News, & Discussion] Ramadhan Waridy:
Help me a link to root OnePlus 7t pro and how to put dark mode
[OnePlus 7 Pro Guides, News, & Discussion] IbrahimNovo:
same here, did you manage to solve this? it has been over 15 mins already
[OnePlus 7 Pro Guides, News, & Discussion] Toolmighty:
Download

identical version

fastboot rom.zip Extract rom.zip Extract images located in recently mentioned now extracted

identical version

Rom folder. Locate the boot.img file. If twrp in installed and available reboot recovery, copy boot.img in previously mentioned now extracted image folder to device. install boot image to boot partition using twrp, wipe cache, reboot and profit.

If twrp not available open cmd prompt or powershell. Navigate said prompt to recently mentioned now extracted image folder. Reboot android to bootloader. type in prompt or shell:

fastboot flash boot InsertYourBootImageExactlyAsItIsNamed.img

reboot and profit.

If this fails reboot into bootloader again and locate flash-all file in the first folder extracted and double click the file. Reboot and profit.

If this fails curse me for being an ignorant pleb and curse the next four generations of my lineage and consult an educated dev god for advice, go out, get slapped and profit.
[OnePlus 7 Pro Guides, News, & Discussion] x1vietnguyen:
Hi

Quick question, I accidentally updated without following the steps in section 4. My phone no longer boots into twrp when I go into recovery, would I need to flash twrp again then reinstall magisk? and would this wipe all the data on my phone or does that only occur the first time I installed magisk?
[OnePlus 7 Pro Guides, News, & Discussion] Myfoneneedscaptainplanet:
thanks
[OnePlus 7 Pro Guides, News, & Discussion] Metall Boy:
Is it possible to get your phone back working if I didn't install magisk? I installed twrp successfully and then wanted to flash custom rom. And now my phone just shows oneplus logo and then a bootloader unlocked warning message and turns off
[OnePlus 7 Pro Guides, News, & Discussion] arsenalfan001:
can I follow this guide to root my Op7 Pro running android 11, ob4?
[OnePlus 7 Pro Guides, News, & Discussion] lenigma1too:
I'm certain I've seen a thread that brings our OP7P's back from the brink, but can't remember the name of it when searching for "OnePlus 7 Pro back to stock"

@nabril15 may be able to help, he seems rather knowledgeable... Sadly, the OP hasn't been on XDA since August of last year😕
[OnePlus 7 Pro Guides, News, & Discussion] lenigma1too:
But did you see the poll at the top of the page??!? 51.1% of people use this guide, right here, in this thread, to come back from a brick!

Neat, eh?😂
[OnePlus 7 Pro Guides, News, & Discussion] jelly_jeremy:
Hi, does this step still work for installing OOS 11.0.0.2 from OOS 10.3.8? TWRP version flashed on my phone is 3.5.0_9-0. I heard TWRP isn't working for OOS 11 so I'm not sure if this method will still keep TWRP and Magisk, or Magisk only.
[OnePlus 7 Pro Guides, News, & Discussion] @soka:
Disable magisk modules. Forget the TWRP part. Just install the Zip. Don't reboot, go to magisk , and install to inactive slot. Reboot, you should be rooted on new version.
[OnePlus 7 Pro Guides, News, & Discussion] jelly_jeremy:
Alright, thanks for the reply.

What happens if I do not have custom recovery like TWRP? Will my device data get erased if I boot into stock recovery if it detects I'm rooted?
[OnePlus 7 Pro Guides, News, & Discussion] @soka:
No, none of that. Your data will be fine. You just won't have TWRP recovery. Your stock recovery will be there. It won't wipe anything, unless you choose to do so. Having recovery either stock or TWRP, doesn't determine if your data will get wiped while doing an upgrade.
[OnePlus 7 Pro Guides, News, & Discussion] davidk21770:
deleted... responded to wrong message...
[OnePlus 7 Pro Guides, News, & Discussion] davidk21770:
I was looking for someone who had done this with 10 -> 11. :cool:

Did you need to switch to the canary version of Magisk 1st?

Do you know if I can fast-boot (dual-boot) back to the old 10 partition if it fails? (Since it seems to reencrypt the data partition for TWRP to now fail)
[OnePlus 7 Pro Guides, News, & Discussion] @soka:
I actually did this from A10 to A11 latest. As mentioned, install update. Don't re boot, disable modules in magisk. Then install magisk to inactive slot.

Sorry never used dual boot, so I can't help you there.

Canary version not required, I used v23.0
[OnePlus 7 Pro Guides, News, & Discussion] Morgane3D:
Someone tried to did it with a GM1915 ?? (Tmobile version, with tmobile firmware rooted) .???
[OnePlus 7 Pro Guides, News, & Discussion] DaveImagery:
I contacted OnePlus to get an unlock token for my GM1915 (T-Mobile vers) and they said it cannot be done. Tried twice now with the MSN tool, to switch to the international version of the phone, it just hangs, and doesn't complete.
[OnePlus 7 Pro Guides, News, & Discussion] Valholy:
The TWRP version provided in this thread will work with Android 11?
[OnePlus 7 Pro Guides, News, & Discussion] draentor:
You can use the official up-to-date TWRP, fully compatible for Android 11 : https://twrp.me/

Courtesy of @Dan3ll1 :

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

And then, follow the instructions from @gwolfu : /!\ these are the instructions for crDroid, check the ROM thread before install /!\

First time installation (clean flash):

It is recommended to install OOS 11 firmware before you continue (more on that here)

If you already have OOS 11 and no TWRP (and probably encrypted) read here

Backup your data to PC, OTG flash drive

Reboot to recovery

Factory reset from recovery and format data (where you type "yes")

Reboot to recovery

Flash crDroid zip and TWRP installer zip

Reboot to recovery

Flash gapps and reboot to system

After passed setup screen, reboot to TWRP and flash Magisk zip

Enjoy
[OnePlus 7 Pro Guides, News, & Discussion] Valholy:
thanks a lot , sheers
[OnePlus 7 Pro Guides, News, & Discussion] namastyler:
Hi, forgive me if I'm a bother to you.

It has been a while since I've updated/rooted something and I've got some questions about my GM1913.

I'm on 10.0.11.gm21ba and I was thinking to upgrade to 11.0.5.1.gm21ba.

I have TWRP 3.5.2_9-0 and I'm rooted with Magisk 23.0. So I was going to disable all the modules when I saw the 24.1 update. Before updating to it I saw the MagiskHide Removal bit and the raw state of Shamiko and Universal SafetyNet Fix somewhere else on the internet.

So, now I'm wondering if at this point it's just better to wait for Oxygen 12 and jump directly on that when (if) it will arrive, because right now I'm afraid I might have problems with my 2FA apps, app from the bank and general data considering the Magisk news and the risk to upgrade from one generation to the next.

So, what do you suggest me to do at this point?

Any comment on the matter is welcome from everyone of course.

Thanks in advance!
[OnePlus 7 Pro Guides, News, & Discussion] @soka:
Hi ,

No bother at all. I enjoy helping. I have learnt a lot from this community. Its good to give back.

You could make the jump to the latest version of OOS should you choose to. I was also hesitant at first with the removal of magisk hide on 24.1. I managed to sort it out with enabling zygisk and using the deny list(magisk hide replacement) of sorts. I also used safetynet-fixv2.21 the zygisk version module. My banking app and safetynet pass and work just fine. I should mentioned that I use the latest version of TWRP as well 3.6.0-11-0 it decrypts data just fine on A11.

As for A12, that'll happen later this year if ever. The choice is entirely yours. I hope this helped.
[OnePlus 7 Pro Guides, News, & Discussion] madhuranand007:
My ROM is Oxygen OS 11.GM21AA...

How would I do unlock bootloader and root?

Eagerly waiting for reply.
[OnePlus 7 Pro Guides, News, & Discussion] hammered58:
How to unlock the bootloader and root the OnePlus 7 Pro

The OnePlus 7 Pro is the latest and greatest smartphone from OnePlus. This tutorial details how to unlock the bootloader and root your new device.

www.xda-developers.com
[OnePlus 7 Pro Guides, News, & Discussion] redpoint73:
I think the process should be the same. You may want to look at this thread as well: https://xdaforums.com/oneplus-7-pro/development/recovery-unofficial-twrp-recovery-t3931322

Searching the above TWRP thread, only issue with gm1910 was that some users had issues restoring TWRP backups (but it looks like root was fine). The problem was fixed as of "unofficial" TWRP 3.3.1-30. "Unofficial" in this case basically just means beta, not rolled into the official version yet. But plenty of folks have been using the unofficial builds.

You can search the linked thread with search term "gm1910" for more details.
[OnePlus 7 Pro Guides, News, & Discussion] TheDrag0n:
Every section is very clear and understandable, thank you for that.

works like a charm!
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
As I expected and as written in my guide, flashing Magisk is unneccesary and the phone will boot fine after installing TWRP.
[OnePlus 7 Pro Guides, News, & Discussion] redpoint73:
Flashing Magisk is "unnecessary" for a guide on how to root? Rebooting the phone after flashing TWRP (before flashing Magisk) is completely unnecessary. You have a single data point. I've seen other folks on the forum have no boot after flashing TWRP, since they didn't flash Magisk. Particular circumstances may be at play. But that matters.

Not trying to fight with you here, believe me. Legitimately trying to be constructive. A lot of random things can go wrong when rooting. Best to keep the process simple, avoid unnecessary reboots. Just put the TWRP zip and Magisk installer on the phone right after you unlock the bootloader (and after booting to OS), and that skips a lot of extra steps, and additionally makes the process more foolproof.

Another suggestion would be to add link to stock fastboot image or other stock image, in case anything goes wrong. I can't tell you the number of posts I've seen (and subsequently users I've helped) where folks followed a "how to root" guide, something goes wrong in the process (as it invariably will for some folks) and they have no OS and stuck not knowing what to do.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
I know there are a lot of factors at play, but plenty of A/B devices can have TWRP with no root. If I ever get a report of someone not booting after installing TWRP without Magisk, I'll change the guide immediately.

My only issue with changing the steps like this is that some may not even want to flash Magisk, for example if they are installing Havoc or LineageOS.

I am planning to add this and will do it whenever I have time. I'll include the fastboot ROM from Mauronofrio and the MSM tool method.
[OnePlus 7 Pro Guides, News, & Discussion] SlyUK:
Thanks for posting this guide i'm sure it will come in great usefulness to many people.
[OnePlus 7 Pro Guides, News, & Discussion] DQScott95:
So I've read the guide a few times over to prepare myself to convert and root. Boot can someone who has already converted and rooted their tmobile phone answer a couple things?

One is, what is the most updated guide to convert my. Tmobile to international?

Second, after installing TWRP and magisk, what EXACTLY is the process to update OOS directly from my phone without losing root. The guides I see all talk about patching an Ota file on my computer and then flashing. I just want to update straight from the phone.

And the last thing, if I make a backup using OnePlis Switch, then do the full conversion and root, can I restore my. Backup from the tmobile version and get all of my settings and apps etc. Back??

Any extra bits of advice would be greatly appreciated, I will follow the guides but would love some first hand experience advice :)
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
I cannot comment on the conversion from T-Mobile, as I have no experience with it.

The OOS update process is entirely on the phone and fairly simple. I will update my guide with these instructions before or on the day of the next OOS update.

I have not personally restored a backup using OnePlus Switch, but it is the best available way of keeping your data after unlocking.
[OnePlus 7 Pro Guides, News, & Discussion] DQScott95:
Thank you for the quick reply, that's really all I needed to know to make me comfortable with doing the whole process.

Looking forward to the updated guide and I appreciate all the work you've done putting it all together.
[OnePlus 7 Pro Guides, News, & Discussion] Guero.:
I don't think this topic is linked properly in the collection of guides and roms. It goes to one of the other threads.

---------- Post added at 08:01 PM ---------- Previous post was at 07:35 PM ----------

Also I'm having a weird issue. I don't know what I did exactly, but I've lost root. I updated twrp by installing the zip with twrp then I didn't have root which I understand is expected, but when I reboot into twrp and install magisk when it reboots it's stuck on the unlocked bootloader screen. I have to fast boot into twrp then go to advanced and click fix boot loop. When it boots up still no root. Any ideas?
[OnePlus 7 Pro Guides, News, & Discussion] Guero.:
I ended up using the MSM tool to start over completely. Looks like I need to do some research next time before I start updating or changing stuff.
[OnePlus 7 Pro Guides, News, & Discussion] grecoh:
Bricked OP7P

Hi there.

I've seem to have fulled bricked my OP7P. I am unable to boot into recovery and I'm stuck on the bootloader. Powering off or starting leads back to the bootloader.

No device shows up after I run "adb devices" on the Windows PowerShell

Edit: Solved it now.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Do you know what you did to get the phone into this state?
[OnePlus 7 Pro Guides, News, & Discussion] salva52:
Thanks for this guide, very usefull, I have a question, I have always message to boot and disappear after 10sec "the boot loader is unlocked and software integrity cannot be guaranted. Any data ..... Press power key to pause boot" it's normal ? Sorry if it's a question of newbie !!
[OnePlus 7 Pro Guides, News, & Discussion] galaxys:
Yes, that's normal with unlocked Bootloader. Cheers
[OnePlus 7 Pro Guides, News, & Discussion] Guero.:
If you get stuck on the bootloader unlocked screen hold down all three buttons until fast boot comes up, go to twrp, then under advanced click fix boot loop. This gets you back in to oos it you need the phone but this happened to me and I lost root. At that point I couldn't get root back so I just started over with the T-Mobile to international msm tool since I'm on T-Mobile.
[OnePlus 7 Pro Guides, News, & Discussion] vtec303:
That's called a soft-brick and the phone can be fully restored with "MSM-Tool" within a few minutes however you will loose all your data, hope this helps, cheers.

https://xdaforums.com/oneplus-7-pro/how-to/msm-tool-guac-t3934691

---------- Post added at 12:30 AM ---------- Previous post was at 12:28 AM ----------

All you needed to do is reboot in twrp and flash the latest magisk, reboot system and root will be back, cheers.
[OnePlus 7 Pro Guides, News, & Discussion] Guero.:
In my situation with magisk installed it would get stuck at the bootloader warning screen, if I fixed boot loop in twrp it would boot to oos but without magisk installed. I tried reinstalling magisk but it would just get stuck on the bootloader unlocked screen again. I honestly don't know what I did to lose root in the first place. This was on a t mobile version flashed to international 9.5.8. Used the t mobile to international msm to fix it, windows wanted to say msm was a virus. All is well now though.
[OnePlus 7 Pro Guides, News, & Discussion] grecoh:
Yeah, flashed TWRP and Magisk, all was fine, batched restored my apps using oandbackup, rebooted and my pin was no longer working and I was locked out.

Flash a pin unlock file, it worked but I got stuck at the phone set up and couldn't proceed, wiped the drive (probably did it wrongly), ended up stuck at the bootloader.

Used this tool, it managed to get it back to factory settings.

---------- Post added at 04:29 AM ---------- Previous post was at 04:26 AM ----------
[OnePlus 7 Pro Guides, News, & Discussion] salva52:
I think i make a mistake, my phone always boot on recovery twrp. :(

I would to updat twrp 3.3.1.3 to 3.3.1.4. I download the .img and in twrp i choose install > image disk > i selected file "twrp-3.3.1-4-guacamole.img" and choose install recovery ramdisk > swipe to flash and now when start phone goes always in recovery. I don't understand, someone help me ? Thanks

Édit : i switched reboot on current slot A and the oos reboot like factory start 9.5.4 . It's ok for this time, i had few stuffs on phone and loose root. You think the slot B is corrupted ?

I think make a guide on update for twrp and magisk will be a good thing.
[OnePlus 7 Pro Guides, News, & Discussion] dlee337:
This was asked 2 or 3 times, but I did not see an answer- is this guide for the international version or will it also work with the TMO model?

Also, in the beginning, it mentions SIM unlocking is a requirement and I have that (thanks to a helpful user in another thread) but is OEM unlocking required as well? Sorry for the noob questions, this is my first non-Samsung phone since the iPhone first came out.
[OnePlus 7 Pro Guides, News, & Discussion] jcsww:
You don't need to trigger the OEM unlock and unlock the bootloader unless you intend on flashing TWRP and rooting your device. Flashing to the international firmware only requires a SIM unlock to use dual-SIM capabilities.
[OnePlus 7 Pro Guides, News, & Discussion] dlee337:
Thanks for the fast reply. I am not looking to flash international, but I do plan to root. My main goal is to remove unused Google crap.
[OnePlus 7 Pro Guides, News, & Discussion] jcsww:
To root but remain on the T-Mobile firmware, you need to request the token from OnePlus. If all you want to do is debloat though, you can use ADB to remove bloatware without the need to root or flash TWRP. Personally, I debloat all of my devices with ADB because it really isn't that difficult and is much less of a hassle than rooting.
[OnePlus 7 Pro Guides, News, & Discussion] dlee337:
I already requested the token (how long does it take to get?) but I will look into the ADB debloating. Thanks for the suggestion. I thought I had to root to get rid of all that stuff
[OnePlus 7 Pro Guides, News, & Discussion] jcsww:
The token seems to take about a week, give or take a few days. Some feel rooting makes it easier to remove bloat. If you have mids and such you must have that require root, then it does come off as a bonus to being able to remove bloat as well. To root just to debloat, in my opinion, compromises and complicates hiding root to maintain a secure device. Banking apps, Google Play, and streaming apps all react to detecting root as well and can impact the devices ability to successfully take an OTA. Debloating with ADB and using Package Info from the Play Store to identify the package names you want to remove, literally takes a few minutes once you have ADB installed.

Here is a link to the ADB 1.4.3 thread.
[OnePlus 7 Pro Guides, News, & Discussion] dlee337:
After some searching, I figured out what you mean. It took knowing what to look for and I had no idea it was possible to debloat through ADB. It was very easy (except for the repetitive typing lol). I even found a lurking net.oneplus.odm. And I do not have to reinstall or restore anything. Thanks for the suggestion- extremely helpful!