Diag Mode Missing From Pixel? - Google Pixel Questions & Answers

I am trying to connect my Pixel to QXDM but am unable to establish a COM port. Looking through the USB configurations on the pixel it seems that the device does not support a USB diag mode. Am I missing something or is this really the case?
I attached the config files so someone else could take a look.

also want to know how to enable diag mode

Madscotsman said:
I am trying to connect my Pixel to QXDM but am unable to establish a COM port. Looking through the USB configurations on the pixel it seems that the device does not support a USB diag mode. Am I missing something or is this really the case?
Click to expand...
Click to collapse
Any updates? I'm looking for this too. For the Pixel XL people are saying this works:
"echo 1 > /sys/devices/virtual/android_usb/android0/f_diag/on"
However this just gets me "permission denied" on the Pixel, even as superuser, even after changing permissions on the f_diag directory to allow writes.
(nevermind, that turned out to be speculation based on the M8 -- still looking for a Pixel solution!)

https://forum.xda-developers.com/showpost.php?p=75252853&postcount=37

Related

Getting QPST to connect to my G2

So I want to connect but I cant seem to add port in QPST config. I have usb debug turned on and have entered the service menu with 3845#*801#. I am wondering if it is because of the LG ADB Sooner driver that is causing the problem? Or is there another configuration I need to enable. I had no problem doing this with all of my old phones once I found out what the heck needed to be changed. Thanks.

Can't connect Pixel and Windows 10.

When I plug in my pixel into my Windows 10 laptop, neither device responds. This means that I get neither the AutoPlay pop up on the laptop, or the USB option notification on the phone.
What I have tried:
Plugging into a Windows 7 laptop; the AutoPlay box appears on the laptop, the USB options notification appears on the phone
Tried all USB ports on the Windows 10 laptop.
Confirmed that other USB devices appear correctly on the Windows 10 laptop
Any thoughts?
Guidance?
tithij said:
When I plug in my pixel into my Windows 10 laptop, neither device responds. This means that I get neither the AutoPlay pop up on the laptop, or the USB option notification on the phone.
What I have tried:
Plugging into a Windows 7 laptop; the AutoPlay box appears on the laptop, the USB options notification appears on the phone
Tried all USB ports on the Windows 10 laptop.
Confirmed that other USB devices appear correctly on the Windows 10 laptop
Any thoughts?
Guidance?
Click to expand...
Click to collapse
Have you installed the latest fastboot and adb. If not download them here and make sure to add the folder containing the files in your path or unzip the files to your Windows directory. I had the same problem on Windows 10 when I was running it and that fixed it for me.
Check in Device Manager to see if the Android device is listed. If it's listed but is indicated as not having a driver loaded, you can always download the latest drivers from https://developer.android.com/studio/run/win-usb.html and the latest platform tools at https://dl.google.com/android/repository/platform-tools-latest-windows.zip.
Extract the drivers, right click the non-working Android entry in Device Manager, point it to the main folder you extracted the drivers into and see if it'll load the drivers. This may not be the problem but worth a try. Even if it doesn't solve it on Windows 10, try the same thing on Windows 7. Windows 7 may be too old that it won't automatically find the correct necessary driver like it should on 10.
tithij said:
When I plug in my pixel into my Windows 10 laptop, neither device responds. This means that I get neither the AutoPlay pop up on the laptop, or the USB option notification on the phone.
What I have tried:
Plugging into a Windows 7 laptop; the AutoPlay box appears on the laptop, the USB options notification appears on the phone
Tried all USB ports on the Windows 10 laptop.
Confirmed that other USB devices appear correctly on the Windows 10 laptop
Any thoughts?
Guidance?
Click to expand...
Click to collapse
Google search terms: Windows 10, Pixel driver, XDA yields this:
https://forum.xda-developers.com/pixel-xl/how-to/guide-fix-mtp-driver-windows-10-t3570625
Simple enough? Hope it works for you.
thanks, but no luck
@Misterxtc thank you. Already tried. No luck
 @oirraW the device does not appear in Device Manager.
 @bobby janow I am familiar with Google. Believe it or not, I even went to page 3 of the search. The solution you found has been tried and does not work.
Install Linux, no drivers to install, it just works
Some dumbed down versions you might have to do
apt install adb fastboot
You never have to reboot, only if new kernel, and that too is going to change
Sent from my Pixel using XDA-Developers Legacy app
tithij said:
the device does not appear in Device Manager.
Click to expand...
Click to collapse
Until you can get it to show up in Device Manager, there's nothing else you can do. Try a different USB port? Reboot the PC? Try a different cable if you have one? I can't think of anything else to try other than reinstalling Windows. I haven't had any trouble on Windows 7 or 10.
@piperx might be extending my tech skills a little too far. @roirraW "edor" ehT that is a pity.
Thanks all for your help; if I stumble across a solution, I'll post back.
tithij said:
@piperx might be extending my tech skills a little too far. @roirraW "edor" ehT that is a pity.
Thanks all for your help; if I stumble across a solution, I'll post back.
Click to expand...
Click to collapse
Where's your sense of adventure ,?
If you can use Windows you can use Linux ?
Sent from my Pixel using XDA-Developers Legacy app
clutching at straws but worth trying as tell the computer sees the phone and lists it you are stuck so enable developer options then enable usb debugging and set usb configuration to MTP then with the phone connected and the phone unlocked reboot the phone keeping the phone unlocked all the time.
piperx said:
Where's your sense of adventure ,
If you can use Windows you can use Linux
Sent from my Pixel using XDA-Developers Legacy app
Click to expand...
Click to collapse
It's not the use of it, it's the installation of a dual boot that doesn't take up too much space.
I did go have a look, suggestions are Ubuntu or Mint. Would like the smaller one.
vickersg said:
clutching at straws but worth trying as tell the computer sees the phone and lists it you are stuck so enable developer options then enable usb debugging and set usb configuration to MTP then with the phone connected and the phone unlocked reboot the phone keeping the phone unlocked all the time.
Click to expand...
Click to collapse
I'll give it a whirl.
Have played with the developer options a bit, but to no avail.
tithij said:
It's not the use of it, it's the installation of a dual boot that doesn't take up too much space.
I did go have a look, suggestions are Ubuntu or Mint. Would like the smaller one.
Click to expand...
Click to collapse
Make a bootable USB of each distro you want to try. It's super easy with Rufus. This way you can try it without installing anything or wasting blank disks. I like Mint, it's basically Ubuntu with a face-lift.
No app needed to do simple things from command line ?
dd if=nameofiso of=/dev/sxx bs=4M; sync
Sent from my Pixel using XDA-Developers Legacy app
i'm not having much luck.. the device manager still either shows "pixel?" if the phone is set to no transfer.. or "MTP?" if phone set to file transfer... if I update drivers.. it says it tries then fails / had an error... any ideas?
@tithij You ever figure this out? I have the same problem I've even replaced the daughterboard but can't get the phone to show up in device manager when in bootloader mode.
GbizzleMcGrizzle said:
@tithij You ever figure this out? I have the same problem I've even replaced the daughterboard but can't get the phone to show up in device manager when in bootloader mode.
Click to expand...
Click to collapse
I haven't actually done anything to fix it except to upgrade my phone and laptop.
Phone is on Android 9
Windows enterprise is on 1709
Now when I plug the phone in, I get the options on the phone and laptop. I choose File transfer and it works.
Not really helpful. But sometimes it seems apathy solves all problems.
If Pixel phone on connecting to windows only shows up in File Manager when you choose PTP option in the Pixel’s USB Preferences (and disappears from Explorer when you select File Transfer), you will be restricted to the DCIM and photos directory, thanks to the miserable ADB Composite driver that keeps getting updated or installed for morons who can’t handle full drive access in their pixels. ADB and PTP were designed so idiots would not need to worry about anything other than their media directories on their Pixel phones.
For anyone above age 4, full access to the Pixel SD memory is preferred. To fix the above, it is necessary to ditch the ADB drivers and get the generic MTP drivers back instead in Windows. Here’s how I did it on a Pixel 4XL with android 12 or 13:
Unplug phone, make sure Developer’s Options is ‘on’ and that USB Debugging is ‘on’
Ensure that in USB Preferences, it is defaulted to File Transfer/Android Auto and NOT to PTP
In Windows, open Device Manager, View, and check ‘show hidden files’
Then, open View-Devices by Type-Portable and delete/uninstall your Pixel phone, all of them if there’s more than one.
Then start looking for anything that says Android or ADB, and delete every shred of anything that’s an ADB Driver interface, whether composite, USB, whatever. If it has ADB in it alone or under LeMobile or Acer, it’s got to go. Uninstall and delete them
Plug in phone
Under Device Manager-View-Devices by Type-Portable find your Pixel device. Right click and Update Driver. Then, click Browse My computer, then click Let Me Choose, and then click MTB USB Device… I picked the bottom-most one
That’s it, it should work

Pixel3 not visible to PC (USB Transfer mode)

I am using my USB to USB-C Cable form my Nexus 5X, which works flawlessly with that one.
With the Pixel, however, I don't get it showing up in Transfer mode (as a drive).
When using PTP mode it becomes visible, but of course only showing picture folders.
Cable works 100% fine as far as I know, also with the Tool-All-In-One etc.
Any idea how enable USB-Transfers from PC to Pixel3?
fronten said:
I am using my USB to USB-C Cable form my Nexus 5X, which works flawlessly with that one.
With the Pixel, however, I don't get it showing up in Transfer mode (as a drive).
When using PTP mode it becomes visible, but of course only showing picture folders.
Cable works 100% fine as far as I know, also with the Tool-All-In-One etc.
Any idea how enable USB-Transfers from PC to Pixel3?
Click to expand...
Click to collapse
When the pixel3 is connected did you look in the settings to see what USB mode is selected? You might need to change the mode to File Transfer. Also you have to unlock the phone after connecting it before it shows up. I'm not near a computer so I can't give the exact details.
EDIT: When the phone is connected go to Settings/Connected Devices/USB. Then in the section "Use USB for" make sure File Transfer is selected.
Thank you for the reply.
There's a "Yes" to all of that: USB mode is "Transfer Files", set directly via Setting but also checked on unlocked screen.
PC explorer shows Pixel3 in PTP mode (images folders only), which vanishes completely when switching to file transfer mode.
With Pixel 3 we are able to change which device controls USB connection, - i can't change this for this connection, it stays in "This device" (P3), "other device" (does this mean PC?) fails and reverts to "this device".
Is this a setting relevant only for Phone-to-Phone connections?
My Pixel 3 is doing this now with Android Auto after I got the February update. I can't change USB mode and Android Auto only launches on my phone instead of my car head unit. If I try to manually change the the USB mode to anything other than charging it immediately resets like nothing happened. If I change the control type to "other device" it reverts to "this device" and grays out the option.
I have tried a few cables, two different cars, and enabling USB Debugging but nothing helps. I think Google did this and we might have to wait on a fix.
As a follow-up, I've seen some people with this issue fix it by getting a USB C cable that is 65 ohm, or getting a USB 3.1 SS+ cable. I have one on order and will update when I receive it.
zeropants said:
As a follow-up, I've seen some people with this issue fix it by getting a USB C cable that is 65 ohm, or getting a USB 3.1 SS+ cable. I have one on order and will update when I receive it.
Click to expand...
Click to collapse
Thank you!
So this is a confirmation that this indeed is a bug needing some fix?
I did a quick look around and couldn't really find such a cable - what would I search for specifically?
I did not get confidently lucky with 65 ohm, USB 3.1 or SS+ terms..
(Also, i am quite sour about Google not including an USBCtoA connector.)
fronten said:
Thank you!
So this is a confirmation that this indeed is a bug needing some fix?
I did a quick look around and couldn't really find such a cable - what would I search for specifically?
I did not get confidently lucky with 65 ohm, USB 3.1 or SS+ terms..
(Also, i am quite sour about Google not including an USBCtoA connector.)
Click to expand...
Click to collapse
From my view it's a bug, but I don't have much to confirm with, just personal experience. I'm going to re-check Apple Carplay too to make sure it's not a vehicle fault.
Another failure.
So far I've tried 4 cables, including a USB-C 3.1 cable. I've tried 2 different cars with Android Auto support. No combination has enabled AA on the cars head unit.
I plugged my Pixel 3 into a laptop work USB 3 support and it connected to file transfer.
As a follow up, my wife's iPhone XR connects to Car Play almost instantly.
I found out my issue is specifically with Android Auto, and I have since fixed it. I had to remove all system updates to Android Auto and let it update and setup from scratch.
I finally managed to get my Pixel 3 recognized for file transfer.
Device manager showed a problem with the Portable Device - MTP device (yellow attention sign). I tried to update that driver, failing, even with the one from google directly .
However, i got the hint that missing system update (Windows) might be the culprit.
So I checked, installed the 2 it showed, and .. .. Pixel 3 showed up in device and file manager.

Can't connect to Windows 10 PC?

For some reason I can't connect my Pixel 4a to my PC with a USB C - USB A cable (or USB A - USB C, not sure what the official name is) , even though it worked fine on my previous phone.
Included with the phone is a USB C - USB A adapter, but I see no use for it unless you have a special USB A cable which I don't.
My motherboard does have a USB C slot on it and it does read my phone when I plug it in that way but for some weird reason it's really loose and doesn't stay connected unless I keep physical pressure on it.
I'm not going to update to Android 11 until the November update because I've heard the current build has a few bugs, but does anyone know if Android 11 fixed the USB C - USB A issue?
Have you made sure to switch to file transfer mode? It defaults to 'no transfer' mode when I plug into my laptop.
Most likely you need to toggle the phone connection settings to data transfer, originally it will be set to charge only I think.
WAusJackBauer said:
For some reason I can't connect my Pixel 4a to my PC with a USB C - USB A cable (or USB A - USB C, not sure what the official name is) , even though it worked fine on my previous phone.
Included with the phone is a USB C - USB A adapter, but I see no use for it unless you have a special USB A cable which I don't.
My motherboard does have a USB C slot on it and it does read my phone when I plug it in that way but for some weird reason it's really loose and doesn't stay connected unless I keep physical pressure on it.
I'm not going to update to Android 11 until the November update because I've heard the current build has a few bugs, but does anyone know if Android 11 fixed the USB C - USB A issue?
Click to expand...
Click to collapse
I had this issue too. Windows file explorer would just crash after one or two files and stop transfer, no matter the size and type. (Yes I had file transfer selected on my phone ?)
Then windows update gave me a driver called "Google Inc. - Other Hardware - Kedacom KDB Composite Interface". I also updated to the newest firmware on the phone. No idea which of these did the trick or if it was the combo. However. Smooth sailing now ??
Hope this helps
(If windows update refuses to give you the driver, you can get it from Microsoft's update catalogue online. A Google search will do)
Ok it's completely messed up. When I search for USB settings it doesn't let me change anything at all, even though when I first got the phone I could and I changed it to transfer files. EDIT: No actually the setting that I changed was a developer option called "Default USB configuration" which I changed to transfer files but that still did nothing.
I just plugged in my phone and looked for the USB setting in the notification area but it wasn't there, but I noticed an option called "manage"
I went in there and noticed this. (see attachments) it's locked to be off and I can't change it. Very odd.
WAusJackBauer said:
Ok it's completely messed up. When I search for USB settings it doesn't let me change anything at all, even though when I first got the phone I could and I changed it to transfer files. EDIT: No actually the setting that I changed was a developer option called "Default USB configuration" which I changed to transfer files but that still did nothing.
I just plugged in my phone and looked for the USB setting in the notification area but it wasn't there, but I noticed an option called "manage"
I went in there and noticed this. (see attachments) it's locked to be off and I can't change it. Very odd.
Click to expand...
Click to collapse
You're in notification settings. Try short tapping rather than long tapping to get the menu to pop up allowing you to select data transfer.
Changing default USB settings in developer options doesn't work for me either.
GoldElocks said:
You're in notification settings. Try short tapping rather than long tapping to get the menu to pop up allowing you to select data transfer.
Changing default USB settings in developer options doesn't work for me either.
Click to expand...
Click to collapse
My point is that the notification that normally comes up when you plug in your phone to a computer to change to data transfer, charge only ect ect isn't even coming up because the firmware is stopping that notification from coming up altogether and I can't change it so it does.
WAusJackBauer said:
My point is that the notification that normally comes up when you plug in your phone to a computer to change to data transfer, charge only ect ect isn't even coming up because the firmware is stopping that notification from coming up altogether and I can't change it so it does.
Click to expand...
Click to collapse
Almost certainly a cable or host port issue. Swap cables and see what happens. Same for hosts/host ports. You're not going to have toggling options if the phone does not 'see' all expected lines/pins.
I had the same issue and changed to a different cord to fix the problem.
You have an non certified cable it seems, I've confirmed this pixel 4a works with only certain cables for usb transfer, also the usb a to c cable you have will not charge the device as well.
Get a cable from know manufacturers like Samsung, it worked for me.
Yeah turns out it was a cable. Strange how my cable worked with my old phone but not with the Pixel 4a
Had this issue with my new 4a just now. Cable was fine, even used the new cable that comes with it using a Usb C to Usb A adapter. Nothing worked. Upon opening Device Manager I found a new device called 'Kedacom USB Device'. After trying random things, I decided to uninstall the current drivers by right clicking on it and clicking 'Uninstall device'. Suddenly the phone connected, and even showed the adb prompt.
So for anyone still facing this issue, hopefully this solution might help

Broke phone screen. Is their any way I can get ADB access? [Oneplus Nord N100]

I have a OnePlus Nord N100 that I dropped off a ladder... I ordered a new phone (screen replacement seemed to not be worth the hastle on such a cheap phone when replacement kit was 60$) but would like to re-purpose the device for something as I am very against e-waste.
I would like to make it a security camera. If I can get ADB shell access it should be possible to install termux and run some linux command line utilities for this (i.e. motion and rclone to upload).
Problem is that without screen I cant login and turn on usb debugging. This phone uses usb 2.0 so I cannot use an hdmi display and mouse.
Is their any way I can get usb debugging enabled? I would prefer to be able to get my files off the device but most of it was backed up. Resetting is fine. I would even be down to try to re flash it with a serial programmer or something. Would their perhaps be any serial programming pads I could solder onto?
Suriyawong said:
I have a OnePlus Nord N100 that I dropped off a ladder... I ordered a new phone (screen replacement seemed to not be worth the hastle on such a cheap phone when replacement kit was 60$) but would like to re-purpose the device for something as I am very against e-waste.
I would like to make it a security camera. If I can get ADB shell access it should be possible to install termux and run some linux command line utilities for this (i.e. motion and rclone to upload).
Problem is that without screen I cant login and turn on usb debugging. This phone uses usb 2.0 so I cannot use an hdmi display and mouse.
Is their any way I can get usb debugging enabled? I would prefer to be able to get my files off the device but most of it was backed up. Resetting is fine. I would even be down to try to re flash it with a serial programmer or something. Would their perhaps be any serial programming pads I could solder onto?
Click to expand...
Click to collapse
If you did not have USB debugging enabled in system settings, there is no external way to enable it. Fix the screen, otherwise, the device won't be any good for an secondary uses other than using it as a paperweight or a doorstop.

Categories

Resources