Questions tagged [adb]
Questions relating to the Android Debug Bridge (ADB) command-line utility, a debugging tool for developers offered by Google.
121
questions
1
vote
1
answer
350
views
ADB Issues for Ubuntu 22.04 (Only 2023 solutions please.)
So, when I boot my android device (normally) and type adb devices it show up. But if I adb reboot bootloader and try adb devices again nothing shows. Everything I've tried leads me right back to this ...
0
votes
0
answers
1k
views
How to fix '* failed to start daemon error: cannot connect to daemon' on Linux ubuntu
I had to install the adb tools on my Linux ubuntu with the command line but when I execute the command adb devices, I have this return in my terminal :
uriel@uriel-linux-ubuntu:~$ adb devices
List of ...
0
votes
1
answer
93
views
Android adb server makes Ubuntu desktop stutter
My environment is Ubuntu 20.04, NVidia driver 470.103.01 (recommended), and Android SDK 33
When I start adb server by running some adb commands, the UI, mouse and other things starts to lag and ...
0
votes
1
answer
2k
views
Cannot download files on WSL "Permission Denied" "Cannot write to [...] (Success)"
Im trying to install Bazelisk on WSL but when I try to download it typing: "wget https://github.com/bazelbuild/bazelisk/releases/download/v1.15.0/bazelisk-linux-amd64" a message shows up ...
1
vote
1
answer
8k
views
Android studio 2021.2.1 ADB and Emulator Issue
I'm trying to run my react-native project on android studio 2021.2.1 (Latest) on my Ubuntu 22.04 LTS.
When I execute the command
yarn run android
It throws me this error:
info JS server already ...
4
votes
3
answers
6k
views
fastboot doesn't work anymore in Ubuntu 21.10?
I'm having trouble flashing my smartphone via fastboot.
The smartphone in fastboot-mode is recognized:
sudo fastboot devices
BH905FBU9E fastboot
but flashing results in no reaction until the usb ...
0
votes
0
answers
1k
views
Anbox: Failed to connect to dbus ubuntu 21.04
I just installed anbox on ubuntu 21.04 using snap:
snap install --devmode --beta anbox
However if I try to run anbox, for example:
/snap/bin/anbox launch --package=org.anbox.appmgr --component=org....
0
votes
0
answers
2k
views
scrcpy is not working showing ERROR: "adb push" returned with value 1
I install scrcpy and
sudo snap install scrcpy
https://snapcraft.io/scrcpy
at first it was working fine.after a certain time it throws this error
ERROR: "adb push" returned with value 1
6
votes
2
answers
6k
views
adb command not found after installed it
I have install adb from terminal. But when I type "adb version" it's not found. Can anyone help me about this problem?
0
votes
0
answers
406
views
android studio emulator adb problem
I'm installing android studio for the first time on ubuntu machine
OS: Ubuntu Studio 20.04.2
CPU: 4 cores, G3, core i5, 1500
RAM: 8GB
BOIS: HP v2.90 PC
and when I try to start the emulator I find ...
1
vote
0
answers
252
views
fastboot in ubuntu sometimes works somtimes doesn't
I'm having this really strange issues with fastboot in Ubuntu. In Windows 10 everything works fine.
Sometimes fastboot works and I can boot/flash recovery image I'm creating for my phone. But ...
0
votes
0
answers
231
views
Ubuntu 20.04 just stopped reading my android device via usb
I have an android device that I am using for debug purposes, I disconnected it and tried to reconnect it but It just stopped being read. my computer recognizes the devise for a split second then drops ...
1
vote
1
answer
4k
views
how to use grep and sed on adb logcat
I'm currently using grep in combination with adb logcat (android console api). Now I want to edit every line on the fly using sed in a pipe. However when using sed after grep the output becomes empty. ...
2
votes
0
answers
2k
views
How to unpack and read android ABD file system image file on 20.04 LTS
One of the "editors/moderators(?)" of this list insists that I start with:
Begin with file samsung-a51-5g.adb. Edit your question to add the info, don't respond in comments. – waltinator 1 ...
1
vote
1
answer
8k
views
adb devices not visisble within windows subsystem(WSL)
When I run adb devices from poweshell of windows I see list of atached devices.
But when I run adb devices from within windows subsystem(ubuntu 18.04) I see nothing. How can I fix it?
I need to run ...
1
vote
0
answers
549
views
Android device connection problems
Problem
On fresh system reboot, I can see the ADB device. But if I reboot the device, it does not show up any more. At this point, I can get it back to working by either 1) rebooting the system (which ...
0
votes
2
answers
1k
views
Why did systemd decide to start adb
I have an Ubuntu 20.04.1 LTS system.
This system, has NEVER had an Android device connected to it, via USB.
Still, to my surprise, I see that adb is running:
# ps -efa | grep adb
bram 72062 ...
1
vote
1
answer
1k
views
ADB doesn't detect any device [closed]
After some time, I found that my previously working ADB no longer recognized any device. My phone did not pop up the window asking to verify the computer when I connected it. Restarting the server, ...
0
votes
0
answers
2k
views
ADB not detecting device (but Windows does detect it)
I have a galaxy A7-2016 running Lineage OS 17.1 and i want to access it using ADB. When I use adb on windows, my phone it showing up however, adb seems to not be working on my computer running Ubuntu ...
2
votes
0
answers
789
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
0
answers
3k
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 ...
3
votes
1
answer
1k
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
1
answer
1k
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 ...
3
votes
1
answer
2k
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
1
answer
2k
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 ...
8
votes
2
answers
35k
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
0
answers
1k
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
1
answer
1k
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
0
answers
723
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 ...
3
votes
0
answers
773
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
1
answer
5k
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
2
answers
17k
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
1
answer
3k
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
1
answer
2k
views
adb - 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 ...
31
votes
5
answers
28k
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
2
answers
13k
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
0
answers
1k
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
1
answer
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
0
answers
434
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 ...
3
votes
3
answers
40k
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?
85
votes
14
answers
160k
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
0
answers
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 ...
3
votes
1
answer
10k
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
0
answers
574
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
2
answers
9k
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
1
answer
389
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
0
answers
234
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
0
answers
60
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
1
answer
922
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
5
answers
18k
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....