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
1answer
4k 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 ...
-1
votes
1answer
13 views

How to start a app and have it start a WebDAV server automatically in Windows?

I need to have some questions answered please. I want to start an app called WebDAV and have it start the server automatically. Do I find out the com.example.MyApp in the Settings/Apps section so I ...
0
votes
2answers
5k views

Need one-line adb shell su push & pull to access /data from Windows batch file

I've been struggling for two days. Hope for help here. I wrote a Windows batch file that replaces Amazon lockscreen ads with user images on rooted kindle fire hd 7", 2013 (kfsowi). Just learned I ...
2
votes
1answer
2k views

ADB Shell In Recovery Mode - Error:Closed

I smashed my display pretty good today and am unable to use the digitizer. The upper half of the screen is barely visible and the lower half is black. I have debugging enabled on the phone but I can't ...
2
votes
2answers
10k views

(Re)boot an Android phone from USB

I own a Samsung Galaxy Note 1 (not rooted) and its lock button doesn't wrok anymore. That means I couldn't boot my phone if it happened to be turned off. But I need to restart it now because it's ...
7
votes
2answers
22k 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: ...
1
vote
0answers
23 views

adb devices -l not showing USB qualifiers?

I've read in several places that calling adb devices -l will return the both the serial numbers and USB qualifiers for the attached devices. However, when I issue the command I only get the ...
3
votes
1answer
4k 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 ...
1
vote
0answers
15 views

adb version says 1.0.32 but droid-explorer says its 1.0.29 and won't start

Using win7 64bit. I downloaded just the commandline tools from developer.android.com; the zip not the installer. I copied everything to c:\dev\android\sdk\ and ran the SDK Manager and updated ...
39
votes
5answers
44k 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 ...
0
votes
0answers
19 views

Can android device issue adb commants to itself?

I made a simple shell (actually windows batch) script that automates a task on android phone. It can be ran on any computer. I thought that if I convert the batch to linux sh script, I could issue the ...
0
votes
0answers
15 views

Enable USB debugging on a broken screen using ADB Build.prop or Default.prop (Permission & Root Issue) [duplicate]

I have a Samsung Note 2 with a Broken screen/digitizer. So no haptic feedbacks. Anyway the USB Debugging is already on and I could use the Remote tools like SideSync, Mobizen & other softwares on ...
0
votes
0answers
28 views

Extract Contacts from ADB backup?

I have a full backup from Cyanogenmod 12. I need to extract the Contacts and add them to Cyanogenmod 13. I found attempting a restore just breaks things because it restores dalvik data and system ...
2
votes
1answer
4k views

How to authorize device for adb when the touch control is completely broken?

My Nexus 7 2012 has fallen from a table and though the display as well as the device itself is fine, the touch control is completely broken. You cannot tap or touch anything. I believe I can manage ...
5
votes
1answer
9k views

Failed on cp file to /system - Cross-device link

I'm trying to mv .apk file from my /sdcard to /system and getting following error: failed on 'XXX.apk' - Cross-device link I did remount my /system as rw root@ghost:/ # mount -o rw,remount ...
1
vote
1answer
21 views

Micromax a104 SP flash not detecting mobile and stuck in bootloop

Device Micromax A104. The phone is not rooted neither the usb debugging mode is on. the phone was fully affected virus or some other bugs. It was hanging and responding very slowly. so i decided to ...
1
vote
1answer
4k views

Sony Xperia Z1 won't start up again!

As you may know, you have to backup the TA-partition before you put a custom ROM on the Sony Xperia Z1. I've backupped the partition with this .bat file: ...
0
votes
1answer
5k views

Asus memopad7 170C, unlocking bootloader fails

I'm trying too root my Asus memo pad 7 (170C), I've tried EVERY method, using KingoRoot, SuperOneClick, Frameroot, motochopper. None of them worked. So I decided to do the rooting stuff myself, first ...
16
votes
3answers
16k views

Is it possible to activate the “USB Tethering” Android setting from the command line?

I would like to activate "USB tethering" from within a bash script, so is there any possibility to run a command line with adb shell to change some Android settings ? Edit1: The following command ...
1
vote
0answers
28 views

ADB: how to use it over TCP/IP during USB accessory development

I'm using an evaluation board from Atmel (based on SAM D21 Cortex-M0+ MCU) for developing a custom Android USB accessory and related app. I'm new to Android development, but I understood I need ADB ...
0
votes
0answers
30 views

Logcat not working on my LG G4 (H815)

I can't read the logcat from my phone. As an Android Developer, this is terrible for me. The message that I'm getting is: logcat read failure Looking the sources, it seems like a generic error: ...
-1
votes
0answers
15 views

Can't pull fle platform.xml

Adb doesn't let me pull file platform.xml from /system/etc/permissions When i do pull command it says "Permission deined" Can someone help me? Thanks in advance.
1
vote
4answers
1k views

Android ADB drivers installation error

I am trying to install the usb adb drivers. I turned the debugging mode on in the settings of my phone, connected to the PC. I click update drivers and manually selected the folder where the drivers ...
2
votes
2answers
3k views

Disabling “Storage space running out” notification in Status Bar?

Is there any way to disable the "Storage space running out" notification on Cyanogenmod 10.1.3 [Android 4.2.2], through ADB or otherwise ?
0
votes
1answer
2k views

Enabling adb on Beaglebone Black

I have successfully loaded TI-Android pre-built image on a BBB which was downloaded from here. Everything works well on the device. I have been trying to enable adb without much luck. Basic HW and SW ...
0
votes
0answers
23 views

move app_backup directly from virtualbox to physical device via adb and pipe

On my smartphone, I do not have Google Play Store (and all the other Google stuff) installed anymore (only F-Droid - I am almost Google-free!); but I still need some apps from Google Play on my ...
0
votes
3answers
4k views

How to batch install apks from computer to android without actually touching my android

I want to batch install apks from my desktop directly. Such as I downloaded many apks on desktop and want to install apks without actually touching my android
2
votes
2answers
3k 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. ...
-1
votes
1answer
17 views

Writing to files from batch using adb not working

I am trying to have an automatic batch file replace a file on my android device, it works when i type it in manualy but for some wierd reason it doesn't in the batch file. Here is my code: @echo off ...
0
votes
0answers
31 views

adb over tcp/ip doesn't work

I connect Android Samsung phone to USB host of my developer machine and type prompt>adb devices List of devices attached 80bf631f device prompt>adb tcpip 5555 restarting in TCP mode ...
4
votes
2answers
88 views

Half of touchscreen is unresponsive. How can I make Android only use the top half (rotated by 90 degrees)

So I have a broken LG G2 and a near-empty bank account, so buying a new phone isn't exactly an option right now. The bottom 50% of the screen doesn't respond to touch. Right now I am running ...
1
vote
1answer
22 views

Nexus 5 unable to reflash

I have a nexus 5 which has ubuntu touch on it. The OS is broken and won't boot. I am trying to flash CyanogenMod to it, i've hooked it up to my ubuntu server, and am following this: ...
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 ...
1
vote
0answers
21 views

Why doesn't my computer list Android devices in Device Manager, or detect my Sony Xperia Play (R800)?

I have an ancient Sony Xperia Play that I am trying to root. However, I can't even get it to show up on my computer. It's possible that I accidentally deleted my drivers by running an unroot script. ...
0
votes
0answers
16 views

Android App is running neither on AVD nor Android Phone

i have a windows 10 home edition PC. My android apps built on Android Studio are not running(neither the AVD nor Android Phone). In case of AVD, my PC does not support VT-x i.e Hyper-V technology(Only ...
0
votes
0answers
48 views

Allow USB debugging popup does not come in my new PC

I am using a Nexus 10 Tablet( Android 4.4.4) . I have 3 PCs where I was already doing android development and one new PC on which I started today. All are windows 7 64-bit Service Pack1. The only ...
2
votes
1answer
74 views

How do I get my device detected by ADB on Linux?

I just got my shiny new Wileyfox Swift – and before putting it to use I want to oem unlock and root it (as I usually do with new devices ;) Trouble is, though usb-debugging is enabled on the device, ...
4
votes
0answers
24 views

adb restore: 'Invalid restore data'

My Nexus 6 had a hardware fault so I sent it off for RMA. Knowing in advance that it was highly likely the service people would factory reset it during the process of fixing it, I decided to do an adb ...
3
votes
5answers
7k views

The command 'adb root' works, but 'adb remount' results in “Operation not permitted” message

I'm trying to remount /system to copy some files to it. I tried the following with adb: adb root adb remount The first command works fine (because my phone is rooted), but the second tells me that ...
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 ...
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 ...
0
votes
1answer
31 views

Devices are not found when executing command (but “fastboot devices” finds them)

I'm trying to install CyanogenMod on Nexus 4 and so far I had done this: - installed google driver; - enabled developer options on my phone; - enabled debugging by USB; - unlocked my device using ADB; ...
1
vote
0answers
35 views

HTC stuck at logo screen while entering recovery mode

I want to install Kitkat 4.4.2 Rom to my HTC Sensation XL android phone. I followed instructions and I installed CWM (ClockWorkMod) but I can not enter recovery choice. When I click on that there ...
0
votes
1answer
2k views

How to set WIFI proxy via adb shell?

Genymotion 2.2 & Android 4.0 I want to set a global HTTP proxy in Android, and all Apps will go through this proxy. Now I can only do this in GUI as following way: Wi-Fi -> WiredSSID -> Modify ...
1
vote
1answer
2k views

ADB Debugging on LG Watch R

today i got a LG Watch R for a programming project - first i had a Gear Live that was now replaced. When i follow the guides step by step i never get the "authorize this computer" like i did with the ...
1
vote
2answers
570 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 ...
3
votes
2answers
3k views

File “has unexpected contents” error when sideloading Android 5.0

I have a Nexus 7 (2013) (wifi) and am trying to update the software to Android 5.0. When I try to sideload I get this error: Installing update... mount: failed to mount ...
1
vote
0answers
23 views

Can't install TWRP LG Optimus G

This thread of mine is partly copied from XDA. I can't get through following issues. Phone's firmware is full vanilla since the very beginning - only updated from Jelly Bean/ICS to 4.4.2 with OTA. I ...
1
vote
1answer
2k views

Failed updating and uninstalling app with ADB

I installed Better Battery Stats (BBS) v2 from XDA and quickly realized that the actual required version is 2.1. So I tried to uninstall BBS via ADB but that failed because BBS is a system app. Now ...
2
votes
1answer
211 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 ...