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

6
votes
2answers
9k views

adb command to search the filesystem

Is there an adb command similar to "locate" or "grep" that would help me find a file on my Android device? I'm curious about adb specifically, not a search app. EDIT: "find" has been suggested, ...
1
vote
1answer
26 views

Nexus 5 in recovery mode not being recognized

I wanted to sideload Android 5.1.1 (currently running 5.1) to my Nexus 5. I've sideloaded before and it's really easy, but now I've ran into a weird problem I can't seem to fix. The Nexus 5 is ...
0
votes
1answer
1k views

Can not uninstall standard Android keyboard or get it back working

I want to uninstall the standard Android keyboard com.android.inputmethod.latin. I googled and found multiple threads discussing this problem. What I did so far: 1.) Uninstall via intent -> doesn't ...
0
votes
0answers
7 views

After using SP Flash, Phone wont boot up

Handset : Huawei Honor Holly Root : Yes I used SP Flash Tool to flash a ROM, downloaded from the Official website of the phone company. I flashed all that was given (boot, uboot, recovery, ...
0
votes
1answer
22 views

My OS Loads, but no Recovery

Handset: Huawei Honor Holly Root: Yes I am trying to install CWM recovery on this phone. I tried it using Flashify after reading guidelines from a website. Now, my stock recovery is gone. Also, ...
2
votes
2answers
5k 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
31 views

Block Android application install/uninstall through ADB [on hold]

I am trying to create a custom ROM in which you can not install applications. By now I managed to block user app installation by modifying the PackageInstaller. Now I am trying to block app ...
0
votes
2answers
1k views

Unable to adb push on Samsung S4

I absolutely can't push to /system/app/ using adb on a rooted S4 with rw remounted filesystem. adb says: Read-only file system Mounts: /dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ...
1
vote
2answers
1k views

MTP not working but ADB works fine

I use Samsung Galaxy S4 Mini Android Phone, its MTP mode is not working just after I plugged it in to another PC some time for just USB charging. I re-installed the driver on my PC and removed the ...
0
votes
0answers
25 views

PLEASE HELP! Photos stuck on broken screen grand neo!

Well,my display screen is completely black by now.I have no access to touch screen. And my phone has got all my little sisters photos when she's only 1 years old and numerous precious pictures Also I ...
5
votes
2answers
2k views

adb input keyevent 26 - Not waking device up

I am trying to wake a device up using the following adb command adb input keyevent 26 This correctly emulates the power button keypress if the screen is on, but will not turn the screen on if it was ...
1
vote
1answer
1k views

How to restore adb backup on Nexus 4 (boot loop)?

Recently I have flashed unofficial cyanogenmod 10.2 for my Nexus 4. After testing some features I the device came into a "bootloop" (stays on cyanogenmod logo launcher). I tried to reflash it with cm ...
0
votes
1answer
24 views

Clear Caches from ADB?

How do I clear caches (app, individual apps, Dalvik, ART if possible) via ADB? Using apps, recovery, or doing it through Settings are not options for me. Also, my phone is not rooted.
2
votes
1answer
3k views

Problem with ADB on my Nexus 4 (unauthorized phone)

When running adb devices in cmd, it says that my phone is unauthorized. It appears that it has something to do with the RSA fingerprint prompt. I don't remember ever getting such a prompt. Yes, I am ...
0
votes
1answer
32 views

Mount /system and /data partition of an android phone in Windows/Linux

How can I mount the /system and /data partition of an Android Phone via USB on a computer? It will need to work with Windows and Linux. I have a Samsung Galaxy S4 with CyanogenMod 12 and working ADB. ...
3
votes
3answers
17k views

ADB status offline when trying to root Kindle Fire

I'm trying to root Kindle Fire but it always show "ADB status: Offline" when I start "run.bat". Could you help me out of this problem? :( I tried to plug, unplug, connect, disconnect the Kindle many ...
0
votes
0answers
25 views

How to Clear Caches in LG G2 Running Lollipop 5.0.2

The Lollipop update for AT&T LG G2 has pretty much destroyed my phone. I'm hoping clearing out every sort of cache might help. But I can't clear the caches the usual ways because (1) the ...
0
votes
1answer
36 views

Nexus 5 in Recovery mode not detected in ADB but another Nexus 5 gets detected

I think I soft bricked my Nexus 5. I was planning on wiping all data from Nexus 5 and installing Cyanogenmod 12.1 following the normal procedure in the Recovery Mode but the wiping got stuck at ...
0
votes
2answers
1k 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 ...
0
votes
1answer
1k views

Best Practise for deploying a 'clone' image across 200 android tablets (Samsung GT-P7510)

My objective is to be able to create a master 'image' of an android tablet, and then duplicate that image across about 200 identical tablets to streamline the administration of a university's pool of ...
1
vote
1answer
37 views

Go back to previous custom rom - adb issue

I decided to try a custom ROM from here. I downloaded Exodus ROM to my computer, and via ADB transmitted it to the sdcard/0/ folder. I then rebooted and flashed this custom ROM. Everything went well ...
0
votes
1answer
30 views

adb push … Permission denied

I am trying to push a file to a directory on a physical android device, but I am running into the following error. >adb push data.db /data/data/com.me.app/databases failed to copy 'data.db' to ...
0
votes
0answers
25 views

backup android-operating system

I am trying to backup the whole android OS with all kernel files, systemfiles, efs-data and more on my rooted samsung galaxy s3 but when I open the the backupfile (.ab) on my computer i can only see ...
0
votes
1answer
31 views

Error in connecting Samsung A3 to Ubuntu 14 (USB); adb unauthorized (no pop up on device too)

I have a Samsung A3 with Android 4.4.2 (not rooted) and a computer running Ubuntu 14. I am trying to connect my device to my computer through USB to be able to perform some tests on it. I have ...
0
votes
0answers
11 views

Trying to restore a backup jumps to boot screen

Help me please. I have a backup that I made with ADB, now when I try to restore it the tablet jumps to the boot screen and freezes there. My Tablet is a generic tablet, the only advantages among other ...
0
votes
1answer
31 views

Can a looped Android be rooted?

I deleted a system file from my Android (com.android.providers.settings.apk) and now my Android is in a loop. It is a KitKat tablet and I am able to use adb sideload. Is there a way to root the tablet ...
0
votes
0answers
37 views

Galaxy S6 not seen by pc at all

I have one week old S6 and now tried to use adb. I unlocked developer mode, enabled USB debugging, connected to usb and nothing happened. adb devices shows empty list, lsusb on mac and linux as well ...
1
vote
1answer
54 views

Update from ADB option under recovery menu

How does one typically use the "Update from ADB" option in the Recovery menu? Do I have to connect the phone via a usb cable to my laptop & provide the necessary update files? Where on the ...
0
votes
0answers
12 views

How come my adb can't simulate a touchscreen tap?

I've read I can simulate a tap on my touchscreen by using adb but it doesn't work: C:\>adb shell input touchscreen tap 1 1 Error: Unknown command: touchscreen usage: input [text|keyevent] ...
0
votes
0answers
19 views

How to copy a file to the built-in NAND flash storage on an Android device?

So I'm cheap and not going to spend $50.00 on a 16 GB SD card to hold data, and my built-in NAND storage has 16 GB and 13 GB free, so that's sufficient; however, there seems to be no immediate, easy ...
0
votes
0answers
55 views

Using adb to backup data on an unbootable & non-rooted phone that does not have USB Debugging turned on

I have a phone (Moto G) that won't boot & I had not turned the USB Debugging on when it used to boot correctly. The motivation is to use adb to get a full dump of the data on the phone before I ...
0
votes
1answer
4k views

I can't find the boot/recovery partitions on my Android phone for backup - where are they?

I'm trying to back up boot.img, recovery.img, and system.img on my Android phone. I've found several mentions of running this command: cat proc/mtd and then just using dd to copy the listed mount ...
2
votes
2answers
76 views

I can't see my device in Android adb list

I have LG G3 with android 5.0 lollipop and I want to connect it to my laptop with windows 8.1 OS (For using unity remote). When I connect my phone I can access to storage but I can't see my device in ...
0
votes
0answers
35 views

How to setup wifi from adb shell?

I'm using adb over USB to shell into a rooted CyanogenMod-modded device. I wanted to debug my wifi connection through the command line, connecting to an open (unprotected) wifi network. Is it possible ...
0
votes
0answers
19 views

Why cant i move apps to sd card?

My question seems familiar but i dont intend to waste someones time as i tried sdk manager and adb to set install location at 2 and successfully followed this- ...
2
votes
1answer
3k 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 ...
1
vote
1answer
1k views

Linux ADB Driver for LG Viper (LG-LS840)

On most devices I've run across I can plug the device into a Linux machine and no additional drivers are needed in order for ADB to communicate with the device. However on two LG devices from last ...
0
votes
0answers
437 views

Recovery broken -> “adb devices” doesn't find my Xiaomi Mi3

So a few days ago I finally looked out for a custom ROM avaible for my Xiaomi Mi3 td. I found an Android 5 Lollipop ROM (by ivan) and thought that I test it and maybe look for some bugs. So far so ...
3
votes
1answer
4k 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 ...
16
votes
2answers
9k views

Enable and disable system apps via ADB

Is there any adb command to enable/disable a system app? Thanks
0
votes
0answers
159 views

Directly storing apps in SD Card

So I bought an 'Swees' Android phone recently, with ~150mb Internal storage + 4gb External SD Card. I downloaded Android SDK manager on my mac, installed necessary packages and ran the 'adb' file in ...
1
vote
1answer
1k views

ADB backup is not working

I just tried to make a backup from my Nexus 5 (before installing CM 11) It is unlocked but not rooted. On PC side I'm working with Ubuntu 13.10. When I type adb backup –all -apk -nosystem –f ...
1
vote
1answer
4k 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
1answer
3k views

Sony Xperia Z1 won't start up again!

As you may know, you have to backup the TA-partition before you put a custom ROM on the Sony Xperia Z1. I've backupped the partition with this .bat file: ...
2
votes
2answers
1k views

Does adb backup include contacts?

Does adb backup .all -f backup.ab include contacts in the backup?
6
votes
1answer
77 views

Why does “adb reboot” shut down my phone so much faster than usual before it reboots? Is it skipping important steps?

I own a Samsung Galaxy S Relay, running the Samsung/T-Mobile variant of Android 4.1.2. Also, I have adb installed on a PC. When I hold Power then tap "Restart", my phone takes ten seconds to shut ...
0
votes
1answer
1k views

Android ADB unable connect with IP address

I have successfully installed Android OS in Oracle virtual box, but I have one problem: I cannot connect to ADB in the Android OS virtual box. In my Network settings in virtual box: When I select ...
2
votes
2answers
1k views

Adb can't see my device - PAP5400

When I connect my Prestigio PAP5400 DUO to my PC, ADB cant find it. I think the driver is wrong but I can't find right one. I have tried installing many drivers. PS: I have debugging mode ...
4
votes
1answer
1k 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 ...
3
votes
1answer
2k views

Can “adb remount” be used on a stock phone (unrooted)?

Is it possible to use adb remount with a standard firmware and without having rooted the device? If not, is there another way to force the system to make /system writable without rooting the device?