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
1answer
4k 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, ...
2
votes
2answers
357 views

adb shows devices as offline but system_profiler detects the devices fine

I have several devices (mix of tablets and phones) connected to my mac mini. Some of them are connected directly while some are connected by a good quality hub. $ system_profiler SPUSBDataType | ...
0
votes
0answers
70 views

Fetch stock recovery

I have a Samsung Galaxy SL gt-i9003 [ROOTED] and I was trying to fetch the stock recovery to kepp it as a backup for flashing a custom recovery... I've tried doing the same via ADB command cat ...
0
votes
1answer
1k views

How do I install USB drivers in Ubuntu 13:04 for Nexus S?

I am trying to follow this guide: http://forum.xda-developers.com/showthread.php?t=2163085 However I am unable to connect to my android phone via USB. I think I need to install the USB drivers ...
0
votes
1answer
398 views

unlink () and rmdir() errors when running adb wipe command

I'm trying to wipe my device using adb shell su -c wipe all, but when I run it I get the following errors: unlink() error on '/system/vendor/res/images/dock/dock.png' 'Read-only file system' and ...
2
votes
0answers
21 views

Get phone data out when screen is dead [duplicate]

I have rooted Samsung Galaxy S2 with Rootbox Android 4.2.2 installed. My phone screen is dead and I want to get following data out of the phone. SMS (Most important) Photos Other files in internal ...
1
vote
1answer
3k views

Clockwork: error: cannot load 'recovery-clockwork': No error

I am trying to flash a recovery-image file into my Nexus 7 but the flashing fails know that I am working on windows and my image file is located in the same folder as adb and fastboot files are ...
1
vote
2answers
2k views

Pulling an apk of paid app from the device

I was pulling the .apk files from the device using the following command: ./adb pull /data/app/com.example.tracker-1.apk When I tried using the same command for the encrypted app as below: ./adb ...
0
votes
2answers
2k views

adb-shell : /sbin/sh: command: not found

I've managed to root Google Nexus 7 (2013 Wi-Fi) and now I have CyanogenMod 10.2-20130919-NIGHTY-grouper running on it and Clockworkmod recovery v6.0.1.9 following this guide. Then I downloaded and ...
0
votes
2answers
1k views

Error installing Android 4.3 using adb sideload

Situation : My phone battery drains out completely one day and even after charging it fully the phone is still stuck in boot-loop with Nexus 'X' logo. What I did : Tried factory reset from recovery ...
3
votes
2answers
2k views

ADB on Ubuntu does not recognize Nexus 4

I'm unable to get my Nexus 4 phone recognized by ADB on Ubuntu (12.04 with a newer kernel installed: 3.8.0-30-generic). Developer mode is enabled on the phone. The device shows up in lsusb: $ lsusb ...
2
votes
0answers
122 views

Will adb restore increment the custom binary flash counter?

With adb backup an archive of all apps and their data can be retrieved from the phone. I could not find any clear information which exact files and partitions are accessed during the process. If it ...
1
vote
1answer
887 views

change file permission in BlueStacks player qwerty.kl

I want to edit BlueStacks '/system/usr/keylayout/qwerty.kl' to add few more key map to this file, but I cant able to edit this file due to permission issue. Any suggestions on how can I change file ...
1
vote
3answers
731 views

Can I update the adb shell's environment variables?

I wanted to update the PATH environment variable permanently in the adb shell. I guessed the shell was mksh for I've found /system/bin/sh pointing to /system/bin/mksh. Then I tried Making a new file ...
10
votes
3answers
4k views

Can't use ADB with Nexus 4 after 4.3 update

Here's a funky issue. I've been using ADB without any problems on 4.2.1 and 4.2.2 on my Nexus 4 (Stock Android and some CM10-based ROMs). When I flashed a CM10.2-based rom (JellyBro, I believe?) a few ...
0
votes
2answers
257 views

Can I disable USB Debugging on Android smartpones from Windows via adb.exe?

I have to install Applications on dozens of android smartphones and I am currently writing a program to automate this process. I know I can't remotely enable USB Debugging, so my question is: Can I ...
0
votes
1answer
2k views

Permission denied for adb push file to /data/data/xxx/file/

I used "adb pull" to backup Final Fantasy III saved data and it worked well, but it doesn't allow me to push it back after the factory reset. D:\AndroidSDK\sdk\platform-tools>adb push d:\save.bin ...
0
votes
2answers
380 views

adb start-server and listen on all interfaces

ADB in Android 4.3 SDK implemented -a option. What I want is: adb -a start-server so the background process is bound to all interfaces, but it does not work. I need to start it like this on ...
1
vote
0answers
581 views

problems detecting Asus nexus 7 on Windows 7 Home Professional (driver installation problem)

I am having problems getting my Asus Nexus 7 detected on a laptop with Windows 7 Home Professional When I connect the device to the computer, it says USB debugging mode enabled, but the computer does ...
0
votes
1answer
162 views

adb shell ls giving strange results

Environment: running adb in command window on Windows XP PC running adbKonnect on Nook Simple Touch (rooted; running Android 2.1) When I type adb shell ls \sys I get a list of the folders there. ...
1
vote
2answers
2k 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
102 views

ADB No Longer Working

My Android device no longer recognises whether it is connected to a computer or not. I can connect it via USB, and it charges, but USB Debugging isn't enabled on the device. It is enabled in settings. ...
0
votes
0answers
716 views

adb input swipe to unlock slide screen lock and open notifications

When I use the command adb input swipe, the slider slides all the way to the right, but does not 'click', so the screen does not unlock. I calculate the coordinates based on the (not visible) 'swipe ...
1
vote
1answer
242 views

Is it possible to run any sort of hardware diagnostics through ADB

I have a Samsung Galaxy S4 that I had for a little over months before getting caught outside in a serious rainstorm. As I was pulling the battery out of the phone, I noticed the screen flicker. I ...
0
votes
0answers
15 views

Galaxy 4 Enable USB Debugging Broken Screen [duplicate]

I've searched around but can't seem to find how to enable USB debugging mode on my s4 sch-i545. I have a broken digitizer so I can't do it the easy way and am trying to connect with adb. Thanks in ...
2
votes
1answer
1k 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

ADB/fastboot over Serial/COM ports?

Long story short, my phone messed up and it's stuck in a bootloop. The phone in question is a Coolpad 7560U, also known as Orange Nivo, running Android 4.1.2 Jelly Bean. Data and cache wiping do not ...
1
vote
1answer
2k views

Unlock Screen with ADB Android 4.1.2

I have a Sprint Galaxy S3 (v4.1.2?) that I've rooted with CWM. Last week the glass and display cracked, so now I can't access it directly. I'm able to access it with adb so would like to use ...
0
votes
1answer
292 views

Connecting android tablet as testing device

I have a problem related to connectivity between my desktop (Windows) and tablet (Android 4.1). I bought a new device (Colorovo City Tab Vision 7) and now I want to use it for testing of my ...
9
votes
3answers
1k views

Why do we need Kies (ADB driver) in Windows but not in Linux?

Why do we need an ADB driver in Windows but not in Linux? I have been working on Android for the past few months in Windows. To run my project on my Samsung device I had to install Kies first. ...
0
votes
2answers
141 views

path for echo binary location

I am unable to find the "echo" binary in the /bin path (supposedly the path for storage of essential binaries) on Galaxy S2 on which I am working on. And yes, the "echo" command is perfectly working ...
0
votes
1answer
2k views

Using ADB to change the screen lock

I am looking for a way to change the screen lock type from slide to password, and set the password via adb command line. I have a device with the setup I want, and one that has slide lock. I'm pretty ...
2
votes
2answers
398 views

Uninstall from emulator doesn't work

I'm doing my first steps with Android. I'm using a Mac, and no Eclipse. I've installed my first toy application with adb install bin/*.apk and verified that it existed in the emulator. Then I made ...
1
vote
1answer
228 views

How do I get the common name of an app having the package name (like com.android.blabla)? (command line or included app)

I’m interested in a way to go from the package name (e.g. com.android.providers.telephony) to it’s common name (Phone/Messaging Storage). The answer should only assume shell access (adb) on the phone ...
4
votes
1answer
705 views

How can I see the fingerprint of my adbkey?

You should know that Android 4.2.2 (or just before) introduced RSA key checking for adb access. – The device asks now if you want to allow access. To avoid asking every time, the computer presents an ...
1
vote
1answer
3k views

Running TRIM from shell

Is it possible to run fstrim in stock android 4.3 from adb shell? I understand it runs every 24 hours when the device is plugged in and idle but I would like to run on demand to test a few theories.
1
vote
1answer
261 views

How can I do ADB backup without PC?

I can backup with PC by "adb backup"command. But can I create backup file without using a PC somehow? Android device standalone.
1
vote
1answer
854 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
1k views

Unable to run su in adb shell on an Ubuntu machine

Device: Unbranded Android tablet Android: 2.2 I was trying to root my tablet using my Ubuntu 11.10 machine. I followed the following instructions from a site: 1. adb Install Superuser.apk 2. adb ...
0
votes
0answers
80 views

Can ADB Handle Multiple Connections?

I am trying to script ADB and I was wandering if it can handle multiple installs at the same time in different threads. Does anyone know if this is possible?
0
votes
1answer
8k views

How to recover Galaxy S4 from unrequested ADB recovery mode state?

Last night, my wife turned the sound down on her factory default Verizon Galaxy S4 by Samsung, then later plugged it in at home and it showed a dark screen with the battery charging indicator. This ...
1
vote
0answers
3k views

Changing install location to 2 with `adb shell pm set-install-location 2' results in 'insufficient memory' errors when installing apps

I am using Galaxy Grand GT-19082. I used latest android sdk and unpartitioned new 32 GB SDHC Card. I used adb shell pm set-install-location 2 and it shows that It selected 'External 2'. After ...
0
votes
1answer
122 views

How did can I find important partions of any android devices?

Please Help Me !!! How did can I find important partions of any android device . Using adb or fastboot . Such as, boot, recovery, etc... I mean to backup any androdi device rom . I have tried with ...
1
vote
0answers
89 views

Exotic case of Galaxy Nexus not booting

Symptoms : Put battery into Galaxy Nexus (tried with two different including a brand new one) Plug cord to USB host or charger Large battery charge indicator icon appears in the middle of the screen ...
1
vote
1answer
4k views

ADB connect to a device via TCP/IP

I'm trying to use adb connect: connect <host>[:<port>] - connect to a device via TCP/IP Port 5555 is used by default if no port number is ...
0
votes
1answer
964 views

How do I configure ADB for the Huawei U8650 on Windows?

I have an Huawei U8650 smartphone. And, as I understand, I need system device drivers for it to be able to develop and debug applications for it using Windows. On Linux this is as simple as just ...
1
vote
1answer
324 views

Can adb backup/restore be used to root a device?

I have read a bit about the adb backup format, and it seems quite straight forward. Is it possible to use adb backup restore with a specially crafted backup to root a device? If not, why not? The ...
9
votes
1answer
3k 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 ...
7
votes
1answer
4k views

What's the difference between a NANDroid backup and an ADB backup?

Could anyone explain the difference between a backup made using NANDroid and a backup made using ADB i.e. using the adb backup command? I've read that both are capable of creating full system ...
2
votes
1answer
419 views

adb connection problem on Kubuntu 13.04 x64

I'm facing a problem with ABD connection under Kubuntu 13.04 x64. Every time I try to push/pull/shell ls the adb disconnects from device. I tried the following solutions: Added device ID into ...