how to remove root, lock bootloader and flash stock rom - OnePlus 5T Questions & Answers

Phone is rooted woth twrp, unlocked bootloader and a custom pixel rom. I need to unroot the phone and lock bootloader if possible.

Anyone?

I think if you flash the stock OS from OnePlus' website and reboot it will install their stock recovery as part of the process and turn you back to stock so you can re-lock the bootloader safely. Someone wrote a guide to follow with more details: https://forum.xda-developers.com/oneplus-5t/how-to/guide-restore-to-complete-stock-relock-t3712739

Related

[Q] Bravia Engine

Dear members of XDA!
A few quick questions here:
If my bootloader remains locked from stock:
1. and I downgrade to a previous stock android version rather than 4.4, will I lose BE?
2. if I do lose it, and then flash the last stock version, will I recover it?
If my bootloader was unlocked, I know that I should lose BE, BUT:
3. if I install a custom rom, don't like it, go back to the latest stock, and after everything's finished, relock the bootloader, will I recover the BE?
Thanks in advance!
1.nope
2.you will lose only if you unlock BL.
3.if u have TA backup, you can relock BL and recover BE by flashing stock ROM and restore TA.

Return To Stock

I have unlocked my bootloader, installed a TWRP, and flashed a custom ROM. Everything is working fine, but I just want to know how to return to stock if I wanted to. Is it just as simple as flashing the latest OTA? Do I have to re-lock my bootloader?
Thanks!
You can easily return firmware and/or recovery to stock by flashing, but currently there is no way to relock the bootloader.
kanagawaben said:
You can easily return firmware and/or recovery to stock by flashing, but currently there is no way to relock the bootloader.
Click to expand...
Click to collapse
I'm sort of a noob when it comes to this stuff. I usually just follow guides to get what I'm looking for.
So would I just download the latest OTA and flash that? Can someone share some simple instructions on how this is done?
Thanks!
When you want to flash back to stock from custom, are the steps the following?
1)Download stock rom from asus
2)Format phone
3)Flash stock ROM from custom recovery?
The reason I ask is because there is a guide that says you need to edit the stock rom when flashing from custom rom/recovery.. Link to his guide here: GUIDE FOR FULL ROM

Mate Se Back to Factory stock?

I'm rooted with frp unlocked and so on with oreo. I need to go all the way back to out of the box stock setup to download the latest updates. I'm on oreo and have a ton of reading but I need to be guided into a set of instructions to get this restore done.
Please help.
Thx!
Via magisk uninstaller, uninstall and your boot will be fine
Also, you can flash stock boot and recovery to be on full stock
Will this allow me to relock and do ota updates? Basically I need to be able to use the factory recovery partition incase of failure. Currently due to the unlocked phone the use of the recovery bricks the phone. And where can I get these stock recovery partitions at?
Doesn't matter if your BL is locked or unlocked. As long as you have stock recovery and stock boot, you will be able to install OTA
Can you e plain a bit more detail? Thx! How the process should go
What are the commands for stock boot and recovery images through the recovery screen. The white screen that shows bootloader and frp status.... And possible link to those specific files would be great.
Erecovery? How to reflash?

Revert to stock Oreo + stock recovery

Hey guys.
I'm currently with stock Oreo firmware - v365. Bootloader unlocked, TWRP installed and rooted. I get a notification of an update (373) daily, which I can't install I reckon because I'm with a custom recovery. Each morning I find the phone restarted in recovery and I have to reboot it manually.
So, how can I go back to full stock + stock recovery which will allow the proper function of the OTA? This will be my wife phone, so I don't care about rooting and relocking my bootloader.
I'll appreciate any help and advice.

Return to stock?

Cant seem to figure out how to relock the bootloader AND flash the stock firmware for my G988B.
I have all the files, but when I start ODIN, it seems to just freeze (no progress bar on phone, no changes in ODIN). I have a tried flashing BL,AP,CP,CSC with the unlocked bootloader and with the bootloader relocked via the bootmenu. The phone still boots into the stock rom when the bootloader is unlocked, but I want to ensure that it updates hence, the relock.
thoughts?
Is there a stock vbmeta i need to flash in ODIN after relocking (via the hold VOL+ menu boot option) and before flashing the stock firmware?
So now I am trying to flash anything, and its failing with
SECURE CHECK FAIL : (PIT)

Categories

Resources