Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [adb]

Questions relating to the Android Debug Bridge (ADB) command-line utility, a debugging tool for developers offered by Google.

11
votes
2answers
27k views

ADB Android Studio Ubuntu ERROR : Unable to detect adb version, adb output: /home/hamid/Android/Sdk/platform-tools/

ADB in Android Studio (Ubuntu) ERROR : Unable to detect adb version, adb output: /home/hamid/Android/Sdk/platform-tools/adb: 1: /home/hamid/Android/Sdk/platform-tools/adb: Syntax error: ")" unexpected
0
votes
0answers
153 views

adb device unauthorized error

I get the error device unauthorized. Please check the confirmation dialog on your device. This is not possible because the screen is broken. Is there a way around this. thank you for your help ...
1
vote
1answer
3k views

adb error: sm not found

I run this command from my Ubuntu 14.04 computer: adb shell sm set-force-adoptable true and I get the following error: /system/bin/sh: sm: not found It seems to me that this is about my computer ...
1
vote
3answers
8k views

Trying to install android-tools-adb and getting unable to locate package

I wasn't able to install these packages when I used sudo apt-get install android-tools-adb I get unable to locate package android-tools-adb Can you help, please?
20
votes
5answers
40k views

How do I set up Android ADB?

My computer is a Sys76 Lemur running Maverick, and my phone is a Nexus S running stock Gingerbread. I want to set up to use ADB (android debug bridge). I installed the Android SDK per instructions on ...
24
votes
3answers
30k views

Android adb no permission

I'm trying to use adb from a Ubuntu(+Cinnamon) machine. The problem is that I get following message from adb devices: List of devices attached TA8830OIVO no permissions Where TA8830OIVO is my ...
27
votes
6answers
59k views

no permissions fastboot - fastboot and adb not working

I'm trying to unlock my Moto phone using ADB but I when I do a fastboot devices I keep getting no permissions fastboot Even sudo fastboot devices is not helping with sudo I get this sudo: ...
0
votes
1answer
153 views

unable to connect to <ip-address:port>: No route to host

I was trying to connect my phone with adb over wi-fi (I did tcpip to 5555), but not working since I bought a new router. It works fine when using my other phone as a hotspot. I was trying to ping to ...
5
votes
1answer
15k views

fastboot not detect my android device - ubuntu

I have Lenovo Yoga Tablet PC 1051L. I try this : $ lsusb result : Bus 002 Device 006: ID 17ef:77a5 Lenovo then: $ adb devices result: List of devices attached Baytrail678EC0A0 device ...
1
vote
1answer
130 views

Mirror broken android to Linux?

I'm fairly inexperienced with Linux and have a very difficult situation. My last cellphone's screen cracked, got water damaged and now has a dead screen. It's a newer phone (Galaxy A8) and it still ...
30
votes
11answers
47k views

adb no permissions on Ubuntu 17.04

When i try: $ adb devices i get the result: List of devices attached ???????????? no permissions what is the problem? tried on an Ubuntu 16.04 machine and it worked perfectly. tried an 7.1.1 ...
0
votes
0answers
63 views

Android devices don't show up in “adb devices” until logged into Ubuntu GUI session

We have thousands of Android devices that we test on hundreds of Ubuntu hosts and one of the big problems we're running into is that unless you log into the host via the GUI, some of the devices (...
12
votes
7answers
130k views

How to Update or Re-Install the newest version of ADB?

I have an android based phone and I need ADB for installing new versions. However, until today ADB was working perfectly but today I got an error, it says "you need 1.0.32 or newer version." Yes, ...
18
votes
3answers
11k views

AdbCommandRejectedException: insufficient permissions for device: user in plugdev group; are your udev rules wrong?

Five days ago I installed Android Studio on a fully updated Ubuntu 2018.04, used the wizard to create an example app, pressed the "Run" button and it ran perfectly on my Android device connected via ...
7
votes
3answers
19k views

Android sdk on Ubuntu 32bit

I have some issues in running android sdk(ADB) on ubuntu 32-bit. I downloaded and updated sdk on ubuntu 14.02 64-bit, and now reusing it on ubuntu 15.10 32-bit. But when i try ./adb devices on ...
38
votes
6answers
195k views

How to configure ADB access for Android devices?

I'm using Ubuntu 12.10 and I have installed Android SDK, set it's path in my user .bashrc and it works. The problem is that my phone requires adb to be ran by root for permissions, but running adb ...
1
vote
3answers
18k views

what is the path to adb binary installation

In a executable script,I need to add Path to adb binary as follows # 1. Configure where your ADB binary is installed export AdbCmd="<Path_to_ADB_Binary>" So what is the path in Ubuntu 12.10?
3
votes
2answers
2k views

What'sApp installed on anbox on ubuntu 17.10 doesn't work – probably it can't acces the internet

I installed anbox with whatsapp on my ubuntu computer just as explained here. I started whatsapp an typed in my phone number. By the way, my phone is no smartphone and that's why I need whatsapp on ...
5
votes
1answer
2k views

BQ E4.5 adb fails

With an Ubuntu phone BQ E4.5, I have enabled the Developer mode and connected through USB. when I issue: adb devices it returns nothing and adb shell returns "error: device not found" Whether I ...
0
votes
0answers
130 views

GT-I9506 / Fastboot

In order to install Ubuntu on my Android Device I need to do some configuration before, I use Ubuntu on my Machine, I installed adb and fastboot installed with repository, I'm actually installing ...
2
votes
3answers
7k views

Google Pixel not picked up by “adb devices”

I've tried everything I can find anywhere. From lsusb: Bus 002 Device 021: ID 18d1:4ee6 Google Inc. From dmsg: [ 3609.392038] usb 2-1: new SuperSpeed USB device number 21 using xhci_hcd [ 3609....
0
votes
0answers
163 views

how to connect or uninstall ubuntu touch?

I installed ubuntu touch in my Xperia Z1 following the wiki https://wiki.ubuntu.com/Touch/Devices/minato everything was gone fine but after I started the phone the touchscreen doen't work and stay in ...
13
votes
4answers
42k views

ADB device list doesn't show phone

I've recently installed adb and fastboot: apt-get install android-tools-adb android-tools-fastboot After the installation finished, I connected my device and ran the following command: $ adb ...
-2
votes
1answer
800 views

Why doesn't Anbox work on my laptop (running Ubuntu 17.04)?

Running adb install f.apk produces an error: amdhadul@amdhadul-NSU:~/Downloads$ adb install f.apk The program 'adb' can be found in the following packages: * adb * android-tools-adb Try: sudo apt ...
0
votes
0answers
254 views

ADB device list doesn't show BackBarry priv

I have Uninstalled and reinstalled ADB. I made sure debug mode was enabled in dev options. And that its on file transfer. I don't get a propped for enabling debug mode on my device. The notification ...
0
votes
2answers
599 views

Change directory to downloads

I'm trying to get ADB up and going but having a bit of a hard time. In order to install Android SDK Tools I need to change directory and this is what I'm having a hard time doing. Here is what I'm ...
2
votes
2answers
9k views

Unable to use my Android device as Android emulator using Android studio

How can I have Ubuntu recognize my Android mobile device when it is connected via USB? (Analogous to the Windows action mycomputer-> manage->devices etc.)
14
votes
2answers
45k views

“adb devices” command won't detect my 4.4 Android phone [closed]

I've been having a issue trying to get the adb devices command to pick up my LG TRANSPYRE™ (VS810PP) phone. Keep in mind the command does in fact work. So it's not an issue with adb, more with the ...
1
vote
2answers
5k views

Library not found in Android Studio

I am using Android Studio in Ubuntu 16.04. I tried to run (bundle exec rake run_acceptance_tests) with my emulator in Android Studio (tests), but when I run it I get the following error message: ...
15
votes
0answers
11k views

How to add Google Play support in Anbox? [closed]

I know it's a relatively new and unstable application but I figured if anyone has suffered through the issue and solved it then they can help me too. Anbox does't come with Google Services, As Google ...
1
vote
1answer
5k views

Issues installing *some* Android apps in Anbox

I know it's a relatively new and unstable application but I figured if anyone has suffered through the issue and solved it then they can help me too. So Anbox doesn't come pre-installed with Google ...
0
votes
0answers
218 views

Ubuntu Touch- Problem with unlocking bootloader using adb

I was following this tutorial and I've got problem in rebooting the device in bootloader mode. I have found another way to get there power + volume up but adb does not see my device then. Step I'm ...
0
votes
1answer
243 views

Aquaris E4.5 Ubuntu Edition adb unauthorized after recovery

Here is my problem: Lately I had a problem with my BQ Aquaris E4.5 Ubuntu Edition that had me reinitialize it to factory settings. Now it works aproperly but I can't use adb. I have Ubuntu 16.04 LTS ...
1
vote
0answers
25 views

Non-trivial ADB issue

I have XPS 9550, and previously I successfully connect Nexus 5 to this host. but now I've got Pixel with Usb3 cable. and it's not in list of connected devices (in Ubuntu, Windows works) veon@veon-...
0
votes
1answer
509 views

Adb does not recognize my HTC one m8 [closed]

I know about 51-android.rules file. I have created it manually. Here it is: #HTC SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0664", GROUP="plugdev" Then I restarted udev and still adb does not ...
1
vote
3answers
998 views

Problem flashing Ubuntu Touch Firmware on Aquaris M10 (frieza)

I have the new bq Aquaris M10 tablet. The device was recognized by my Linux machine using adb devices. I tried making my filesystem writable using phablet-config writable-image. Well, this turned ...
2
votes
1answer
182 views

Boot: “Couldn't find data partition. Spawning adbd”

Xubuntu 14.04 on a Samsung laptop. Problem similar to the question posed here with the difference that I've not installed ubuntu-touch. I had adb installed which I then uninstalled and ran update-grub ...
0
votes
2answers
2k views

adb won't find my device when trying to install Ubuntu Touch

I am an Ubuntu 14.04 User, and I was trying to install Ubuntu on my tablet following the official instructions (https://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/),...
1
vote
1answer
289 views

Unable to establish SSH connection with UbuntuPhone with phablet-shell

I have my Meizu MX4 with OTA-13 attached with my Ubuntu 16.04 Desktop via a USB cable. The developer mode is enabled and I am able to connect to it with adb shell successfully. However when I try ...
4
votes
1answer
5k views

Device not found when setting up android usb debugging in Ubuntu 14.10

I have an HP 10 Plus 2210xx tablet, and I want to use it for Android USB debugging. I followed the following steps: Enabled usb debugging in developers option on phone. After connecting to PC, phone ...
3
votes
1answer
2k views

Can ADB recognize a device on bootloop (soft-brick)?

I own a Samsung tablet (GT-n5110) and it is in bootloop. I don't have a data backup (yes, I'm an idiot). It isn't totally bricked, so I can access recovery mode (HOME+VOLUM UP+POWER), but before ...
2
votes
1answer
1k views

Install command line tool sqlite3

Trying to install sqlite3 command line tool with : sudo apt-get install sqlite3 libsqlite3-dev But I still can't run ./sqlite3 - nu souch file How to solve this problem?
1
vote
1answer
211 views

Ubuntu 14.04 desktop not finding Ubuntu phone (Ubuntu 15.04)

I have an Ubuntu 15.04(r4) Phone, specifically a meizu MX4, connected via usb to my desktop that is running Ubuntu 14.04. My desktop has qt creator on it with the ubuntu SDK, but it can't see my phone....
1
vote
0answers
277 views

USB driver errors in Ubuntu16.04

I have been facing the issue of frequent connect/disconnect of my Android device when connected with USB to my computer running Ubuntu16.04. I have seen similar questions on different portals ...
1
vote
0answers
169 views

How to establish adb USB protocol between two linux devices

Basically, the aim is to establish an adb protocol via usb between two linux computers by using adb source codes. Envinronment is Ubuntu 14.0.4. There's android-tools-adbd (adb daemon) package ready ...
1
vote
1answer
1k views

adb not detecting my device even if USB debugging is enabled and phone is rooted

I have A Gionee M2 device which is rooted and Usb debugging enabled.I have installed adb and fast boot on Ubuntu 13.04 and downloaded the "dualboot.sh" file from: http://humpolec.ubuntu.com/latest/...
1
vote
0answers
58 views

Oneplus two cannot be found

I recently got a oneplus Two. When I plug it into my computer (running ubuntu 16.04), it is not found at all. I have come across a bunch of fixes that say that a filesystem containing windows and mac ...
0
votes
1answer
772 views

Cant Connect Moto G Phone

I have a android app I want to put to my phone. I cant get my device connected even, MOTO G Android 6. [Ubuntu 14.04][Android 6 Phone] I have usb debugging allowed and MTP enabled. I have my udev ...
2
votes
1answer
4k views

Android Studio lists device as “???????????????? [null]” [duplicate]

I am an android developer working with my office mac. But now I want to migrate the projects to Ubuntu. I installed Android studio and trying to run project on my device ASUS Zenfone 5 (Kitkat). ...
1
vote
2answers
13k views

How to Install TWRP with 16.04 for Phone?

I am trying to install Cyanogenmod 13 in Oneplus 2 but I cannot get TWRP flashed in the phone because I cannot get adb work as expected with Ubuntu 16.04 in common Ubuntu, Persistent Live Ubuntu and ...