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

1
vote
1answer
69 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
164 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
403 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
206 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
557 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
88 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
166 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
474 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
22 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
137k 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
664 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
156 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 ...
2
votes
1answer
7k views

How to use ADB to list remote directories?

I used adb push lol.png /storage/sdcard0/ to push a test file to my Galaxy S6, and the file was transferred successfully while failed to show up in my Android File Transfer. This is probably due to ...
0
votes
0answers
43 views

Android Highscreen Alfa R stuck in recovery mode, help?

today the phone got stuck during normal usage and I had to unplug the battery in order to restart it. However, it is stuck in recovery mode. Selecting any option given by the recovery will just close ...
1
vote
2answers
1k views

LG Escape 2 - bricked

I tried running a script that I got online. I downloaded the whole file which included the .bat file. I tried running the .bat file while forgetting that I needed to download the drivers (from the ...
1
vote
0answers
634 views

Error: package x.x.x is unknown, for “run-as (classname)” command on Samsung Galaxy Note 10.1 running Android 4.4.2

I'm using a Samsung Galaxy Note 10.1 tablet, Android 4.4.2. As a developer, I need to be able to see my files in /data/data/(classname), but I don't want to root my tablet. Found out one can read ...
0
votes
0answers
14 views

Is Wireless ADB possible? [duplicate]

Is there, how can I setup, a form of wireless adb? I would like it control and logcat my device whilst it is borrowed by others.
1
vote
0answers
112 views

How to backup media without logging into the phone?

The screen of my phone is not responding. I tried to restart the phone but this didn't correct the problem. Now, I can't access it, and log in to my phone, so I probably need to take the phone to the ...
1
vote
1answer
314 views

turn the speakerphone on a call? ADB Shell

I'm trying to find a command in adb shell that lets me turn on the speakerphone when I start a call. First I make the call adb shell service call phone 1 s16 "" s16 "#####" the call starts and I ...
0
votes
1answer
732 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
3k views

Nexus 5 not detected by ADB

When trying to connect to my Nexus 5 (5.1.1) in Android Studio (1.0.1) my device is not found. I am running Windows 8.1 Pro. In the [SDK]/platform-tools directory I ran the command: adb devices ...
1
vote
1answer
542 views

ADB Wi-Fi connection disconnects when device goes to sleep in Moto G 2014

I can connect the device via USB and manage to play the app from Android studio without issues. Then I do adb tcpip 5555 and adb connect <IP_ADDRESS:PORT> without problems. Same goes for running ...
0
votes
2answers
135 views

Does adb pull verify files automatically?

Does adb pull verify files automatically? For instance, does it check the hash/checksum of pulled files to see whether they were pulled correctly? I'm guessing it does, but I haven't found an answer ...
1
vote
0answers
235 views

Cannot install Google Camera on Nexus 5 running CM 12, neither from Play Store, nor with ADB

I need to reinstall Google Camera, and I tried to remove it via Settings -> Applications. Everything went fine, but when I tried to install it back via Play Store, it said: Unknown error code ...
0
votes
0answers
54 views

Samsung sidesync run from pc

my phone's lcd and touch is broke, and I'm trying to use samsung sidesync to access phone. Problem is that that I can't run sidesync app. I have tried to use ADB but I'm 100% sure that I have disabled ...
6
votes
2answers
6k views

adb backup command on non-rooted device creates an empty backup file?

I recently tried to backup my Motorola Moto G2 XT1068 phone running Lollipop 5.0.1 and after connecting it over USB with usb-debugging ON and I ran the adb backup command to backup my device ...
0
votes
0answers
111 views

ADB restore for a single package fails in Samsung Galaxy Tab 4 SM-T230NU

I have a simple script to keep two tablets in sync for a single application's data. Specifically, I run a backup without the APK (I just want to sync the data) i.e. adb backup -noapk com.some.app I ...
2
votes
0answers
527 views

File copied to /system/bin keeps disappearing

After copying Sqlite3 to by /system/bin folder, the file disappears. I can successfully change the folder to rw and modify the file properties on sqlite3. However, as soon as I remount my /system as ...
1
vote
0answers
269 views

Cannot connect Nexus 7 to computer to see internal storage after flashing Cyanogenmod

I've managed to flash Cyanogenmod 12.1 onto my Nexus 7 2012 to give it a new lease on life, but now I can't connect it to my PC to view it as a storage device! The Nexus 7 shows up as a "media device"...
2
votes
1answer
492 views

Button to allow ADB backup not working

I have a Oneplus One running CyanogenMod 12.0. (Based on Lollipop 5.0) I'm trying to create a backup using ADB. I executed the command, and it gave me the usual prompt to unlock my phone and allow the ...
0
votes
0answers
278 views

/system/bin/mediaserver and /system/bin/drmserver dont want these but Android disagrees

I used this link Use Adb to disable Media Server hoping to permanenenly disable the battery hogging media server process . It did not work Mediaserver still runs on my Android 4.4 Jiayu S3 phone as /...
1
vote
0answers
1k views

How to delete SU binaries without root?

My Android device used to be properly rooted, I had root access to things, but the root manager (old version of vRoot, no computer) was a virus. So, I deleted the root program and I was gonna root ...
1
vote
0answers
54 views

creating mount point in root mode

When trying to expand tablet memory (from 500 Mb to 1G) I made a mistake when I was applying Gparted. I reset my device to the fabrication settings and now I can't mount sd card (no the real sd card), ...
0
votes
0answers
74 views

Samsung Galaxy S4 - no adb devices

I wanted to install a custom ROM on my old Galaxy S4 I9500. I installed CWM recovery at first with Odin, and it worked really well. Thereafter, I tried side-loading or pushing the custom ROM using ...
2
votes
1answer
219 views

ADB authorization prompt missing in Sony Xperia Z3 Compact (D5803)

I just bought a Sony Xperia Z3 Compact (D5803) and I'm trying to root it. I'm following this link for instructions, but I got stuck at the "Rooting with exploit" step as I can't authorize the ...
2
votes
1answer
87 views

defining functions in TWRP

In "normal" android you start up a Terminal emulator or do "adb shell" and then from there you can defining a function by: function name { #code } name #runs "name" But by using adb shell over ...
4
votes
1answer
5k views

How to backup data on a non-booting, unrooted phone?

I have a Samsung Galaxy S3 (SGH-I747 for AT&T) that is not rooted. Recently it started shutting down in the middle of use and not start up again. At first, plugging it into the charger would get ...
1
vote
1answer
1k views

Toggle location services via adb in Android 5

I see this answer from 2013, but now there are options for High Accuracy, Battery Saving, and Device Only. Also, there was no command for disabling location.
0
votes
0answers
468 views

Do not use Google for captive portal detection

I'm in China, where Google is blocked, so my phone is not connecting to my home network and displaying an exclamation mark on my mobile data and wifi icons, as it probably cannot connect to Google. I ...
2
votes
1answer
282 views

Samsung note 8 n5110, adb sideload <filename>

I have a soft-or-hard bricked Samsung Note 8, n5110 and now would like to rebuild it to a somewhat workable state. The device has a flaky power-charging system and may not be worth repairing. I use ...
1
vote
2answers
979 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
2answers
1k views

How to copy the entire contents of an android device to a linux PC

Ok, so some background, My original goal was to transfer some recently purchased nook .epub books to my PC so I can remove the DRM via Calibre. However, nook has removed the nook books from the usual ...
2
votes
2answers
7k views

What does “Archive does not contain 'android-something.txt'” mean?

So I am trying to flash my OnePlus One with CM12s through fastboot on command prompt, but whenever I type fastboot update romname.zip I am presented with: archive does not contain 'android-info.txt' ...
4
votes
1answer
395 views

Force 720p Resolution on InForce 6540

I'm working with an InForce 6540 board that has 5.0.2 Lollipop installed. I am trying to connect a display device that has a max resolution of 720p at 60hz. I am using a micro HDMI connection. The ...
0
votes
0answers
163 views

How to check usb connection time duration using adb command?

Is there any way to check when and how long was my android device connected via usb? I cant find any adb command to check it.
4
votes
1answer
264 views

How can I check when was the phone rooted?

In the adb shell command when I entered su, it prints: su root@hxjgeakt:/ # It means my phone is rooted right? How can I check when exactly was the phone rooted?