yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  Guides, News, & Discussion] its.ishansharma:
Thanks alot for this. My OP6T is now back to its default state.

But during this process there were few hiccups. If you can, please suggest if something went wrong.

1. During local upgrade, after system rebooted it went on bootloop. So I have to factory reset it from recovery.

2. During reset I found out that TWRP has been replaced by stock recovery. So I presumed that Magisk has been removed also.

3. Also the bootloader was still unlocked so I have to manually lock it through " fastboot oem lock".

4. The unexpected thing was that root checker app was showing that root has not been properly setup.

Please suggest if anything required........
[OnePlus 6T  Guides, News, & Discussion] Timmmmaaahh!:
No it won't. Flashing a stock ROM (or any ROM) doesn't change bootloader status. It will unroot of course.

You didn't verify if you are now using the latest OOS version or still the one from December. When in doubt, download latest here (currently 9.0.11). Older OOS versions struggle with modified boot images and actually need Magisk to boot.

This is normal and if you did a factory reset (data wipe) then Magisk Manager will have been removed as well, you are correct. You need to install TWRP again after every stock upgrade.

I strongly advise against this! Locking a bootloader after unlocking serves absolutely no purpose and in some cases even damages partitions. The only valid reason one might have to lock again is to resell in original state.

In my experience root checkers aren't always correct (e.g. the request window wasn't shown or missed by the user). A better way to check this is by installing Magisk Manager. Find all Magisk resources here and make sure you're on the latest (stable) version of both the manager and the root method itself.

Mind that the official OOS zips can be flashed via TWRP, this allows you to retain root or to properly wipe if you'd like a fresh start without any root. This will still destroy TWRP but you can mitigate this by performing a TWRP install right after the ROM flash (if TWRP is still desired).
[OnePlus 6T  Guides, News, & Discussion] its.ishansharma:
I downloaded the latest OOS from OnePlus's website and then did the local upgrade.

Now I have OOS up and running without TWRP or anything in the default state.

If I reboot I don't see that unlocked bootloader warning ( coz I locked it manually of course )

Also that issue with Google Pay and other Banking Application also got resolved.

So I want to ask what is wrong right now with my setup as I wanted to go to default state as when I unboxed it and what could be done ( if anything ).

Also thank you very much for your detailed explanation as I wasn't able to find anything related to it.
[OnePlus 6T  Guides, News, & Discussion] Timmmmaaahh!:
Why wouldn't it be? Sounds like you reverted to stock successfully! For the record: I'm on OOS beta 3, unlocked bootloader + rooted, and mobile payments work just fine thanks to Magisk Hide ;)
[OnePlus 6T  Guides, News, & Discussion] its.ishansharma:
I don't know what was wrong with my magisk hide. It was not working properly.

I had same setup but with stable OOS but until I deny Google Play Services Telephone Access, mobile payments never worked.

Moreover after denying that access other apps behaved abnormally.

Also I was successful to relock my bootloader with the command. If it wasn't stock then my phone would have been bricked. Correct?
[OnePlus 6T  Guides, News, & Discussion] Timmmmaaahh!:
I... Don't know. I never considered locking a bootloader purposely. Let alone while it's running a custom ROM. Either it'll just get locked in on the ROM (probably removing root) or it'll create a vacuum in your house which will eventually implode and drag your entire neighbourhood to bits.

It could also deny the lock command, let's hope Android chose this path. You'd most likely have to unlock again if it did work.

Google clearly doesn't like being denied access ?

Anyway, telephone access is commonly needed and usually it's merely used to read phone state so it can handle interruptions by an incoming caller properly. Big G also uses this permission for when you shout 'Hey Google, call my ex and then hang up in her!'*.

*Not an actually working command. Believe me, I've tried.
[OnePlus 6T  Guides, News, & Discussion] its.ishansharma:
Cool and thanks again for helping me.
[OnePlus 6T  Guides, News, & Discussion] sCOTTN916:
OnePlus 6T McLaren A6013 flashed TWRP and tweeked it to much. I flashed a OTA update 9.0.11 OOS through TWRP and restored it back to originality, then updated to 9.0.12 OOS via update. Confirmed.
[OnePlus 6T  Guides, News, & Discussion] mauronofrio:
Teorically you can flash the same rom you already have on your phone, doing this you will back completely stock
[OnePlus 6T  Guides, News, & Discussion] mauronofrio:
And what's the problem? Your goal is to return stock, if you flash the same rom you already have there are no problems
[OnePlus 6T  Guides, News, & Discussion] vukis:
This method seems faster than local update method and then boot twrp, sideload twrp, sideload magisk. But in this method TWRP would be lost?

Why this method is not part of this guide? Does it have any downfalls?
[OnePlus 6T  Guides, News, & Discussion] mauronofrio:
Can yuo explain better what did you mean?
[OnePlus 6T  Guides, News, & Discussion] vukis:
There are 4 methods described in the very first post:

Local Update Method

Fastboot Update Method

TWRP Update Method

MSM Tool Restore Method

And neither of them is mentioning this method:

https://xdaforums.com/attachment.php?attachmentid=4650298&d=1543028010

BTW text extracted via Google lens:

Update Process for Rooted Users

1. Magisk Manager Tap "Uninstall" > Tap "Restore

Images" (DO NOT REBOOT)

2. Now Run the System update to download and install the

full OTA zip (DO NOT REBOOT)

3. Close all background apps

4. Open Magisk > Tap "Install" Tap "install" again Tap

"Install to Inactive/Second Slot (After OTA)"

5. Finally tap Reboot after Magisk installation is complete.
[OnePlus 6T  Guides, News, & Discussion] mauronofrio:
This is the local update keeping the root permissions
[OnePlus 6T  Guides, News, & Discussion] vukis:
Ok cool! Thanks for clarification. I always thought that after any update method you would need sideloading TWRP and magisk again. Is this approach safe, or I should backup everything before it? Or it will depend on update itself?
[OnePlus 6T  Guides, News, & Discussion] vukis:
Just tried this method with local upgrade. It works indeed! :) Thanks!

But TWRP got lost from local upgrade. So after restarting flashed twrp-installer-fajita-3.2.3-37.zip via Magisk Manager. But install script anounced that I am now unrooted.

Restarting phone confirmed that.

Anyway installed root again via TWRP.

What is safe way to install TWRP in between those 5 update OTA+keep root steps?
[OnePlus 6T  Guides, News, & Discussion] PaulDnoOb:
I'm on custom ROM and want to go back to OOS, so I just need to flash stock ROM and twrp & magisk right? no wipe needed?
[OnePlus 6T  Guides, News, & Discussion] Desertio:
When i go to uninstall Magisk Manager and select "Restore images" it says "Stock Backup does not exist". Where and how can i fix this please? op6t.
[OnePlus 6T  Guides, News, & Discussion] Desertio:
Damn. Ghosted!
[OnePlus 6T  Guides, News, & Discussion] souless poet:
Have a question. Booted up in to fastboot and my PC doesn't recognize it. I have everything set up and was working before. I had a bad flash and had to use the msm tool and now when I'm in fastboot there's nothing in bootloader or baseband version. Any suggestions?
[OnePlus 6T  Guides, News, & Discussion] vegetaleb:
Can I use the oos rom from Funk Wizard as I already downloaded it? https://xdaforums.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953

Also in the tutorial you say wipe data after flashing, will it delete my personal data like sms, contacts, apps...? And from where do you do it, will it gives this option after it's flashed?
[OnePlus 6T  Guides, News, & Discussion] Timmmmaaahh!:
Hi there!

That OOS ROM is just the official one by 1+; why wouldn't you be able to use that?

When you say "you", who are you referring to? Please don't forget to quote or mention someone.

If you are referring to the first post in this thread, the only mention of wiping is "- If this is a big update it's better if you wipe your data.". This applies more to community ROMs, opposed to official releases.

If you are referring to the first posts in the Funk Wizard thread, there is no mention of wiping data there.

Wiping data will indeed delete all personal data. It will not delete photos, videos, screenshots, music and other files on internal storage. However, good backup practices are always highly recommended! Anything you do with your device – including just using it – may incur data loss. Flashing increases this risk exponentially.
[OnePlus 6T  Guides, News, & Discussion] vegetaleb:
I was referring to 1st post here, my goal is to return my 6t stock before selling it, so I prefer to wipe everything.

Bootloader relocking is not necessary
[OnePlus 6T  Guides, News, & Discussion] mauronofrio:
the wipe data is an option if you have problems after you flashed a stock rom, sometimes happen the internal storage is unable to be decrypted and the rom doesn't boot and more. If you want to restore only your phone ( you already said me you want to sell it) just flash the same rom you already have, doing this you will lose the the root and other mods (disable all magisk module before this). After this if you want you can continue to use the device without any wipe, flashing the same rom you will not have problems. When you will want to sell it just make a factory reset including internal storage from phone settings ( the internal storage wipe option is at the end of the procedure).

I hope this will be helpfull for you, continue to write here and not in the twrp thread please
[OnePlus 6T  Guides, News, & Discussion] Timmmmaaahh!:
Then wiping data and internal memory is absolutely necessary (unless you want to share your cat videos with the person you're selling it to). Do mind that just wiping internal from TWRP doesn't guarantee the data can't be recovered. If you want to be thorough, create a bunch of text files with garbage in them (copy-paste is your friend) on your PC to the size of a few 100MB and copy them over and over (copy 1, copy 2, copy 3,...) to your internal storage after wiping it until it's as full as you can stuff it. Finally wipe it again and do it all over a few times if you're paranoid. Like this you make sure all your previous personal data is overwritten. I think you're safe with the /data partition as it's much harder – if at all possible – to recover anything from it after it had been wiped.

You may want to flash OOS after completing all wipes to make sure all traces of root are gone (if it was ever present) and stock recovery is restored. The version you downloaded is perfect.
[OnePlus 6T  Guides, News, & Discussion] vegetaleb:
Thanks both of you.

The buyer wants pubg pre-installed :laugh:

So I will wipe everything an hour before meeting, reboot to the reseted oos to be sure no personal data was left, then restore pubg with an app backup restore or apk mirror version so I won't have to put my gmail
[OnePlus 6T  Guides, News, & Discussion] Timmmmaaahh!:
Careful with restoring backups as that usually contains account information as well (which will conflict with their account). That's kind of an odd request by the way, can't the buyer download PUBG by themselves? Also, buyer will miss out on initial setup as you'll skip everything and will have to do everything manually (connectivity, accounts, security, migration, ...), that's something to keep in mind. APK mirror version sound like a good idea if he/she really needs it preinstalled. Make sure to start it once as it needs to download additional game resources.
[OnePlus 6T  Guides, News, & Discussion] BranBro365:
Converting from International back to TMO?

I.m sure this has probably been asked already but. I converted my TMO 6T to international, well I'm going to upgrade to the 7 Pro on Friday through TMO so I assume I should probably convert it back to the TMO version before taking it back to the store to trade in, can someone tell me how to do this? Or do I even have to convert back? It hasn't been unlocked by TMO yet, infact I'm still making monthly payments on it.
[OnePlus 6T  Guides, News, & Discussion] Desertio:
when i go to settings/system/system updates. There isnt an advanced settings menu. No Gear icon or anything
[OnePlus 6T  Guides, News, & Discussion] mauronofrio:
Click on the wheel on the top right

You can use msmtool to have all stock, maybe it's better in your case
[OnePlus 6T  Guides, News, & Discussion] Desertio:
That will relock by boot loader right? I was really going to avoid that
[OnePlus 6T  Guides, News, & Discussion] mauronofrio:
Yes it will relock the bootloader
[OnePlus 6T  Guides, News, & Discussion] borijess:
To return to stock can't we just use the Q stock room and flash there return to stock rom after you flash the Q beta?
[OnePlus 6T  Guides, News, & Discussion] VDRCCC:
Wiping the op6 data

How do I wipe my op6 data for the restock?
[OnePlus 6T  Guides, News, & Discussion] :
https://xdaforums.com/oneplus-6t/how-to/tool-t-mobile-oneplus-6t-msmdownloadtool-t3868916
[OnePlus 6T  Guides, News, & Discussion] Bonito77:
Hello, I'm on (OP6) Liquid Remix 8.1.0 Oreo, root and TWRP3.2.3.x-blu_spark v9.85 and I would like to go back to stock OOS and stock recovery to update later to OOS Pie.

So fastbooot-method is my way, right ?

Now I have extracted the "5.1.11-OREO-OnePlus6Oxygen_22_OTA_015_all_1808102118_770880-FASTBOOT .zip" and I'm a little bit confused about which .bat I have to use, the "flash-all.bat" or the "flash-all-partitions-fastboot.bat" from the included "Others_flashall.zip" ?

When yes, have I to copy this "flash-all-partitions-fastboot.bat" out of the "Others_flashall.zip" into the same directory as the "flash-all.bat" file to run it ?

Thank you for your great work here .:good:

Edit: It's answered here. Thanks to [MENTION=4712355]mauronofrio[/MENTION] .
[OnePlus 6T  Guides, News, & Discussion] TheDemonLord:
Hopefully this question wasn't already answered. I'm on mobile and can't really read every single page.

I'm on a custom room, havoc os. Say if I wanted to go back to stock and the only thing available to me is my type c usb. Could it be done? If so what files exactly would I need on the flash drive? I once tried to go back to stock on my way to work by flashing a stock rom zip. Catastrophic failure. Ended up with a phone that did not boot to system, only twrp. From twrp I foolishly tried to install the stock recovery image to see if I could get into that and do a local upgrade. And that left me with a even bigger mess up unable to boot the phone to anything at all but bootloader.

The drive is out for delivery and I can't seem to help myself from doing something that'll brick my phone(I come from the pre a&b days, and I find it maddening flashing roms on my op6t.

Any suggestions or should I just fight the urge to tinker while I'm away from PC?
[OnePlus 6T  Guides, News, & Discussion] explosivequack:
Trying to figure this out as well, on my oneplus 7 pro and oneplus 6t I get the same issue, every time I install the stock rom through twrp after doing a factory reset if I reboot into system it'll reboot into twrp, or go into the apps rom im trying to flash away from, or if I reboot into twrp the data will be encrypted again and the only way I can get it in encrypted is by booting all the way back into the apps rom.

I've tried this on both devices with and without a pin, I've tried flashing the rom, selecting the opposite slot that I'm on and rebooted into recovery, it'll be encrypted again so I won't be able to flash onto the other slot.

I'm sort of at a loss and have been searching both forums relentlessly and have watched videos of people installing custom roms and they don't seem to be doing anything differently than I am. At this point the only thing I can do on both devices is use the msm tool to get back to stock every time I flash a custom rom.

Custom roms will flash, but I can't just reboot back into recovery or it'll be encrypted, I have to boot into the system, reboot back into the recovery and install the gapps and Magisk that way. Literally any advice would be appreciated.

Ive been asking around on the op7p forums but once I found out the 6t was doing the same exact thing I knew there's something I was missing, and since the 6t has been around for a bit longer I hope one of you fine folks has an answer to my a/b slot woes.
[OnePlus 6T  Guides, News, & Discussion] ujh:
hi all,

i can't unbrick my op6t.. msmdownloadtool gets stuck at vendor and i've tried many versions. what do i do? thanks

it seems like usb3.1 won't work. solved by using oneplus cable and a usb2 port.
[OnePlus 6T  Guides, News, & Discussion] bigjailerman:
How did you do?
[OnePlus 6T  Guides, News, & Discussion] merom90:
Hi, [MENTION=4712355]mauronofrio[/MENTION]

I'm in this situation

Now I need to come back to stock, no root and no TWRP ( I will root later)

I can use local update with same version (OOS) installed?

Just to confirm, local upodate wipe data or not?

Thanks.
[OnePlus 6T  Guides, News, & Discussion] explosivequack:
Good got a lot of things figured out.
[OnePlus 6T  Guides, News, & Discussion] alpaqut:
For oneplus 5t?
[OnePlus 6T  Guides, News, & Discussion] hodgestl:
No, Unfortunately not. The answer is in the title to the thread. Good luck!
[OnePlus 6T  Guides, News, & Discussion] sol212307:
im on OOS10 stable+magisk+twrp .27. i would like to do clean flash installation of OOS10 stable+magisk+ twrp. can some1 pls tell me step by step of installation method? tried asking telegram group always ignored. tried using the search button too but still i can't find the exact method. pls help. im new to 6T.
[OnePlus 6T  Guides, News, & Discussion] Zure:
I'm in the same boat right now with my OP6 on a custom rom, what did you end up doing? TWRP isn't working for me and I keep getting the encrypting problem. Did you just use the fastboot method?
[OnePlus 6T  Guides, News, & Discussion] explosivequack:
So on my op7p if I format everything on my internal storage and keep a backup on my pc i can flash stock rom and twrp to both slots without it being encrypted. I use a USB c thumb drive to store my roms and that works pretty good. Right now I'm not encrypted at all so I can flash stuff without wiping but I'm thinking about going back to being encrypted.

My buddy on the op6t has to format everything because if he removed encryption it breaks fingerprint.

I don't have the op6 but I think it's similar enough to the op6t that you can format your internal storage and flash from the thumb drive, (flash oos and twrp to both slots before flashing a custom rom) he doesn't have the thumb drive so he just moves stuff over from his pc while in twrp. Make sure you keep a backup of everything you don't want to lose on your pc, I use Syncthing because it backs up everytime I connect to my WiFi so I never have to worry about transferring old stuff or losing anything, but my friend just transfers everything over. If your thumb drive is big enough you could also just back up to the thumb drive.

Edit: forgot something, if you want to try flashing a few custom roms I'd recommend getting a thumb drive because you should be able to flash from custom roms to other custom roms if they're similar enough, but when you wipe data for your rom it will encrypt again so you won't be able to flash off the phone. You can just flash from a thumb drive or sideload roms through twrp, and once it boots it should work fine . My op7p works perfectly at this, his op6t has issues with certain roms so if you do this make sure your backup is up to date.

Hope this helps.
[OnePlus 6T  Guides, News, & Discussion] @Peterrrrr:
PS C:\Android> fastboot boot twrp-3.2.1-0-enchilada.img

downloading 'boot.img'...

OKAY [ 0.577s]

booting...

FAILED (remote: Failed to load/authenticate boot image: Load Error)

finished. total time: 0.598s

PS C:\Android> fastboot flash recovery twrp-3.2.1-0-enchilada.img

target reported max download size of 536870912 bytes

sending 'recovery' (26748 KB)...

OKAY [ 0.574s]

writing 'recovery'...

FAILED (remote: (recovery_b) No such partition)

finished. total time: 0.579s
[OnePlus 6T  Guides, News, & Discussion] Striatum_bdr:
Your twrp is way outdated. Use latest unofficial version.
[OnePlus 6T  Guides, News, & Discussion] Timmmmaaahh!:
Word! And wasn't it 'fastboot flash boot' instead of 'fastboot boot' in Android 10?

Just something to keep in mind depending on which version you are, [MENTION=3023634]Peterrrrr[/MENTION]

Also, enchilada is for OP6. OP6T is Fajita!
[OnePlus 6T  Guides, News, & Discussion] Striatum_bdr:
In theory it should be working as is 'fastboot boot' on OOS 10.3.0 and 10.3.1. Fastboot flash boot was the way on early versions of OOS 10
[OnePlus 6T  Guides, News, & Discussion] ^tyrant^:
So i dont know when it started, But i am no longer getting notifications from a handful of apps that i know of. Outlook and Instagram are the main one that I use all the time that I know for a fact i am not getting.

I have been through all the notification settings and deep sleep settings and nothing is out of the ordinary.

So i am wondering if it is time to do a reset/wipe and start fresh. Which leads me to what is the way of doing that?

I am running unlocked boot loader, Magisk rooted. TWRP recovery.
[OnePlus 6T  Guides, News, & Discussion] Charles::
Still a bit confused on the most efficient way to install an update while keeping TWRP, root, and custom kernel.

OOS 10 beta 6, TWRP, root, Omega kernel
[OnePlus 6T  Guides, News, & Discussion] Istvan_86:
Hello,

I am Case 2 have a stock rom + unlocked bootloader + Magisk Root and the recommended method is local update, but in the instructions for this method I don´t see anything about magisk, I must uninstall it first?

Thanks in advance.
[OnePlus 6T  Guides, News, & Discussion] ThePiGuy:
Cheers for this guide, I was wondering if you would be able to verify whether this should be good to relock the bootloader.

I installed lineage, but ultimately decided to stick with stock. In your TWRP, I sideloaded (for some reason, MTP died) the stock rom on supposedly both A and B slots. I then rebooted (got into a bootloop) so rebooted back to recovery (which took me this time to the OP recovery).

From there, I wiped everything and the device booted. Finally, I have flashed the stock rom twice through local update to hopefully ensure both slots are fully stock.

Should this be enough to ensure my device can have the bootloader relocked?

Edit: Whether it was brave or stupid :D I did relock the bootloader (I checked the slots after each local and it did change) and the device appears to be booting
[OnePlus 6T  Guides, News, & Discussion] mohdfahad47:
Well i have a custom Rom and i wanna get back to stock, so I'll remove all modifications- boot to TWRP- do a factory reset- and flash the oos zip twice (so they're flashed in both the slots) and reboot system. Correct me if i am wrong...thanks