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
0answers
175 views

Replace internal memory in LG G4 H815T

One moment the phone was working and then it's not. It stayed on the boot animation and wouldn't go anywhere. I had someone replaced the memory chip but I am not sure where to go from there. I have ...
0
votes
1answer
512 views

ADB sideload doesn't work, no drivers

Sometimes on my Nexus 9 (LMY48M)ADB sideload doesn't work as the device doesn't have a driver. This is true for both stock and TWRP. However, ADB from booted Android works perfectly. I have ADB ...
0
votes
1answer
377 views

Automating adb commands

is there a way to run adb shell commands via windows? I would like to run a batch script such as this adb shell mount -o rw,remount /system exit Currently when i run the batch script it only ...
-1
votes
1answer
2k views

Does “fastboot flash recovery <recovery-file.img>” command work with any android device? [duplicate]

The command is used to flash a recovery. Do you have to use odin like tools to flash it or you can just use adb? Thank you
0
votes
0answers
180 views

ADB version of these terminal emulator instructions?

I have the "Insufficient storage" bug on my Moto G X1032. This answer fixes it with the terminal emulator app, which i can't install. They recommend performing the following commands in adb if that's ...
1
vote
1answer
3k views

Authorize adb in recovery mode

I need to authorize adb in recovery mode on my Galaxy S3 I9300 (international edition) in order to make a backup of my files. The problem is that I cannot boot the cyanogenmod which is install on the ...
1
vote
0answers
2k views

Protocol fault (no status) or Device not found error when sideloading

I'm using the Moto G 1st gen, mfastboot and Cyanogenmod. I've turned off MTP, enabled usb debugging and have set the android device to use the motorola adb interface in device manager. If i kill the ...
0
votes
1answer
529 views

Getting “???” and no permissions when using 'adb devices' on Linux

I am new to Android and ADB. This is my first time trying to install Linux on an Android device. I have been stepping though this tutorial. I am at step 5, where the tutorial claims I will need to ...
1
vote
0answers
244 views

Whatsapp folder in /data/ parition gone

I was reflashing CM10.2 on my GT-i9300. (Also did a backup with CWM 6 but the data partition was not backuped, which I did not noticed..) I booted the new Rom and installed Titanium Backup to recover ...
0
votes
1answer
121 views

Fastboot command not working as expected

When I connect my android phone in fastboot mode and enter fastboot devices ,I get no output at terminal ,but when I enter fastboot -i 0x1ebf devices I get an output.I need -i option with every other ...
2
votes
0answers
449 views

Android: Google Play - App Will Not Install - Why?

Hello everybody I face annoying error when, whenever I try to install this app I face many errors. Ok, per usual, I tried installing it through Google Play store but whenever I do so I get this error: ...
3
votes
1answer
6k views

adb pull - copy whole folder to computer

How do I copy a folder from my android device to a certain folder of my computer? if I use this command: adb pull efs It copies the contents of the efs folder to my computers root directory. I ...
0
votes
0answers
58 views

How to flash device with ADB key already accepted

I have a few Nexus devices I flash to different versions frequently for development purposes. It would be nice if the ADB key and so forth was pre-accepted after flashing. An idea I had to do this ...
0
votes
0answers
760 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 ...
2
votes
1answer
337 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
0answers
50 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 ...
0
votes
0answers
289 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
117 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 ...
2
votes
1answer
1k 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
6k 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
171 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
1answer
347 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
348 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 ...
-1
votes
1answer
437 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
0answers
221 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
116 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 ...
4
votes
1answer
534 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 ...
0
votes
0answers
39 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 ...
7
votes
2answers
28k 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: data/data/com.android.providers....
2
votes
2answers
221 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 ...
-1
votes
2answers
645 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 ...
0
votes
2answers
2k 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
0answers
304 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 ...
0
votes
0answers
156 views

adb devices gives same serial number for all Micromax devices

I have few micromax devices and I have different serial number for those in the box. But when I run the command adb devices for these devices, I get everything as 0123456789ABCDEF. Is there are way to ...
1
vote
1answer
73 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
vote
1answer
169 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 ...
1
vote
0answers
473 views

How to fix emmc memory showing 0mb?

Yesterday actually I messed my Xolo Q700. Actually I wanted to install a custom ROM "experia final" on it. But I didn't installed any custom recovery previously. So I installed TWRP recovery using ...
0
votes
3answers
225 views

Is it possible to wipe data from ADB without turning on USB debugging?

I'm on manjaro Linux. A friend of mine broke the screen of his note 3, it's working, the screen stays black though. He wants to get all his data from it and format it, wipe everything, he's not going ...
0
votes
0answers
576 views

Access sdcard via adb shell on CM-12.1 (Lollipop)

I have recently installed CM-12.1 on my Galaxy S2 and discovered I haven't enough room in /system partition. So now, in order to resize the partition I want backup the entire / of my Android or at ...
1
vote
0answers
91 views

set pr_set_dumpable value to any apk on android device

I am trying to debug sigsegv errors in different apk files and found that many apps disable dumping the logs by setting prctl(pr_set_dumpable,0). Is there any way to get around this and get the ...
4
votes
2answers
179 views

Protect ADB access via network?

I have several Android devices in a local network. (Android Set Top Boxes from Geniatech, running 4.2 Jelly-Bean) If these boxes have problems or need debugging, I simply connect to them via adb ...
1
vote
2answers
1k views

How to connect to multiple devices at the same time using adb?

Things I'm using: PC: MacBook Pro (Late 2013), OS X Yosemite version 10.10.4 USB: ORICO H7928-U2/U3 USB 3.0 Smartphones: LG G4, Samsung Galaxy Note 2 ADB version: 1.0.32 I'm trying to connect ...
3
votes
1answer
563 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 ...
0
votes
0answers
23 views

Nexus 7 debug output before system mount

I'm working on using a custom filesystem for the /system partition in Android 5.1.1 on a Nexus 7 (flo). At the moment, it appears that the system partition isn't mounting: when I power on the device, ...
10
votes
3answers
149k 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 ...
1
vote
1answer
2k views

Forgot Oneplus One pin. How to enable usb debugging?

I forgot my oneplus one pin. I have tried using google device manager and have tried putting in my pin (150+ times) to be prompted for my google account. I was thinking if it would be possible for me ...
1
vote
2answers
747 views

Reviving my Bricked Tablet via adb and Samsung's Download Mode

Okay, here's the story: I have a Samsung Galaxy Tab S 8.4". The OS doesn't matter, because it's gone. I had lollipop 5.0.2, decided to root it. OK, rooted it fine. Then decided to get CyanogenMod on ...
2
votes
2answers
14k views

Samsung USB Driver for Windows 10 - Android Studio

I've got an issue setting up the AVD in my Android Studio as Intel HAXM is not working with my Windows 10. So, I am trying to debug and run my projects with my Android device. However, after trying to ...
1
vote
1answer
161 views

Process List of Charging Powered Off Device

Is there any way to access or log the process list when the phone is off, but plugged into my computer charging? I'd like to see what system processes are running when the phone is connected to a ...
1
vote
3answers
2k views

Android Studio says: “No device connected” yet I already tried many possible solutions

Running Windows 7, and I have just downloaded the latest Android Studio version, and started a project. Now I'd like to test the application on my device but Android Studio says on the bottom left "No ...