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
126 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
1answer
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
100 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
656 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
182 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
13 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
737 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
0answers
213 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
87 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
1k 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
271 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
185 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
514 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
2k 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
223 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
770 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
866 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
56 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
6k 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
2k 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
106 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
81 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
3k 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
660 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
292 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
2k 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
3k 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
327 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 ...
0
votes
1answer
798 views

Using adb backup to recover files in Android

I encountered a situation similar to the question: How can I recover a deleted file on Android? I have a Sensation XE which is not rooted. From the previously linked question, is there away that I ...
0
votes
1answer
315 views

What can I do to save my Samsung Galaxy from a bootloop?

I have a relatively old phone that I would like to make some use of again. It's the GT-I9000, and it's currently stuck in a bootloop. I'd like to install CyanogenMod on it. I've already flashed it ...
0
votes
1answer
860 views

My phone's screen died but it still works. How can I get the text messages from it? [duplicate]

People are still sending me texts even though I can't read them. I've gotta get a replacement quick, but I also need to get the important texts I missed. Is there any way I can get them through my pc? ...
6
votes
6answers
39k views

How do I get my Nexus 7 to show up in the adb devices list?

So I have a Nexus 7 that I'm trying to connect to my Windows computer for debugging over adb. Adb works fine with my phone, but when I plug in the tablet and run adb devices in Windows I get an empty ...
2
votes
1answer
2k 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. :)
0
votes
0answers
486 views

Android Dongle ADB Shell Recovery Segmentation Fault

I am trying to wipe out data from android dongle with help of ADB commands. When I typed ADB shell command then it will provide me root@android:/#. Now when I type recovery or recovery wipe_data in ...
6
votes
1answer
5k views

How I shutdown Android phone with adb command?

How do I halt an android phone using adb command? I can reboot, but I don't know how to halt. I tried shutdown -k wait command, but it did not work.
0
votes
1answer
694 views

how to change input method with ime command

I want to know how to change input method using the command line. Any ideas? Sorry for my english. I have tried this: C:\Users\admin>adb shell shell@android:/ $ ime list -a ime list -a ...
5
votes
3answers
2k views

No-name i.onik android tablet not recognized by adb — adb devices empty

I have followed various instructions and finally was able to connect my ZTE Blade to my Ubuntu laptop for USB debugging. The same setup does not work when I exchange the phone by my "no-name" i.onik ...
1
vote
1answer
773 views

Is there a USB driver for the alacatel onetouch 983?

I have purchased an alcatel one touch 983 running android 2.3.7 for development purposes. So it is critical that I can view logcat messages and connect to it from eclipse via USB. But so far I have ...
-1
votes
1answer
294 views

'adb devices' is not listing my phone

I am trying to do a full backup of my Galaxy Note 4.1.2 phone using the adb command. t says it couldn't connect to my device. Then I did a 'adb devices' and there where no listed devices. My Windows ...
0
votes
1answer
586 views

No ADB connection to Transformer Prime TF201 on 4.1.1

ADB connection to Transformer Prime TF201 on 4.1.1 With USB Debugging disabled I can see the TF as expected. With USB Debugging enabled I can see an entry under Device Manager for ASUS Transformer ...
2
votes
1answer
366 views

`adb shell ime list` commands - Please clarify!

What do the following two commands mean adb shell ime list -s adb shell ime list and why don't the return anything at all? See code below: aneesh@nb-14:~$ adb shell ime list -s aneesh@nb-14:~$ adb ...
0
votes
1answer
59 views

Flaw in `adb shell ime list -a`?

I wanted to understand how to work with IMEs. More precisely, I was trying to figure out how to disable in a single command one can disable all the input methods so that the hardware keyboard takes ...
3
votes
1answer
977 views

Why is adb backup with system apps unsafe? (Holo backup)

In holo backup, adb backup with system apps is said to be unsafe. I was and am not sure why it is. But I tried it anyway, and slept then when I woke up in the morning, my computer crashed. So I am ...
1
vote
1answer
563 views

Disable Camera on Android using ADB Shell

I am using 4.1 JB Rooted Device & want to completely disable Camera on my mobile as it is not allowed at my work place. Currently I am using 'Disable Camera device' app but one can easily Enable ...
0
votes
0answers
22 views

How to use dd in linux to create a disk image of android [duplicate]

First of all, is it possible to use dd in linux to create a disk image of android cell phone disk? If so, what should be the step? Should I use adb?
1
vote
0answers
193 views

How to setup ADB for TCP on Galaxy S3 with broken USB port

I have a SGH-I747 phone that has a problem with the USB port (it will charge, but is never recognized so no ADB. Phone was actually sent to Samsung and they stated 'Beyond repair - gross ...
0
votes
2answers
7k views

How to put a ROM on read-only /sdcard, while adb shell not working (HTC One X)

I've been searching my _ off for two days now to find a solution for my problem, but I can't find one working for me. What I do have right now: NO working ROM (I believe because of a failed atempt ...