mi5 debugging woes - Xiaomi Mi 5 Questions & Answers

Hi,
This may belong in the development section, but I have no permission to write there.
I have a mi5 64GB with the xiaomi.eu global rom.
I am trying to debug some hybrid apps on it. ADB sometimes recognizes it and sometimes it doesn't. The USB randomly disconnects and reconnects to the computer. Whenever I try to do some chrome remote debugging using chrome://inspect the app immediately disconnects.
Any ideas?

Related

USB connectivity issues - RESOLVED

First off, I'm running OSX 10.6.6. My phone is running Phoenix 4.1 with Firebird2-v0.5 kernel...voodoo is currently disabled. Whenever I connect my phone to my computer a window appears that reads, "The disk you inserted was not readable by this computer." Any suggestions on remedies/troubleshooting? USB was working just fine yesterday. Debugging mode is currently on as well. Thanks in advance
EDIT: Also, when I connect without debugging on I don't get any options for mass storage, media player, etc. The phone just starts charging.
EDIT: just reflashed and all is well

WIFI Issues only on debug mode

Hello guys, I'm passing thru quite a problem here, see, my wifi works like a charm the whole day, but when I sit down to write some apps and I connect my phone on debug (adb) mode to test my app, the wifi disconnects and doesn't want to connect on my wifi anymore.
After this, I have to disconnect the usb, turn off the debug mode, forget my wifi, reboot my cellphone, and then try to connect again....
And when I connect the cable to test my app once more, the same thing happens.
Can anyone help me?

Android Auto not working, Mi 9t Pro

Does Android auto work for anyone else?
I get no indication it's detecting it. I've tried the cable that came with and a third party
It works fine with a OnePlus 5
I'm on version 10.3.1
Ollie_17 said:
Does Android auto work for anyone else?
I get no indication it's detecting it. I've tried the cable that came with and a third party
It works fine with a OnePlus 5
I'm on version 10.3.1
Click to expand...
Click to collapse
Fixed, deleted app and turned on usb debugging and it's working
Ollie_17 said:
Fixed, deleted app and turned on usb debugging and it's working
Click to expand...
Click to collapse
Hello, have similar problem - my android auto look it is working, but i think that is not working properly. I have a screen, with all apps, but spotify dont work, waze looks working, but GPS dont, after disconnecting cable it comes with error 16.
Also i have no Android auto between APPS screen - is it OK ?
I'm on MIUI 11.0.3,
thanks for have a look
Ollie_17 said:
Fixed, deleted app and turned on usb debugging and it's working
Click to expand...
Click to collapse
I am on xiaomi.eu ROM V11.0.3.0.QFKCNXM_v11-10 (Android 10) and my Andoid Auto is not working.
I tried:
- with installed APP "Android Auto" --> "no connection possible" shown on car display
- without APP --> RED error 8 on phone display
USB Debugging is enabled
Is it better with Android 10 not to install the APP as it should be built into system ?
What else could I try ?
Car: (Skoda fabia 2020, with swing smartlink) on MI9T Pro. Same error, 8. MIU 11, Android 10. Installed Android auto apk from apkmirror, but not showing up as icon. In car, always error 8, time/date. Did a softreboot of radio in car, meaning hold on/off for 10 seconds, after reboot it all worked and now reconnects without problem. Android auto apk from apkmirror I would not do again. Please also set USB debugging to on, have a feeling this is also a problem when off. Then lastly, make sure you have no dual apps, delete these as this is also a known problem.
Hi. I have managed to connect my Android radio with the Carlink accessory, but the Android Auto screen in my car is pixelated. The texts can hardly be read. What can be? Thank you

Connection problem with Android Auto and VW's App Connect

Hi,
neither my Xiaomi Redmi Note 7 (xiaomi.eu beta) nor the Xiaomi Redmi 5 (stock Xiaomi) of my girlfriend can successfully connect to a new VW Golf 7. Both are running latest MIUI version, everything up to date. Data connection is enabled, USB Debugging too, we tried several cables, no Dual Apps. Once a phone is connected and Data Connection is chosen an error is displayed that a connection is not possible, USB then switches back to charging.
This is very frustrating. I found many reports about problems, most of them could be solved by using different cables or disabling Dual App. Both Xiaomis should work with Android Auto and App Connect, at least that's what (some) people claim.
Any ideas what to test?
I use AA on a 2019 VW Polo with my Mi 9. I dont choose data transfer, just charging is enough. You need to download latest AA app and i dont have USB debugging enabled because data transfer with USB debugging always causes trouble.
pirx666 said:
Hi,
neither my Xiaomi Redmi Note 7 (xiaomi.eu beta) nor the Xiaomi Redmi 5 (stock Xiaomi) of my girlfriend can successfully connect to a new VW Golf 7. Both are running latest MIUI version, everything up to date. Data connection is enabled, USB Debugging too, we tried several cables, no Dual Apps. Once a phone is connected and Data Connection is chosen an error is displayed that a connection is not possible, USB then switches back to charging.
This is very frustrating. I found many reports about problems, most of them could be solved by using different cables or disabling Dual App. Both Xiaomis should work with Android Auto and App Connect, at least that's what (some) people claim.
Any ideas what to test?
Click to expand...
Click to collapse
I had the same problem on my mk7 jetta and in my case it was caused by having the USB modem activated on my phone (I often use my phone as a WiFi USB modem for a desktop computer not equipped with WiFi card). Turning back every USB option to normal/off did the trick for me. USB debug is not required.
Did you fix erro?
Helo, did you fix erro? I'm with the problem like you!

Question Phone USB disconnect loop

Hey guys.
I'm facing the following problem. Whenever a I plug my 12 Pro on the USB (2.0 or 3.0, doesnt matter) on windows 10, I hear the phone connecting, and then disconnecting, the windows file explorer showing the phone storage content pops up, and the closes, the phone disconnects, and connects again, and on and on and on and on.
I have already deleted all my drivers, reinstalled everything, updated windows but nothing worked. Also, have changed all the power options of USB ports. I've tested different ports, different cables, but got nothing. My old Pixel 3XL works perfectly with the same cable and ports.
I'm currently running EU 13.0.30.
*Edit: It happens with any data transfer mode. If I keep the option "no data transfer" on, I can hear the sound of the usb connection, and it charges normally without looping.
Is there any fix for that?
Try to put a USB hub between the PC and the device.
The obvious solution is to keep it on "no data transfer".
You can still use ADB. You can still use AdbSync.exe (in my sig).
That's what I use and I never play with MTP or PTP or UMS.

Categories

Resources