Realme and OPPO both run ColorOS (Realme calls its version Realme UI, but the underlying software is nearly identical). Both brands share USB driver infrastructure and have similar developer mode unlock procedures. This guide covers the correct driver package, the ColorOS developer mode path, and the extra steps needed for MediaTek-based Realme and OPPO models.
OPPO and Realme do not publish a well-known standalone USB driver package the way Samsung or Motorola do. In practice, three driver sources work reliably:
For standard ADB and Fastboot use on any Realme or OPPO phone:
%APPDATA%\Android\Sdk\extras\google\usb_driver\ if installed via Android Studio).ColorOS (used by OPPO) and Realme UI hide Developer Options in a non-standard location compared to stock Android:
On OPPO ColorOS 11, 12, 13, and 14:
On Realme UI 2.0, 3.0, and 4.0:
In Developer Options, enable USB Debugging. Connect the phone. Tap Allow on the authorization dialog. Some ColorOS builds also show a separate "Enable ADB" dialog that must be confirmed — approve both prompts if they appear.
OPPO and Realme phones running ColorOS have additional security layers around ADB that are not present on stock Android:
ADB authorization expires: ColorOS may revoke the ADB authorization after a period of inactivity or after a software update. If adb devices suddenly shows the device as unauthorized after it worked previously, go to Developer Options and re-enable USB Debugging (toggle it off and on). This triggers a fresh authorization dialog on the device.
Screen must remain unlocked: On some ColorOS versions, ADB commands that access app data require the phone's screen to be on and unlocked. If adb shell connects but certain commands return permission errors, unlock the screen and try again.
Disable "Charge Only" default: ColorOS defaults to Charging Only mode when connected to a PC. Always change it to File Transfer in the USB connection notification. Some ColorOS builds do not show the notification automatically — pull down the notification shade and look for the USB connection entry, or go to Developer Options and look for a "Select USB configuration" option to set the default.
Many budget and mid-range Realme and OPPO phones use MediaTek (MTK) processors (examples: Realme C21, C31, OPPO A16, A54). These devices have a special hardware mode called MTK Download Mode (also called BROM mode or preloader mode), which is used by SP Flash Tool for partition-level flashing. This mode requires a different USB driver called the MediaTek VCOM driver.
The MTK VCOM driver is included with SP Flash Tool's installation package, or can be found bundled in MediaTek USB driver packages. To enter MTK Download Mode on a Realme or OPPO phone, power the device completely off, then connect the USB cable while holding Volume Down (or both Volume Up and Volume Down simultaneously on some models). A new device entry appears in Device Manager under Other Devices — install the VCOM driver to it.
For everyday ADB use (installing apps, sideloading, running shell commands), the VCOM driver is not needed. Only install it if you are using SP Flash Tool or a similar MediaTek flashing utility.
After driver installation and USB Debugging authorization:
adb devices
The output should show your device serial number with status device. To confirm shell access:
adb shell getprop ro.product.brand
This should return realme or OPPO. To check the Android version:
adb shell getprop ro.build.version.release
"unauthorized" persists after tapping Allow: ColorOS has been observed accepting the authorization tap but not persisting it in some builds. Go to Developer Options, tap Revoke USB Debugging Authorizations, toggle USB Debugging off and back on, disconnect the cable, and reconnect. The fresh authorization dialog should appear and persist correctly.
Device recognized as generic OPPO USB device but not as Android ADB: The Google USB Driver was not applied, or a generic Windows driver took precedence. In Device Manager, right-click the OPPO entry under Portable Devices, choose Uninstall Device (with the "delete driver software" checkbox ticked), then reconnect and manually apply the Google USB Driver.
ADB works but fastboot devices shows nothing: Qualcomm-based Realme and OPPO phones (Snapdragon variants) use standard Fastboot and the Google USB Driver should cover it. However, MediaTek models generally do not have a true Fastboot implementation — MTK phones enter Download Mode instead of Fastboot Mode, requiring SP Flash Tool and the VCOM driver. Check your specific model's processor type to determine which approach applies.
ColorOS blocking adb install for unknown packages: Ensure "Install Unknown Apps" or "Install via USB" is enabled in security settings, and that the Developer Options ADB install permissions are active. Some ColorOS builds add an extra per-app ADB install confirmation dialog on the phone itself.