Questions tagged [adb]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

SCRCPY is connected but when iam playing videos in mobile to the laptop through screen mirroring then no sound is coming

SCRCPY is a screen mirroring app for ubuntu. I had connected the phone to the laptop for screen mirroring in ubuntu 20.04 but when iam playing videos in my phone then the is shown in my laptop but ...
1
vote
0answers
24 views

“cp: cannot create regular file” inside snap

I have been trying to use scrcpy wirelessly but facing issue adb server version (41) doesn't match this client (39); killing... So I decide to copy adb used by Android Sdk to scrcpy but face this ...
0
votes
0answers
23 views

ADB / Android Studio not recognizing my physical device?

In Android Studio, the list of devices and emulators doesn't list my physical device when I plug it in (Google Pixel 2). I've tried adding the device ID found w/ lsusb to the ~/.android/adb_usb.ini as ...
1
vote
1answer
116 views

No application launcher for scrcpy [closed]

I installed scrcpy snap in my ubuntu 20.04. but I can't find such application in my applications menu. I have to open the terminal for running it. Is it possible to create a launcher for running it? ...
0
votes
0answers
39 views

Trying to install USB drivers for my Android phone on Ubuntu 16.04

I have an ASUS Zenfone Live (L1) and I'm trying to root the device, but when it comes to use platformtools for ADB on the terminal, after typing adb devices the only thing that appears is this: ...
0
votes
0answers
25 views

ubuntu not recognising android devices

My ubuntu 16.04 used to recognise my android device. It used to recognise but not anymore. I tried ADB devices and it shows: List of devices attached 9cbc4e6 device I still cannot access the ...
0
votes
0answers
45 views

Issues with PATH and Android ADB / Fastboot

I have a fresh install of Ubuntu. I followed the directions here: https://linuxtechlab.com/install-adb-fastboot-ubuntu/ When I tried adb version, I got this: bash: /home/###/Android//platform-tools/...
0
votes
1answer
344 views

ADB Ubuntu 18.04 Does Nothing

I am trying to use adb on Ubuntu 18.04, but when I use any command, other than "adb version" it drops to the next line and does nothing. I have tried with and without sodo. Android Debug Bridge ...
2
votes
0answers
427 views

adb completely freezes system

Whenever I utilize any (except for --version) adb command (adb devices, for instance), my system completely freezes and I have to reboot. My laptop is a Lenovo B50-30 running a (relatively) fresh ...
0
votes
1answer
946 views

Why adb and fastboot command not included in Android SDK?

In Windows, adb command is already included with Android SDK when install Android Studio. In Ubuntu, after I installed Android Studio, I cannot use adb command instead it said that i have to install ...
2
votes
1answer
4k views

user in plugdev group; are your udev rules wrong or error: insufficient permissions for device: udev requires plugdev group membership?

I encountered error like "(user in plugdev group; are your udev rules wrong?", After googled, I found some key refers: Ref 1. Set up a device for development from Android Developer; Ref 2. Solved: ...
0
votes
0answers
296 views

“adb devices” and “lsusb” not showing device via USB-C but is showing up by USB 3 and 2

My Android device is not showing up when I type adb devices or lsusb when connected via USB-C, but it does show up and works fine when using a regular USB 2 or 3 cable. Any ideas what might be wrong ...
-1
votes
1answer
618 views

ADB mkdir permission denied

I am trying to run AVS-SDK (Alexa) SampleApp on an Android Device On UBUNTU. I have opened two terminals, in first terminal i am obtaining the root access for the android device using ADB. Following ...
1
vote
0answers
142 views

Mount an image created by adb pull /dev/block/mmcblk*: “wrong fs type”

With the command below, I thought I had rescued the content of my broken Android phone: adb pull /dev/block/mmcblk0p28 mmcblk0p28.img Unfortunately my attempt to mount it on Ubuntu fails: sudo ...
1
vote
0answers
288 views

ADB will only recognize devices once per USB port

So I am trying to connect to my phone via ADB and this normally works. But once I disconnect the device and connect it again to the same USB port ADB won't find the device. According to lsusb it is ...
1
vote
1answer
4k views

adb can't detect Genymotion device

I create an Android device in Genymotion : Custom Phone Android 4.4-API 19, and the device run well. But when I try 'adb devices, it is empty below 'List of devices attached' 'Use custom Android SDK ...
4
votes
2answers
5k views

Can't create file: Read-only file system

I was trying to recover files from android phone using adb shell and test disk. But I am getting a read only filesystem error, even though the permissions to write is granted to the user. adb devices ...
1
vote
1answer
765 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
536 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 ...
30
votes
5answers
24k 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
9k 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
528 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
1k 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
404 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 ...
2
votes
3answers
18k 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?
59
votes
13answers
87k 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
13k 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 ...
2
votes
1answer
7k views

NO_MATCHING_ABIS error when installing *some* Android apps in Anbox

Since Anbox currently does not come packaged with an app store, the only way to install applications is through ADB as follows: adb install /path/to/file.apk I have been able to successfully install ...
0
votes
0answers
313 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
7k 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
296 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
169 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
45 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
719 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 ...
3
votes
3answers
10k 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....
25
votes
7answers
81k 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
217 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
2k 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
362 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 ...
2
votes
1answer
4k views

adb error: sm not found [closed]

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
326 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
212 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
72 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
925 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
3k 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
62 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
16k 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
122 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
752 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
1k 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 ...