yashsingh1/xdaforums huggingface dataset:
[OnePlus 9RT] shawn4sp:
Thank you for your reply.

The problem is that I unlocked the bootloader in the first place and spent long time set it up, but want to do OTA update, so I have to lock the bootloader.

Generally is there any good way to KEEP EVERYTHING (backup & restore) for OnePlus (if there is anything special for OnePlus) or any phone when switching between unlocked and locked bootloader?

I don't want to flash everytime in bootloader which seems to be troublesome and error-prone. It seems OnePlus has already rolled 2 OTA updates in the past month, which means OTA updates would be more convenient in the long run.
[OnePlus 9RT] EduFaol:
You will have to lock the bootloader to receive updates via OTA and with that configure your device again, Google backup helps a little but it is not 100%. It downloads apps and personal files and saves app passwords and wifi. I had to lock the bootloader and after that my device is working fine.
[OnePlus 9RT] shawn4sp:
ok. It seems to payoff at least for OTA update to lock the bootloader (painful tune the settings and backup videos, books).

Any downside to lock the bootloader?

Does root/unroot the 9RT (may need this later) requires the bootloader to be unlocked?

I see another root thread using "fastboot flashing unlock" then install "Magisk", which requires unlocked bootloader, correct?

https://xdaforums.com/t/how-to-root-oneplus-9rt-5g.4393669/

Found the answer:

"Older versions of android upto android 5(lollipop) ...would give root access without unlocking bootloader. However, in newer Android phones rooting can only be done officially by unlocking bootloader, flashing a custom recovery and then flashing the System Partition with su binary in zip format or flashing a boot image patched with magisk module. "

So generally root requires unlocked bootloader.

Not sure if this 100% apply to 9RT if there is any special easier way to lock/unlock.

My conclusion: 9RT can't have both flexibility (unlocked bootloader for root/unroot ) & convenience (locked bootloader for easy OTA updates).

Newbie spent hours studying those terms. No solution and just let it be.

And so few users use 9RT. My pixel dead unexpectly and bought 9RT maybe a mistake.
[OnePlus 9RT] EduFaol:
Yes, but with root I won't be able to update via OTA, at least I couldn't, in addition to having several problems with bank applications, even giving permission in Magisk, so I thought it was better to block the bootloader, but before doing that if you have root, remove it.
[OnePlus 9RT] shohagh9725:
OnePlus 9RT 5G Color OS to Oxygen OS

Please Help Me
[OnePlus 9RT] EduFaol:
The complete tutorial is right there, there you can unlock the bootloader install the Rom Oxygen OS working everything.
[OnePlus 9RT] shohagh9725:
Greetings,

I've appreciated @abhinavgupta371, @HELLBOY017 for initial version of this firmware and @penguinus for continuous support and testing.

PLEASE NOTE THAT FASTBOOT ROMS CAN ONLY BE USED IN DEVICES WITH AN UNLOCKED BOOTLOADER!!!

AND BE WARNED THAT UNLOCKING DEVICE WILL WIPE INTERNAL STORAGE COMPLETELY.

THIS ROM UNOFFICIAL AND BASED ON IMAGES MANUALLY EXTRACTED FROM MT2111 DEVICES AND OTA UPDATES

This ROM can be used on MT2110 devices (Chinese version initially delivered with ColorOS) for migration to OxygenOS

Device bootloader can be locked after flashing this ROM

Everything related to SafetyNet checks is working on this ROM like on original MT2111 devices.

If device is not rooted it can receive OTA updates.

Known issues:

- Device name in settings displayed incorrectly "Lahaina for amd64" instead of expected "MT2111".

Migration instructions:

- On your PC, install bootloader drivers for OP9RT and check if device is recognized in Bootloader and Fastbootd modes.

- Ensure you're using the LATEST version of SDK platform tools (adb and fastboot)

- On your PC, download the Fastboot ROM zip from the download link below.

- On your PC, unzip downloaded file

- On your PC, navigate to its now-uncompressed folder

- Reboot your OnePlus 9 RT to bootloader mode.

- Connect the OP9RT to your PC

- On your PC open command line window in the uncompressed folder,

- type install.bat

- wait till device boot to "Setup wizard" screen (it will take 5-7 min)

- at this point device bootloader can be locked if you need this.

Upgrade instruction (for devices with OxygenOS where standard updater decline update):

- follow the installation procedure till

- instead of install.bat you need to run upgrade.bat in command line window

- user data will be preserved

Good luck!

Edit:

Some linux users reports issue with device wipe during installation. It is related to fastboot dependencies. It requires android platform tools installed.

As an alternative after final reboot (device should reboot automatically twice during installation) device will boot to recovery mode where you need to wipe it manually.

DOWNLOAD LINKS:

Fastboot ROM OxygenOS A.04 zip:

https://mega.nz/file/oFhjDKrI#jUajmG5fAeH1TvYS3b6EZB6Pwj5MzDpAt47fwr6gurM

https://disk.yandex.ru/d/U8WxNFOFU4rDfA

Fastboot ROM OxygenOS A.05 zip:

https://mega.nz/file/MBgg2AjJ#98vdiFZPUCMm9gskDu5SQmic-D8jHZ3snO8pLbqrbFY

Credits:

- @abhinavgupta371

- @HELLBOY017

- @penguinus

Updates:

[2022-02-22] fixed installation and upgrade for some specific device state (if you have installed previous version successfully, you doesn't need re-installation).

[2022-03-01] add A.05 version of firmware.

This Rom Boos???
[OnePlus 9RT] pintosarker00:
Hi, My phone is Oneplus 9RT(MT2110) which is running color OS. I am trying to unlock the bootloader. I couldn't do it because it's not going fastboot mode. It's going recovery mode.

Anyone help me, How can I unlock bootloder.
[OnePlus 9RT] Valdem:
Just try to answer you questions.

1. Locked bootloader it is mostly related to safety of data on device. Google check integrity of software on device (SafetyNet API) for some critical applications (GPay, most of banking applications, etc), and the one of the requirement for this check is locked bootloader.

2. about OTA installation. You will be able to install OTA even with unlocked bootloader. Main requirement - NO modification on system partitions.

3. You can use device with unlocked bootloader and installed magisk. This will give you an option to hide bootloader lock status from SafetyNet API and applications which use it for check. Also you will be able to use tools for data backup which requires root permissions like Orange backup. User data should not be deleted in this case on update. Update can be done in two ways:

3.1 OTA will not work by default, however it should work after you do magisk uninstallation (with magisk manager). You will need to re-root device after OTA installation.

3.2 as a second option you can install fastboot version of new ROM with 'upgrade.bat' script. It also will require re-rooting device after flashing.

I'll try to monitor for new OTAs and prepare new fastboot version of ROM.
[OnePlus 9RT] Valdem:
Most probably you have firmware which has an issue with entering bootloader. Could you check is it A.06?

If yes - just upgrade to newer version with in system updater and try again.
[OnePlus 9RT] pintosarker00:
My phone MT2110_11_A.05.

Should I try to after OTA Update?
[OnePlus 9RT] Valdem:
Yes. You need to upgrade to version at leas A.07 to be able to use adb for enter bootloader.
[OnePlus 9RT] pintosarker00:
Finally, done bro ColorOS to OxygenOS installation. Thank you so much
[OnePlus 9RT] pintosarker00:
Bro, I relock the bootloader.now Boot image destroyed
[OnePlus 9RT] shawn4sp:
Thanks for the reply and OP! Very detailed and useful!

I just found I can't use android pay with unlocked bootloader. One bank app is usable now, but not sure about others.

Maybe it is time to learn and play with the magisk, and maybe the Orange backup...
[OnePlus 9RT] smjunaid:
the same happened to me.. i left the device for half an hour in off state and when i tried to turn it on. it was fixed somehow.
[OnePlus 9RT] pintosarker00:
My phone was ColorOS I change it to OxygenOS. After installing Unfocial ROM OTA update getting failed. Have any way to fix it?
[OnePlus 9RT] ThingVn:
you have to relock bootloader
[OnePlus 9RT] pintosarker00:
After relocking boot the bootloader. Showing system corrupted.
[OnePlus 9RT] ThingVn:
I want to see the details of your process, can you record a video?
[OnePlus 9RT] Valdem:
1. Where do you get ROM? ROM from this thread allows to install OTA.

2. As I mentioned, few posts above, OTA will not work if you install Magisk or change one of system partitions.
[OnePlus 9RT] Barabaz:
I can't recall if I ever did an update from colorOS before migrating to OxygenOS but I just hope that it would be fix somehow on the next update on OxygenOS
[OnePlus 9RT] EduFaol:
put Cell in bootloader mode unlock the bootloader download the A.05 unzip look for the flash-ALL-SH file click that will update to A.05, after that you can lock the bootloader and start Cell, try to update via OTA since the A.06 is available.
[OnePlus 9RT] archz2:
I bought oneplus 9rt in India.

Its Oxygen OS version is 11.3 and my phone has unlocked bootloader with Magisk installed. Can I flash A. 05 directly or I have to flash A.04 first?
[OnePlus 9RT] EduFaol:
I believe there will be no problem in flashing the A.05, and remembering that the A.06 is not available for download via OTA.
[OnePlus 9RT] Barabaz:
this was installed early this morning via OTA
[OnePlus 9RT] archz2:
Okay. Actually I get notifications for A.04.

I don't get notifications for A.05. So that's why I am asking just to be on the safe side.
[OnePlus 9RT] EduFaol:
Can you update via OTA even with root? Or just get the notification? When downloading the most updated Rom, just unzip it and click on the flash-ALL-SH file that will update.
[OnePlus 9RT] archz2:
I didn't try to update to avoid bricking my phone. Usually rooted OnePlus devices don't get updated if we see the history. The zips have to be flashed manually.
[OnePlus 9RT] EduFaol:
In fact, Update by downloading the Rom and unzipping it, then just look for the flash-ALL-SH file, put the smartphone in bootloader mode and start the procedure
[OnePlus 9RT] archz2:
Which one(s)?

Directly a.05 or a.04, then a.05?
[OnePlus 9RT] EduFaol:
In both, when extracting the Rom, you will have the file for the update
[OnePlus 9RT] Valdem:
FYI: I have updated OP with an A.06 version of ROM.

You can use it in the same way as previous versions of this ROM.
[OnePlus 9RT] archz2:
Okay, somehow my phone is not getting detected in fastboot. I am using the same laptop that I used to root it with step by step guidance from an XDA memberas posted here.

https://xdaforums.com/t/how-to-root-oneplus-9rt-5g.4393669/

But today, I keep getting 'waiting for any device'. What do I do?

After encountering this trouble,

I enabled windows test mode

by typing the following in admin command prompt.

Still I am facing the same issue.
[OnePlus 9RT] borg79:
Try following this guide, see if it helps :https://www.droidwin.com/fix-waiting-for-device-in-adb-or-fastboot-commands/

Try the fix 2 method using USB 2.0 port
[OnePlus 9RT] archz2:
Okay. Some progress but still lot to do. Before reading your post, I installed android studio.

My phone is getting detected by typing 'adb devices' in the command prompt, when it's switched on, regular mode with homescreen and all.

But when I enter bootloader, I face the previously mentioned issue of 'waiting for any device'.

I installed the drivers by running 'dpinst64.exe' from the blog post you mentioned, but my device isn't detected as 'Qualcomm HS-USB QDLoader 9008', in the device manager. It's detected as Oneplus 9RT 5G instead which has always been the case before.
[OnePlus 9RT] EduFaol:
Disable the windows driver signing and install the Qualcomm driver which I believe solves it. I'll see if I can post the link here.

QualcommDriversLatest.cab

drive.google.com
[OnePlus 9RT] archz2:
Thanks a lot man. Will give it a shot definitely. 🙏🏻🙏🏻
[OnePlus 9RT] Tobias812:
Is it a custom ROM and Is it safe to use this ROM with all my personal information (data, payment,...). Sorry for question, I'm newbie here.
[OnePlus 9RT] Valdem:
This is not Official ROM, however it is based on official data from Indian version of device. After convertion device bootloader can be locked (it pass all vendor checks) and official updates works as well. All application which check integrity of device (gpay, banking apps) works after bootloader lock (do not need magisk).
[OnePlus 9RT] EduFaol:
In fact, blocking the bootloader after installing you will have a working Rom and updating via OTA as it was the official one, all banking and Gpay applications working perfectly.
[OnePlus 9RT] Tobias812:
Thank for fast replying, i will give it a shot.
[OnePlus 9RT] archz2:
Okay so I tried it from the device manager. I have disabled the windows driver signing.

If I choose this option

I get this notification.

If I select this option.

I get this notification.

What do I do now?
[OnePlus 9RT] EduFaol:
Windows driver signing is done by restarting Windows, see some tutorial on YouTube.
[OnePlus 9RT] archz2:
I am also having the same issue of QUALCOMM CrashDump Mode: dm-verity device corrupted verity_ctr.

I have Indian Oxygen OS. What to do? I used the extracted folder A.04

I googled and found this. I don't know whether MSM tools method is safe or not.

2 Ways to Fix Qualcomm Crash Dump Mode on Any Android Phone

Has your phone stuck in Qualcomm Crash dump mode? Here are a few ways to fix your phone from Qualcomm crash dump mode, in a few minutes.

gadgetstouse.com
[OnePlus 9RT] archz2:
I already did it by going to the blue screen and choosing the correct option.

The mistake that I was doing was that I right clicked on Oneplus 9rt 5g to install the drivers.

I clicked on the second option and then installed the drivers. I choose the same name for installing the driver which is reflecting here now. Earlier it was something else.
[OnePlus 9RT] miky03:
Finally i could du update under linux
[OnePlus 9RT] Valdem:
Flashing doesn't done completely. Looks like you disconnect cable too early. Device should reboot twice during flashing. The whole procedure should take more then 5 minutes.

If it still shows you this screen - please send me the log.
[OnePlus 9RT] archz2:
Oh...okay. Really sorry man. I'll keep that in mind. Flashing happened really fast and I didn't wait for the reboot. I've done dirty flashing of ROMs using TWRP in the past in which reboots didn't happen. I thought that flashing would be similar in this scenario as well.

I'm using the upgrade.bat option as I don't want to lose any data. I think you are from India. Can you DM me your phone number please if possible? Having a phone conversation would be faster than typing I hope.
[OnePlus 9RT] Valdem:
I think there is no user data on device. The first instruction in install.bat is formating user data (this is mentioned in instruction). In this case there is no difference anymore between install.bat and upgrade.bat
[OnePlus 9RT] Valdem:
Do not touch device till second reboot (do not need to choose any option infastbootd mode).

I guess that you have an issue with fastbootd mode (device is not recognized in fastbootd mode properly). If you still get the next message "fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.".

The cause can be drivers or you have installed your own fastboot binary which is too old to support fastbootd mode. I tested with version 29 and up.
[OnePlus 9RT] archz2:
No user data means that my photos, downloads have been also wiped out?

I only ran upgrade.bat. I didn't run install.bat at all in the command prompt.
[OnePlus 9RT] Valdem:
Do you do conversion from coloros? If yes - it is requirement to format user data. If upgrade from previous version of OxygenOS - upgrade.bat is OK.
[OnePlus 9RT] archz2:
I have installed my own fastboot binary? I installed drivers on my laptop. Are you talking about the default fastboot drivers in my phone?

Can you please share better drivers that I should install on my laptop?

If I don't choose any option in fastboot d mode, nothing happens. I keep getting waiting for any device. You're saying that I shouldn't even choose English language as well?
[OnePlus 9RT] archz2:
No. I never had coloros on this phone. I have had A.03 Oxygen OS, Indian variant on this phone. I bought this phone in India from a regular smartphones shop by physically visiting there.
[OnePlus 9RT] archz2:
Sharing the log again.

Microsoft Windows [Version 10.0.19044.1586]

(c) Microsoft Corporation. All rights reserved.

D:\op9rt-oos-A04-fastboot-rom>upgrade.bat

#######################################################################

# Oxygen OS Flasher For OnePlus 9RT by abhinavgupta371 and HELLBOY017 #

# updated by Va1d3m #

#######################################################################

#################################

# Flashing firmware into slot A #

#################################

Setting current slot to 'a' OKAY [ 0.010s]

Finished. Total time: 0.017s

#################################

# Flashing bootloader img's #

#################################

Sending 'boot_a' (196608 KB) OKAY [ 4.548s]

Writing 'boot_a' OKAY [ 2.674s]

Sending 'boot_b' (196608 KB) OKAY [ 4.529s]

Writing 'boot_b' OKAY [ 1.965s]

Finished. Total time: 13.765s

Sending 'modem_a' (190060 KB) OKAY [ 4.511s]

Writing 'modem_a' OKAY [ 0.853s]

Sending 'modem_b' (190060 KB) OKAY [ 4.437s]

Writing 'modem_b' OKAY [ 0.789s]

Finished. Total time: 10.638s

Sending 'vendor_boot' (196608 KB) OKAY [ 4.512s]

Writing 'vendor_boot' OKAY [ 0.772s]

Finished. Total time: 5.302s

Sending 'vbmeta' (8 KB) OKAY [ 0.002s]

Writing 'vbmeta' OKAY [ 0.003s]

Finished. Total time: 0.022s

Sending 'vbmeta_system' (4 KB) OKAY [ 0.002s]

Writing 'vbmeta_system' OKAY [ 0.002s]

Finished. Total time: 0.022s

Sending 'vbmeta_vendor' (4 KB) OKAY [ 0.002s]

Writing 'vbmeta_vendor' OKAY [ 0.002s]

Finished. Total time: 0.022s

##########################

# Rebooting to fastbootd #

##########################

Rebooting into fastboot OKAY [ 0.003s]

< waiting for any device >

-------------------------

Now at this moment, my phone is on a screen with one chinese bold heading written at the top, then three options to choose languages.

I am waiting now.
[OnePlus 9RT] Valdem:
Yes you do not need to select language. By your explanation you have the issue with driver. Device is not recognized in fastbootd mode. Some of the users on this thread explained how they solved this issue.
[OnePlus 9RT] archz2:
Okay I have gone through all the pages for solutions in this thread and nothing found yet. One more thing I forgot to mention that my device is rooted via magisk. Am I getting issues because of that?

Moreover, instead of flashing a.04, can I flash a.05 instead by using upgrade.bat?

I am still on the same language selection screen since last ten minutes.
[OnePlus 9RT] Valdem:
1. It is not related to magisk.

2. You can even flash A.06.

However you need to fix issue with drivers before. I can't give you any recomendation, because I'm linux user. Try to google "OnePlus fastbootd drivers". You can find some topics related to op9 with the same issue.
[OnePlus 9RT] archz2:
Okay. I've found oneplus 9 drivers and oneplus 9pro drivers. I believe this is an issue with using a Windows 10 machine since there's so much settings to do in the laptop. Installing correct drivers, Driversigning, testsigning, etc.

I'm pondering about using Linux on a virtual machine on my Windows laptop instead which will lead to peace eventually.

What type of Linux OS are you using? Like, the name and the version?
[OnePlus 9RT] Valdem:
I'm using Ubuntu 20.04. Keep in mind that you also need to install android platform tools.
[OnePlus 9RT] archz2:
Thanks a ton for your prompt replies .

Man, is it possible to have a 5-6 minute zoom call or a Google meet call right now?

I am running Ubunto 20.04.4 in a virtual machine. I installed android platform tools by following this tutorial.

Unfortunately, my phone is still not getting detected in fastboot.

What do I do now?

fastboot devices command results in this.
[OnePlus 9RT] archz2:
Okay. A very happy update. I was able finally overcome this issue. I uninstalled the qualcomm 9003 drivers in the device manager. I went to Windows update and then checked for additional updates. It listed some updates related to android, adb drivers, etc. I installed all of them and rebooted my laptop.

At last, I was able to flash a.04 and a.05!! All my data is intact.

Phew man!! What an adventure. This has been the most difficult and scary experience of mine while using a smartphone.
[OnePlus 9RT] archz2:
How do I install magisk now? It is asking to select and patch a file.

Can I transfer this boot.img file to my phone and patch it using Magisk to install magisk?

Earlier I followed this step by step method to root this phone. Let me know if it still applicable to A.05.

https://xdaforums.com/t/how-to-root-oneplus-9rt-5g.4393669/post-86318955

Update. - I got the root access via Magisk by using the above mentioned method that used the highlighted boot image file.
[OnePlus 9RT] Valdem:
Congrats.
[OnePlus 9RT] EduFaol:
Fastboot Rom A.07 OTA update posted in this thread.
[OnePlus 9RT] Valdem:
Added A.07 version of ROM into original post.
[OnePlus 9RT] EduFaol:
There are 2 A.07 links, the first is the Fastboot image and the other is the boot img, what is the difference between them?
[OnePlus 9RT] wongshiying:
If from current ColorOS, can my app be restored back to Oxygen?
[OnePlus 9RT] EduFaol:
You have to do the procedures mentioned at the beginning of the topic.
[OnePlus 9RT] Valdem:
This is just boot.img from A.07. It is useful for people who upgraded from the previous version with OTA and want to ROOT device with Magisk. They wouldn't need to download the whole ROM, just this boot.img.
[OnePlus 9RT] EduFaol:
In fact, I used this file to root in some previous versions
[OnePlus 9RT] wongshiying:
I tried to unlock my bootloader before flashing but unlock was not allowed.

C:\op9rt-A06>fastboot devices

cf03ac7c fastboot

C:\op9rt-A06>fastboot oem unlock

FAILED (remote: 'unknown command')

fastboot: error: Command failed
[OnePlus 9RT] EduFaol:
Have you disabled windows driver signing, installed Qualcomm driver, enabled USB debugging and OEM unlocking in developer options on mobile?
[OnePlus 9RT] ThingVn:
1. Enable Developer options by going to settings About Phone and then keep tapping build number until a dialogue comes saying developer options are enabled/unlocked/on.

2. Go to Developer options by: Settings - System - Developer options

3. Enable OEM unlocking.

4. Enable USB debugging.

5. Connect your mobile to pc.

6. Check if adb is working, command "adb devices"

7. if working run cmd "adb reboot bootloader"

8. if not working check adb drivers (OnePlus_USB_Drivers_Setup)

9. if step 7 is success, you should be in fastboot mode.

10. Check if fastboot detects our device by giving cmd "fastboot devices"

11. if working, it's time. Give cmd "fastboot flashing unlock"

12. if not working check fastboot drivers.

13. if step 10 is success,You will get a unlocking screen in mobile, navigate with volume keys and power button to accept. Choose: Yes, unlock bootloader option. This will format and unlock your phone.
[OnePlus 9RT] PsyCLown89:
So can I go from Color OS to Oxygen OS A07 directly or must I install one of the other versions first?

Then once on Oxygen OS, lock bootloader and any new updates can be done via OTA?
[OnePlus 9RT] EduFaol:
I solved it as follows, put the phone in bootloader mode, just turn on and hold the + and - volume buttons, then open adb and type fastboot devices, see if the phone was recognized and then try to install the fastboot Rom by clicking on the flash-ALL file .BAT

Don't forget to disable Windows driver signing and install the Qualcomm driver
[OnePlus 9RT] wongshiying:
Yes, fastboot devices still recognize the phone.

But bro, I don't see the flash-ALL fine.BAT ? By the way, I've installed the Qualcomm Driver, but don't find anyway to disable the Windows Driver Signing.