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
2answers
35 views

Root vs USB ADB

As root is triggering knox, I would like to ask: Can I do everything root does through USB and ADB terminal? What are the things I won't be able to do that root gives me?
1
vote
1answer
140 views

Attempting to update ADB from 1.0.31 to 1.0.32

I'm trying to update Android debugging software from version 1.0.31 to 1.0.32 on Ubuntu 14.04. I have consulted an earlier Stack Exchange post on the same topic here but it has not helped. I've been ...
1
vote
1answer
11 views

Device suddenly unauthorized for adb

I have a Samsung Galaxy S5 with Lollipop and recently broke my screen so that it is now black. adbcontrol worked somewhat okayish - I did not see the whole screen but it was just enough to navigate to ...
0
votes
0answers
20 views

Unlock Galaxy S5 - freez at: downloading do not turn off target

Before everything I request do not link to irrelevant questions such as this. What I want to do: I want to install Ubuntu Touch on samsung galaxy S5. I use ubuntu on my laptop. What I have done: I ...
1
vote
0answers
14 views

access files of app and run-as command alternative for debugging

I try to access data\data folder without root because I want to access some downloaded files by the app and I have realized the files download in data directory. I have tried to pull to sdcard but as ...
3
votes
2answers
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 ...
0
votes
0answers
14 views

How to access internal memory of android device with a broken display and without root permission?

My Samsung Galaxy Grand has a broken display. I need to access my media files( Photos and Videos ) from the internal memory of the device. What I have tried - Tried with Samsung KIES. tried to ...
0
votes
0answers
10 views

Cant install custom rom on Vodafone Smart 3

After rooting my phone I installed ROM Toolbox Pro and started playing with it. After changed boot animation logo, the phone crashed and now when I try to start up, it gets stuck on boot animation and ...
1
vote
1answer
1k views

Identifying an unknown Android tablet through adb/shell without relying on build.prop

I obtained a cheap unbranded tablet from a friend, without a box or anything and I need to figure out what kind of tablet it is, through software. What I've established so far is that the tablet is ...
0
votes
2answers
2k 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
0answers
11 views

Y300-0100 Hard Brik

I Have Huawei Y300-0100. And i cant go to recovery. Just fast boot and adb. And update screen (boot loader). I unlocked it before and now i cant lock it because i got invade key or image ...
1
vote
0answers
12 views

setting mock location remotely

for testing purpose I need to fake my GPS location on a real Android device. Now I know about the possibility of Android Emulator and setting their GPS location via telnet. I dont really have a clue ...
0
votes
1answer
28 views

dtb not found error

am trying to boot philz_touch_6.55.0_dior.img in my xiaomi redmi note 4G through the andRoid debug bridge to my phone but when I write the command " fastboot boot philz_touch_6.55.0_dior.img " I get " ...
2
votes
0answers
20 views

Enable bluetooth tethering via command line

Is there a way to activate the bluetooth tethering mode in Lollipop using the command line? You can do it for usb tethering by running the command service call connectivity 30 i32 1 Is there a similar ...
1
vote
0answers
204 views

OS X Yosemite - Nexus 5 - ADB Device Offline

I've been trying to initiate ADB commands on my Nexus 5 using my MacBook Air. However, when I type adb devices into Terminal, my Nexus 5 is listed as offline. I've tried disabling/enabling USB ...
0
votes
0answers
28 views

How to simulate keypress event in recovery mode via adb?

I know it's possible to simulate a keypress event in Android via adb using a command like: adb shell input keyevent 24 The command above will trigger a Volume Key Up event, for example. My problem ...
2
votes
4answers
16k views

can't use adb shell in recovery mode

I have a china tablet named Quest. I have accidentally repeated pattern lock more than 5 times. Now I have also forgotten the email address. So for a factory-reset of my tablet I simply booted it ...
0
votes
0answers
19 views

Unable to root my sony xperia ax so-01e

I wish to root my phone to update it to a a later version of android, I found this http://forum.xda-developers.com/xperia-u/p-development/p-doomlord-easy-rooting-toolkit-v17-t2335992. The troubling ...
1
vote
1answer
24 views

ADB- Cannot get the Path variable to work for ADB

I am unable to execute ADB from CMD after adding it to the Path Variable. I am able to launch it from the folder when I open a Command Prompt there. But I am unable to launch ADB straight from CMD ...
-1
votes
1answer
44 views

adb and platform-tools not working anymore on Mac Lion

Ok, I had that eclipse + SDK + all projects working fine on my Mac (Osx Lion). After updating the SDK recently, everything stopped working. It seems that some very smart guy there forgot to allow ...
0
votes
1answer
1k views

Galaxy S4 does not show Authorize USB debugging dialog box

I am trying to follow the instructions here, but my phone never displays the "Authorize USB Debugging" option. On the PC side, adb devices shows that the PC see the device, but it is listed as ...
1
vote
2answers
1k 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 ...
1
vote
1answer
2k views

Cannot find HTC One in ADB, SD card not mounted, incorrect kernel for installed ROM, no backup

Pretty much what the title says. I have messed up big time. Because I am switching carriers, I have to switch back to the stock ROM. It is stuck at the loading screen, most likely because of a kernel ...
0
votes
0answers
11 views

Modify shared preferences with PC

I wanted to ask, how I can edit files in the Shared Preferences of an app via Computer. Well, if editing doesn't work, replacing is fine too! The file I want to modify has only one value (Integer). I ...
0
votes
0answers
42 views

I can't install any apps when I don't have a SD Card in my phone!

I've a problem on my SM-G350. I once set my install location to extrenal via ROM Toolbox Lite. I took out the SD card one day and the other day I tried to install an app and it said that I can't ...
0
votes
1answer
2k views

Best Practise for deploying a 'clone' image across 200 android tablets (Samsung GT-P7510)

My objective is to be able to create a master 'image' of an android tablet, and then duplicate that image across about 200 identical tablets to streamline the administration of a university's pool of ...
7
votes
2answers
164 views

Can I enable USB debugging using adb?

I own a Samsung Galaxy S3 and the display is broken and USB debugging is set to off too. How can I enable it using ./adb commands? I have done these steps already: ...
2
votes
2answers
4k views

Stop Media Playback through adb

I'm testing some settings on a phone, and unfortunately the only control I have is through adb right now. My issue is that while I can start playback of a music file through the following command, I ...
27
votes
4answers
32k 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 ...
3
votes
0answers
33 views

adb backup hangs and never finishes (Linux)

Whenever I run adb backup for a full backup, it never finishes. In Terminal, the command hangs indefinitely, and on the device, the backup cycles through a few apps before hanging on one (more about ...
2
votes
1answer
1k views

I can't see my device in Android adb list

I have LG G3 with android 5.0 lollipop and I want to connect it to my laptop with windows 8.1 OS (For using unity remote). When I connect my phone I can access to storage but I can't see my device in ...
4
votes
1answer
54 views

How to get files off of Nexus 5 Android when LCD Screen + Touchscreen doesnt work?

So I have a Nexus 5 Android 32gb phone that boots up but the LCD screen and touchscreen doesnt work. I know because it gets detected on my computer. Also the bootloader is still locked, which means I ...
7
votes
1answer
154 views

Why does “adb reboot” shut down my phone so much faster than usual before it reboots? Is it skipping important steps?

I own a Samsung Galaxy S Relay 4G running Android 4.1.2. Also, I have adb installed on a PC. When I long-press the Power button then tap "Restart", my phone takes about ten seconds to shut down. Then ...
0
votes
0answers
8 views

Is this a A2Dp logging bug, or am I missing something?

I'm working on an automatic test for something, and to do it I'm parsing logcat. Part of my test includes knowing when A2Dp has begun playing sound. When my headset is connected, and nothing is ...
0
votes
1answer
532 views

How can i run At-commadns with the ADB?

I'm trying to communicate with the modem of my Samsung Galaxy S3 GT-I9300 over the ADB tool. My galaxy is rooted and is accessible through adb. I'm attempting to execute AT-commands over the ...
0
votes
2answers
52 views

My Phone Stuck in boot screen How to recover?

I am using micromax canvas hd A116. I tried to install Custom ROM and I installed safely. After 1 Week I tried to reset my phone using factory reset under settings. After that my phone is not ...
1
vote
2answers
11k 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 ...
5
votes
2answers
3k views

How to install ADB drivers on Windows 10 (OPO)

Problem: Install ADB drivers (google_usb_drivers) on a Windows 10 client in order to enable debugging for my OnePlus One (OPO). What I have tried: After some Googling I found several guides telling ...
2
votes
2answers
24 views

recursive adb pull a directory using $EXTERNAL_STORAGE parameter

I wish to pull a directory from an Android device which contains screenshots, reason why, is that I don't know the name of these screenshots to pull them 1 by 1, so pulling the directory seemed a ...
2
votes
2answers
166 views

How come my adb can't simulate a touchscreen tap?

I've read I can simulate a tap on my touchscreen by using adb but it doesn't work: C:\>adb shell input touchscreen tap 1 1 Error: Unknown command: touchscreen usage: input [text|keyevent] ...
0
votes
1answer
2k 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
2answers
27 views

adb locat - cannot redirect to textfile - read only filesystem

When I trie to show logs of a specific priority in logcat and direct the stream to a textfile I get the following error message: 1|shell@android:/ $ adb logcat "*:W" > logcat.txt ...
1
vote
2answers
255 views

How to enter recovery/download mode with broken home button and broken bootloader

I was trying to install NightOwl cm12.1 Android 5.1.1 Beta 5 build for my Galaxy Note 1 N7000. I followed all the installation instruction on that ROM's thread. I flashed philz CWM 5.15.0. And now I'm ...
0
votes
0answers
86 views

adb backup gives “Bus error: 10”

I have just installed the latest version of the Android Studio. I now have adb and fastboot available through the platform-tools. When I run adb backup -all I get a "Bus error: 10". What's wrong ...
1
vote
2answers
5k views

How to update samsung galaxy tab p1000 i.e. 2.2 to 2.3. using ADB?

I am updating the OS of my Samsung Galaxy tab p1000 (i.e. 2.2) to 2.3.6 using adb. I am using the steps below: Check whether device is connected or not using ADB. C:\Users\PC>adb devices ...
0
votes
0answers
16 views

How to exit from update with adb sideloaded screen

Ny phone shows this message, # MANUAL MODE # -- Applying Multi-CSC... Applied the CSC-code : VZW Successfully applied multi-CSC. Now send the package you want to apply to the device with `adb ...
0
votes
1answer
137 views

ADB full backup restore command stuck on restoring app Clean Master

I have a full backup file using adb backup command. When I try to restore the full backup file using adb restore command it always displays "Unfortunately Clean Master has stopped working" while ...
1
vote
1answer
42 views

Recover soft-bricked wrongly mounted Galaxy S4 gti9506?

I just rooted my SG S4 Android 5.0.1 with auto root and (a friend's) Windows Odin. Everything worked fine (root complete and SU installed) till I think I gave a bad mount command in the root directory ...
2
votes
1answer
4k views

Android Wifi : How to change network interface used by android

When I boot up my Android Device and go to Wifi settings,the status of wifi remains "Turning Wi-Fi on" forever.I looked up in logcat logs,below is the error that I see. E/wpa_supplicant( 1713): ...
1
vote
1answer
2k views

Linux ADB Driver for LG Viper (LG-LS840)

On most devices I've run across I can plug the device into a Linux machine and no additional drivers are needed in order for ADB to communicate with the device. However on two LG devices from last ...