EDIT: I have moved on to the Pixel 7 and don't have the energy to push into this any more. If this doesn't work for you for any reason, I don't know how to help you, sorry.
--------------------------------------------------------------
This is a step by step video tutorial for those who find written guides difficult to follow.
Download links and CMD commands:
developer.android.com
qpsttool.com
notepad-plus-plus.org
adb shell
su
resetprop ro.bootmode usbradio
resetprop ro.build.type userdebug
setprop sys.usb.config diag,diag_mdm,adb
diag_mdlog
--------------------------------------------------------------
This is a step by step video tutorial for those who find written guides difficult to follow.
Download links and CMD commands:

SDK Platform Tools release notes | Android Studio | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.

QPST Tool v2.7.496 for Windows
Download the official QPST Tool v2.7.496 which allows you to flash the stock firmware on your Qualcomm Smartphone and Tablets.

Downloads | Notepad++
adb shell
su
resetprop ro.bootmode usbradio
resetprop ro.build.type userdebug
setprop sys.usb.config diag,diag_mdm,adb
diag_mdlog
Last edited: