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

1
vote
1answer
94 views

Installing USB driver for XIAOMI Android Studio

I read the Using Hardware Devices page that describes how to connect your device to Android Studio that allows you to install and run your apps on your device. But I have a Xiaomi RedMi 2, and the ...
1
vote
2answers
54 views

Remove a folder I created in /system/lib

I have root access and am able to remount. I created a folder in /system/lib/ named rfsa, but I don't know why I cannot see or open that folder. When I type ls, it is there. But when I type ls -l, I ...
3
votes
1answer
106 views

Galaxy S5 SM-G900F programmed as SM-9006V

I have a Samsung S5. On the box, on the sticker inside the unit, checking the IMEI and using CPU-z they all said the unit is an SM-G900F and is using the Snapdragon core. My biggest problem with it ...
7
votes
2answers
21k 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 ...
1
vote
1answer
73 views

How do I install missing command line tools onto an Android device?

Android installations do not always have all the tools one would expect to have on a Unix-like system. For example, right now I have a problematic device which doesn't have find CLI utility. I mean, ...
2
votes
1answer
2k views

Linux ADB Driver for LG Viper (LG-LS840)

On most devices I've run across I can plug the device into a Linux machine and no additional drivers are needed in order for ADB to communicate with the device. However on two LG devices from last ...
3
votes
1answer
1k views

How to end call via adb in android 2.2.1?

Im creating small call center like system based on pyadb. I was developing for my phone which has custom SlimKat ROM - kitkat based. To call i do :adb shell am start -a android.intent.action.CALL -d ...
1
vote
2answers
644 views

LG Escape 2 - bricked

I tried running a script that I got online. I downloaded the whole file which included the .bat file. I tried running the .bat file while forgetting that I needed to download the drivers (from the ...
0
votes
0answers
26 views

Cant boot Android tab

I have a android tablet. Touchmate TM-MID 722N I tried installing Chainfire 3d and it was not bootable now. I can boot only to recovery. and adb sideload and flashing zips from sdcard is working. ...
2
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 ...
0
votes
0answers
31 views

Cant run adb through TCP on kitkat

On a Samsung Galaxy Tab 3 7" Wifi (SM-T210) Jelly Bean 4.1 I used to be able to use permanently ADB through TCP just by turning on Developer Mode, activating ADB, setting the property ...
6
votes
3answers
3k views

adb input keyevent 26 - Not waking device up

I am trying to wake a device up using the following adb command adb input keyevent 26 This correctly emulates the power button keypress if the screen is on, but will not turn the screen on if it was ...
3
votes
3answers
91 views

ADB command to wipe data the phone?

I have 200 Russian Phones to flash with UK Firmware. Now when i flash the UK firmware through Odin, it works fine but Russian firmware is still on it, however it does become UK if i factory reset the ...
0
votes
0answers
28 views

Send Multi-touch/Sensor from one phone to another

Hey folks I'm trying to connect two Android devices. I want to send the Multi-touch/Sensors from one device into another device for testing (long story to why :) it's for testing my apps). DO any of ...
10
votes
4answers
13k views

Where to find “adb” version 1.0.32 to install on Ubuntu?

My laptop has Ubuntu 14.04 as OS. I installed latest version of "android-adb-tools" available in "Synaptic Package Manager". After installation, adb command --help says that adb's version is 1.0.31. ...
0
votes
0answers
38 views

Grant permissions app Android to avoid root

I want to use an app on Android to modify dpi of mi device. It needs root but i want to avoid It. I have already grant permissions to an app to change the localization of apps that are installed on. ...
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 ...
0
votes
1answer
4k views

Galaxy S4 does not show Authorize USB debugging dialog box

I am trying to follow the instructions here, but my phone never displays the "Authorize USB Debugging" option. On the PC side, adb devices shows that the PC see the device, but it is listed as ...
4
votes
2answers
2k 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
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: ...
1
vote
5answers
32k views

How to fix “error: device not found” when I try to use ADB

I'm trying to get my phone (JiaYu G3T) working under adb on Windows 8 x64 (worked fine on Windows 7 x64 before reinstalling my OS). Driver Android Composite ADB Interface, version 8.0.0.0, works ...
-1
votes
1answer
58 views

Can a hacker simply copy shared prefs from one device to another to hijack a user session/state?

I'm an Android apps developer. I'm trying to address a security concern in one of my apps. I need to test a scenario in which someone will try to copy the shared prefs file (or files) from one ...
0
votes
1answer
156 views

Nexus 10 not recognized on Debian Wheezy/mac OS/Windows 8 with adb

I'm trying to connect my tablet nexus 10 + android 4.4 + cyanogen-mod 11 to my desktop computer where I have installed debian wheezy using adb. It worked until some time ago,now it doesn't anymore ...
0
votes
0answers
67 views

My phone storage is empty when connected to pc

I need to back up all data and media on my phone but every time i connect it to pc everything is fine and my pc recongize the phone but not every time i need to plug and unplug phone several times to ...
0
votes
0answers
62 views

Can't update samsung galaxy s4 to lollipop

So i recently bought a phone from an independent seller. When trying to update the phone from kitkat to lollipop i'm getting "Registering device" which is then followed by the error message ...
5
votes
5answers
29k views

Android ADB Shell Recovery Mounting

*Question: I need assistance mounting an Android phone's internal data using the Android ADB Shell while the unit is connected via USB and in recovery mode. How do I form a proper mount command? See ...
0
votes
0answers
41 views

can't connect to my lan with my ethernet cable?

hi everybody this is my first post and i hope i might answer here my phone model is huawei y625 (rooted) and I bought this adapter and when i connect this adapter to my phone is gives me nothing so ...
0
votes
1answer
39 views

Transfer image after completely wiping Nexus device

I've completely wiped my Google Nexus device. I still have Team Win Recovery Project. But, seems that the device isn't detecting USB. Executing adb shell returns error: no devices found. Executing ...
2
votes
1answer
496 views

How can I get the refresh rate via ADB?

How can I use ADB to get the refresh rate of a device's screen? For context: I'm working on a python script that is going to display how many dropped frames occurred while it was measuring. In order ...
0
votes
2answers
3k 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
0
votes
2answers
7k views

Clear Caches from ADB?

How do I clear caches (app, individual apps, Dalvik, ART if possible) via ADB? Using apps, recovery, or doing it through Settings are not options for me. Also, my phone is not rooted.
-1
votes
1answer
62 views

How to enable adb in bootloader mode?

Is it possible to enable adb in bootloader mode? I've already managed to enable it at boot following this, but couldn't figure out yet how to enable it in bootloader mode (if it is even possible?). ...
3
votes
2answers
8k views

I can't see my device in Android adb list

I have LG G3 with android 5.0 lollipop and I want to connect it to my laptop with windows 8.1 OS (For using unity remote). When I connect my phone I can access to storage but I can't see my device in ...
-2
votes
0answers
89 views

Enable USB debugging from PC

I accidentally broke my Nexus 6 display. Now all I get is a black screen. I cant see anything on the screen though everything else is perfectly fine. Touch is also working. Unfortunately, my USB ...
1
vote
0answers
38 views

Xperia Z5 Compact not visible in adb

I got two android devices: Nexus 7 and Xperia Z5 Compact. Both of them are easily find by adb on my local computer, but I usually work on my notebook, and here comes the problem. Both my devices ...
1
vote
2answers
23k views

Using ADB with usb debugging disabled, and no root

I have an Android Device running Android 2.3.7 . The device is locked due to exceeding pattern attempts. So now Android is prompting me to enter my gmail id and password. The problem is, the WiFi is ...
1
vote
0answers
25 views

What results in blank net.hostname property on Android device using ADB?

Referring to http://superuser.com/questions/408539/how-to-set-friendly-network-name-of-android-computer/1022739#1022739 You can check the device's hostname with net.hostname property (no root needed ...
0
votes
0answers
80 views

How to restore SMS from adb backup file without root

Similar question to this one: I have an ANDROID BACKUP file containing SMS history, produced from phone A using adb. That phone is gone, and this file is the only record I have of that history. I ...
0
votes
1answer
35 views

How to Run a script or get adb devices from machine 1 to mobile device which is connected machine 2?

I am attempting to run a Script from Machine 1. [Script would be calabash or Appium]. In machine 1 i didnt connected any device and In machine 2 I have connected 2 Android devices. Machine 1 and ...
0
votes
0answers
14 views

Unsuccessful unlock prevents data wipe

My phone is in a difficult state right now: Can't boot normally (tries to complete unlock). Can't make use of adb (because it is not fully unlocked or locked yet). All I can seemingly get to is the ...
13
votes
3answers
14k views

Can I change some Android settings 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 ...
5
votes
4answers
7k views

Getting Segmentation Fault on recovery

It's an Android 4.0.3. I'm trying to fix my tablet, because it doesn't start anymore. running fastboot devices returns nothing. Then, I'm trying to do that through adb. adb devices returns List of ...
0
votes
0answers
15 views

adb command to disable Headsup notification in Android 5.1 [duplicate]

Is there an adb command to turn off the headsup notification at the top of the screen? I get loads of notifications throughout the day, but everytime it popsup I have to wait for it before I can press ...
0
votes
1answer
37 views

push entire folder with ADB

By mistake I deleted the .EXT folder (which contains a file "su") from the system/bin folder of my Android device. Is it possible to use ADB to replace this folder? I have a copy of the Bin folder and ...
1
vote
1answer
102 views

Device boots normally, but cannot enter recovery or fastboot

I have secondhand Vodafone Smart Tab 4G. It seems to me that previous owner messed something up. The device boots normally but I cannot enter either bootloader, fastboot, or recovery. I have tried HW ...
1
vote
0answers
52 views

Need direction on best course of action with an lg16c with Kitkat

I have recently started teaching myself Android systems, and I'm not sure if I bricked or what happened. Now I could seriously use some direction as to the best course of action. Somewhere in the ...
3
votes
1answer
76 views

Copy contacts to sdcard from android 2.3

how to copy my contacts from my sony ericsson wt19i android 2.3 to sdcard? I tried to do this by adb, but does not work. I do it like this: adb devices adb shell su mount -o rw,remount rootfs / ...
1
vote
1answer
32 views

Fully reseting android system on XCover 2

My brother yesterday tried to install some cracked apps and let a virus in his XCover 2 and i'm afraid that he gave it root permissions. It seems like that virus has removed those permissions or ...
0
votes
1answer
52 views

After OTA update all my data are in shell folder

I have Acer Z530 with Lollipop 5.1, kernel 3.10.65+. I have the 16GB version, without external SD Card. Today I have received an OTA update and after the restart all my data were gone as well as some ...
0
votes
0answers
146 views

adb>shell returns “error: closed” - how to “open” adb shell access through adb sideload

my device got broken but i am still able to connect usb in the stock recovery mode. if i try to start a shell via adb while the device is in recovery mode, i fail. my terminal echos the line: "error: ...