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

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 ...
4
votes
0answers
207 views

Setting Default applications through ADB

I have an android device (Android 4.4) with two launchers. One comes with the device and the other one is home made. I have the following questions regarding this scenario: How can I set the default ...
3
votes
0answers
35 views

What represents 'bootloader' in the possible outputs of `adb get-state`?

I recently employed the use of adb get-state and decided to know further about it. Running adb inter alia shows: adb get-state - prints: offline | bootloader | device I intend to ...
3
votes
0answers
349 views

I/O errors opening files in data partition

I'm trying to repair a Moto G (XT1008, unlocked) device. When booting normally, the motorola splash finishes and the android desktop shows up for one second, then a bunch of pop ups show up informing ...
3
votes
0answers
330 views

Nexus 6 automatically remounting system read-only, deleted files returning

tl;dr I mount system rw I try to copy/update/write /system/xposed.prop System is auto-remounted ro, causing the write to fail (applicable to a variety of workarounds) Moving/renaming/deleting files ...
3
votes
0answers
106 views

Cannot remove/rename/move build.prop, new insights

I've already asked this question before but I haven't gotten any progress, but did note some things. First the problem again. I soft bricked my phone by editing a line in build.prop, specifically ...
3
votes
0answers
319 views

su doesn't give root acess

I have an HTC Sensation and I'm using Linux on my workstation. I would like to switch S-Off on this phone. I found documentation, but when I type su in adb I don't have root access: shell@android:/ $...
3
votes
0answers
651 views

I can't see new files throught windows explorer

i can't see my new(!) files on android throught windows explorer while i can do it by ES explorer or adb shell. Is there any way to fix it?
3
votes
0answers
707 views

Is it possible to clear-default of an app using an ADB command?

Not sure if that's the place to ask this (maybe stackOverflow is better), but here we go: Background There are plenty of possible commands that you can perform by using ADB. I use many of them on my ...
3
votes
0answers
2k views

No confirm prompt when trying to use adb backup

I'm trying to do an adb backup of my Galaxy S3 (i747m), but after receiving the "Now unlock your device and confirm the backup operation" order from adb, I never receive the prompt on the device. It ...
3
votes
0answers
2k views

adb input swipe to unlock slide screen lock and open notifications

When I use the command adb input swipe, the slider slides all the way to the right, but does not 'click', so the screen does not unlock. I calculate the coordinates based on the (not visible) 'swipe ...
3
votes
0answers
977 views

Rooting/unlocking Android Nexus One with broken power button using Linux terminal tools

I am attempting to get Cyanogenmod onto my Nexus One, but am running into far more problems than expected. The information on rooting Android devices seems heavily fragmented across the web and the ...
3
votes
0answers
627 views

Error: “reloc_library cannot locate 'fdatasync'”

I have my phone connected to my laptop via the USB cable and ADB is able to identify the device. When I run adb devices it returns the phone in the list of connected devices. Running the command adb ...
2
votes
0answers
209 views

Using Remix OS(Android-x86) terminal shell to turn off the touchscreen

I have recently installed Remix OS on my PC, and now it's like a craze. Nothing worked. I always think it was the problem with the touchscreen, because EVERY operating system I used on my PC, the ...
2
votes
0answers
160 views

Creating a backup with adb results in 41 byte file

I have an old droid RAZR Maxx (4.1.2) that I decided I want to root, but I want to make a backup first just in case. I've followed instructions from this site: http://www.howtogeek.com/125375/how-to-...
2
votes
0answers
88 views

ADB Debugging over wifi not connecting

So I am trying to connect my device to adb over wifi. I have been following this tutorial http://codetheory.in/android-debug-bridge-adb-wireless-debugging-over-wi-fi/ I have been doing this adb ...
2
votes
0answers
21 views

Why not autostart PPP?

In the adb docs, under PPP it says "Note that you should not automatically start a PPP connection." Anybody know why this is discouraged? I'd like to do exactly that when I plug my tablet into my ...
2
votes
0answers
11k views

adb shell -> su: not found

How can I overcome this problem? Devices: Samsung Galaxy TabS - Android 4.4.2 HTC M8 - Android 5.0.1 The two devices have the same problem.
2
votes
0answers
643 views

How do I remove orphaned permissions that are preventing an app reinstalling on Android lollipop

I have a ZTE phone I'm unable to reinstall facebook on using the Google Play Store - I get the notorious -505 unknown error. If I install a downloaded facebook apk using adb I get the following error....
2
votes
0answers
452 views

Android: Google Play - App Will Not Install - Why?

Hello everybody I face annoying error when, whenever I try to install this app I face many errors. Ok, per usual, I tried installing it through Google Play store but whenever I do so I get this error: ...
2
votes
0answers
173 views

Enable bluetooth tethering via command line

Is there a way to activate the bluetooth tethering mode in Lollipop using the command line? You can do it for usb tethering by running the command service call connectivity 30 i32 1 Is there a similar ...
2
votes
0answers
588 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
437 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 ...
2
votes
0answers
175 views

White screen while charging when phone is off

I'm using my phone (Lenovo A660) since more than two years. Usually, I do not boot the phone to often (approximately once a month). However, I recently realized when I turned of the phone, that the ...
2
votes
0answers
2k views

Will installing Google Play services to SD Card Mess my phone up? + Google play app info uninstall updates button GONE

Okay, So i am running a Sony Xperia E1. It is not rooted or anything like that. Here is a load of information about it: - Free space on Internal: 2GB (Enough to update GP Services, but if you read ...
2
votes
0answers
109 views

adb v backup & restore

Two ways to back up apps are adb (for example, adb -apk -noshared -all) and backup/restore (settings - backup % reset - Backup my data, also known as google backup). What's the difference? Is one ...
2
votes
0answers
126 views

extSD card does not work after adb push to /mtn/extSdCard

After I run adb push cm-11-20141115-SNAPSHOT-M12-i9300.zip /mnt/extSdCard the command replied me 3949 KB/s (223217798 bytes in 55.194s). After that my micro SD-card is not detected neither by device ...
2
votes
0answers
306 views

How to root from adb?

I have a tablet called General Mobile E-Tab 4. I bricked it. It stays on load animation. I can reach recovery but there are 3 options: reboot device wipe data/factory reset wipe cache partition I ...
2
votes
0answers
484 views

Asus Transformer Tab tf300t stuck on asus screen. No ADB, no fastboot, no recovery, no os

I'm very happy with cm11 on my Galaxy s3 so i wanted to try it on my tf300t. First i unlocked the bootloader which i succeeded in doing. Then i flashed clockworkmod recovery via adb. However, when i ...
2
votes
0answers
4k views

SDCard permission issue

I have a Samsung S3 which I have installed Cyanogenmod on with a view to carry out some procedures with root permissions. At the minute I am trying to create a .img file of the userdata memory block ...
2
votes
0answers
426 views

adb shell superuser access without approve from phone

I'm running MIUI 3.9.27 on my HTC Desire S. I accidentally froze my miui launcher (com.miui.home) and after reboot, phone stuck on boot animation, but seems everything running except miuiHome. I ...
2
votes
0answers
159 views

Will adb restore increment the custom binary flash counter?

With adb backup an archive of all apps and their data can be retrieved from the phone. I could not find any clear information which exact files and partitions are accessed during the process. If it ...
2
votes
0answers
180 views

VNC style connection over ADB?

Could I connect to a device over USB ADB, get a shell and then launch a VNC type graphical connection where I can use that device? I have a android device at a customer remote premises and I want to ...
2
votes
0answers
1k views

Package cannot be (re-)installed or uninstalled

My device is a non-rooted device. I was trying to install SDMove.apk (sideload) from my ICS tablet. Adb reported: Failure [INSTALL_FAILED_ALREADY_EXISTS] When I issue uninstall command, it ...
2
votes
0answers
198 views

How to have adb recognizing my Nikon s800c on windows 7?

Has anyone got ADB to work correctly for the Nikon S800C? I've followed the instructions mentioned here, but to no avail. I am using Windows 7, and can see a yellow alert mark in the device manager....
2
votes
0answers
651 views

Disable Slide to Lock

I have a Cruz T301 which is rooted. The screen calibration is a bit off and I cannot access the home screen. (It is next to impossible to use the slide to unlock.) Basically, it will slide to the ...
2
votes
0answers
1k views

Motorola USB Drivers on Windows 8

Is there any way to install the Motorola USB drivers on Windows 8? I downloaded MotoHelper, but it won't install, saying that the OS Version is unknown. Is there some other way to get ADB to see my ...
1
vote
0answers
37 views

how to restore mount points

i have a bricked device , after 20 hours of flashing and searching , i found that my device lost some mount points here is the the mount points of my device and here is the mount points of a ...
1
vote
0answers
28 views

adb device always unauthorized

Im running Ubuntu 16.04 adb version Android Debug Bridge version 1.0.32 However, when I plug in my devices for testing via ADB I always get an unauthorized error. adb devices List of devices ...
1
vote
0answers
44 views

adb device not found after reboot

I am developing an automated test script to turn off my android device and turn it on back again and then run a few adb commands after the boot is complete. My problem is that when I turn the device ...
1
vote
0answers
27 views

permission denied on files created via adb in recovery

I stumbled upon a strange issue - after installing new ROM (CyanogenMod 12.1), I used adb push (still in TWRP) to copy some backed up directories to internal storage - so far so good. But then in ...
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 ...
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 ...
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 ...
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 ...
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. ...
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 ...