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

ADB without USB connection [duplicate]

The micro-USB port of my Xperia Arc with ICS it's broken. How can I enter to ADB by wireless, without connecting the cable? I am not root, and I need to enter to ADB to root my phone. I can connect to ...
2
votes
2answers
1k views

Edit hosts file on Kindle Fire

I'm trying to edit the hosts file on a Kindle Fire. I should say that I'm not interested in rooting the device (unless I have to) and am not trying to hide adverts or prevent software updates etc. I ...
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
510 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
623 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
1answer
34 views

ADB not working, but Fastboot is

I recently bought a used Nexus 5. It came with the L preview on it, and I decided to flash CM 11 instead. My last phone was a Nexus S, and I've flashed various ROMs to that thing in the past. Using ...
2
votes
0answers
32 views

Simulate missed call from ADB shell

On the adb shell I run the command "adb -s shell am start -a android.intent.action.CALL -d tel:123456" to simulate a fake incoming call to my testing device. It works great. But I also want to ...
2
votes
0answers
167 views

Possible Soft-Brick Fix for my Galaxy S4

So, prior to my stupidity, I made a system.img dump via dd However, after my stupidity (tried flashing some lib files....), I am now stuck with only stock recovery mode, or download mode. How can I ...
2
votes
0answers
1k 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
302 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
1k 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
173 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
401 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
380 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
163 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
171 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
377 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
911 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
355 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
258 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
696 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
83 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
148 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
4k 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
330 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
133 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
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
1k 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
3answers
14k views

What do I type in PATH variable for ADB server to start from CMD?

I am following a Wiki on how to install and set up Android SDK and I am stuck at a step where I am supposed to test if the ADB server works by using the command adb start-server. Is this command ...
1
vote
1answer
139 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
248 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 ...