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.

0
votes
0answers
46 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
99 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 ...
0
votes
1answer
124 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 ...
0
votes
0answers
28 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 (...
14
votes
3answers
10k 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 ...
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 ...
0
votes
0answers
150 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 ...
-2
votes
1answer
786 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
240 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 ...
1
vote
3answers
7k 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?
30
votes
11answers
44k 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 ...
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
212 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 ...
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: ...
0
votes
1answer
238 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 ...
0
votes
0answers
128 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 ...
1
vote
0answers
23 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
485 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 ...
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....
12
votes
4answers
39k 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
181 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 ...
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
0answers
272 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
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
1answer
285 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 ...
1
vote
0answers
164 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
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
757 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 ...
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 ...
0
votes
0answers
57 views

How can I change Ubuntu Touch image channel on Nexus 4 without usb/desktop?

For some reason, adb devices shows "unauthorized" when it lists my LG Nexus 4 running Ubuntu Touch. I can't get ubuntu-flash-devices command to work. Any idea how I can solve this, or how I can ...
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 ...
0
votes
1answer
113 views

Install Ubuntu touch on production devices

Reading at the wiki here ubuntu touch install wiki and going to see the supported devices I read that for the "production" devices (like mine meizu pro 5) an adb enabled recovery should be present on ...
2
votes
0answers
579 views

Cannot mount MTP Android device after rooting?

I managed to install TWRP Recovery image twrp-3.0.2-0-vegetahd.img on an Aquaris E5 phone with stock Android; thereby having a rooted device. Out of the box, the stock Android allowed USB connection ...
1
vote
3answers
987 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 ...
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 ...
0
votes
1answer
115 views

after OTA10 mx4 update can't adb to device, device unauthorised

Noticed today several days after OTA10, tried to adb to device, got: anton@kitten:~$ adb devices List of devices attached 75HABLLE85KB unauthorized anton@kitten:~$ adb shell error: device ...
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/...
0
votes
1answer
3k views

Fastboot detects my device but not adb

I have a Moto G (Falcon-xt 1033). Recently I successfully flashed cm 13 nighly on my device, everything worked fine, used the phone a little while, then flashed supersu and device went into a boot ...
-2
votes
1answer
9k views

“No such file or directory”? Can't push a file with `adb`

antonio@antonio-N150P-N210P-N220P:~$ adb push rom.zip /sdcard/ * daemon not running. starting it now on port 5037 * * daemon started successfully * cannot stat 'rom.zip': No such file or directory ...
0
votes
1answer
481 views

Can someone tell me how to purge android fastboot and adb, and install the latest version?

To start with I dont even know if I am using the latest fastboot and adb. For instance...adb version is Android Debug Bridge version 1.0.31. Now the reason why I wanna purge and reinstall adb and ...
3
votes
0answers
97 views

How do you tether using ubuntu phone, under windows?

I know how to do this in Ubuntu, using adb, but right now, I have stupid windows 10. How can I tether using my ubuntu phone (nexus 4) in windows 10?
0
votes
1answer
806 views

Broken screen phone as wifi hotspot

I have dropped my android phone (Galaxy Ace 3), and unfortunately screen is not working. Is there anyway to turn on usb tethering or wifi hotspot remotly via usb with my ubuntu?(yes, the phone works ...
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
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 ...
1
vote
0answers
96 views

How to copy files off Ubuntu Touch on Nexus 4 with broken screen?

I have Ubuntu Touch installed on my Nexus 4. I recently dropped the phone cracking the touchscreen. The screen no longer responds to touch. The three buttons work. I can turn the device on and off, ...
26
votes
6answers
58k 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
298 views

Moto G not listed by Qt Creator / adb after upgrading to 15.10

I developed happily with my Moto G on Ubuntu 15.04 a while ago. I upgraded to 15.10 and now that I tested it again Qt Creator (official 5.5 SDK) doesn't see the device anymore. Developer mode and ...
3
votes
0answers
92 views

Early adbd on ubuntu touch device

I need to run adbd at early boot stage (before lightdm has started) on Ubuntu touch device (Nexus 10). As far as i know, adbd is launched after login screen password is entered. In upstart scripts i ...
2
votes
1answer
913 views

installing android tools adb - keep getting error

I searched the stack and even googled for an answer before posting here. I am new to linux (installed it only yesterday) I am running it from a virtualBox, it is the Santoku linux (which as far as I ...