Cannot authorise U11 Pie for USB Debugging - HTC U11 Questions & Answers

I'm trying to root my newly update U11 Pie. Got ADB up and working and developer options enabled. However:
Code:
c:\HTCU11>adb devices
List of devices attached
FA77R180xxxx unauthorized
I am never prompted on the phone to authorise USB debugging. I do get a prompt to "Use USB for file transfers", every time I connect via USB. I've set default USB configuration to be "No data transfer" and I've repeatedly hit "Revoke USB debugging authorisations".
Any idea how I can authorize my PC for debugging?

Ah, just me being a dumbass. I've since downloaded the latest SDK Platform Tools and the phone is now prompting me to authorize:
https://developer.android.com/studio/releases/platform-tools.html
TWRP and Magisk installed, all is well again with the world!

Related

[Q] Cannot list my phone on SDK

I installed sdk android-sdk_r07-windows.zip and also tried with android-sdk_r06-windows.zip.
When I do "adb devices" the list of connected devices is empty. My phone is a Huawei U8230.
The USB debugging mode is enabled. I can also see the files inside the phone in a Windows Disk Drive.
Any sugestion on how to get the device listed?
A bit stupid... But your phone is running android ?
You can try to search your phone drivers if there were somes, didn't it ?
Fixed it.
1. First Installed the SDK (all components including usb drivers).
2. Then Enable USB debug mode on the phone.
3. Then connect the phone.
4. Then a CD Drive is detected -> run setup from that drive.
5. Last restart adb.
Fiuuuuuuuu that costed a lot!!!!!!

adb devices just won't show anything

adb devices doesn't show anything. I have tried it with linux and windows (with Motorola drivers installed), it doesn't work. I can access the phone when I have enabled MTP, but it just won't show in adb. I have killed and started adb server so many times, it's frustrating.
The thing is, the first time (yesterday) it worked! I could reboot into fastboot with adb but then nothing worked anymore.
Any ideas?
Maybe silly question, but: is USB debugging activated on the phone? If yes, try to switch between MTP and Camera (PTP) under "USB computer connection" option. You should get the authorization prompt on your phone when everything is fine.
Yes, USB debugging is activated. I already tried both MTP, PTP, and neither, but I don't get any authorzation prompts. I revoked all previos prompts, but still nothing. Thanks for the suggestion though!
Are you on bootloader or recovery or normally on os
I tried all three.
Try playing with the USB cable - change it, change the USB slot on the PC that it's connected to, etc.
I only have one USB cable, but I already tried it on several USB slots.
It worked! I had to put sudo in front of my adb commands! Yay! :victory:

fastboot/adb commands not working

Just got a pixel 3a, it's running android 9. I want to unlock the bootloader. I'm following one of the popular root guides on this forum. I can't seem to get adb or fastboot to find my device.
Installed ADB applications from https://developer.android.com/studio/releases/platform-tools.html
Turned on developer options in phone, turned on USB debugging, plugged in phone.
Wasn't prompted for device authorization from phone.
Changed USB connection mode to PTP.
I have tried all USB connection modes, I verified the cable used to connect the pc to the pone is a data cable as I can transfer data when the phone usb mode is set to file transfer, ptp, or midi​Installed adb/phone device driver using https://developer.android.com/studio/run/win-usb
Still no debugging authorization prompt, but device manager lists the phone under 'Android Device' as 'Android Composite ADB Interface'.
'adb devices' doesn't list anything, tried 'adb kill-server', 'adb start-server', and 'adb usb'
'adb devices' doesn't list anything
reboot phone into fastboot by shutting down and holding power+volDown
'fastboot devices' doesn't list anything
Rebooted my pc, rebooted the phone, retried everything.
I'm at a loss, any suggestions?
Yea I've had some issues with adb/fastboot on windows as well. Sometimes it just won't detect the device, rebooting into my Linux install finds it instantly though. I haven't looked into how to fix it yet though as I can always just reboot to Linux. If you're on a version of windows that supports WSL, perhaps you should try that?
Sent from my Google Pixel 3a XL using XDA Labs

sonim xp3 usb debugging not working

Trying to connect my sonim xp3 to adb, but for some reason as soon as I turn on usb debugging, the device doesnt get recognized by the computer at all.
Enabling USB Debug in Android -> Settings -> Developer Options only prepares establishng an USB-connection via ADB, but doesn't connect.
To connect you've to run
Code:
adb devices
in Windows CMD terminal.

Updated to OO13, now can't connect to PC

Hey guys,
As the title suggests I've updated my 8T from OO11 to OO13 and now my phone isn't recognised in my computer at all
Nothing comes up in device manager when I plug the phone into the computer
I've tried
- 3 different usb ports
- 2 different usb a to c cables
- USB debugging is enabled
- Installed oneplus drivers
- Installed google usb drivers
- Switching default USB configuration to MTP
- Using MTP, PTP, No data transfer
Still nothing is showing up in device manager
The phone charges when connects to the computer, it doesn't prompt me to allow USB debugging on my phone, despite revoking old usb debugging authorizations
I need to use adb commands to enable volte using the Shizuku method but I can't do that as the phone isn't recognised at all
If anyone could help that'd be great, otherwise I'll have to rollback to OO11 and use the pdc method
Thanks in advanced!

Categories

Resources