proper way to use TWRP and clean flash rom? - OnePlus 7 Pro Questions & Answers

New GM1915 T-Mobile OnePlus 7 Pro user here...
I seemed to be out of the loop since the release of AB partition, android 10 and so-on...
I did everything here says, unlocked the bootloader, unlocked the sim, converted to international, twrp, and root...
[GUIDE] How to convert TMobile OP7 to International.
First of all this is not my work I only tested theirs. Credit to themustached for finding that a patched .ops was the solution. This guy doesn't even have the damn phone yet and did this for us so show some love. You can donate to him through...
forum.xda-developers.com
and when I want to try other rom or revert back to OOS stock, I missed up and brick a the phone 3 times already....each time I have to use MSM tool and flash the rom to Android 9.x...which is missing something twrp needs, So I need to do a OTA update to Android 10.x before I can install twrp and root.....
Q1: say I have a working system at android 10, twrp and root, If I want do a clean flash of the rom, do I now only wipe the (user data partition in the twrp advance wipe) or the (data wipe that you will need to put type yes and wipes everything)?
Q2: is there an updated T-Mobile .ops file to use with MsmDownloadTool? So I can restore to android 10 in 1 step?
Thank you

Looking for an updated .ops file as well my phone is bricked with android 11 and can't seem to get msmdownloadtool to work with my bricked oneplus 7 pro

Related

[Thread doubts] OnePlus 7 chinese version [GM1900]

Hi guys, I open this thread to solve problems / doubts of this chinese version of One Plus 7 GM1900 because I guess many will be in my place.
I tell you my case:
My intention is to open bootloader to be able to put custom recovery TWRP and root it with Magisk.
Once I have it, I have doubts:
1. If I want to remove TWRP and Root, and I will leave all stock, what steps should I take?
2. If I am in OOS (for example 9.5.2) with TWRP and root and want to upgrade to a new version of OOS (for example 9.5.6), what steps do I have to follow?
3. I would like to know if this is true, and if so, what would be the solution: I have read that when a Wipe System is made from Twrp, the bootloader can be closed or that the phone does not start in fastboot mode causing a crash. Is this true?. I thought about when I wanted to install a cleaner ROM stock, make a Wipe System, data, cache and dalvik and then flash the rom, and according to that it might not be possible.
Thank you.
Hi, are these Treble GSI roms compatible with the OnePlus 7 (not pro) Chinese version GM 1900 ???
Roms Treble GSI:
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
hardware is the same, firmware also fits from EU/Indian devices. next time just use search.
tURkOsANsE said:
1. If I want to remove TWRP and Root, and I will leave all stock, what steps should I take?
Click to expand...
Click to collapse
Flash the stock ROM and reboot. You'll have a phone with stock recovery and ROM with no root access. It won't relock your bootloader though, so you'll have to do it with: fastboot oem lock
2. If I am in OOS (for example 9.5.2) with TWRP and root and want to upgrade to a new version of OOS (for example 9.5.6), what steps do I have to follow?
Click to expand...
Click to collapse
You always need to flash full ROM zips if you're rooted and want to update. However to keep the custom recovery (TWRP), you need to flash the TWRP installer along with the ROM. Then to not lose root access you'll have to reboot to TWRP and flash Magisk. Just follow these steps:
1. Boot to TWRP
2. Flash ROM
3. Flash TWRP installer
4. Reboot to TWRP
5. Flash Magisk
6. Reboot to system
3. I would like to know if this is true, and if so, what would be the solution: I have read that when a Wipe System is made from Twrp, the bootloader can be closed or that the phone does not start in fastboot mode causing a crash. Is this true?. I thought about when I wanted to install a cleaner ROM stock, make a Wipe System, data, cache and dalvik and then flash the rom, and according to that it might not be possible.
Click to expand...
Click to collapse
I haven't tried that yet. But since TWRP builds are official, I don't think there are bugs like that. Why don't you give it a try and let us all know?
@dewri21 Thank you very much for your answers, you have helped me a lot, thank you for your clear explanations, please like this, help those who are starting in this world.
dewri21 said:
I haven't tried that yet. But since TWRP builds are official, I don't think there are bugs like that. Why don't you give it a try and let us all know?
Click to expand...
Click to collapse
Hehehehe I dare not do it, I could run out of mobile phone and end up with a brick. At the moment if I want to put clean OOS I think I will use Fastboot mode. Let's see if a partner who knows how to get out of a brick does Wipe Sistem and confirms that.
FASTBOOT: https://forum.xda-developers.com/oneplus-7/how-to/rom-stock-fastboot-roms-oneplus-7-t3937478
Hi guys, I am writing to let you know that I have flashed the fastboot 9.5.6 BA ROM in my OnePlus 7 Chinese version GM 1900 and it worked perfectly. I was in TWRP, Root Margisk and Custom Kernel, and now I'm back in Stock. My device being a Chinese version came with ROM AA when removed from the box, and I confirm that the BA version can also be set up by Fastboot.
Add that as it is said, the first restart is slow, it stays a while in the warning screen of bootloader open, but it advances with the start. In my case I have not had to restore factory.
Very happy with this method to be able to return to Stock.
Hello, has anyone tried this on our OnePlus 7 to fix a brick? It seems that it is the MsMdonwloadsTools for our OnePlus 7. Someone who has a brick can try it and tell us if it works.
https://repairmymobile.in/flash/oneplus-7-flash-file/amp/
MsmDownloadTool For OnePLus 7: https://forum.xda-developers.com/oneplus-7/how-to/unbrick-tool-oneplus-7-msmtool-hydrogen-t3953240

[GM-1910 OP7PRO] Reset everything back to Oxygen OS ( Help:( )

Hey I was experiencing some display issues so I flashed a custom ROM to test / narrow the problem (hardware issue sadly).
—Now I'm not sure how to revert back to completely stock as I've never unlocked the bootloader and worked much with fastboot.
On Samsung's you just download the official stock file, get Odin and put the file into AP, flash, done.
On one plus this is a bit different, first of all there's barely any mentioning of GM-1910 in the MSMDownloaderTool thread(s), I also don't want to have Hydrogen OS.
—My OP7Pro came with Oxygen OS pre-installed, GM1910 "international version" ← def. Chinese with oxygen flashed over it.
*What have you altered so far?*
Unlocked Bootloader/OEM
Flashed TWRP with fastboot
Flashed Havoc 3.0 OS, Magisk, OpenGapps
My perspective on the nature of special relativity.
*What do I want to reset?*
EVERYTHING, ROM, recovery, bootloader, you name it, I don't care about apps and pictures. worth noting I have a One plus Switch Backup, does that help?
Look for the MSM tool... that can reset the phone completely back to stock.
UpdateYourBrowser said:
Hey I was experiencing some display issues so I flashed a custom ROM to test / narrow the problem (hardware issue sadly).
—Now I'm not sure how to revert back to completely stock as I've never unlocked the bootloader and worked much with fastboot.
On Samsung's you just download the official stock file, get Odin and put the file into AP, flash, done.
On one plus this is a bit different, first of all there's barely any mentioning of GM-1910 in the MSMDownloaderTool thread(s), I also don't want to have Hydrogen OS.
—My OP7Pro came with Oxygen OS pre-installed, GM1910 "international version" ← def. Chinese with oxygen flashed over it.
*What have you altered so far?*
Unlocked Bootloader/OEM
Flashed TWRP with fastboot
Flashed Havoc 3.0 OS, Magisk, OpenGapps
My perspective on the nature of special relativity.
*What do I want to reset?*
EVERYTHING, ROM, recovery, bootloader, you name it, I don't care about apps and pictures. worth noting I have a One plus Switch Backup, does that help?
Click to expand...
Click to collapse
You can use the fastboot ROM or Guac (MSM tool for oxygen OS). Links below:
https://forum.xda-developers.com/oneplus-7-pro/how-to/msm-tool-guac-t3934691
or
https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
Good luck!!
Gr8man001 said:
You can use the fastboot ROM or Guac (MSM tool for oxygen OS). Links below:
https://forum.xda-developers.com/oneplus-7-pro/how-to/msm-tool-guac-t3934691
or
https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
Good luck!!
Click to expand...
Click to collapse
excuse my stupidity but given that I want to get rid of my custom ROM and back to stock oxygen which tool do I have to use?
secondly all images (androidfilehost) for the second link are for GM1911,17,13,15 but mine is 1910 which is not listed, what do I do now?
UpdateYourBrowser said:
excuse my stupidity but given that I want to get rid of my custom ROM and back to stock oxygen which tool do I have to use?
secondly all images (androidfilehost) for the second link are for GM1911,17,13,15 but mine is 1910 which is not listed, what do I do now?
Click to expand...
Click to collapse
I am sorry but I am not familiar with Chinese stock ROMs. For some reason, I got the impression that you wanted to restore it to an international version and not the Chinese/HK version. You may want to post a question in the OnePlus community forum or check out their download section for your specific model.
https://forums.oneplus.com/forums/oneplus-7pro-support/
Gr8man001 said:
I am sorry but I am not familiar with Chinese stock ROMs. For some reason, I got the impression that you wanted to restore it to an international version and not the Chinese/HK version. You may want to post a question in the OnePlus community forum or check out their download section for your specific model.
https://forums.oneplus.com/forums/oneplus-7pro-support/
Click to expand...
Click to collapse
no no I want to restore it to international version, the phone itself is GM1910. should I flash GM21AA file or the global file?
I think I will go with the global file, makes most sense in this moment
UpdateYourBrowser said:
no no I want to restore it to international version, the phone itself is GM1910. should I flash GM21AA file or the global file?
I think I will go with the global file, makes most sense in this moment
Click to expand...
Click to collapse
GM21AA should be fine. If you decided to use the MSM tool (the one in the first link), hardest part is to get the L2/qualcomm drivers installed on your PC with the method described. Alternatively you can download and install the drivers yourself which will make the job easier. This will LOCK your bootloader and wipe off everything on your phone. You will get a brand new phone running 10.0.3 OS
Easiet way would be to go fastboot ROM route. It will also wipe your phone but won't lock the bootloader. Once installation is complete you could use the adb command to lock the bootloader. It's one extra step but may be much easier IMO. Download the zip file on PC>unzip it>Hit flash all bat file while the phone is connected in the fastboot mode. You may get some error messages regarding header parsing, ignore them and sit tight until your phone boots.
Good luck!!
WORKS NOW! Can confirm this reverts all back to stock (it will revert back to Oxygen OS (OOS) 9.5 so you'll have to update to Android 10 via OTA if you want)
For anyone wondering, I had Android 10 installed before / Havoc 3.0 and the MSMTool will revert you back to Oxygen OS 9.5. Widevine jumped back to L1 so everything should be stock.
If you have any questions, don't wait, I am sure someone out there had the same questions/issue as me and I hope this will help you.
https://forum.xda-developers.com/oneplus-7-pro/how-to/msm-tool-guac-t3934691
UpdateYourBrowser said:
WORKS NOW! Can confirm this reverts all back to stock (it will revert back to Oxygen OS (OOS) 9.5 so you'll have to update to Android 10 via OTA if you want)
For anyone wondering, I had Android 10 installed before / Havoc 3.0 and the MSMTool will revert you back to Oxygen OS 9.5. Widevine jumped back to L1 so everything should be stock.
If you have any questions, don't wait, I am sure someone out there had the same questions/issue as me and I hope this will help you.
https://forum.xda-developers.com/oneplus-7-pro/how-to/msm-tool-guac-t3934691
Click to expand...
Click to collapse
Hey, I have a problem, I re-locked the bootloader, it is currently blocked, but my Widevine status is still L3, can you tell me if you used MsmTool first and then you did relock, or did you block the bootloader first?

Help making a Backup before installing magisk+twrp OP8 IN2015 - already unlocked bootloader.

Hello! I've been rooting and installing custom ROMs for years but it's been a long while since I last did it, I got a oneplus 8 global (IN2015) late last year, unlocked the bootloader as soon as I got it out of the box since I knew eventually I would want to flash some stuff. but I have kept it stock this long. Running latest Oxygen 11 android 11
Since I want to start flashing some kernels or roms I wanted to ask about making a backup since I've never had a phone without sd card slot where I would usually store backups.
Can I still use titanium backup to keep all of my apps/data/photos/videos and the state they are in, store it in my pc , then go about flashing a custom Rom and then bring my titanium backup back into the phone and restore everything?
since I'll be installing custom roms based on android 11 I believe it will be fine with no conflicts? or does it matter that my apps were installed in Oxygen OS?
that's what I used to do with older phones anyway. is there a way to flash a rom while having the titanium backup still in storage since most roms require full whipe when clean installing them?
Recently twrp added official support for OP8 and when I open the official app it recognizes my phone as instant noodle but when I click search for phone it says it can't connect to the server? should I flash official twrp from the app or via fastboot? which I'm also quite rusty with.
any tips for a step by step would be appreciated
Hello, I was in the same boat as you since I came to the OP 8 from a Galaxy S4. Titanium backup should work for what you want to do, as long as the custom rom is also based on A11 (disclaimer: I haven't tried it; I'm running rooted stock OOS 11 with a custom kernel). If the rom you want to install requires a data partition format, you can't keep the backups there during the flashing process. If it only needs a data wipe / factory reset, everything in the sdcard directory (also known as /data/media) should be preserved.
I'd say just flash TWRP in fastboot. Flash it to both recovery slots, and read up on how flashing works with A/B slot devices if you aren't familiar, since you'll need to know about it when flashing roms also. It's a big difference from what I was used to with older devices.
Thanks for the reply, yeah I was thinking of just going with a custom kernel since I have so much stuff going on the phone I find it really a chore to backup, but still might want to try it.
What kernel are you using and how are you liking it ?

Question Downgrade LE2115 from 12 to 11 - confused.

Hello all,
My phone came with ColorOS OOS 12 and I hate it. As soon as I rooted it it started crashing daily, I even reflashed a fresh oos12 image using the local update tool and only granted superuser to one app (solid explorer so I could access user files) and it still crashes. Not to mention all the apps i want to use don't work on android 12 (call recorder, busy box) and no custom recovery.
I've been reading through the forum and I found a downgrade package that looks like its hosted by oneplus: https://oxygenos.oneplus.net/OnePlu...all_2107082125_downgrade_059624cc7298428b.zip
I just wanted to make sure I am doing this correctly...
Do I use the OP Local Update app to flash?
Will I be able to flash TWRP for android 11 afterwards?
Will i need to relock the bootloader?
Should i re-root using the magisk slot b method or wait until its flashed and use TWRP?
Will it try to OTA back to android 12? If so, what's the best method to get on the latest version of android 11?
Thanks for the help.
I am running COS C.62 on my OP9 with root and having no issues. Did you make sure to do all the things in this guide?
Root OnePlus ColorOS 12 OxygenOS Android 12 via Magisk
In this tutorial, we will show you detailed steps to root your OnePlus device running ColorOS 12 Android 12 via Magisk Patched Boot.img file.
www.droidwin.com
Anyway, yes, use the local upgrade APK, put the downgrade file in the root of storage, run it. Reboot. Factory reset and wipe data to clear out any leftover crap (don't restore a backup - if you want to use Clone Phone you can do that but only restore app APKs and messages). When it reboots it should offer the latest OOS11 OTA first. If not, just download it and place it in the root and use the local upgrade function in the settings menu of the OOS11 system updater.
There is no need re-lock the bootloader and if you do, you risk a brick that has to be recovered with MSM Tool.
Root by following the guide I linked. I just went through this yesterday after flashing COS broke mobile data. I have Magisk 24.3 working with denylist, Widevine L1, and SafetyNet passes so I have Google Pay.
EtherealRemnant said:
I am running COS C.62 on my OP9 with root and having no issues. Did you make sure to do all the things in this guide?
Root OnePlus ColorOS 12 OxygenOS Android 12 via Magisk
In this tutorial, we will show you detailed steps to root your OnePlus device running ColorOS 12 Android 12 via Magisk Patched Boot.img file.
www.droidwin.com
Anyway, yes, use the local upgrade APK, put the downgrade file in the root of storage, run it. Reboot. Factory reset and wipe data to clear out any leftover crap (don't restore a backup - if you want to use Clone Phone you can do that but only restore app APKs and messages). When it reboots it should offer the latest OOS11 OTA first. If not, just download it and place it in the root and use the local upgrade function in the settings menu of the OOS11 system updater.
There is no need re-lock the bootloader and if you do, you risk a brick that has to be recovered with MSM Tool.
Root by following the guide I linked. I just went through this yesterday after flashing COS broke mobile data. I have Magisk 24.3 working with denylist, Widevine L1, and SafetyNet passes so I have Google Pay.
Click to expand...
Click to collapse
Thank you, ill give it a try.
First i used the payload.bin method and it was crashing, then i reflashed the latest OTA using the local update tool and used the magisk slot b method. still crashing.
It might have less to do with the root and more with me using root to disable certain apps (youtube, chrome, OP community, google news/podcast/tv) i dont want them on my phone but they might be too tightly integrated. If its still crashing on android 11 ill re-enable them and see if that helps.
aaronbaird1 said:
Thank you, ill give it a try.
First i used the payload.bin method and it was crashing, then i reflashed the latest OTA using the local update tool and used the magisk slot b method. still crashing.
It might have less to do with the root and more with me using root to disable certain apps (youtube, chrome, OP community, google news/podcast/tv) i dont want them on my phone but they might be too tightly integrated. If its still crashing on android 11 ill re-enable them and see if that helps.
Click to expand...
Click to collapse
Okay you're on OOS, not COS. COS doesn't have Google apps by default (but has plenty more bloatware, I just don't use it).
It's certainly possible that disabling Google apps is your problem. If you don't want Google apps, you're better off with a custom ROM that doesn't have them. CalyxOS has a beta for OnePlus 9 and it's totally de-Googled. There's also Lineage.
EtherealRemnant said:
Okay you're on OOS, not COS. COS doesn't have Google apps by default (but has plenty more bloatware, I just don't use it).
It's certainly possible that disabling Google apps is your problem. If you don't want Google apps, you're better off with a custom ROM that doesn't have them. CalyxOS has a beta for OnePlus 9 and it's totally de-Googled. There's also Lineage.
Click to expand...
Click to collapse
ahhhh. i didnt realize there was a difference. I thought OP was just calling their android 12 build ColorOS.
Either way, for custom roms i would have to go back to 11 to flash TWRP right? or can you flash custom roms using fastboot?
aaronbaird1 said:
ahhhh. i didnt realize there was a difference. I thought OP was just calling their android 12 build ColorOS.
Either way, for custom roms i would have to go back to 11 to flash TWRP right? or can you flash custom roms using fastboot?
Click to expand...
Click to collapse
You would need to back to 11 because OnePlus hasn't released working sources for 12. Just use the downgrade package, factory reset, then upgrade to 11.2.10.10 and you'll be good to go for custom ROMs. TWRP isn't used for flashing them, they all generally post their own recovery. StagOS was the best one I used (plus the dev is really responsive when there are issues) and people seem to really be enjoying Nameless but that came out after I went back to stock so I haven't tried it yet.
Before you mess with custom ROMs, make sure that you download the global MSM Tool and make sure you can connect it. Honestly since you have to go back anyway, might as well download and use the MSM Tool to get the device back to 11 anyway.
GLOBAL OnePlus 9 MSM TOOL UPDATED
Frist off Im not responsible for anything that happens to your phone!!! VERY SIMPLE IF YOU ARE BICKED,BOOTLOOPED OR JUST WANT TO GO BACK TO 100% STOCK THIS WILL WIPE ALL DATA!!! AN RELOCK BOOTLOADER OOS 11.2.4.4.LE25AA MUST HAVE QAULCOMM...
forum.xda-developers.com
Easiest way to get it into EDL is adb reboot edl but if you want to practice the key combination in case you can't get into the OS, I found if you open the MSM, check use lite firehose, and click Start before you connect the phone, it has less connection errors because it's waiting for the phone so as soon as you connect the cable, it pops up.
EtherealRemnant said:
TWRP isn't used for flashing them, they all generally post their own recovery.
Click to expand...
Click to collapse
Really??? you can tell I haven't messed with custom roms in a long time.
Thank you for all the help. I'll try it out.
aaronbaird1 said:
Really??? you can tell I haven't messed with custom roms in a long time.
Thank you for all the help. I'll try it out.
Click to expand...
Click to collapse
Yeah TWRP has issues. I soft bricked last time I tried to do anything with it and had to use MSM Tool to get back to working order.

Question How to convert a oneplus 9 tmobile oos12 to pixel experiencie or another rom

Hi everyone! I have a question! Does anyone know how to install a custom rom on the oneplus 9 t mobile with OOS 12? Do I have to downgrade or can I install a rom that has android 12 by default?
My version its LE2117_11_C.19
You should firstly update to the latest OOS12 update TMo gives us. After that unlock bootloader (as per the guide here on the fourms) via unlock code method (you will have to wait for TMo to send that your way as it's device specific) and then follow the instructions from the rom provider.
I'm running StagOS on my TMo OnePlus 9 without issues since their last release, before that ran Lineage, Jaguar, Nameless. As long as you are updated to latest OOS and with an unlocked bootloader, you can flash any rom on here provided you follow their instructions. If you brick your phone you can use the modified MSM tool I posted on one of my threads to un-brick and bring back to life your phone (keep a backup of your data though)
RandomLatinDude said:
You should firstly update to the latest OOS12 update TMo gives us. After that unlock bootloader (as per the guide here on the fourms) via unlock code method (you will have to wait for TMo to send that your way as it's device specific) and then follow the instructions from the rom provider.
I'm running StagOS on my TMo OnePlus 9 without issues since their last release, before that ran Lineage, Jaguar, Nameless. As long as you are updated to latest OOS and with an unlocked bootloader, you can flash any rom on here provided you follow their instructions. If you brick your phone you can use the modified MSM tool I posted on one of my threads to un-brick and bring back to life your phone (keep a backup of your data though)
Click to expand...
Click to collapse
so can i follow any tutorial to install any rom if i have unlocked bootloader next to sim? since I tried once to change to global and it worked, I put a module and my cell phone and the phone bricked, with the MSM Tool I was able to recover the OOS t mobile version, but I thought I had to downgrades OOS 11 to install any rom and I never did anything again because of fear for the brick
sorry for my bad English
Yasser.d said:
so can i follow any tutorial to install any rom if i have unlocked bootloader next to sim? since I tried once to change to global and it worked, I put a module and my cell phone and the phone bricked, with the MSM Tool I was able to recover the OOS t mobile version, but I thought I had to downgrades OOS 11 to install any rom and I never did anything again because of fear for the brick
sorry for my bad English
Click to expand...
Click to collapse
Yes, that's it. Basically have your phone updated to the latest OxygenOS TMobile can give you,; Have your phone SIM Unlocked AND Bootloader Unlocked and then follow all the steps the Developers of the ROM you choose give for the installation.
If any rom specifically asks for OxygenOS 11, then the same steps are applied except instead of latest OS versión, the one the Dev asks for
Then I will start the installation of some rom that I like on top of the latest update of tmobile OOS 12, do you recommend any specific one that is pixel experience or similar performance?
RandomLatinDude said:
Yes, that's it. Basically have your phone updated to the latest OxygenOS TMobile can give you,; Have your phone SIM Unlocked AND Bootloader Unlocked and then follow all the steps the Developers of the ROM you choose give for the installation.
If any rom specifically asks for OxygenOS 11, then the same steps are applied except instead of latest OS versión, the one the Dev asks for
Click to expand...
Click to collapse
For example, when I go to the official lineageOS 19.1 page, it says that the compatible devices are all except mine LE2117, do I continue to install anyway?

Categories

Resources