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
8 views

Is it possible to bind a TCP port or address to a real block device?

(Device rooted, forced Selinux permissive via kernel patching, frowny face) I know I can force adbd to listen/connect to a different TCP port: setprop service.adb.tcp.port 5555 Then I can restart ...
0
votes
0answers
13 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.
0
votes
0answers
17 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
41 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
0answers
44 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
65 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 ...
0
votes
0answers
28 views

Running an Android App in Android Studio [closed]

I am facing a problem .. ADB not responding. If you'd like to retry, then please manually kill "adb" and click 'Restart' Errors from ADB: adb: Unexpected exception 'Cannot run program ...
1
vote
1answer
49 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
13 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 ...
0
votes
0answers
3 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 ...
0
votes
1answer
52 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 ...
-1
votes
0answers
29 views

Unable to execute adb shell command from Android app [closed]

I want to change my screen resolution. For that I am using adb shell command wm size 600x800, but it's not working. Here is my code : p = Runtime.getRuntime().exec("wm size 600x800"); p.waitFor(); ...
0
votes
0answers
20 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
64 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
votes
0answers
12 views

ADB port forward -

I have a server and a home computer. Android Studio is installed only on a server. I can run Android Studio when I am on a home computer even though my home computer doesn't have Android Studio ...
1
vote
0answers
55 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 ...
1
vote
0answers
33 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
24 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
1answer
63 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
14 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
28 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
0answers
32 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 ...
1
vote
0answers
14 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 ...
3
votes
1answer
95 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
59 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
54 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
29 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
0answers
48 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 http://bit.ly/1KYqnxY but it has ...
0
votes
2answers
52 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 ...
-1
votes
1answer
55 views

adb devices works but adb reboot-bootloader doesnt boot into fastboot mode

I am looking to install ubuntu on LG Optimus Gpro, but I have a problem on it. adb devices shows device is connected through adb daemon, but adb reboot-bootloader or adb reboot bootloader doesnt ...
1
vote
2answers
64 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' ...
3
votes
1answer
53 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
46 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
159 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?
0
votes
0answers
42 views

How can I get into my device using command prompt?

My OnePlus One is partially bricked. When it turns on, it does not pass the "1+ powered by android" screen. I do not know what caused this, but there is a more detailed explanation of my issue here. I ...
0
votes
0answers
30 views

Devices names from android system

for several days I'm trying to find devices ( accelerometer, g-sensor etc ) names and placement of theirs drivers? I'm new to android and linux and can't figure out where can I find this info. I was ...
1
vote
1answer
190 views

Backup/Restore SMS/MMS via ADB on a non-rooted device?

Is there any way to backup/restore SMS and MMS messages using ADB, when the device is not rooted? adb pull won't work here, as the corresponding database ...
0
votes
0answers
40 views

My android is not turning on

My android(4.0) is not turning on.When I press the power button it shows the company logo and stays like that(it stayed for 1 day like that!).I may have accidentally removed paths using type fresh.The ...
0
votes
0answers
81 views

ADB (in recovery-mode) gives “adb server out of date. Killing…” followed by “error:closed”

I connect my device to my PC in recovery-mode, when I write adb devices I get: List of devices attached 4d00ededbeaca0bd sideload However, when I try to adb shell I get: error: closed ...
1
vote
1answer
85 views

How can I access my Android Internal Storage (data/data) from the pc?

Not the SD Card that downloads, folders, gallery, etc. goes to. I mean the data/data internal memory of the Android device, where game saves, factory apps, etc. goes to. As much as I'd love to root ...
0
votes
0answers
105 views

How do i recover my wifi pass from android using adb?

I'm connected to a wifi spot with my android, but i'd like to connect with my laptop aswell. I don't want to root my phone (warranty and stuffs) nor reset the router, as it has complex settings on it. ...
2
votes
0answers
104 views

BOOTLOADER - USB Device Not Recognized

I am currently using a ROOTED "Huawei MediaPad 7 Lite" tablet and am having issues entering the bootloader. When powered on and connected to a PC, the device is seen in adb using the command adb ...
0
votes
0answers
109 views

Is it possible to downgrade firmware via ADB sideload?

I have an Asus zenfone 2. I want to downgrade it from firmware 2.19 to 2.18. They both are built on Android 5.0
0
votes
0answers
61 views

(adb) How to Backup things from /data/data using a shell terminal emulator on the same device without root?

~ I have Nexus 5 running Android L 5.1.1 ~ I want to backup one App cach from /data/data ~ I don't concider rooting my device ~ I installed a Shell Terminal Emulator from the app store. ~ I've ...
1
vote
1answer
152 views

ADB doesn't recognize my device in recovery mode

I have an ASUS ZenFone 2. I have tried using ASUS USB drivers and Google Android composite ADB drivers on my computer, but neither recognize the device while it is in recovery mode. Can anyone help ...
-1
votes
1answer
119 views

ADB sideload and fastboot uses. What's the difference?

1) If i want to flash a stock rom what should I use adb sideload or fastboot. I have seen on youtube people using both of these. Are both of these similar or different. Sorry if this sounds stupid but ...
0
votes
0answers
27 views

Nexus 7 - Stuck on boot animation. Fastboot detects device but ADB doesn't

My Nexus 7 (2012, WiFi) is stuck on the boot animation. I can detect it in Fastboot but not with ADB. Is it still possible to backup the data before I wipe it? It's not rooted and the bootloader is ...
0
votes
0answers
6 views

Could not be downloaded due to errow 905 [duplicate]

I downloaded fifa 15 and deleted it,I tried to redoel oad it and it wasn't being downlo ad due to errow 905 .
2
votes
0answers
33 views

ADB Screen Record with Audio

I have prototype hardware and an application that produces sound. I would like to use ADB to record, the screen, audio out and audio in, all at the same time. Is there a way to do this? Note: Because ...
1
vote
1answer
43 views

“adb devices” successfully shows device, but “adb connect usb” inevitably fails, any suggestions?

I have an ASUS ThinkPad, Android 4.4.2, Kernel 3.10.20. I've checked Settings->Developer Options->USB debugging. I've disabled Wi-Fi and BT (because I've seen some devices have some conflict there). ...