For issues specific to the Android Debug Bridge (adb), a command-line tool to interact with Android devices and Emulator instances. See the full tag wiki for details and hints.

learn more… | top users | synonyms

1
vote
2answers
37 views

Recover data from unbootable android 5.0 note 3

I have a Samsung Galaxy Note 3, which was weeks ago fully functional but had some glitches like it couldn't run games such as clash royale without an external power supply; in this case I used a power ...
0
votes
0answers
11 views

adb push and pull on a broken Samsung Galaxy S3

Recently my friends samsung galaxy s3 stopped working, it just froze and refused to respond to any input, only way to recover it was to take the battery out. Now the probelm is that when I restart my ...
0
votes
0answers
17 views

SOLVED No Matter What I Do, My Nexus 5 Will not appear in adb devices while in fastboot mode

I was recently given a locked nexus 5. Every android phone I get I mess with so I know a decent amount. As usual, I decided to root it, and maybe install a ROM, since many are available for this phone,...
1
vote
1answer
39 views

Disable Pattern lock with usb debugging or Login to WiFI network

Summary I forgot the pattern lock on my new phone, it's an Acer Z630S running android 5.1. I managed to turn the WiFi on, but the only network my phone knows right now requires me to accept some ...
0
votes
0answers
14 views

Stuck at Logo, Download Mode doesn't appear, Vol buttons don't work in Recovery mode

I currently own a Samsung Galaxy 3 gt i9305 which was network locked by EE. To make it work on GiffGaff I wanted to unlock it. Current Android version - v4.4.4 (rooted) I found out that Service mode ...
0
votes
1answer
43 views

command to get current volume level

Is there any adb command to know the current volume level of android device? I find this somewhere: sqlite3 /data/data/com.android.providers.settings/databases/settings.db "select * from system where ...
1
vote
1answer
34 views

Get logs before logcat has started in a bootloop

I am flashing a modified version of aosp and the device boot loops. The problem is that "logcat" on the phone never runs, meaning that the problem has occurred earlier. So, is there a way that I can ...
0
votes
0answers
12 views

ADB device unauthorized, cant get RSA Fingerprint

So I was messing around with my Dell Venue 10 5050, trying to root it. I booted to the bootloader and tried to unlock it. I formatted the system,recovery, and data partitions, which deleted Android OS....
0
votes
2answers
52 views

What's the fastest way to transfer files from PC to Android?

I'd like to know which method of transfering offers the highest speeds. It happens once in a while that I lose my data while making ROM updates etc. as my phone is encrypted and that sometimes makes ...
0
votes
1answer
1k views

App not installed error while sideloading and Install failed UID changed via adb [Not rooted]

I am having hard time getting an app installed since none sideloading nor adb install work...since I dont have root i cant delete the app's data folder from the data/data folder.. seems delete that ...
1
vote
0answers
510 views

Device freezes after trying to reboot with bootloader

I have been trying to unlock my bootloader as per the instructions found here. I already have installed the drivers from Google USB driver folder that comes in Android SDK "extras" folder. However, ...
0
votes
0answers
19 views

ADB doesnt find Galaxy S7

I'm trying to get adb working on windows 7 for my Galaxy S7 (T-Mobile). I've installed the official Samsung drivers, installed adb, and have enabled USB debugging on the phone, but adb devices never ...
3
votes
2answers
5k views

Stop Media Playback through adb

I'm testing some settings on a phone, and unfortunately the only control I have is through adb right now. My issue is that while I can start playback of a music file through the following command, I ...
0
votes
0answers
26 views

Getting error 505 on the Google play store when trying to update an app

I'm using a Droid Maxx 2 running Android 6.0.1 Marshmallow, and I can't update Amazon Kindle on the Google play store. I've tried uninstalling all updates to the app and cleared the app cache and data....
0
votes
1answer
40 views

PC bluescreen when enabling adb on phone connected to PC via USB

I'm using Cyanogenmod 13 Nightly (Android 6.0.1) for LG G3 Beat and i tried to use adb but as soon as I enabled adb on phone the bluescreen on pc (Windows 10) shows up saying ...
3
votes
1answer
398 views

Fail to install CM13 on Oppo Find 7a

I would like to install Cyanogenmod 13 on my Oppo Find 7a. I am following the instructions from CM wiki. I am using a laptop with Linux (LMDE2). I fail to install a TWRP recovery. Fastboot seems to ...
26
votes
7answers
11k views

ADB backup creates 0-byte file; prompts for current backup password even though I never set one; “Failed to set password” for Desktop backup password

The problem: Every time I run ADB backup, I get a message near the bottom of the home screen saying Backup starting..., followed by a message saying Backup finished a few seconds later despite the ...
0
votes
0answers
18 views

LG G3 (D855) Fastboot Problems

So I'm trying to see if my bootloader is locked because for some reason when I flashed a "bump'd" TWRP recovery, it came back with some brief certificate failure kind of thing (sorry it was only ...
1
vote
1answer
2k views

Forgot Oneplus One pin. How to enable usb debugging?

I forgot my oneplus one pin. I have tried using google device manager and have tried putting in my pin (150+ times) to be prompted for my google account. I was thinking if it would be possible for me ...
3
votes
5answers
8k views

The command 'adb root' works, but 'adb remount' results in “Operation not permitted” message

I'm trying to remount /system to copy some files to it. I tried the following with adb: adb root adb remount The first command works fine (because my phone is rooted), but the second tells me that ...
0
votes
0answers
32 views

How to enable USB debugging while screen is unresponsive and black?

how can I enable usb debugging on my phone while the screen is black and doesn't respond to touch. I just want to use vysor (an app that projects my screen) so that I can continue using it in the ...
0
votes
0answers
14 views

TWRP won't install on LG G4?

I am trying to install TWRP on LG G4 815, bootloader unlocked. It says "OKAY" and "Finished", but it never actually installs TWRP. I have tried a number of times - still nothing. Any suggestions?
1
vote
2answers
6k views

How to update samsung galaxy tab p1000 i.e. 2.2 to 2.3. using ADB?

I am updating the OS of my Samsung Galaxy tab p1000 (i.e. 2.2) to 2.3.6 using adb. I am using the steps below: Check whether device is connected or not using ADB. C:\Users\PC>adb devices ...
1
vote
2answers
4k views

root cannot list filed in /data

1|shell@maguro:/ # ls -l /system/xbin/ -rwxr-xr-x root shell 59816 2013-07-11 02:12 dexdump -rwsr-sr-x root root 67008 2013-10-08 17:24 su shell@maguro:/ # ls /data opendir failed,...
1
vote
1answer
2k views

Failed updating and uninstalling app with ADB

I installed Better Battery Stats (BBS) v2 from XDA and quickly realized that the actual required version is 2.1. So I tried to uninstall BBS via ADB but that failed because BBS is a system app. Now ...
0
votes
0answers
136 views

Apk pushed into /system/priv-app/ disappear after reboot

I have been trying to push an apk into my priv-app folder so I can use it without having to enable mock locations. I have been using this method. adb remount adb push apk-filename-here /system/priv-...
0
votes
1answer
181 views

Error when flashing recovery to Moto G4 Plus Xt1640 - Image not signed or corrupt

I recently bought a new android phone (Moto g4 plus). Coming from the iPhone, I was eager to root it and take advantage of all the features. The problem is that whenever I try to flash a recovery ...
0
votes
0answers
61 views

Install OpenGApps in Android Studio Emulator (Marshmallow)

I wanted to install OpenGApps in an Android emulator (created in Android Studio). The emulator is running with Marshmallow. There is enough storage space available, so this is not the problem. I tried ...
2
votes
1answer
6k views

Android Wifi : How to change network interface used by android

When I boot up my Android Device and go to Wifi settings,the status of wifi remains "Turning Wi-Fi on" forever.I looked up in logcat logs,below is the error that I see. E/wpa_supplicant( 1713): ...
0
votes
0answers
35 views

Soft Bricked Nexus 9 - fastboot finds device, adb does not

I am running Ubuntu 16.04, and have a soft bricked Nexus 9. I have been in this state before and used this guide to get back to normal. Not learning my lesson about applying OTAs through the OS aside, ...
4
votes
1answer
2k views

Simulate missed call from ADB shell

On the ADB shell, I run the command adb -s <serial_number> shell am start -a android.intent.action.CALL -d tel:123456 to place a call on my testing device. It works great. But I also want to ...
7
votes
1answer
10k views

Failed on cp file to /system - Cross-device link

I'm trying to mv .apk file from my /sdcard to /system and getting following error: failed on 'XXX.apk' - Cross-device link I did remount my /system as rw root@ghost:/ # mount -o rw,remount /dev/...
0
votes
1answer
35 views

ADB driver for Samsung does not respond in remote debugging

To summarise the situation, I tried all the steps and quirks to make remote debugging work for a Samsung Galaxy S4, and Galaxy A3, the chrome://inspect page never picks up anything, I tried with ...
3
votes
2answers
4k views

File “has unexpected contents” error when sideloading Android 5.0

I have a Nexus 7 (2013) (wifi) and am trying to update the software to Android 5.0. When I try to sideload I get this error: Installing update... mount: failed to mount /dev/block/platform/msm.sdcc.1/...
0
votes
0answers
36 views

my galaxy s6 edge is stuck on boot loop and nothing works

my galaxy s6 edge got stuck on boot loop after i tried to remove my root with supersu and now i can't fix it... i tried installing stock rom with odin but it's stuck on hand write, adb dosent ...
0
votes
1answer
163 views

My phone storage is empty when connected to pc [duplicate]

I need to back up all data and media on my phone but every time i connect it to pc everything is fine and my pc recongize the phone but not every time i need to plug and unplug phone several times to ...
1
vote
1answer
119 views

Data recovery from android device with broken screen

Situation Summary - I have an Android device with a broken screen, LCD and touch I have an android phone (BQ Aquaris E4.5 Ubuntu Edition, which I have flashed with the Android firmware for the E4.5 - ...
6
votes
2answers
7k views

adb backup command on non-rooted device creates an empty backup file?

I recently tried to backup my Motorola Moto G2 XT1068 phone running Lollipop 5.0.1 and after connecting it over USB with usb-debugging ON and I ran the adb backup command to backup my device ...
0
votes
1answer
35 views

Soft Bricked Nexus 4

A long time ago my Nexus 4 was doing an OTA update and crashed midway through. Now when I try to power it on it shows the google symbol then a standing Android with its chest open and a progress bar ...
3
votes
1answer
89 views

Backing up important data from soft-bricked devices

I'm sorry if bricks-related and support-my-issues questions are off-topic on the site, but let me try. Yesterday I've got a crash on my device causing an immediate reboot. After the very first boot ...
0
votes
0answers
39 views

Send a Double type variable as an extra when sending an intent via adb shell

I wish to send a Double variable as an extra. It is easy to do with code but it seems that am can't do it. Below is the am extra help, we can see that there are flags for int, long and even float but ...
1
vote
0answers
37 views

how to restore mount points

i have a bricked device , after 20 hours of flashing and searching , i found that my device lost some mount points here is the the mount points of my device and here is the mount points of a ...
-1
votes
0answers
22 views

ZTE Blade G - fastboot and recovery no effect

I have problem with flashing, erasing new partition and wiping userdata. My installed rom is all time crashing and when I try to wipe all data (factory reset) in recovery, recovery says it's done, but ...
2
votes
1answer
2k views

App not installed for this user

I see App in my Apps section of settings which says App not installed for this user. It's completely greyed out and I cannot uninstall it. When I install the same from play store it says incompatible ...
0
votes
0answers
12 views

adb syntax not proper

I want to root, change bootloader and install TWRP on my wife's LG LH410. I found out script to do this on xda-developers. But after unpack zip file, I notice that bat file contains such lines (...
0
votes
1answer
24 views

Why can't fastboot see my device?

I have a 5" android tablet running on an Allwinner A33 chip referred to in device info as "astar_evb-eng". I am running Windows 8 (not 8.1) and have installed and tried every version of the ADB and ...
0
votes
1answer
34 views

How to list pathname of all files using adb

On most of my devices I'm able to use the find command to get the full pathname of all the files on the device. However I have two tablets that don't have the find command. I tried various ...
1
vote
1answer
343 views

adb backup on Marshmallow - is it different?

Device and settings: Moto X Play ( Stock 6.0.1), unrooted, USB debugging enabled in developer options and verified using adb devices. Other USB/ Developer options, as in pic below Enabled desktop ...
1
vote
2answers
292 views

Is this the right way to use dd for a full backup?

Sadly my device (sm-g3185) isn't supported by any of the CWM or NANDbackup so I am trying to do a backup manually. I found this thread which tells me to open one terminal (I'm on Arch Linux) and run: ...
0
votes
0answers
2k views

adb>shell returns “error: closed” - how to “open” adb shell access through adb sideload

my device got broken but i am still able to connect usb in the stock recovery mode. if i try to start a shell via adb while the device is in recovery mode, i fail. my terminal echos the line: "error: ...