How to relock bootloader / remove Root and have a clean install of the latest ROM? - ASUS ROG Phone II Guides, News, & Discussion

I have bought a rog 5, so i want to sell my rog 2, but before i sell i would like to remove root and relock the bootloader.
Currently have android 9 - 1910.35 ROM with root and unlocked bootloader
Is there i guide i can follow ?
I dont want to brick my phone

Factory reset, flash the latest Raw firmware, reboot to fastboot,
fastboot oem asus-csc_lk
Or
fastboot oem asus-csc_lock
to lock the bootloader and then reboot fastboot
where are you from ?

Related

instruction on Original ROM

Hi I have edited on your phone ROM and would like it to return everything to its original condition original ROM. pls help me
What have you done? HTCDEV unlocked and then rooted?
Bootloader i have unlocked and root and Flash ROM Android Revolution HD, And i can back original ROM without root
Read through THIS, lower half of first post is more relevant to you
_
Edit: Of course you will need to have the relevant RUU for your phone (unbranded is x.xx.401.x, branded is x.xx.PHONE_PROVIDERS_ID_NUMBER.x), which should be able to be found in THIS thread.
Flashing steps are:
1. boot into fastboot and connect to PC
2. flash stock recovery
3. relock bootloader: fastboot oem lock
4. run RUU from PC, phone will need to be in fastboot

fastboot relock, locks device

Hello Guys,
i have a redmi 5a and i made a rollback on rom from 10 to 9.
i had to unlock the bootloader and install previous verson of miui.
i could done that succesfully.
but i also installed twrp and root.
now i want to relock bootloader but when i do it via adb
not just the bootloader locks but the whole device too
and the phone does not start.
then i go back to fastboot and unlock the device with miflash unlock
and it works again but the bootloader is still open
what did i do wrong?
It's possible to relocked your device after rooting but relock the bootloader means locking the mod of your device, you'll lose your root. And again, if you need to root your device, you need to open the bootloader.
U cant relock the bootloader with custom recovery coz phone it doesnt start and maybe hard brick.always relock bootloader with stock recovery.also consider relocking,because u maybe cant unlock again until unofficial way found
Sent from my Redmi 5A using XDA Labs

Unlocking bootloader

Do i need to unlocking bootloader if i want to flash stock rom using official miflash?
no you don't

Question Oneplus 9rt fastboot and recovery not working Oxygen os13 stable

Few days back i successfully rooted my 9rt then today i unroot my 9rt and download the oxygen os 13 stable via op updater app and installed it but every time i reboot my phone it show a msg your bootloader is unlocked,device is in orange state can't be trusted reboot in 5 seconds then os boot normally but i can't access the recovery and fastboot mode to relock the bootloader plz help.
Looks like fastboot is locked in version you currently use (is it F.11?). You can't lock bootloader before next version with unlocked fastboot will be installed. The only other option is to downgrade to Android 12, then relock and upgrade again, but you will need to wipe data.
penguinus said:
Looks like fastboot is locked in version you currently use (is it F.11?). You can't lock bootloader before next version with unlocked fastboot will be installed. The only other option is to downgrade to Android 12, then relock and upgrade again, but you will need to wipe data.
Click to expand...
Click to collapse
Yes it's F11 and is there any oxygen os13 stock rom with unlocked fastboot for 9rt
Exiled_SouL said:
is there any oxygen os13 stock rom with unlocked fastboot for 9rt
Click to expand...
Click to collapse
Looks like no as of now. Probably next version will be unlocked
Update-after enable usb debugging and using "adb reboot fastboot" command i can boot into recovery mode where wipe data,reboot ar showing and my pc showing fastboot devices in cmd should i use fastboot command to relock the bootloader or wait for the unlocked fastboot stock rom.. thanks
It is fastbootd mode. Unlock/relock commands don't work in this mode, but you may use it to flash previous version of rom (fastboot rom) with unlocked bootloader.
Another option is to use this official ROM for local update. Please note it will wipe data, backup is needed.
penguinus said:
It is fastbootd mode. Unlock/relock commands don't work in this mode, but you may use it to flash previous version of rom (fastboot rom) with unlocked bootloader.
Another option is to use this official ROM for local update. Please note it will wipe data, backup is needed.
Click to expand...
Click to collapse
Thanks It Worked,downgraded from android 13 to 12 i flashed the official android12 rom via local update then relocked the bootloader and install the official android13 update for 9rt

Question How to flash stock rom? I'm on arrowos 13, but my bootloader is somehow locked.

I'm currently on arrowos 13. I wanted to go back to stock rom. So I tried flashing the fastboot rom via Mi Flash Tool. I got an error saying my device is locked. So, I checked if my bootloader was locked by using this command on fastboot " fastboot getvar unlocked" . It says "no", which means my bootloader is locked. I don't know how that happened. I tried to unlock the bootloader with Mi unlock tool, but it fails at the verification step itself. I don't how to proceed from here. I'm stuck with arrowos now.
dhilipmadhav said:
I'm currently on arrowos 13. I wanted to go back to stock rom. So I tried flashing the fastboot rom via Mi Flash Tool. I got an error saying my device is locked. So, I checked if my bootloader was locked by using this command on fastboot " fastboot getvar unlocked" . It says "no", which means my bootloader is locked. I don't know how that happened. I tried to unlock the bootloader with Mi unlock tool, but it fails at the verification step itself. I don't how to proceed from here. I'm stuck with arrowos now.
Click to expand...
Click to collapse
i'm like you, i want to go back to miui but i don't know how. have you tried it yet? Thanks
dhilipmadhav said:
I'm currently on arrowos 13. I wanted to go back to stock rom. So I tried flashing the fastboot rom via Mi Flash Tool. I got an error saying my device is locked. So, I checked if my bootloader was locked by using this command on fastboot " fastboot getvar unlocked" . It says "no", which means my bootloader is locked. I don't know how that happened. I tried to unlock the bootloader with Mi unlock tool, but it fails at the verification step itself. I don't how to proceed from here. I'm stuck with arrowos now.
Click to expand...
Click to collapse
You can't install custom roms on bootloader locked device.

Categories

Resources