I'm using oneplus 3t with OxygenOS 5.0.1, oreo 8.0 and no matter how hard i try I can't make adb work.
(I am trying to connect him to Android Studio - I am new)
The computer just doesn't find him with the adb.
If anyone can post a link for a working driver I will be more than thankfull!
I also tried to root my old phone (lg g4) and couldn't make the adb work...
Debugging is enabled?
If in Windows, does the device show up in Device Manager (even if just as an "Android phone" or something to that effect)? If so, select the device, pick the option to manually select driver. Then pick the "Android MTP device" driver. I often have to do this, to get my Android devices to show up on adb.
redpoint73 said:
Debugging is enabled?
If in Windows, does the device show up in Device Manager (even if just as an "Android phone" or something to that effect)? If so, select the device, pick the option to manually select driver. Then pick the "Android MTP device" driver. I often have to do this, to get my Android devices to show up on adb.
Click to expand...
Click to collapse
I run windows, the device shows as "ADB intefrace" and I enabled the usb debugging option.
Thanks for the quick answer!
Edit: this is how the device is showing
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you're running Windows, you may want to disable the driver signature verification before reinstalling the drivers.
Edit: I just saw your answer, looks like the signature isn't the problem here
---------- Post added at 06:45 PM ---------- Previous post was at 06:27 PM ----------
AvivSa said:
Edit: this is how the device is showing
Click to expand...
Click to collapse
I just tried on my computer and I had the same issue. Driver signature was finally the culprit
Check that:
https://www.drivethelife.com/window...e-enforcement-on-windows-10-8-7-xp-vista.html
Once your computer reboot reinstall Oneplus drivers and you should be good to go.
AvivSa said:
I run windows, the device shows as "ADB intefrace" and I enabled the usb debugging option.
Thanks for the quick answer!
Edit: this is how the device is showing
Click to expand...
Click to collapse
Right click on the ADB Interface "device", and select "Update driver software". Then select "Browse my computer for drivers software". Select the option "Let me pick from a list of device drivers..." and see if you can select "Android MTP" device or something similar.
After the drivers is installed, see if adb works.
Disabling driver signature enforcement is not needed if you install adb drivers from Google, because they are signed.
Jackhass said:
If you're running Windows, you may want to disable the driver signature verification before reinstalling the drivers.
Edit: I just saw your answer, looks like the signature isn't the problem here
---------- Post added at 06:45 PM ---------- Previous post was at 06:27 PM ----------
I just tried on my computer and I had the same issue. Driver signature was finally the culprit
Check that:
Once your computer reboot reinstall Oneplus drivers and you should be good to go.
Click to expand...
Click to collapse
redpoint73 said:
Right click on the ADB Interface "device", and select "Update driver software". Then select "Browse my computer for drivers software". Select the option "Let me pick from a list of device drivers..." and see if you can select "Android MTP" device or something similar.
After the drivers is installed, see if adb works.
Click to expand...
Click to collapse
przemcio510 said:
Disabling driver signature enforcement is not needed if you install adb drivers from Google, because they are signed.
Click to expand...
Click to collapse
Am I doing something wrong?
edit:
After reinstalling 1+'s drivers I have 2 devices in the device manager:
second edit:
Somehow it worked out idk how... Thanks everyone
przemcio510 said:
Disabling driver signature enforcement is not needed if you install adb drivers from Google, because they are signed.
Click to expand...
Click to collapse
Oneplus devices are using specific drivers for adb, not the ones from Google.
Related
So I just installed Windows 7 on my machine and was trying to ADB with my Android since I used it ALL the time on Windows XP.
I put the phone in Debug mode and plugged into my computer and told it the location of the driver. It seems to work well for a second and then it tells me that there was a problem installing the driver. It then says:
HTC ADB Composite Device Driver (not sure exactly of this...)
Access is Denied
Click to expand...
Click to collapse
Anyone else seeing anything similar on Vista or Windows 7? BTW I already tried this in Safe Mode as well.
Stigy said:
So I just installed Windows 7 on my machine and was trying to ADB with my Android since I used it ALL the time on Windows XP.
I put the phone in Debug mode and plugged into my computer and told it the location of the driver. It seems to work well for a second and then it tells me that there was a problem installing the driver. It then says:
Anyone else seeing anything similar on Vista or Windows 7? BTW I already tried this in Safe Mode as well.
Click to expand...
Click to collapse
I have mines working perfectly on Win7. Maybe you don't have admin rights on your computer? Just a guess
xidominicanoix said:
I have mines working perfectly on Win7. Maybe you don't have admin rights on your computer? Just a guess
Click to expand...
Click to collapse
Nope I have administrative rights and even tried it in safe mode.
Would you be able to zip up the drivers you used or link to where you downloaded them from?
So strange.
Even if you have admin rights, UAC can f it up.
Make sure you right click on command prompt and click "Run as Administrator"
Also, do you have x64? That requires a signed drivers. I don't remember if the ADB drivers were signed by microsoft, but if they aren't, it won't work unless you apply the work around
http://forum.xda-developers.com/showthread.php?t=532719
The link in this thread usbdeview seems to fix alot of driver issues
Stigy said:
Nope I have administrative rights and even tried it in safe mode.
Would you be able to zip up the drivers you used or link to where you downloaded them from?
So strange.
Click to expand...
Click to collapse
i got mines from the 1.6 sdk .. x64
Simple Solution
Here is a simple solution without having to read that long thread:
For future reference, here is how to install the drivers or fix the drivers should they not be working.
Everything you need is contained within this:
http://www.divshare.com/download/8845496-f72
This is the howto documentation
This is how to get your android phone to connect to you PC
to use functions like adb and other developer tools.
If you have installed the phone before but adb function dont work
then:
1) Run USBDeview
2) Select the list item(s) that have the word "android" within the description
3) Right Click > Uninstall
If you have done the above, or are plugging your phone in for the first time:
1) Plug in phone
2 a) When prompted to install drivers select the "android driver" folder
contained within this tutorial
2 b) If no message appears or you get a message saying drivers failed
to install. Goto device manager
2 b i) start > All Programs > accessories > run
type devmgmt.msc and press ok.
3 b) find the android device in device manager, it will have a warning icon
next to it and be in a section like unknown.
4 b) Right click and install driver
5 a) When prompted to install drivers select the "android driver" folder
contained within this tutorial
Click to expand...
Click to collapse
USBDeview is awesome but....
Even after removing all of the drivers associated with my device, as soon as I try to install the fresh new drivers, I still get "Access Denied" at the end of the install.
digimancer said:
Even after removing all of the drivers associated with my device, as soon as I try to install the fresh new drivers, I still get "Access Denied" at the end of the install.
Click to expand...
Click to collapse
I have this same issue on an Ideos U8150 and on XP... At one point in the past it was working (before I flashed Cyanogen 7). Since then I have tried numerous driver packages, both specific to my phone and generic, and have had no luck getting past the access denied error.. I have even gone as far as changing the registry permission as well as checking all of my folder permissions... I am stumped.
Adb root - run that from command prompt.
B-man007 said:
Even if you have admin rights, UAC can f it up.
Make sure you right click on command prompt and click "Run as Administrator"
Also, do you have x64? That requires a signed drivers. I don't remember if the ADB drivers were signed by microsoft, but if they aren't, it won't work unless you apply the work around
Click to expand...
Click to collapse
I know it a while ago since you posted this but still, it helped me fix the "Access denied" thing which i didn't know how to fix. I installed ADB drivers 3 times... anyways, tnx :good:
So If you are like me you had this same issue in 2022. Idk if it will be a fix for you but it was for me.
follow this youtube video for the exact setup so you can get hopfully the same out com to the T.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. make sure you're in administrator mode for command prompt.
2. The file name has changed from what it was so instead of doing
cd adb\platform-tools_r30.0.4-windows\platform-tools
It's now this
cd adb\platform-tools\
This will get you to the correct path if you followed the file placement in the video.
next all you have to do is type
adb devices on the command prompt. to test if it worked
other things that you might have to try is seeing if the driver it self is being blocked. you might also have to turn off and back on developer mode. View other posts in this thread if it's still stuck for you. Hopefully I helped one person at least.
For some reason I cannot get ADB to work with my NC. I cleaned out ADB and reinstalled with all updates except for the Galaxy Tab add ons. I used the driver that is available all over the forum and got the proper device id in device manager. When I try to check devices I just get nothing connected. Does anyone have any ideas? Any help is appreciated. Device manager also still has the USB as mass storage also.
*Running Win 7 x64
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Uninstall the Android Composite ADB Interface driver
Download the updated adb drivers from here
http://forum.xda-developers.com/showthread.php?t=882751
and reinstall them. A reboot of your pc should show your device.
So nooks good just no adb via PC? Win7 64bit puts it c:/program files (x84)/android/android-sdk-windows/platform-tools
If not just type adb.exe in the search box above winows start
sent from a Nook Color using xda-app
thanks for the responses.
camwinnn said:
So nooks good just no adb via PC? Win7 64bit puts it c:/program files (x84)/android/android-sdk-windows/platform-tools
If not just type adb.exe in the search box above winows start
Click to expand...
Click to collapse
ADB is not the issue, it must be some kind of driver problem. the SDK is in my path, it will run no matter what directory im in. It works fine on the vibrant.
ewong90 said:
Uninstall the Android Composite ADB Interface driver
Download the updated adb drivers from here
http://forum.xda-developers.com/showthread.php?t=882751
and reinstall them. A reboot of your pc should show your device.
Click to expand...
Click to collapse
thats what I used orginally to get to this point. plus the 1.01 image. I tried it again just to be sure. The composite device shows when plugged in but so does the mass storage, does that matter? should the storage still mount?
Here is what I have for drivers.
uninstall all the nook mass storage device drivers
ewong90 said:
uninstall all the nook mass storage device drivers
Click to expand...
Click to collapse
Here is what I did, (just to be clear)
Plugged in Rooted Nook.
Uninstalled USB Mass storage
right clicked "nook" and hit update driver
selected driver from downloaded Win7 post
clicked install unsigned driver
adb composite device showed up
reboot
plugged nook back in, now both USB storage and Adb composite device show up
Be lazy, get adb wireless from the market. I didn't even bother setting up my PC
sent from a Nook Color using xda-app
There's a thread somewhere around here with a solution that worked for me, it involved adding 0x2080 to the adb_USB.initial file in /user/yourname/.android.
Edit: Oh yeah, adbwireless is awesome so give that a try if you can't get USB to work.
+1 for AdbWireless!!!
Its free and you can get it from the market.
(I finally gave up after days of trying to get the usb drivers figured out on my computer.)
camwinnn said:
Be lazy, get adb wireless from the market. I didn't even bother setting up my PC
sent from a Nook Color using xda-app
Click to expand...
Click to collapse
Didnt even think of that. I use it for my Vibrant and love it. thanks.
My wireless works great...but I still need the usb connection to modify wireless settings to allow connection to adhoc network (mywi on iPhone 4).
I've tried everything and am still having a problem.
I am running a Windows Vista machine. When I attempt to install the USB drivers, it runs through the steps, but at the end, it says:
"Windows found driver software for your device but encountered an error while attempting to install it.
Android Composite ADB Interface
The data is invalid.
If you know the manufacturer of your device, you can visit its website and check the support section for driver software."
I've cleared it all and still have the same problem.
I ran it on an XP machine, and was able to install the drivers, however, the nook still does not show up in the list of devices.
Any ideas?
I have installed the Sony drivers. I did this while in test mode. The only error I get is that a driver called Sony Net did not install. I then downloaded the Android SDK tools and installed the Google USB driver. However, whenever I try to adb, I get the device is offline error. My cable has also been plugged directly into my PC instead of a hub but same error...
USB Debugging is enabled. In Device manager, I can see 'Xperia Z' under Portable Devices and 'Sony sa0107 ADB Interface Driver' under Sony Sa0107. What am I doing wrong?
sacredsoul said:
I have installed the Sony drivers. I did this while in test mode. The only error I get is that a driver called Sony Net did not install. I then downloaded the Android SDK tools and installed the Google USB driver. However, whenever I try to adb, I get the device is offline error. My cable has also been plugged directly into my PC instead of a hub but same error...
USB Debugging is enabled. In Device manager, I can see 'Xperia Z' under Portable Devices and 'Sony sa0107 ADB Interface Driver' under Sony Sa0107. What am I doing wrong?
Click to expand...
Click to collapse
HAve you ticked install from unknown sources in security? not sure if it will make a difference though?
xl VipeR lx said:
HAve you ticked install from unknown sources in security? not sure if it will make a difference though?
Click to expand...
Click to collapse
Yep, that's already ticked,
sacredsoul said:
Yep, that's already ticked,
Click to expand...
Click to collapse
Try
Unplug the usb and plug it back again in a different usb port.
Go to the Settings -> Applications -> Development of your device and uncheck the USB debugging mode and then check it again back!
Restart the adb on your PC. adb kill-server and then adb start-server
Restart your device and try again.
xl VipeR lx said:
Try
Unplug the usb and plug it back again in a different usb port.
Go to the Settings -> Applications -> Development of your device and uncheck the USB debugging mode and then check it again back!
Restart the adb on your PC. adb kill-server and then adb start-server
Restart your device and try again.
Click to expand...
Click to collapse
Really appreciate you trying to help! :good:
This is as far as I could go but the command doesn't actually happen. It doesn't reboot.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What do you get when you type adb devices
Sent from my C6603 using xda premium
xl VipeR lx said:
What do you get when you type adb devices
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
C:\Android>adb devices
List of devices attached
CB5A1P9WY3 offline
Still trying unsuccessfully to get it working. Don't know what else can be done haiz.
You tried googling?
Sent from my C6603 using xda premium
xl VipeR lx said:
You tried googling?
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
Yep. Everything. Different cables, different port, rebooting both PC and phone, reinstalling ADB, updating ADB, nothing works.
Device is always offline. Maybe Win 8 x64 is just bad for this :crying:
EDIT : I am using the root with locked bootloader. Is that a problem? Does it need to be unlocked for adb?
Just a update. Interestingly enough, recovery for locked bootloader installs fine (after disabling and enabling USB debugging) but ADB still doesnt work.
adb does work, you connected to a shell on the device on the image above.
Download flashtool beta for xz and install it. There's a subdirectory drivers in the installation directory where you find an installer which installs adb, fastboot and flashmode drivers if you select the correct checkboxes.
schaggo said:
adb does work, you connected to a shell on the device on the image above.
Download flashtool beta for xz and install it. There's a subdirectory drivers in the installation directory where you find an installer which installs adb, fastboot and flashmode drivers if you select the correct checkboxes.
Click to expand...
Click to collapse
Thanks! Shall give it a shot.
This worked for me.
It's a a bit late but maybe someone can still use this info.
This link has instructions on how to setup the android usb drivers for XPeriaZ. Worked for me like a champ.
teamandroid dot com slash 2013 slash 02 slash 24 slash sony-xperia-z-usb-drivers-download
Happy coding!
Alberto
Hey there,
I have a huge problem. after trying to update the ROM my phone was not booting anymore. not even in recovery. well, meanwhile I installed twrp 2.7.0.0, but the problem is I have no ROM saved on the storage of the M7. with adb push and adb sideload I was trying to transfer a ROM but it always appaers "device not found". Has anyone an advice??? THx
Drivers.. Fix your drivers. Check your OS is NOT windows 8, if it is, search for correct way to do that.
OS is windows 7 64bit. I´ve googled around but couldn´t find anything that could help. any recommendations? thx for helping
Use TWRP 2.6.3.3
Also when you go to TWRP>Advacnced>Sideload.. open device manager on your computer and post a screenshot
antochahn said:
OS is windows 7 64bit. I´ve googled around but couldn´t find anything that could help. any recommendations? thx for helping
Click to expand...
Click to collapse
This might help fixing your drivers:
originally from @nkk71: [GUIDE] [02-MAR-2014] nkk71's SuperGUIDE to returning 100% back to stock
2) Q: I'm using Windows 7 what should I worry about
A: when you issue the command "fastboot boot CWM.img" (now only in CWM/TWRP restore method) there's a high chance drivers won't correctly install
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
follow the below instructions to fix
Open "Device Manager" -> select the unknown "One" -> right-click -> "Update Driver Software ..." -> "Browse my computer" -> "Let me pick" -> "Android USB Devices" -> select "My HTC ..." -> install that
just in case, HTC Drivers can be found here: [Drivers] HTC Drivers for Windows - Several Versions (credits to @mdmower)
though you should already have them since you have been using your phone anyways
for those who like a visual guide:
okay so I did a fastboot boot command, and as you can see it didnt install correct driver
Open "Device Manager"
there's the culprit
right click and Update Driver Software
select Browse my computer for driver software
select Let me pick from a list of device drivers on my computer
select Android USB Devices
select My HTC ... (if you have more than one version, choose the latest)
warning, select Yes
successful installation
now it looks better
and can confirm:
Code:
C:\ADB3>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery
-------------------------------------------------------------------------------------------------------------------------------------------
Don't forget you must be in recovery (twrp) to use adb, not in bootloader
Guys, it finally worked! thank u very much for your help!
antochahn said:
Guys, it finally worked! thank u very much for your help!
Click to expand...
Click to collapse
Cool :good:
and if you could also edit the main thread title to include [SOLVED] (go to 1st post click EDIT, at the bottom of the edit window click GO ADVANCED, then you can edit the main title), thanks
Deleted /system and all data | ADB doesn't recognize phone | Recovery still works
Hey guys,
today I wanted to wipe my HTC One - pretty standard, just a factory reset. But I accidentally wiped /system too - now I don't have an OS. ADB doesn't want to detect my phone under any circumstances - neither ADB Sideload, nor in fastboot mode, nor does the computer even detect the phone as a phone, it just says "Unknown Device".
Bootloader: Tampered, Unlocked.
S-ON
HBOOT 1.57.0000
TWRP 2.8.5.0
Hope someone can help. If additional info is needed, I'll provide you with that.
Morphior
Morphior said:
ADB doesn't want to detect my phone under any circumstances - neither ADB Sideload, nor in fastboot mode, nor does the computer even detect the phone as a phone, it just says "Unknown Device".
Click to expand...
Click to collapse
FAQ#2: http://forum.xda-developers.com/showpost.php?p=52135024&postcount=2
What is that supposed to tell me? The drivers didn't correctly install - okay. But what is that fastboot command? I never typed that before.
Also, I tried to update drivers, I even manually installed drivers - without success.
Morphior
Morphior said:
What is that supposed to tell me? The drivers didn't correctly install - okay. But what is that fastboot command? I never typed that before.
Also, I tried to update drivers, I even manually installed drivers - without success.
Morphior
Click to expand...
Click to collapse
not the drivers or fastboot commands, just the "manual selection" of "My HTC"
Open "Device Manager" -> select the unknown "One" -> right-click -> "Update Driver Software ..." -> "Browse my computer" -> "Let me pick" -> "Android USB Devices" -> select "My HTC ..." -> install that
for those who like a visual guide:
okay so I did a fastboot boot command, and as you can see it didnt install correct driver
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Open "Device Manager"
there's the culprit
right click and Update Driver Software
select Browse my computer for driver software
select Let me pick from a list of device drivers on my computer
select Android USB Devices
select My HTC ... (if you have more than one version, choose the latest)
warning, select Yes
successful installation
now it looks better
and can confirm:
Code:
C:\ADB3>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery
[/HIDE]-------------------------------------------------------------------------------------------------------------------------------------------[/HIDE]
There is no "My HTC" in the list of drivers.
Morphior said:
There is no "My HTC" in the list of drivers.
Click to expand...
Click to collapse
how about using MTP in twrp
I tried that.
Morphior said:
I tried that.
Click to expand...
Click to collapse
"I tried that", but.... ?
how about a screenshot of your Windows Device Manager, while the phone is connected.
also, while the phone is connected, please try toggling MTP (ie on->off->on)
Okay. So now I think I absolutely jammed everything up. I connected a USB flash drive via my OTG cable and it worked. Awesome. I put an OS on it and installed it. Went through. But then when I wanted to reboot it said "no OS". I rebooted and now even OTG doesn't work anymore. What can I do? I tried remounting it but doesn't let me.
Morphior
Morphior said:
Okay. So now I think I absolutely jammed everything up. I connected a USB flash drive via my OTG cable and it worked. Awesome. I put an OS on it and installed it. Went through. But then when I wanted to reboot it said "no OS". I rebooted and now even OTG doesn't work anymore. What can I do? I tried remounting it but doesn't let me.
Morphior
Click to expand...
Click to collapse
have you tried unplugging it, rebooting to recovery and replugging it as mentioned here http://forum.xda-developers.com/showpost.php?p=61449330&postcount=23
not sure if the regular twrp has that issue too, but you might as well try.
and btw, obviously the rom didnt flash properly because it gave you the message "no OS"