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

2
votes
3answers
14k views

Android ADB Shell Recovery Mounting

*Question: I need assistance mounting an Android phone's internal data using the Android ADB Shell while the unit is connected via USB and in recovery mode. How do I form a proper mount command? See ...
2
votes
1answer
124 views

is it possible to know the names of the files without root?

I'm saving my games data that I have on my Samsung Galaxy S2 using the adb program and I'm having problems finding out locations and names of files, where are they saved in?
2
votes
1answer
497 views

Backup and Restore using adb [duplicate]

Possible Duplicate: New phone: How to transfer game progress? I recently got a Samsung Galaxy S3 and I am wanting to transfer my Jetpack Joyride game progress from my old HTC Legend. There ...
2
votes
2answers
603 views

Up and down arrows in adb shell

I have an HTC Desire HD. When I connect to it with adb shell from Windows, the up and down arrow keys work fine and I get command history. But when I connect to it from Mac OS, the up and down arrows ...
2
votes
0answers
699 views

Enable usb debugging mode from adb under clockworkmode “Broken digitizer”

My friend brought me a Xtreamer Q mobile phone with broken screen, clockworkmode is working, but USB debugging mode is disabled, I found some posts about how to enable it from adb i tried them and ...
2
votes
0answers
293 views

Android ADB connect to device with broken USB and no root

I've read through the thread below and come across 2 solutions for connecting a device with ADB. Android - Run/install/debug applications over WiFi? The first is to use USB, and this isn't an ...
2
votes
1answer
942 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 ...
2
votes
0answers
165 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 ...
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 ...
2
votes
2answers
379 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 | ...
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 ...
2
votes
0answers
123 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 ...
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 ...
2
votes
1answer
372 views

adb backup disabled on phone

I am attempting to run an adb backup to my computer from my Samsung Galaxy Nexus, version maguro, v4.2.2 (I guess it's worth mentioning I'm running Windows 7 on my computer). I have tried this with ...
2
votes
1answer
162 views

Disable Backup Service in Android Emulator

I'm trying to replace sms and contacts database on Android emulator with some other (extracted from other phone). I've already succesfully pushed files into emulator (using adb push), but I have to ...
2
votes
1answer
1k views

Is it possible to pull data using Android Debug Bridge on an N7 while soft bricked

I've tried countless fixes for my N7 being softbricked (No idea how it was done). I've resorted to using Android Debug Bridge, however I cannot get access to the device (device not recognized from CMD ...
2
votes
0answers
2k views

Is it possible to enable Location Services via Shell?

Is it possible to enable Location Services(GPS or Google NetworkLocation) via ADB or Terminal Emulator? I'm on a rooted Phone. Extra Points: Is it also possible to change other system-related ...
2
votes
0answers
170 views

How to have adb recognizing my Nikon s800c on windows 7?

Has anyone got ADB to work correctly for the Nikon S800C? I've followed the instructions mentioned here, but to no avail. I am using Windows 7, and can see a yellow alert mark in the device ...
2
votes
0answers
364 views

Disable Slide to Lock

I have a Cruz T301 which is rooted. The screen calibration is a bit off and I cannot access the home screen. (It is next to impossible to use the slide to unlock.) Basically, it will slide to the ...
2
votes
2answers
3k views

type “adb shell su” in terminal (cmd in win or console in Linux ) let the terminal hang [closed]

I just want to input more shell commands after typing adb shell su, but the terminal just return an "#". It appears to be unresponsive to further commands. How can I solve this problem? Recompile ...
2
votes
1answer
3k 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. ...
2
votes
0answers
1k views

Motorola USB Drivers on Windows 8

Is there any way to install the Motorola USB drivers on Windows 8? I downloaded MotoHelper, but it won't install, saying that the OS Version is unknown. Is there some other way to get ADB to see my ...
2
votes
1answer
2k views

Can adb start my android device that shows up as “offline”?

I can see my device in adb devices. It shows up as "offline". When it is "ready": $ adb shell $ su # reboot This would reboot my device. The exact problem is that my cellphone has been turning off ...
1
vote
3answers
817 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 ...
1
vote
2answers
7k views

Phone is rooted but has no SU application and can't access SU command on adb shell?

All this time, I thought that once I've rooted my phone, it means that I will also have SU access to it. This is true for the first device I rooted. When I rooted it, a SuperUser application appeared ...
1
vote
1answer
35 views

Please explain this weird response to adb command

127|root@android:/ # find / -iname "aaengine" find: /proc/19619: No such file or directory I dont know why I got told about some file I never known about when ...
1
vote
2answers
329 views

How to disable screen lock during Android development?

I am developing Android app with my daily phone, I want to turn off screen lock only during development. I can done this manually, but that is too troublesome and sometimes I forgot to enable it ...
1
vote
1answer
3k views

Terminal or ADB command to force-stop applications

What is the terminal or adb command to force-stop an application? Like for freezing we use pm disable application_name.
1
vote
2answers
2k views

Regarding adb command: Error while loading shared libraries

aneesh@nb-14:~$ adb devices adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory I would like to understand the error above and ...
1
vote
1answer
2k views

adb push: sync but not copy

adb push seems to push everything into the dest folder regardless of their changed/unchanged states. So it wastes a lot of time. Is it possible to sync rather than copy (i.e. to rsync rather than cp)? ...
1
vote
1answer
257 views

Nexus One stuck in loading screen - How to save application data? (ROOTED)

I have my N1 rooted and after I installed BlackRose and change the partitions with password protection I wasn't able to start Android ever again. It show this screen: I can access to the adb shell, ...
1
vote
1answer
688 views

Why can't I access the /data directory with ADB on my Samsung Vibrant?

I used Simply Honey before and everything was okay. However, when I flash to a Stock 2.2 ROM, I cannot access the /data directory from adb. I am sure the phone is totally rooted because I have the ...
1
vote
2answers
60 views

Interpretting the output of dumpsys telephony.registry

So when I run the command dumpsys telephony.registry | grep -i signalstrength I get the following output: mSignalStrength=SignalStrength: 99 0 -120 -160 -120 -1 -1 25 -93 -12 300 2147483647 ...
1
vote
1answer
130 views

I can reverse tether now by using alias but it stops on adb shell command

I made some aliases to quickly reverse tether. alias t='r && sh && n' alias n='netcfg rndis0 dhcp' alias sh='ad shell' alias r='ad kill-server && ad start-server' alias ...
1
vote
1answer
3k views

ADB not recognizing Moto G

I've recently acquired a Motorola Moto G, and I plan to use it for development. I downloaded ADT, updated the SDK tools and the KitKat platform, but Eclipse still doesn't recognise my device. I'm ...
1
vote
1answer
309 views

22MB backup on new nexus 5 - too small?

Trying for the first time to root my device, using a Nexus 5 that I just got yesterday. I'm naturally trying to back things up before doing anything that can wipe memory, but the size of the .ab ...
1
vote
1answer
5k 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, ...
1
vote
1answer
987 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
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 ...
1
vote
1answer
137 views

TMobile G2X as dev phone

I'm trying to use my T Mobile locked LG G2X as a dev phone while I wait for my GNex4. I can't get the phone to be found by ADB. I installed the p999 driver from LG's website. This didn't help ...
1
vote
1answer
2k views

Unable to copy files to /sdcard

Due to a configuration error I made combined with an OTA update (Android 4.1.2), I had to re-unlock my bootloader to regain root on my GSM Galaxy Nexus. This process wipes the entire phone, including ...
1
vote
1answer
243 views

If I 'adb push' a file to /system/xbin, will it persistent?

If I 'adb push' a file to /system/xbin, will it persistent? will it stay until I flash another image? $ adb push myfile /system/xbin/myfile Thank you.
1
vote
3answers
7k views

Trying to install ADB USB Drivers, but Nexus is never appearing in Device Manager

I'm trying to install the google-adb-drivers.zip file (obtained here) on a Windows 7 64-bit system. The phone is the Nexus S 9020T. USB connectivity works correctly for file transfer mode. When I ...
1
vote
2answers
4k views

EeePad Transformer ADB problems with drivers on Windows7 x64

Sorry for the cross-post (http://stackoverflow.com/questions/8185773/eeepad-transformer-adb-problems-with-drivers-on-windows7-x64)... I was told this is a better place for my question. I have 2 ...
1
vote
1answer
57 views

How can I find out which bands my phone supports

Background: I recently bought the Padfone X, and have been attempting to get it on my network. Part of this effort has been verifying information I have found online which claims that it supports LTE ...
1
vote
1answer
72 views

“adb devices” shows device as “unauthorized”. How can I fix this? [duplicate]

I just decided to move from Windows to Linux for my Android development, I just finished to setup Android Studio, I was able to import my project into it, but now I want to be able to run my ...
1
vote
1answer
38 views

adb “CreateProcess Failure, error 5”

When I want to test an app in Eclipse (in an AVD), it throws out the following: The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse. Please ensure that adb ...
1
vote
1answer
170 views

ADB device list empty, needed to edit build.prop

adb devices in the command shell gives me an empty list. I know this question is usually solved by: adb kill-server, adb start-server. However it still doesn't work. I had it working before because I ...
1
vote
1answer
108 views

ADB shell: change IME method gives error “Unknown ID: null”

I bought a Chinese Android 4.2.2 smartwatch and discover it does not have a virtual keyboard. There is also no "input" option in Settings (there is "language" only). I installed a third party ...
1
vote
1answer
61 views

LG Optimus Zone 2, Kitkat ADB connection problems

I have purchased an lg optimus zone 2 to develop on and I have removed all of the drivers for the phone on my windows 7 machine. I downloaded the OEM driver from LG and disconnected my network. After ...