adb will not work - Google Pixel 2 XL Questions & Answers

I have got my device to be recognized by my PC but adb will not work ... Can anyone provide help on how to make it work?

When you plug the phone into the PC, pull down the notification area and change the USB options from Charging to Transfer Files.

dratsablive said:
When you plug the phone into the PC, pull down the notification area and change the USB options from Charging to Transfer Files.
Click to expand...
Click to collapse
I've done that...the phone is recognized by my PC just not when I run adb devices...nothing shows up ...adb reboot doesn't work

canemaxx said:
I've done that...the phone is recognized by my PC just not when I run adb devices...nothing shows up ...adb reboot doesn't work
Click to expand...
Click to collapse
Did your phone prompt you to allow the computers fingerprint ? If not toggle debugging a few times till it does.
You have updated sdk and driver's ?

Lawlrus said:
Did your phone prompt you to allow the computers fingerprint ? If not toggle debugging a few times till it does.
You have updated sdk and driver's ?
Click to expand...
Click to collapse
I don't have fingerprint set up but I have toggled back and forth and do not get the prompt to allow connection to my PC

canemaxx said:
I don't have fingerprint set up but I have toggled back and forth and do not get the prompt to allow connection to my PC
Click to expand...
Click to collapse
I'm not talking about fingerprint protection, when you switch to other modes aside form Charing when you have USB debugging turned on, if will prompt you to accept the computers fingerprint, meaning make alterations to your device.
You need to allow that, and if you're not getting that prompt, update your sdk tool, drivers, u install the drivers, reinstall them, try a different cable/USB port/ computer. Pretty much do all the basic trouble shooting.
My device was very picky about what port I could use

Lawlrus said:
I'm not talking about fingerprint protection, when you switch to other modes aside form Charing when you have USB debugging turned on, if will prompt you to accept the computer fingerprint, meaning make altercations to your device.
You need to allow that, and if you're not getting that prompt, update your sdk tool, drivers, u install the drivers, reinstall them, try a different cable/USB port/ computer. Pretty much do all the basic trouble shooting.
My device was very picky about what port I could use
Click to expand...
Click to collapse
That's what I'm not getting is that prompt ...it will connect for mtp and PTP file transfer but will not recognize adb. Which ask version are you using and do you have a link?

canemaxx said:
That's what I'm not getting is that prompt ...it will connect for mtp and PTP file transfer but will not recognize adb. Which ask version are you using and do you have a link?
Click to expand...
Click to collapse
Can't check because I'm not home, all I know is I used minmal fastboot and adb tools because my windows uses powershell not cmd.
Doesn't Google link the newest on the page for their official images ?
Try running adb devices and see if it will make the prompt show up

Lawlrus said:
Can't check because I'm not home, all I know is I used minmal fastboot and adb tools because my windows uses powershell not cmd.
Doesn't Google link the newest on the page for their official images ?
Click to expand...
Click to collapse
Yeah and that's what I downloaded was their latest version of platform tools. I just don't get this. I'm so close to returning this phone and just keeping my og xl

canemaxx said:
Yeah and that's what I downloaded was their latest version of platform tools. I just don't get this. I'm so close to returning this phone and just keeping my og xl
Click to expand...
Click to collapse
Whatever works for you lol. Can promise you that this is not the ONLY device that can give issues on the first time getting adb to work. I've had it happen on two other devices that were Nexus units.

Lawlrus said:
Whatever works for you lol. Can promise you that this is not the ONLY device that can give issues on the first time getting adb to work. I've had it happen on two other devices that were Nexus units.
Click to expand...
Click to collapse
I don't get what else I could do to make this work tho that's the problem....what am I missing

USB debugging enabled?

Heisenberg420 said:
USB debugging enabled?
Click to expand...
Click to collapse
Ues

canemaxx said:
Ues
Click to expand...
Click to collapse
Try running adb kill-server and then adb devices

Heisenberg420 said:
Try running adb kill-server and then adb devices
Click to expand...
Click to collapse
Bro thank you!!!! That worked

canemaxx said:
Bro thank you!!!! That worked
Click to expand...
Click to collapse
Yep

canemaxx said:
I don't get what else I could do to make this work tho that's the problem....what am I missing
Click to expand...
Click to collapse
Adb kill-server worked

I hope someone still sees this post. I have a friends Google Pixel XL that I was able to revive from a bootloop by sideloading the latest OTA. Upon starting up, my friend forgot his screenlock passcode. I've been trying everything to get the device recognized in bootloader mode on my pc. It keeps showing up blank. I am trying to use ADB to bypass the unlock code. If anyone has an idea how I can get into this phone BEFORE I reset it, that would be very appreciated! It is not rooted and no unlocked bootloader.

Yooperjusty said:
I hope someone still sees this post. I have a friends Google Pixel XL that I was able to revive from a bootloop by sideloading the latest OTA. Upon starting up, my friend forgot his screenlock passcode. I've been trying everything to get the device recognized in bootloader mode on my pc. It keeps showing up blank. I am trying to use ADB to bypass the unlock code. If anyone has an idea how I can get into this phone BEFORE I reset it, that would be very appreciated! It is not rooted and no unlocked bootloader.
Click to expand...
Click to collapse
You have to enable USB Debugging in settings in order to delete the unlock code. Unfortunately, you can't because he forgot it. You can try booting TWRP on the device using fastboot and see if you can delete the unlock code's key file using TWRP's file manager, but the reality here is that you likely will have to reset. Hope your friend didn't use a throwaway email address when setting up the device.

Related

[Q] Need help rooting... adb devices = nothing

So I cracked my lcd and just received a replacement from insurance... it wont show a device so I can root it.
What's is there to check in order for the device to show? I have reinstalled the HTC drivers and restarted my system but nothing.
What is the best way to root 2.3.3?
Thanks!
[email protected] said:
So I cracked my lcd and just received a replacement from insurance... it wont show a device so I can root it.
What's is there to check in order for the device to show? I have reinstalled the HTC drivers and restarted my system but nothing.
What is the best way to root 2.3.3?
Thanks!
Click to expand...
Click to collapse
Check usb debugging on under settings -application- development and then try adb
theidlemonk said:
Check usb debugging on under settings -application- development and then try adb
Click to expand...
Click to collapse
already checked... i found this on another site, but am not sure what "Disk Mode" is
I type “adb devices” and get no serial number!
That means your drivers aren’t installed correctly or your phone isn’t in Disk Mode or USB debugging is not check on, please check those three and you should be good to go!
Click to expand...
Click to collapse
any other suggestions?
[email protected] said:
already checked... i found this on another site, but am not sure what "Disk Mode" is
any other suggestions?
Click to expand...
Click to collapse
When you connect to the computer, you should see the usb icon in the status bar. Make sure it says charge only for adb to work. Might also want to download HTC sync or get the android usb drivers from unrevoked.
used another computer... everything is great now
must be a driver issue on my laptop
thanks for the help though!
[email protected] said:
used another computer... everything is great now
must be a driver issue on my laptop
thanks for the help though!
Click to expand...
Click to collapse
Re-install the sdk, and make sure you have the two adb.dll files, as sometimes they are missing, and cause it not to work.

ADB reads device as offline PLEASE HELP

trying desperately for s-off. adb finds my device but says its offline. I'll follow any instructions cause ive tried everything and cant get it to be seen as online. please and thanks
zeer.row said:
trying desperately for s-off. adb finds my device but says its offline. I'll follow any instructions cause ive tried everything and cant get it to be seen as online. please and thanks
Click to expand...
Click to collapse
http://www.wugfresh.com/faq/7/
Have you already Tried this?
Sent from my ADR6300 using xda app-developers app
Tigerstown said:
http://www.wugfresh.com/faq/7/
Have you already Tried this?
Sent from my ADR6300 using xda app-developers app
Click to expand...
Click to collapse
just looked at it. yes i accepted the prompt already and i can see my device when i list, but its listed as offline.
zeer.row said:
just looked at it. yes i accepted the prompt already and i can see my device when i list, but its listed as offline.
Click to expand...
Click to collapse
I get this occasionally on a different device. But if I unplug and then plug it back in again, sometime takes more than once, it works
Sent from my Nexus 5
jd1639 said:
I get this occasionally on a different device. But if I unplug and then plug it back in again, sometime takes more than once, it works
Sent from my Nexus 5
Click to expand...
Click to collapse
ive been at it for 4 hours
heres a pic
zeer.row said:
ive been at it for 4 hours
Click to expand...
Click to collapse
Do you have usb debugging enabled?
Sent from my Nexus 5
jd1639 said:
Do you have usb debugging enabled?
Sent from my Nexus 5
Click to expand...
Click to collapse
yes, and unknown sources checked , and unchecked verify apps
zeer.row said:
yes, and unknown sources checked , and unchecked verify apps
Click to expand...
Click to collapse
And you're using the same cable that came with the phone? Also use usb 2.0 not 3.0 ports. These are the only things I can think of.
Sent from my Nexus 5
ADB
If you are trying to connect ADB for Weaksauce, you have to open apps folder,
run Weaksauce and accept prompt,
then run SU and accept prompt,
Then start giving your ADB commands.
just download drivers straight from htc thats all
I had the same problem at first. Then I installed Android SDK and copied the path to where the folder is on my C drive. Afterwards, Turned OFF USB Debugging, used the "revoke usb authorization" option, then Turned On USB Debugging on the phone again and the Key Verification window popped up on my phone and selected "ALWAYS" for adb to be used on the attached computer. Then tested with the command "adb devices" and now my m8 is all good and ready to go. No more offline or unauthorized.
has to be a driver situation thats stuck on my pc, used another laptop (different computer) downloaded latest sdk n it worked. this can be deleted. genuine thanks to everyone who gave input!!
michaelbsheldon said:
If you are trying to connect ADB for Weaksauce, you have to open apps folder,
run Weaksauce and accept prompt,
then run SU and accept prompt,
Then start giving your ADB commands.
Click to expand...
Click to collapse
I'm not using weaksauce because I wasn't sure if it worked on a Sprint phone. Does it?
thendyy said:
I'm not using weaksauce because I wasn't sure if it worked on a Sprint phone. Does it?
Click to expand...
Click to collapse
Just checked at the weaksauce website, and it says that it 'may' work for sprint.
If yours isn't running newest HTC releases for your phone, weaksauce could work.
I'd try it: worst thing that could happen is that you'd have a do a factory reset from hboot.
Best wishes -
mike
I got the offline message also and found out that i have to disable my USB 3 driver in Device manager.
When they are disabled i can use adb to my phone.

[Q] Cannot get G4 recognised for debug

Hi all,
I'm sure this is the right place to ask, but i'm using xamarin to do some dev, been using it for years and love it, have no problems debugging at all. However with the G4, despite me having USB debugging enabled, it never prompts me to authorize my computer and therefore the G4 never appears in my list of devices which I can debug with. When I connect USB the phone shows the icon to say it's in USB Debugging mode but still makes no difference.
a call to adb devices doesn't list it at all.
Can anyone offer any advice as to why I can't use it for debugging?
Thanks in advance
_Belial said:
Hi all,
I'm sure this is the right place to ask, but i'm using xamarin to do some dev, been using it for years and love it, have no problems debugging at all. However with the G4, despite me having USB debugging enabled, it never prompts me to authorize my computer and therefore the G4 never appears in my list of devices which I can debug with. When I connect USB the phone shows the icon to say it's in USB Debugging mode but still makes no difference.
a call to adb devices doesn't list it at all.
Can anyone offer any advice as to why I can't use it for debugging?
Thanks in advance
Click to expand...
Click to collapse
Install the LG Unified Drivers.
SUperb, that worked a treat, many thanks.
_Belial said:
SUperb, that worked a treat, many thanks.
Click to expand...
Click to collapse
mind posting a link to the drivers? thanks
If you are running Linux change the connection type on the phone to camera not mtp.
Sure thing, these are the ones I installed and worked fine for me
http://tool.xcdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00320110909
Sure thing, these are the ones I installed and worked fine for me
http://tool.xcdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00320110909
_Belial said:
Sure thing, these are the ones I installed and worked fine for me
http://tool.xcdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00320110909
Click to expand...
Click to collapse
thanks but I think these are for a mac according to the file name.
climo said:
thanks but I think these are for a mac according to the file name.
Click to expand...
Click to collapse
Here's the windows version: http://tool.xcdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00120120425
I'm having issues even after installing the unified driver. Any help would be appreciated
Linux drivers/firmware?
Anyone seen anything related to linux software support for the phone?
My dev environment is Linux want to adb to phone through linux (in my particular case ubuntu 15.04).
anyone know how to search on LG's site to find the drivers there?
They have one of those sites that pretends everything magically works so why would anyone want scary things like drivers
last night I had to select the third option in the list to get android studio to see my g4. I think it was STP or something about photo mode. When i had it in MTP (or whatever the middle option was) it never worked.
I use Mac 10.10 and didn't need any drivers, just had to select this option on my phone once plugged in.
Sent from my LG-H810 using Tapatalk
cuhead528 said:
Anyone seen anything related to linux software support for the phone?
My dev environment is Linux want to adb to phone through linux (in my particular case ubuntu 15.04).
Click to expand...
Click to collapse
Did you get adb to wotk from ubuntu? I don't see the G4 but my other androids?
Sent from my LG-H815 using Tapatalk
Termehansen said:
Did you get adb to wotk from ubuntu? I don't see the G4 but my other androids?
Hi - I did get the AndroidSDK working, including ADB, with the LG G4. So there's that. Have been able to read all the information off the phone, but haven't done much beyond that to repartition the file system.
Click to expand...
Click to collapse
crogue5 said:
last night I had to select the third option in the list to get android studio to see my g4. I think it was STP or something about photo mode. When i had it in MTP (or whatever the middle option was) it never worked.
I use Mac 10.10 and didn't need any drivers, just had to select this option on my phone once plugged in.
Sent from my LG-H810 using Tapatalk
Click to expand...
Click to collapse
Thank you! That is exactly what I had to do. I could never successfully run "adb devices" on my Xubuntu system against my G4. Once I set it to PTP instead of MTP (USB debugging already enabled), my phone popped up asking for permission to allow USB debugging from the computer. Click OK, ran "adb devices" and the device is listed.

adb fastboot not seeing device

Sorry for noob question. Searched Searched xda and can't find anything. Pixel3 xl. Stock Android 10. Rooted. Windows 10 with correct drivers so it sees device. Can transfer files easily. USB debugging enabled. ADB and Fastboot do not see device. Used to work but not now. Tried kill-server and start-server in ADB. Tried different cables, restarting phone and computer. No luck. In fastboot mode (on phone) fastboot devices returns nothing. Totally stumped. Can anyone help. Again apologize for noob question but this has always worked before and I've flashed roms as well as stock numerous times with no issues till now. Help!
Do you have the current platform tools https://developer.android.com/studio/releases/platform-tools.html, and are you in the platform tools directory in command prompt or have your path set correctly?
sliding_billy said:
Do you have the current platform tools https://developer.android.com/studio/releases/platform-tools.html, and are you in the platform tools directory in command prompt or have your path set correctly?
Click to expand...
Click to collapse
I have the latest tools. Path set correctly as far as I can tell. I'm running the commands from the directory. Nothing. What kills me is that I never had this problem before untill I reinstalled Windows with a fresh copy.
Daisymae said:
I have the latest tools. Path set correctly as far as I can tell. I'm running the commands from the directory. Nothing. What kills me is that I never had this problem before untill I reinstalled Windows with a fresh copy.
Click to expand...
Click to collapse
You might need to allow unsigned drivers. Here's one how to, https://www.howtogeek.com/167723/ho...8.1-so-that-you-can-install-unsigned-drivers/
jd1639 said:
You might need to allow unsigned drivers. Here's one how to, https://www.howtogeek.com/167723/ho...8.1-so-that-you-can-install-unsigned-drivers/
Click to expand...
Click to collapse
Thanks. Did that. Same thing. Blank list.
Daisymae said:
Thanks. Did that. Same thing. Blank list.
Click to expand...
Click to collapse
I think the easy step to determine if it is a phone or computer issue is to at least try from another computer. The one thing that did just occur to me would be to make sure you are using an A>C USB cable and A port and not a C>C with a C port. The Pixel series has tons of problems with C>C.
Have you recently updated and not re-authorized your phone?
sliding_billy said:
I think the easy step to determine if it is a phone or computer issue is to at least try from another computer. The one thing that did just occur to me would be to make sure you are using an A>C USB cable and A port and not a C>C with a C port. The Pixel series has tons of problems with C>C.
Click to expand...
Click to collapse
Thanks. Don't have another windows computer to try on. Do have an old Mac and it works on that, just not my windows laptop which is what I use. I have no idea what's making this happen. Computer sees the phone just fine.
spotmark said:
Have you recently updated and not re-authorized your phone?
Click to expand...
Click to collapse
Turned usb debugging off then back on again. When I plug in a cable I reauthorize usb debugging but get the same results.
Daisymae said:
Thanks. Don't have another windows computer to try on. Do have an old Mac and it works on that, just not my windows laptop which is what I use. I have no idea what's making this happen. Computer sees the phone just fine.
Click to expand...
Click to collapse
To my previous comment, are you using an A>C cable or the C>C that comes with the phone/charger? Besides that, it still sounds like it could be a driver issue where it is recognizing the phone as a generic USB storage device.
sliding_billy said:
To my previous comment, are you using an A>C cable or the C>C that comes with the phone/charger? Besides that, it still sounds like it could be a driver issue where it is recognizing the phone as a generic USB storage device.
Click to expand...
Click to collapse
I'm using an A-C cable. Same that I used before when it worked. I thought it might be a device driver too but when I plug the phone in the computer immediately sees it and if I open device manager the phone is seen as an android device.
Daisymae said:
I'm using an A-C cable. Same that I used before when it worked. I thought it might be a device driver too but when I plug the phone in the computer immediately sees it and if I open device manager the phone is seen as an android device.
Click to expand...
Click to collapse
If you boot to the bootloader and plug the phone in, does Windows recognize it then?
Daisymae said:
I'm using an A-C cable. Same that I used before when it worked. I thought it might be a device driver too but when I plug the phone in the computer immediately sees it and if I open device manager the phone is seen as an android device.
Click to expand...
Click to collapse
OK, thanks. One thing I can think to do is delete the driver, reboot the phone and computer and then plug in and start over. Make sure to use the Google device driver from the developer page.
ktmom said:
If you boot to the bootloader and plug the phone in, does Windows recognize it then?
Click to expand...
Click to collapse
No. Tried that first thing. Fastboot devices turns up nothing.
sliding_billy said:
OK, thanks. One thing I can think to do is delete the driver, reboot the phone and computer and then plug in and start over. Make sure to use the Google device driver from the developer page.
Click to expand...
Click to collapse
Believe it or not I already did that. I've tried everything with no luck. As I mentioned I was always able to use it before with no problems then this started when I reinstalled a fresh copy of windows.
Daisymae said:
Believe it or not I already did that. I've tried everything with no luck. As I mentioned I was always able to use it before with no problems then this started when I reinstalled a fresh copy of windows.
Click to expand...
Click to collapse
just for the heck of it, do you have other cables. Stranger things have happened that made a difference, and the next suggestion involves reinstalling computer and/or phone. Maybe a live USB Ubuntu disk to see what is working and what is not.
Daisymae said:
No. Tried that first thing. Fastboot devices turns up nothing.
Click to expand...
Click to collapse
I understood fastboot devices doesn't see it, but does Windows show a driver installed for it? I strongly suspect you don't have (the right) drivers properly installed.
ktmom said:
I understood fastboot devices doesn't see it, but does Windows show a driver installed for it? I strongly suspect you don't have (the right) drivers properly installed.
Click to expand...
Click to collapse
Yes. Windows shows a driver installed and when plugging it in identifies it as a Pixel 3 XL.
Daisymae said:
Yes. Windows shows a driver installed and when plugging it in identifies it as a Pixel 3 XL.
Click to expand...
Click to collapse
Do a search for fastboot, if you find more than one delete the one that is not in your Platform-tools folder.
Did you give fastboot execute permission?
Homeboy76 said:
Do a search for fastboot, if you find more than one delete the one that is not in your Platform-tools folder.
Did you give fastboot execute permission?
Click to expand...
Click to collapse
Only one instance of fastboot. Not sure what you mean execute
permissions. You mean on Windows or on the device? Windows has execute permissions. I don't have adb or fastboot on the device.

Is adb bugs on model SMJ200G (j2) common?

I investigated the ADB program. At How to Install ADB on Windows, macOS, and Linux, I am stuck at step 7 of the instructions for windows. I do not receive any kind of pop up in my SMJ200G phone (j2).
This step:
7. On your phone’s screen, you should see a prompt to allow or deny USB Debugging access. Naturally, you will want to grant USB Debugging access when prompted (and tap the always allow check box if you never want to see that prompt again).
Click to expand...
Click to collapse
Perhaps my PC's connection to the phone is buggy, not the cable, but the software? by software I mean Windows/PC not my phone.
btw does file AdbWinUsbApi.dll need to be installed?
Are the following applicable for a official device that have never been rooted:
NVCore said:
-Missing ADB Confirmation Dialog(can be bypass by placing adb_keys(from PC/Laptop that has platform-tools and the file name is adbkey.pub, rename it to adb_keys) move the file to device (/data/misc/adb)
Click to expand...
Click to collapse
mbalino said:
Unable to detect the phone -win nor Lin
Hello guys
Something really extrange is happening.
My j2 prime -532G- can't be detected by Windows nor Linux.
The usb is working because it charges the phone, but I can't access the phone at all. I checked all the drivers in Win -google/adb and samsung- and in Linux libmtp/heimdall/etc.
I have tryed different usb -not the original one since i lost it-
Even when i start the download mode, nothing happens.
it there a way to root the phone without a PC? i have tryed also kingroot apk but it is useless.
Thanks
Click to expand...
Click to collapse
citation

Categories

Resources