OnePlus One Fastboot fix
I fixed my OnePlus's One fastboot driver by using the same driver that was recognised by Windows for ADB and reassigned to the detected fastboot device.
I own a second-hand OnePlus One and it is one of my favorite devices for Android development: ample RAM, a beautiful screen, light, and easy to grip. I use it as a testbed for Android and recently I had to flash Magisk on it.
The phone worked well until it was time to run
fastboot flash boot magisk...
<waiting for any device> and I realised that it wasn't being detected correctly when in fastboot mode because
fastboot device would not return any connected devices.
adb worked, so it wasn't an issue with my hardware. The solution is to point Windows 10/11 to the right driver and not:
- Install a driver from a sketchy website(!!!)
- Disable driver signing on Windows.
- Reinstalling the original ROM to get the drivers that only show up as a CD-ROM driver
Start in fastboot mode
Browse My Computer for Drivers
Let me pick from available drivers
Select Universal Serial Bus devices
Under WinUSB device select ADB device
Accept the warning
Now it will show up in fastboot devices. This is because ADB uses the same drivers as fastboot, but when you boot in fastboot mode Windows may not detect the hardware correctly.