[OnePlus 9 Pro] NZJon:
Hello.

My OnePlus 9 Pro (LE2125) has recently stopped being recognised as a portable device when connecting to a Windows PC, and I am stumped as to why, or how to fix this. What does happen when I plug the phone in to the laptop is that the laptop makes the "USB Device connecting..." sound... and then a few seconds later it makes the "Uh oh, USB Device disconnected" sound. Is anyone able to help with this?

I have done a bunch of things to try to fix this including:

trying different USB cables and different USB sockets on my laptop -- I am 97% sure the cable is not the problem

booting into Fastboot mode and running Fastboot -- no devices are ever listed

installing OnePlus USB Drivers & rebooting my laptop

reinstalling Windows (!!) completely

GIven that something is happening when the phone is initially connected (because I hear the "USB Device connecting..." sound. So I've gone poking around in the Windows Event Viewer, and found some system events that look like this:

First one:

Log Name: System
Source: Microsoft-Windows-WHEA-Logger
Date: 9/07/2024 6:20:11 pm
Event ID: 17
Task Category: None
Level: Warning
Keywords:
User: LOCAL SERVICE
Computer: CARBON
Description:
A corrected hardware error has occurred.

Component: PCI Express Root Port
Error Source: Advanced Error Reporting (PCI Express)

Primary Bus:Device:Function: 0x0:0x1D:0x6
Secondary Bus:Device:Function: 0x0:0x0:0x0
Primary Device Name:PCI\VEN_8086&DEV_A11E&SUBSYS_07BE1028&REV_F1
Secondary Device Name:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WHEA-Logger" Guid="{c26c4f3c-3f66-4e99-8f8a-39405cfed220}" />
<EventID>17</EventID>
<Version>1</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2024-07-09T06:20:11.8434597Z" />
<EventRecordID>2925</EventRecordID>
<Correlation ActivityID="{f416e594-9d22-41b7-a74f-7b38c16e3e53}" />
<Execution ProcessID="2112" ThreadID="5592" />
<Channel>System</Channel>
<Computer>CARBON</Computer>
<Security UserID="S-1-5-19" />
</System>
<EventData>
<Data Name="ErrorSource">4</Data>
<Data Name="FRUId">{00000000-0000-0000-0000-000000000000}</Data>
<Data Name="FRUText">
</Data>
<Data Name="ValidBits">0xdf</Data>
<Data Name="PortType">4</Data>
<Data Name="Version">0x101</Data>
<Data Name="Command">0x10</Data>
<Data Name="Status">0x406</Data>
<Data Name="Bus">0x0</Data>
<Data Name="Device">0x1d</Data>
<Data Name="Function">0x6</Data>
<Data Name="Segment">0x0</Data>
<Data Name="SecondaryBus">0x0</Data>
<Data Name="SecondaryDevice">0x0</Data>
<Data Name="SecondaryFunction">0x0</Data>
<Data Name="VendorID">0x8086</Data>
<Data Name="DeviceID">0xa11e</Data>
<Data Name="ClassCode">0x30400</Data>
<Data Name="DeviceSerialNumber">0x0</Data>
<Data Name="BridgeControl">0x0</Data>
<Data Name="BridgeStatus">0x0</Data>
<Data Name="UncorrectableErrorStatus">0x0</Data>
<Data Name="CorrectableErrorStatus">0x1</Data>
<Data Name="HeaderLog">00000000000000000000000000000000</Data>
<Data Name="PrimaryDeviceName">PCI\VEN_8086&amp;DEV_A11E&amp;SUBSYS_07BE1028&amp;REV_F1</Data>
<Data Name="SecondaryDeviceName">
</Data>
</EventData>
</Event>

Second one:

Log Name: System
Source: Microsoft-Windows-WHEA-Logger
Date: 9/07/2024 6:20:11 pm
Event ID: 17
Task Category: None
Level: Warning
Keywords:
User: LOCAL SERVICE
Computer: CARBON
Description:
A corrected hardware error has occurred.

Component: PCI Express Root Port
Error Source: Advanced Error Reporting (PCI Express)

Primary Bus:Device:Function: 0x0:0x1D:0x6
Secondary Bus:Device:Function: 0x0:0x0:0x0
Primary Device Name:PCI\VEN_8086&DEV_A11E&SUBSYS_07BE1028&REV_F1
Secondary Device Name:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WHEA-Logger" Guid="{c26c4f3c-3f66-4e99-8f8a-39405cfed220}" />
<EventID>17</EventID>
<Version>1</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2024-07-09T06:20:11.8656102Z" />
<EventRecordID>2926</EventRecordID>
<Correlation ActivityID="{7aca7a40-663a-40bf-ab1e-48620e3cc97c}" />
<Execution ProcessID="2112" ThreadID="5592" />
<Channel>System</Channel>
<Computer>CARBON</Computer>
<Security UserID="S-1-5-19" />
</System>
<EventData>
<Data Name="ErrorSource">4</Data>
<Data Name="FRUId">{00000000-0000-0000-0000-000000000000}</Data>
<Data Name="FRUText">
</Data>
<Data Name="ValidBits">0xdf</Data>
<Data Name="PortType">4</Data>
<Data Name="Version">0x101</Data>
<Data Name="Command">0x10</Data>
<Data Name="Status">0x406</Data>
<Data Name="Bus">0x0</Data>
<Data Name="Device">0x1d</Data>
<Data Name="Function">0x6</Data>
<Data Name="Segment">0x0</Data>
<Data Name="SecondaryBus">0x0</Data>
<Data Name="SecondaryDevice">0x0</Data>
<Data Name="SecondaryFunction">0x0</Data>
<Data Name="VendorID">0x8086</Data>
<Data Name="DeviceID">0xa11e</Data>
<Data Name="ClassCode">0x30400</Data>
<Data Name="DeviceSerialNumber">0x0</Data>
<Data Name="BridgeControl">0x0</Data>
<Data Name="BridgeStatus">0x0</Data>
<Data Name="UncorrectableErrorStatus">0x0</Data>
<Data Name="CorrectableErrorStatus">0x1</Data>
<Data Name="HeaderLog">00000000000000000000000000000000</Data>
<Data Name="PrimaryDeviceName">PCI\VEN_8086&amp;DEV_A11E&amp;SUBSYS_07BE1028&amp;REV_F1</Data>
<Data Name="SecondaryDeviceName">
</Data>
</EventData>
</Event>

Understanding this is beyond me 😭

Not being able to connect my phone to my laptop means I am not able to use Fastboot to help me get root, via Magisk, persistently installed.

If anyone has useful suggestions, I would love to hear them.

Many thanks,

Jon