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

0
votes
2answers
2k views

Can't seem to configure my phone to download to SD card by default

Well, I have a Motorola Razr I and, as expected, my internal storage was pretty limited (only 5 gbs). Of course, I already had a SD card which I inserted into my phone to expand it's memory to 25 gbs ...
3
votes
1answer
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 ...
0
votes
1answer
49 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 ...
0
votes
1answer
54 views

My Nexus 7 isn't being detected by Windows. No OS on Nexus 7

I wiped my OS from my Nexus earlier as I had a ROM that I wanted to flash. When I proceeded to try and flash the ROM to my Nexus 7 using flash-all.bat (I installed ADB and Fastboot and Drivers using ...
11
votes
2answers
4k views

Toggling USB mass storage on (or off) via adb commands

Background: I have a USB stick Android device (e.g. RikoMagic) which I mostly run in "headless" mode. Among other things, I've already figured out how to shut it down via a combination of adb and the ...
24
votes
7answers
51k views

Is there a way for me to run Adb shell as root without typing in 'su'?

Is there a way for me to run Adb shell as root without typing in su? I want to be able to have root access without going into the shell.
1
vote
2answers
1k 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
116 views

Permission denied while installing a system app with SSH

I have the APK file for an application I want to install as a system application via SSH on rooted Android tablets. I'm able to install this application via ADB with a script but the installation ...
1
vote
2answers
704 views

Android ADB drivers installation error

I am trying to install the usb adb drivers. I turned the debugging mode on in the settings of my phone, connected to the PC. I click update drivers and manually selected the folder where the drivers ...
0
votes
0answers
22 views

ICS device name not recognised under adb

I have a device to which I recently flashed CM 9 which I use for testing backward compatibility in apps. However, adb doesn't seem to recognise it. adb devices outputs the following when it is ...
0
votes
0answers
68 views

Tablet listed under adb devices, but not under lsusb while in recovery

I am working with a Gemini devices GEM1000 tablet, I have performed all the steps to get adb working, and the device shows up under 'adb devices' so I go to the bootloader with 'adb reboot bootloader' ...
0
votes
1answer
4k views

Go to recovery mode on device without volume key

Is there a universal way to enter recovery mode on an Android device with only one turn on/off button? I have a tablet (Navon Raptor 7) like this and I can't figure it out. An other problem is that ...
4
votes
1answer
482 views

Locked out of Android Vortex MID *permission denied with ADB

Here's the back story: I bought an used Android tablet. The guy said the power connector was broken so the tablet wont be charged. I took it apart and figured out the battery was dead. I have an ...
0
votes
2answers
754 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

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 ...
0
votes
1answer
45 views

Windows doesn't show device in Explorer

After updating my Nexus 7 to the latest version of Android (4.4.4 at this point), Windows decided that it would no longer show the device in Explorer in MTP mode. PTP worked fine, but obviously this ...
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
0answers
216 views

Need one-line adb shell su push & pull to access /data from Windows batch file

I've been struggling for two days. Hope for help here. I wrote a Windows batch file that replaces Amazon lockscreen ads with user images on rooted kindle fire hd 7", 2013 (kfsowi). Just learned I ...
0
votes
1answer
58 views

Nexus 5 nothing bootable?

I add Paranoid OTA on my Nexus 5, and I tried to uninstall it. During the processus, everything totally failed and my phone start rebooting itself all the time. Now : ADB is not working. (I tried ...
1
vote
2answers
4k 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
16 views

Is it possible to add a file into an offline snapshots.img?

Now I have a snapshots.img, and use it to speed up booting the Android emulator. I also have an apk, whose size is 40M. If I use adb push, then the copy time will be 20 seconds. So, I want to copy ...
1
vote
1answer
215 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 ...
4
votes
2answers
10k views

Unlock Screen with ADB Android 4.2

Previously with Android 4.1, doing something like: adb shell input keyevent 82 #(KEYCODE_MENU) would unlock the screen at first boot and would then allow further commands to launch applications ...
1
vote
2answers
43 views

Does adb backup include contacts?

Does adb backup .all -f backup.ab include contacts in the backup?
2
votes
3answers
6k 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 ...
2
votes
1answer
114 views

A way to get location coordinates from command line

I'm looking for a command line, or a series of commands that can dump or list the latitude and longitude on a rooted device. I connect to a device using ADB shell. A way that will cause the ...
1
vote
1answer
246 views

How can I enable USB Debugging on an LG G2 (vs980) with a broken screen?

I have an LG G2 (vs980 - Verizon). The digitizer and screen is broken - I can view it, but not submit input. The device has fastboot and TWRP capabilities, and I can get to ADB from TWRP. The device ...
0
votes
1answer
37 views

adb shell remove directory with patenthesis windows

I'm trying to delete a directory that contains parenthesis in its name. So far I've tried: adb shell rm -r "sdcard/music/SomeArtist - (good stuff)" And I get: /system/bin/sh: syntax error: '(' ...
0
votes
0answers
18 views

Windows thinks phone is “Removable Storage” so adb won't work

When I plug in my phone to flash a new ROM onto it, I can't use adb and fastboot because windows thinks my phone is "removable storage." It doesn't list the Google phone driver anymore as an option, ...
1
vote
1answer
49 views

Why can't I upload binaries to Android Sony Xperia Z?

I recently upgraded my Android to 4.4.4 via 4.3.? When I was on 4.2.* I had no problem either uploading apks and pictures via usb nor via adb install / push. Symptoms below, any help appreciated. I'd ...
5
votes
2answers
24k views

Control Android with broken screen from PC

My rooted Galaxy Nexus has a broken screen. How can I use my PC (ie, via ADB) to control the phone? androidscreencast would be the ideal solution, but its keyboard/mouse control feature does not work ...
0
votes
1answer
33 views

Eclipse is not able to detect smartphone

Debian 7.6, Eclipse 3.8. When i program with API8 for my HTC Froyo I have no problem: running the debug session i see the device in the device list and I'm able to debug my app. Since I started with a ...
0
votes
1answer
253 views

I have broken screen. Can I root my phone only with downloading mode and recovering mode?

I want to recover my data from my Samsung S Duos. I have broken screen, so I can't do anything, even unlock (because I have a password to enter the phone). I tried to install CWM and connect with ADB, ...
0
votes
1answer
122 views

adb sync shows Product directory not specified

I am using android in an emulator integrated with eclipse. I was trying to import my gmail contacts into my emulator. For that purpose, I exported my gmail contacts to a .vcf file (contacts.vcf) from ...
2
votes
2answers
5k views

Missing device driver for “Android 1.0” in Device Manager while in HBOOT menu!

When I enter HBOOT menu with the phone connected to the PC with USB I get the missing driver prompt in Windows and there's an exclamation mark for a device called Android 1.0 in Device Manager. I ...
0
votes
0answers
15 views

Random Brief Sound Reduction Detection

Over the last two weeks I've noticed that my phone sound output will randomly drop to ~15% for about 3-5 seconds and then returns to normal. This happens to any type of audio source (Spotify, Google ...
2
votes
1answer
4k views

adb su permission denied, no rom, rooted, need to fix internal sd card

can someone please help. im pulling my hair out lol im trying to fix a friends phone GT-I9000. basically i get error in mounting sdcard. after searching endlessly and installing 100s of stock rom. ...
0
votes
0answers
82 views

dumpsys meminfo: differences between ICS and KitKat?

I noticed differences when I compare the meminfo of old Android and newer ones but I can't find documentation about it. Using the same apk, Graphics and GL only show up on KitKat and the usage on ...
12
votes
6answers
29k views

Broken screen while debug mode was disabled. How can I re-enable adb?

The screen of my phone is physically broken, so it doesn't display anything, but the touch aspect does seem to be working, as I can unlock my phone, and get haptic feedback. Before I go to get it ...
2
votes
1answer
6k views

Stuck in Fastboot?! Help please!

I tried to get CM11 on my LG G2 on Bell Canada's network and I really messed it up. I can no longer get into recovery, adb doesn't see my phone, but download mode works (though I have no idea how to ...
0
votes
4answers
9k views

How can I enable USB debugging on my HTC One with Android 4.4?

I have recently updated my HTC One from the stock 4.3 firmware it came with to the stock 4.4 firmware via an OTA update. Since this update occured, I am no longer able to connect to the device with ...
0
votes
1answer
78 views

ADB “screenrecord” not working when executed form device

I recently found out about the screenrecord feature of ADB on Android since API19. If I try and execute this from Android Terminal Emulator on my device, I get the response from the device I would ...
0
votes
0answers
16 views

How do I create an archive for easy extraction to /data/local/tmp/ in “adb shell”?

Usual shar archives fail to extact in adb shell due to problems with lock directory and temporary files for HERE documents. Zip archives are also not an option. How do I make an archive that can be ...
2
votes
2answers
4k views

How install gapps with adb commands

How can I install google apps with adb commands ? I don't know how to unzip . I used busybox. But it is not useful. Please guide me . Thanks to all and everythings. :)
2
votes
3answers
12k views

Configuring ADB for Nexus 4 on Ubuntu 11.10

I'm trying to deploy and test an Android app on my Nexus 4 from my Ubuntu 11.10 computer, but ADB doesn't recognize it. I think I need the Google USB drivers, but I cannot find instructions on how to ...
16
votes
2answers
20k views

Is there a minimal installation of ADB?

When it comes to troubleshooting, I often read recommendations like "Use adb logcat to find some more details". Looking for a good way to backup all my apps including their data, Full Backup of ...
6
votes
5answers
12k 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
143 views

Nexus 5 System.ui has stopped

I have tried to install a ROM for enabling battery percentage on my nexus 5 using CWM. Foolishly , I didn't make any backups before that. After installing the zip my phone continuously shows a message ...
0
votes
1answer
71 views

Secure ADB connection over network

I am using Geniatech ATV Android Set Top Boxes running android 4.2.2 for a current project. I might put some of those devices in public places like shopping centers. These boxes are connected to the ...
26
votes
4answers
101k views

Where in the file system are applications installed?

I have installed a few Android applications both with the adb install MyApplication.apk command and via a webserver (like an alternative to Android Market). But where in the Android file system on my ...