2

My device Xiaomi Redmi MI A1 is running stock android, don't mistake it to be running MIUI.

Things I did :

(1) Enabled developer options and enabled USB debugging.

(2) Connected to my PC and downloaded Google's USB drivers for Android Studio as well as OEM USB drivers from Xiaomi.

(3) Installed it and also updated the device drivers from device manager by manually selecting the OEM USB driver file (it was showing no updates available afterwards), but Android Studio was still not recognizing my device.

(4) I also downloaded MI PC suite from their website but now it wasn't recognizing my device, I connected my device in PTP with USB debugging enabled.

I am using Windows 10 ( Version 1703; build 15063.632 )

My device config is AMD A6 processor at 1.8 GHz quadcore with 4GB RAM.

4
  • Have you tried disabling the Turn on MiUI optimization from developer options and restarting the device? I did the same and it worked on my MI device Commented Oct 10, 2017 at 16:11
  • 2
    Enable MIDI Step 1: Goto settings > Additional Settings > Developer options Step 2:In developer option, Enable developer options, Step 3: In same menu go down in side Networking and from the SELECT USB CONFIGURATION, select MIDI Now check adb devices on your command prompt you can see your Xiaomi is connected. Commented Oct 10, 2017 at 16:16
  • Can u please tell me how can I check for ADB devices in command prompt Commented Oct 10, 2017 at 16:25
  • adb.exe devices in the SDK platform-tools folder path to check for connected devices. From there you can restart the adb server, do it as admin by opening the command prompt with admin privileges and then adb.exe kill-server and adb.exe start-server. Be sure your USB cable allows data transfer (check with a different USB cable) Commented Oct 11, 2017 at 9:21

4 Answers 4

3

try to do this things...

1) change your USB mode to file transfer .

2) enable to install from Unknown sources .... go to settings->additional settings/Privacy/Unknown Sources

3) also enable install via USB in developer options

4) restart Android Studio.

2

Try changing the "Select USB Configuration" option to MTP.

It worked for me after installing the Mi PC Suite from here: pcsuite.mi.com

1

Try changing the USB mode to PTP or any other, in some systems PTP is only recognised in Android studio.

0
  1. open file explorer
  2. right click on my computer my computer

  3. press on Manage

manage

  1. open the device manager

Device manager

  1. you can see unknown USB connected

USB

  1. right click and press on update driver

Update driver

  1. press on browse my computer

Browse

  1. press on let me pick

Let me

  1. press on USB composite and Next

USB composite

  1. that it!! you will get a popup that your device is recognized now, you can see it in the device manager now, your USB is recognized now.

Success

Good luck!

Not the answer you're looking for? Browse other questions tagged or ask your own question.