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

After doing a adb full backup with sdk what we need to do for restore ?

After doing a adb full backup with sdk what we need to do for restore besides the usual command ? Need to wipe all data before restore ? Need reboot phone before restore ? After restore made is ...
0
votes
1answer
3k views

Fix Soft Bricked Samsung Galaxy S4 SCH-I545

I am new to all of this, and I am having trouble with my Verizon Samsung Galaxy S4 SCH-I545. I am on a mac, but also can run windows 7 in vmware fusion. A couple days ago, I successfully rooted my ...
0
votes
0answers
23 views

PC bluescreen when enabling adb on phone connected to PC via USB

I'm using Cyanogenmod 13 Nightly (Android 6.0.1) for LG G3 Beat and i tried to use adb but as soon as I enabled adb on phone the bluescreen on pc (Windows 10) shows up saying ...
0
votes
0answers
35 views

How to copy the System folder in stock ROM?

I have a Samsung Galaxy Note 3 sm-n900, i copied the 'system' folder from the root directory to my computer, i used the JoelDroid Lollipop Batch Deodexer to deodex my system, now i wiped my original ...
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 ...
8
votes
2answers
25k views

ADB not working, but Fastboot is

I recently bought a used Nexus 5. It came with the L preview on it, and I decided to flash CM 11 instead. My last phone was a Nexus S, and I've flashed various ROMs to that thing in the past. Using ...
0
votes
0answers
23 views

Bootloader menu not starting

boda impressped E351 DC with andoid 4.2.2 but I want to install another os and for that I need to unlock the bootloader but when I try to open it with the adb (adb reboot bootloader) the device ...
0
votes
0answers
45 views

Galaxy s5 neo with broken screen and touch - how can I recover data from device?

I searched a lot but I didn't find solution for my problem. Galaxy s5 neo with broken screen and touch. How can I recover data from device? Stock firmware, usb debugging off, no-root. Mobile phone ...
2
votes
2answers
11k 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 ...
1
vote
1answer
28 views

Device shows up as ????? in ADB [duplicate]

I am running Ubuntu on my computer and I plugged in my tablet to flash TWRP to it. I enter adb devices and here is the output: juniorRubyist@juniorRubyist-iMac:~$ adb devices List of devices attached ...
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 ...
0
votes
0answers
46 views

Adb reverse port forwarding in a VPN

I'm in scenario with 3 devices as follow: Device [A] is a computer with no internet access and is running a webserver on port 80 Device [B] is a rooted Android phone Device [C] is a computer running ...
1
vote
2answers
1k views

LG G2 is not showing up in ADB even if I check USB debugging

I can't find my device in ADB for my LG G2 phone running Android 4.2 ICS. I have enabled USB debugging. What did I miss?
6
votes
4answers
55k views

Control Android with broken screen from PC

My rooted Galaxy Nexus has a broken screen. How can I use my PC (ie, via ADB) to control the phone? androidscreencast would be the ideal solution, but its keyboard/mouse control feature does not work ...
0
votes
0answers
19 views

Where to place temp files? (with file permissions)

I'm currently developing a Rooting method for my device. I want it to be possibly executed right from a Terminal emulator, as the default shell user (not root), so that it doesn't require a PC. The ...
2
votes
1answer
2k views

How to find out currently running user name/ID from ADB

I am having Nexus 7 running multiple users. I am trying to find out which is currently running user using ADB. The best I could get so far was to check legacy directory linking which is either linked ...
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 ...
-2
votes
1answer
16 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 ...
7
votes
2answers
25k 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....
1
vote
0answers
33 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
47 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 ...
40
votes
5answers
46k 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 non-...
0
votes
0answers
40 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
51 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 ...
6
votes
1answer
10k 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 /dev/...
1
vote
1answer
55 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: http://forum.xda-developers.com/showthread....
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 ...
17
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
45 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

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
-1
votes
1answer
22 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
47 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
100 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
28 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: https://wiki....
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
26 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
17 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
103 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
137 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
35 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 ...
0
votes
1answer
49 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
43 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 ...