1
Enable USB Debugging on Phone
Go to Settings > Developer options and toggle USB Debugging ON.
Fix connection problems and establish a reliable link between your computer and phone using USB cable or Wi-Fi network.
Go to Settings > Developer options and toggle USB Debugging ON.
Plug in USB cable directly into your computer (avoid unpowered USB hubs).
If prompted on your phone, change USB mode from "Charge only" to "File Transfer / MTP".
Unlock your phone and tap "Always allow" on the computer fingerprint authorization dialog.
Run `adb devices` to verify state shows "device".
adb devices