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

Connect to Device from remote machine/server

I'm using a software interface, with adb, to connect to my android device. My issue is, that my client, needs something like a daemon on the devices to connect remotely, without need to plug the ...
0
votes
0answers
25 views

{X551} Could not flash any custom recovery

[A] This is my current device spec.: Model: Infinix Hotnote X551 16GB ROM + 2GB RAM Android 5.1 Lollipop [B] I bought it in Vietnam in Jun 15th 2016, and after 1 week, I could not flash any custom ...
0
votes
0answers
23 views

How to stop apps from doubling overscan?

For some reason a chunk of the digitizer broke on the bottom of my phone. I tried to use adb shell wm overscan 0,54,0,324 to resize my screen smaller until I can get a new phone, but it's giving bad ...
0
votes
1answer
108 views

how to take complete backup of my android device using adb [duplicate]

I'm trying to take full backup using adb backup -all -f <path> and it took backup and stored in my PC. When I try to restore it using adb restore <path> then it restores onto the target ...
0
votes
0answers
58 views

Run a Tasker task via ADB

I'm looking for a way to run a Tasker task named test via ADB command. I found this thread Running a tasker task via SSHDroid (or adb shell) and tried but did not succeed. All I got was adb shell am ...
1
vote
0answers
98 views

How to remount to rw?

So recently rooted my phone, after a few days all google related apps have stopped working and I get the "no connection error". I have looked at so many different tutorials and what not and nothing ...
0
votes
0answers
117 views

Android soft brick framework-res.apk

Ok, so I screwed up my phone pretty bad. so i pushed a framework-res.apk and when I reboot I get black screen, so I factory reset, and wiped cache. But it didn't fix the problem and I don't know how ...
0
votes
0answers
17 views

ADB ls doesn't sort by name

Why ls in adb shell doesn't sort by name? Here is what I am getting in adb shell: AccuWeather apkfiles.com.apk.tar Amazon Shopping apkfiles.com.apk.tar GO Weather EX V5 apkfiles.com.apk.tar ...
0
votes
1answer
28 views

adb sometimes won't connect untill after a lot of tries, and sometimes never

adb sometimes won't connect. I get this behaviour. What's going on? $> adb kill-server [ user@host ] ~ $> adb connect 192.168.3.160:5556 * daemon not running. starting it now on port 5037 * * ...
0
votes
0answers
55 views

How to boot from microsd, fix the bootloader and reinstall the android on ASUS MemoPad ME302C?

I have accidentally flashed a wrong image for fastboot update and now when I start my tablet in any kind of mode (normal, recovery or charging) I always fall into a bootloop: First the Intel icon ...
1
vote
1answer
134 views

Data recovery from android device with broken screen

Situation Summary - I have an Android device with a broken screen, LCD and touch I have an android phone (BQ Aquaris E4.5 Ubuntu Edition, which I have flashed with the Android firmware for the E4.5 - ...
-1
votes
1answer
26 views

Is it possible to delete CWM backups without CWM

Previously I have installed CWM as my recovery but then I have flashed the stock rom back. CWM was removed as a result and I can no longer access CWM. I am trying to delete all the backups I made. ...
0
votes
1answer
35 views

Phone is plugged into computer via USB, charging but not entering adb mode

I am on Linux, so this is not a driver problem. I have a Huawei Union, USB Debugging is enabled in developer options, and I have previously been able to use ADB when the device is plugged in via USB. ...
0
votes
0answers
145 views

CWM 13 sdcard0 Storage corrupted

I've just installed a CWM 13 on galaxy S2 I9100, but /storage/sdcard is not mounted. I have already mounted /data with the command: ls -l /dev/block/platform/dw_mmc/by-name/ to check the ...
0
votes
1answer
23 views

How to check if a package is enabled via shell?

I have been writing a tasker task to enable/disable a package. I know adb shell pm enable com.android.contacts will enable the package and adb shell pm disable com.android.contacts will ...
0
votes
0answers
10 views

LG Optimus G VDF KitKat unbreakable ROM

guys. I'm still facing the problem that I've stumbled upon a while ago. I updated my Optimus G with OTA from vanilla JB to vanilla KK (E97520b-VDF-XX). Since then (I suppose) phone became ...
0
votes
1answer
41 views

Restricted Google Play Service hangs up the booting process

I use oneplus one with CM13. There is a privacy guard that allows to block any permission for any app/service. I applied this feature to Google Play Service. Now it asks me allow some permission and ...
0
votes
0answers
70 views

Remove 'Airplane Mode' from long press power button

Is there a way to PERMANENTLY disable 'Airplane mode' from showing through adb? I want it to disappear when you long-press the power button. I'm pretty sure it is a simple script to run in adb, but I ...
0
votes
1answer
63 views

Problem in rooting

Two weeks ago I tried to root my android phone using Kingo root app on android but somehow it went wrong and it stopped but it copied the Superuser.apk to system/app and now I want to delete that file ...
0
votes
0answers
25 views

How can I use “adb over network” in Moto G?

I found option for "adb over network" in some devices, but cant able to find in Moto G 3rd Gen Is there any way to use "adb over network" in this device. Thank you.
-1
votes
2answers
66 views

ADB doesn't detect the phone [duplicate]

My device is stuck in bootloop and my USB debugging is disabled. When I type adb devices in CMD, it says adb is not recognized as an internal or external command operable program or batch file. Please ...
0
votes
0answers
27 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 ...
1
vote
1answer
367 views

adb backup on Marshmallow - is it different?

Device and settings: Moto X Play ( Stock 6.0.1), unrooted, USB debugging enabled in developer options and verified using adb devices. Other USB/ Developer options, as in pic below Enabled desktop ...
0
votes
1answer
40 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 ...
1
vote
0answers
53 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 ...
0
votes
0answers
26 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
65 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 ...
0
votes
0answers
61 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
1answer
32 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 ...
0
votes
0answers
22 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
17 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 ...
1
vote
0answers
41 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 ...
1
vote
0answers
69 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 ...
0
votes
0answers
65 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
17 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
62 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 ...
1
vote
1answer
89 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
0answers
60 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
1answer
119 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
1answer
28 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
36 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
0answers
81 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 ...
1
vote
1answer
37 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
0answers
31 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
251 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
260 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
48 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 ...
1
vote
0answers
75 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 ...
1
vote
0answers
35 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 ...