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
1answer
1k views

How to get “Non-Root” access on Emulators ?

I am running adb on emulators and by default, the emulators give root access. When I execute 'adb shell', I get root access to the emulator(virtual device). For some reason, I want to have non-root ...
1
vote
1answer
8k views

HTC One (m7ul) not found by ADB + formatted filesystem = bricked?

So, I'm really hoping that I haven't bricked my phone and that someone can help me figure out how to fix this. I can't remember exactly the steps I took to mess it up so spectacularly, but they ...
0
votes
1answer
1k views

Backup and Restore with Holo ( ADB ) from N4 to another N4 - some questions

I am soon receiving a replacement device for my Nexus 4, that got some problems charging now and then. Some questions regarding Holo Backup: It shall be no problem to restore a "Backup all without ...
5
votes
3answers
24k views

Can't remount /system in rw

I try desesperately to push an app with adb on the /system/app folder (to install the PlayStore on my low cost tablet). So i tried to remount the /system partition with root rights : mount -o ...
1
vote
2answers
1k views

LG G2 Not showing up in adb command even if i check USB debugging

Can someone help me. I still cant find my device in adb command in my LG G2 phone. I've been searching the net. Cant find the solution. Pls help I am using android 4.2
0
votes
1answer
915 views

Some magic to remount /system

First of all: Phone's model is Alcatel One Touch Idol Mini / 6012X Chipset model is MT6572 The short version: The device is in boot loop and to resolve this I must rename a file. The problem is that ...
0
votes
1answer
296 views

How can we see deamon proceses in Android?

How can we see all the daemon processes with their statuses on our android device? Reason for asking is that recently I came to know that adb (Android Debug Bridge) is a daemon process running on our ...
2
votes
1answer
134 views

How can I root my HTC One for T-Mobile using ADB?

I want to use ADB. FastBoot isn't working on my OS X machine. ./fastboot devices lists nothing. ./adb devices shows my device I downloaded SuperSu from the Google Play store but it says it I ...
0
votes
1answer
1k views

Check if an app is installed on the device

I'm trying to use the package name and determine the apk path of an app to check if my app is installed in the device. pathCmd = './adb shell pm path ' + packageName pathData = ...
0
votes
1answer
127 views

Sending linux commands over serial

I have a question about being able to send Linux commands over a serial connection to an Android device. I have heard of putty and tried to use it, but i am ultimately lost with it. Like if I was in ...
0
votes
2answers
4k views

Help get SC-91JB Android tablet back - restore / recovery

My friend brought me his granddaughter's tablet a couple weeks ago and it was stuck at the Android logo screen, just gray "android" text with white highlight moving across repeatedly. I already had ...
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 ...
1
vote
0answers
972 views

adb restore not working for shared

I have a Nexus 4 with Android 4.4.1 … I've read that we could root it without wiping the data … well didn't work for me! I wasn't scared, because I made a full backup using: adb backup -apk ...
0
votes
0answers
2k views

Acer Iconia Bricked with reboot loop after root attempt

I attempted to root my Acer Iconia B1-A71 tablet and ended up bricking it because of not installing the partition fix apk (Bad tutorial). The tablet is currently in a reboot loop and I've tried so ...
2
votes
1answer
2k views

Device doesn't mount in Ubuntu 12.04

I have an Android device (ICS) and it is visible and perfectly usable via ADB in Ubuntu 12.04. However Ubuntu can't mount it. I can't find it on /mnt or /media. How is that possible? I know there ...
0
votes
0answers
266 views

Installing ADB Driver (Manually?)

I'm trying to install ADB drivers for my phone on Windows 8. Previously on Windows 7 I used a driver that is not supported on Win8 and also doesn't work. Debugging option is set. Version 4.0.4 Sharp ...
16
votes
5answers
33k views

ADB can discover devices but not fastboot

I've searched on the web about this problem and it's usually solved by installing the appropriate drivers. Problem is I'm on a Mac. When I plug in my device, it can be discovered when I run adb ...
0
votes
0answers
184 views

Writing to /dev/log/main from command line

It is possible to write encoded messages into /dev/log/main and then see them in the adb logcat output. The command should be executable through adb from the host PC. Ideally, it should look like: ...
0
votes
1answer
1k views

Retrieving contacts from Nexus 4 with broken screen

My Nexus 4 is recognized by ./adb devices when connected via USB. Also USB debugging is enabled. Unfortunately the device isn't rooted so pulling the contacts db file doesn't work as I don't have ...
3
votes
1answer
1k views

Disable browser prompt when using ADB to open an URL

I'm trying to open an URL using the ADB command: ./adb shell am start -a android.intent.action.VIEW -d URL When I have multiple browser support applications, I'm trying to open this using google ...
0
votes
1answer
404 views

Samsung Galaxy Note 1 /sdcard/ folder tree

Hi I am searching for the factory folder tree for Samsung Galaxy Note 1. I want the folder tree, so I can perform adb shell commands to access these directories. In a quest of recovering data. e.g. ...
2
votes
1answer
2k views

ADB won't recognize Sero 7 Pro

I just bought a refurbished HiSense Sero 7 Pro tablet. I have enabled Developer options and turned on USB debugging. When I plug the tablet into my Win7 PC, it fails to install proper drivers (which ...
0
votes
0answers
415 views

Pull or backup only the contacts from Android

My phone is on a bootloope _ soft bricked. I have managed to detect it via adb on recovery mode. So now I want to know the exact command to pull contacts first from the phone to my pc. Is this ...
0
votes
1answer
4k views

adb for bootloop

I am in the middle of trying to understand the correct procedure to recover my data from a phone that went into a bootloop. I installed android sdk, with adb tools. Also installed ODIN (although I ...
1
vote
0answers
596 views

Obtain the Phone Number through ADB

I have a rooted Android device, and I'm set up with the Android Debug Bridge (ADB). I'm having difficulty finding the phone number of the device through ADB. I'm hoping to eventually automate this ...
2
votes
1answer
316 views

Should the sdcard support case-sensitive files?

I've been testing one of my apps to see how it handles filenames in UPPER-CASE. I thought the Android libraries and system was case sensitive for filenames, however I eventually discovered that files ...
0
votes
0answers
4k views

Enable USB debugging on Motorola Droid Razr Maxx HD Global with no screen

Before this gets marked as a duplicate please consider that virtually every answer involves vague references to things like 'fastboot' that I honestly don't understand and can't find any information ...
6
votes
3answers
20k views

Windows doesn't recognize Nexus 7 in recovery mode

So I have the Nexus 7 (2012). When the tablet is on and USB debugging is enabled, ADB recognizes it. But when I shut it off and put it into recovery mode, then press power and volume up to sideload, ...
0
votes
1answer
199 views

Access desktop files from ADB connected device

Is it possible to access the desktop files from Android device ? The device is connected to the desktop through USB.
0
votes
1answer
215 views

Make a device appear in ADB

I have a Zen Touch 2, a Cyclone Voyager and a Samsung galaxy Fame, all configured for USB debugging. I also have a laptop running Ubuntu 12.04, the standard ADB obtained from apt-get, and Fastboot ...
0
votes
1answer
1k views

accidental wipe android nexus 4

Well, accidentally ended up formatting a nexus 4 by clockworkmod, was the system and everything else, I've tried various ways to try to recover this brink, worked no more, all require the famous usb ...
16
votes
2answers
12k views

Enable and disable system apps via ADB

Is there any adb command to enable/disable a system app? Thanks
2
votes
3answers
15k views

can't use adb shell in recovery mode

I have a china tablet named Quest. I have accidentally repeated pattern lock more than 5 times. Now I have also forgotten the email address. So for a factory-reset of my tablet I simply booted it ...
1
vote
0answers
127 views

Is there any way to dump the Data Usage log through the ADB shell?

The reason I would need to dump these data is because in smalls display (S5301) doesn't fit everything and data is cut. I couldn't do anything to move that graphic. Look, I've searched in Google ...
0
votes
1answer
441 views

How old is the datalog when just starting “logcat”?

When I run adb -d logcat it dumps data from a time before. How old is that data?
1
vote
2answers
2k views

adb restore across different devices, android versions

Once upon a time, I ran this on an Android 4.3.0 Nexus 7 2012 running ParanoidAndroid: adb backup -all -nosystem -apk -shared \ -f backup-all-nosystem-apk-shared-201309132331 Now I would love to ...
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: ...
1
vote
0answers
176 views

HTC Desire S-Off

My HTC Desire is stuck in a boot loop: HTC Desire Boot Loop I am trying to set S-Off so that I can use the Windows version of ADB and delete some apps/data off the phone memory. I don't want to ...
2
votes
1answer
9k views

How can I enable adbd during boot on Cyanogenmod?

I am stuck during the boot process, at first before entering the passphrase for /data and now at the SIM PIN screen. At this point, adb is inaccessible (normally adbd would start up after unlocking ...
0
votes
3answers
19k views

How to fix “error: device not found” when I try to use ADB

I'm trying to get my phone (JiaYu G3T) working under adb on Windows 8 x64 (worked fine on Windows 7 x64 before reinstalling my OS). Driver Android Composite ADB Interface, version 8.0.0.0, works ...
1
vote
0answers
620 views

Permission denied while trying to do MKDIR

I am loading media files into the /sdcard folder on my Android device and playing them and everything seems to work fine. When I tried to do a MKDIR on this folder, it said that my permission is ...
2
votes
0answers
364 views

adb shell superuser access without approve from phone

I'm running MIUI 3.9.27 on my HTC Desire S. I accidentally froze my miui launcher (com.miui.home) and after reboot, phone stuck on boot animation, but seems everything running except miuiHome. I ...
1
vote
1answer
644 views

fastboot serial number?

On occasion I've seen the serial number reported by adb and fastboot differ. Is there a way to reliably determine what the fastboot serial number will be from adb?
0
votes
1answer
1k views

How to enable experimental reverse port forwarding in chrome?

Commonly you have a web server running on your local development machine, and you want to connect to that site from your device. If the mobile device and the development machine are on the same ...
0
votes
0answers
450 views

Fail to connect to ADB Wifi when device goes to idle state?

I am connecting to my Android phone with ADB WiFi (no USB plugged in). However, whenever my device goes to sleep, I am losing connection and unable to reconnect. In what I am trying to do, I need to ...
0
votes
2answers
2k 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 ...
2
votes
1answer
4k 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 ...
3
votes
3answers
2k views

How do you remove permanent adb authorization?

I have a Nexus S running Cyanogen 10.1.2 (Android 4.2.2). I require adb authorization, but I accidentally "permanently" authorized a device. How do I remove the "permanent" authorization, so that ...
0
votes
1answer
593 views

lsusb lists Galaxy Samsung Tab s2 & adb devices lists nothing

really, I do all my efforts to run an android project through eclipse on a tablet "Samsung galaxy Tab s2/ GT-P3100" under linux (Ubuntu 12.04). i add the vendor id of samsung in ...
0
votes
1answer
13k views

How to perform a full system dump/backup with a broken screen?

So, yesterday my phone took a serious tumble. It is now essentially useless, as the screen either fails to turn on, or when it does, there is nothing useful to see (just lines of primary colors, ...