ADB not recognizing Pixel on ubuntu 16.10 - Google Pixel Questions & Answers

Pixel just updated to 7.1.2 build 47K, running adb devices is not showing any phone connected. I am able to view and transfer files through the file manager, but none of the adb commands will work. My other older androids will display fine. Any ideas?
I have usb debugging enabled and connection type set to file transfer. Tried 2 different usb ports on ubuntu 16.10. It's the google store version for what it's worth.
adb version: Android Debug Bridge version 1.0.32
lsusb: Bus 002 Device 012: ID 1xxx:4xxx Google Inc. Nexus 4 (debug)
Sorry if there is another post for this, I searched and did not find an answer to this on my own.

@bdre
try to run adb as root
Code:
adb kill-server
sudo adb start-server
sudo adb devices
:good:

Geeks Empire said:
@bdre
try to run adb as root
Code:
adb kill-server
sudo adb start-server
sudo adb devices
:good:
Click to expand...
Click to collapse
so turned out to be just a bad usb cable...
the one that came with the phone of course did not work

Related

Android ADB device offline

Hi All,
Am porting android ICS on smdkc110.
When i connect the device to host[ubuntu 12.04] in adb am getting the device serial number as 0123456789 and status is offline.
I have tried
adb kill-server
adb start-server
restarted the host
but none of them worked

[Q] adb devices not listing my device

I cant able to use the adb. It's not listing my mobile.
Even though, I've enabled my USB Debugging, It's not listing my device.
Last day it worked well.
Any idea guys? I'm still struggling with this problem.
That's problem in the driver and the custom ROM. I myself solved he problem.
Well
swordfish said:
Well
Click to expand...
Click to collapse
if device is not shown in adb then there will be some possibilties like
you haven't properly installed the driver or older version of drivers
or you haven't have all the binaries files to run adb command
or previous adb server was not killed
to prevent that
install updated drivers,check whether you have all binary files
and for killing adb server try these commands
adb kill-server
adb start-server
adb devices
hit thanks if helped

[Q] (linux) adb posting unknown and no device

Hi (nevermind, I am using a different tablet for this project)
I am using a laptop running from a USB with Ubuntu installed from a ubuntu mini ISO. The tablet is a rooted Ematic 7" egd170
I am trying to install ubuntu touch/for tablets onto my spare android tablet but have ran into an issue. Everytime I try connecting the tablet to the ubuntu laptop I get these errors with adb
Code:
[email protected]:~$ adb devices
List of devices attached
[email protected]:~$ adb get-state
unknown
[email protected]:~$ adb get-serialno
unknown
[email protected]:~$ adb remount
error: device not found
error: device not found
[email protected]:~$ adb usb
error: device not found
error: device not found
However, the laptop mounts the tablet fine. The tablet never prompts for USB debugging so I think that is the issue.
I have tried changing the storage settings back and forth, changing it from debug and back, killing adb and restarting it with the tablet plugged in, none of it worked.
My nexus 7 shows up fine with adb devices though. And it prompts right away for usb debugging with this laptop.
Any ideas?

Pixel: no adb shell?

Brand new unboxed Pixel, only installed app "Helium" to restore a backup.
Here's where trouble starts: needs adb, but no matter what I do (OpenSuSE 42.1, udev rule for 0666 permissions) lsusb sees the device (when USB debugging is set to "charging" lsusb says Nexus 4., when I say PTP it lists as "Google Inc") but adb devices says: <empty list> and adb shell won't connect either.
Pointers appreciated.
Update to the newest version of ADB and dev tools from the Google website.
Sent from my Pixel using Tapatalk
yup, 1.0.36 fixed it.

issue with adb from TWRP

Getting this while trying to uninstall Google apps from TWRP using ADB:
c:\adb>adb uninstall com.google.android.youtube
/sbin/sh: cmd: not found
Other adb commands like shell, push, pull are working fine.
USB drivers and adb are pretty fresh, not older than 2 months.
adb version:
Android Debug Bridge version 1.0.41
Version 29.0.1-5644136
USB Driver, ver 11.0.0.0 was downloaded from developer.android.com.
Windows 10 recognize device as 'Android Composite ADB Interface'.
I have tried to disable MTP, unmount/mount System, Data - no avail.
What I'm doing wrong?
Pogo said:
Getting this while trying to uninstall Google apps from TWRP using ADB:
c:\adb>adb uninstall com.google.android.youtube
/sbin/sh: cmd: not found
Other adb commands like shell, push, pull are working fine.
USB drivers and adb are pretty fresh, not older than 2 months.
adb version:
Android Debug Bridge version 1.0.41
Version 29.0.1-5644136
USB Driver, ver 11.0.0.0 was downloaded from developer.android.com.
Windows 10 recognize device as 'Android Composite ADB Interface'.
I have tried to disable MTP, unmount/mount System, Data - no avail.
What I'm doing wrong?
Click to expand...
Click to collapse
Actually, it's more likely TWRP limitation. Some shell commands are not working, like pm.
Maybe I should bring this to TWRP thread instead?
First off, update your drivers the very latest. Then use the bootable TWRP image. The permanent TWRP has stripped down functions to fit in the tiny recovery of the Pixel 3a and 3a xl.

Categories

Resources