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
18 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
1answer
48 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. ...
1
vote
0answers
31 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 ...
0
votes
1answer
115 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 ...
0
votes
0answers
84 views

“adb devices” doesn't return anything for Xiaomi Redmi 7a running Ubuntu Touch

as the title says I have Ubuntu Touch on Redmi 7a, running fine. I am trying to get Anbox running on it, as according to post #8 on this page: https://forum.xda-developers.com/t/guide-gsi-ubports-how-...
0
votes
0answers
51 views

Adb crashes ubuntu?

I am using lubuntu 20.04 and I have used regular ubuntu and linux mint and this problem was consistent. When I run an adb comment such as adb devices or try to connect to my phone through adb by start-...
1
vote
0answers
96 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
0answers
22 views

Debugging sysfs thermal APIs

I'm setting and reading different values of the temperature threshold. I set it by echoing the value to the following file: /sys/devices/virtual/thermal/thermal_zoneN/trip_point_X_temp It works fine ...
0
votes
2answers
140 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
1answer
153 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
0answers
50 views

Running SP Flash tool on Ubuntu appliance: problems with xserver and having access to outside devices (plugged into MacOs)

Does anyone know how any tips for running could run SP flash tool on linux via Ubuntu 20 on Ubuntu Appliance? The host machine is a MacOS Catalina 10.15.5. With the ubuntu VM - how do we ensure that ...
0
votes
0answers
825 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 ...
0
votes
0answers
108 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
428 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
1k 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 ...
2
votes
1answer
398 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
1answer
664 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
1answer
947 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
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 ...
4
votes
2answers
10k 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
555 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
805 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
239 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 ...
2
votes
0answers
416 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
10k 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
1k 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
830 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
25k 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
11k 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
776 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
417 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
25k 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?
69
votes
13answers
112k 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
8k 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
362 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
321 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
187 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
52 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
804 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
4answers
12k 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....
30
votes
7answers
102k 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
228 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
3k 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
429 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
331 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 ...