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
3k 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
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 ...
1
vote
0answers
14 views

creating mount point in root mode

When trying to expand tablet memory (from 500 Mb to 1G) I made a mistake when I was applying Gparted. I reset my device to the fabrication settings and now I can't mount sd card (no the real sd card), ...
4
votes
1answer
869 views

Possible Soft-Brick Fix for my Galaxy S4

So, prior to my stupidity, I made a system.img dump via dd However, after my stupidity (tried flashing some lib files....), I am now stuck with only stock recovery mode, or download mode. How can I ...
0
votes
0answers
28 views

Samsung Galaxy S4 - no adb devices

I wanted to install a custom ROM on my old Galaxy S4 I9500. I installed CWM recovery at first with Odin, and it worked really well. Thereafter, I tried side-loading or pushing the custom ROM using ...
2
votes
2answers
2k views

Adb can't see my device - PAP5400

When I connect my Prestigio PAP5400 DUO to my PC, ADB cant find it. I think the driver is wrong but I can't find right one. I have tried installing many drivers. PS: I have debugging mode ...
2
votes
0answers
32 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 ...
2
votes
1answer
4k views

Android Wifi : How to change network interface used by android

When I boot up my Android Device and go to Wifi settings,the status of wifi remains "Turning Wi-Fi on" forever.I looked up in logcat logs,below is the error that I see. E/wpa_supplicant( 1713): ...
3
votes
1answer
94 views

How to backup data on a non-booting, unrooted phone?

I have a Samsung Galaxy S3 (SGH-I747 for AT&T) that is not rooted. Recently it started shutting down in the middle of use and not start up again. At first, plugging it into the charger would get ...
1
vote
0answers
13 views

defining functions in TWRP

In "normal" android you start up a Terminal emulator or do "adb shell" and then from there you can defining a function by: function name { #code } name #runs "name" But by using adb shell over ...
0
votes
1answer
2k 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 ...
0
votes
1answer
19k 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 ...
6
votes
2answers
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 ...
1
vote
1answer
53 views

Toggle location services via adb in Android 5

I see this answer from 2013, but now there are options for High Accuracy, Battery Saving, and Device Only. Also, there was no command for disabling location.
3
votes
1answer
4k views

Is it possible to enable Location Services via Shell?

Is it possible to enable Location Services(GPS or Google NetworkLocation) via ADB or Terminal Emulator? I'm on a rooted Phone. Extra Points: Is it also possible to change other system-related ...
0
votes
1answer
2k 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 ...
1
vote
1answer
189 views

Backup/Restore SMS/MMS via ADB on a non-rooted device?

Is there any way to backup/restore SMS and MMS messages using ADB, when the device is not rooted? adb pull won't work here, as the corresponding database ...
5
votes
1answer
2k views

How to find app based on package name?

I've installed a malicious app that is posting ads over my notification bar, but can't find it. I know the java package name for it: com.letang.game103.en using the command: adb shell dumpsys ...
7
votes
2answers
14k 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
39 views

My android is not turning on

My android(4.0) is not turning on.When I press the power button it shows the company logo and stays like that(it stayed for 1 day like that!).I may have accidentally removed paths using type fresh.The ...
2
votes
1answer
29 views

Samsung note 8 n5110, adb sideload <filename>

I have a soft-or-hard bricked Samsung Note 8, n5110 and now would like to rebuild it to a somewhat workable state. The device has a flaky power-charging system and may not be worth repairing. I use ...
1
vote
2answers
1k views

does flashing a kernel ever wipe anything on the phone? + Doing it without CWM?

does flashing a kernel ever wipe anything on the phone? and is it ever dependent on android version? e.g. 4.22 or 4.3 I have CWM and i've seen the option to install from zip within CWM recovery. ...
0
votes
0answers
54 views

Do not use Google for captive portal detection

I'm in China, where Google is blocked, so my phone is not connecting to my home network and displaying an exclamation mark on my mobile data and wifi icons, as it probably cannot connect to Google. I ...
0
votes
2answers
52 views

How to copy the entire contents of an android device to a linux PC

Ok, so some background, My original goal was to transfer some recently purchased nook .epub books to my PC so I can remove the DRM via Calibre. However, nook has removed the nook books from the usual ...
1
vote
0answers
47 views

Attempting to update ADB from 1.0.31 to 1.0.32

I'm trying to update Android debugging software from version 1.0.31 to 1.0.32 on Ubuntu 14.04. I have consulted an earlier Stack Exchange post on the same topic here http://bit.ly/1KYqnxY but it has ...
0
votes
2answers
4k views

Help get SC-91JB Android tablet back - restore / recovery

My friend brought me his granddaughter's tablet a couple weeks ago and it was stuck at the Android logo screen, just gray "android" text with white highlight moving across repeatedly. I already had ...
1
vote
2answers
63 views

What does “Archive does not contain 'android-something.txt'” mean?

So I am trying to flash my OnePlus One with CM12s through fastboot on command prompt, but whenever I type fastboot update romname.zip I am presented with: archive does not contain 'android-info.txt' ...
-1
votes
0answers
54 views

adb devices works but adb reboot-bootloader doesnt boot into fastboot mode

I am looking to install ubuntu on LG Optimus Gpro, but I have a problem on it. adb devices shows device is connected through adb daemon, but adb reboot-bootloader or adb reboot bootloader doesnt ...
0
votes
0answers
46 views

How to check usb connection time duration using adb command?

Is there any way to check when and how long was my android device connected via usb? I cant find any adb command to check it.
2
votes
1answer
2k 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
1answer
1k 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 ...
4
votes
1answer
159 views

How can I check when was the phone rooted?

In the adb shell command when I entered su, it prints: su root@hxjgeakt:/ # It means my phone is rooted right? How can I check when exactly was the phone rooted?
0
votes
0answers
41 views

How can I get into my device using command prompt?

My OnePlus One is partially bricked. When it turns on, it does not pass the "1+ powered by android" screen. I do not know what caused this, but there is a more detailed explanation of my issue here. I ...
0
votes
0answers
30 views

Devices names from android system

for several days I'm trying to find devices ( accelerometer, g-sensor etc ) names and placement of theirs drivers? I'm new to android and linux and can't figure out where can I find this info. I was ...
4
votes
1answer
409 views

How to change “Preferred Network Mode” using adb without reboot?

I'm trying to change my phone's (CM 12, Stock 4.2, both rooted) preferred network mode from "GSM/WCDMA" (0) to "WCDMA only" (2) and vice versa (there can be other modes too), using command-line only. ...
0
votes
0answers
80 views

ADB (in recovery-mode) gives “adb server out of date. Killing…” followed by “error:closed”

I connect my device to my PC in recovery-mode, when I write adb devices I get: List of devices attached 4d00ededbeaca0bd sideload However, when I try to adb shell I get: error: closed ...
0
votes
2answers
585 views

How can I manage “desktop” icons

I want to remove all the icons on the desktop, (and also in the bottom bar) and place new ones via ADB. My script already removes all the apps, but icons/shortcuts remanin there! Is there any command ...
0
votes
1answer
160 views

How can I change pointer locations setting in developer options from adb shell?

I need to be able to select and deselect "pointer locations" from the developer options menu using adb. adb shell am start -n com.android.settings/.DevelopmentSettings, but once I'm there I can't ...
1
vote
1answer
84 views

How can I access my Android Internal Storage (data/data) from the pc?

Not the SD Card that downloads, folders, gallery, etc. goes to. I mean the data/data internal memory of the Android device, where game saves, factory apps, etc. goes to. As much as I'd love to root ...
2
votes
0answers
104 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 ...
6
votes
3answers
4k views

How to pull the apks from my android phone

I have a rooted android phone. I am trying to pull the applications from /system/app/. However this simply does not copy the apk. What I have tried. adb shell su cd data cd app ls ...
0
votes
0answers
79 views

How to pull every file on the target device

My rooted device (production build) has been remounted successfully with: adb remount When I try to chmod -R 777 / it says : Unable to chmod /: Read-only file system The goal behind this ...
4
votes
2answers
7k views

adb pull /data fails

I have rooted my device HTC Evo Design 4G and I try to adb pull /data data and it says "0 files pull 0 file skipped" I was able to pull /System/build.prop. How can I pull root folder. Thank you iua ...
0
votes
0answers
103 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
vote
2answers
4k views

Error Sideloading Android L

I am trying to update my Nexus 7 (2013) WiFi to Android 5.0 with adb sideload. I get this error: Finding update package... Opening update package... Verifying update package... E:footer is wrong ...
3
votes
1answer
54 views

command on adb waits forever

I can successfully execute ADB commands, but if the command has no output the command line just waits there and does not let me enter a new command until I press ctrl-c, the commands do work however. ...
0
votes
0answers
107 views

Is it possible to downgrade firmware via ADB sideload?

I have an Asus zenfone 2. I want to downgrade it from firmware 2.19 to 2.18. They both are built on Android 5.0
0
votes
0answers
61 views

(adb) How to Backup things from /data/data using a shell terminal emulator on the same device without root?

~ I have Nexus 5 running Android L 5.1.1 ~ I want to backup one App cach from /data/data ~ I don't concider rooting my device ~ I installed a Shell Terminal Emulator from the app store. ~ I've ...
1
vote
2answers
844 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
147 views

ADB doesn't recognize my device in recovery mode

I have an ASUS ZenFone 2. I have tried using ASUS USB drivers and Google Android composite ADB drivers on my computer, but neither recognize the device while it is in recovery mode. Can anyone help ...