Your OnePlus 7T Pro must be rooted (usually via Magisk) to enable Diagnostic Mode.
A new window will appear. Click on the tab first to save your current broken configuration (just in case). Switch to the Restore tab. oneplus 7t pro qcn file