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

3
votes
0answers
208 views
+50

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
2answers
538 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
131 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 ...
0
votes
1answer
47 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 ...
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
1k views

Identifying an unknown Android tablet through adb/shell without relying on build.prop

I obtained a cheap unbranded tablet from a friend, without a box or anything and I need to figure out what kind of tablet it is, through software. What I've established so far is that the tablet is ...
2
votes
0answers
36 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
76 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
6k 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
44 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
49 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
32 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
1
vote
0answers
31 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
549 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
59 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 ...
1
vote
2answers
1k views

MTP not working but ADB works fine

I use Samsung Galaxy S4 Mini Android Phone, its MTP mode is not working just after I plugged it in to another PC some time for just USB charging. I re-installed the driver on my PC and removed the ...
1
vote
1answer
5k views

How to access bricked phone /system folder? Fix corrupted file

I have a SK504, brazilian phone. Well, i was trying to change my boot animation, but downloaded and installed a corrupted one. So, when i rebooted, the phone shows ANDROID like always, but after, a ...
0
votes
0answers
53 views

After using SP Flash, Phone wont boot up

Handset : Huawei Honor Holly Root : Yes I used SP Flash Tool to flash a ROM, downloaded from the Official website of the phone company. I flashed all that was given (boot, uboot, recovery, ...
2
votes
3answers
5k views

The command 'adb root' works, but 'adb remount' results in “Operation not permitted” message

I'm trying to remount /system to copy some files to it. I tried the following with adb: adb root adb remount The first command works fine (because my phone is rooted), but the second tells me that ...
1
vote
1answer
1k views

How to restore adb backup on Nexus 4 (boot loop)?

Recently I have flashed unofficial cyanogenmod 10.2 for my Nexus 4. After testing some features I the device came into a "bootloop" (stays on cyanogenmod logo launcher). I tried to reflash it with cm ...
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
2answers
2k views

root cannot list filed in /data

1|shell@maguro:/ # ls -l /system/xbin/ -rwxr-xr-x root shell 59816 2013-07-11 02:12 dexdump -rwsr-sr-x root root 67008 2013-10-08 17:24 su shell@maguro:/ # ls /data opendir ...
0
votes
1answer
49 views

ADB sideload and fastboot uses. What's the difference?

1) If i want to flash a stock rom what should I use adb sideload or fastboot. I have seen on youtube people using both of these. Are both of these similar or different. Sorry if this sounds stupid but ...
0
votes
0answers
13 views

Nexus 7 - Stuck on boot animation. Fastboot detects device but ADB doesn't

My Nexus 7 (2012, WiFi) is stuck on the boot animation. I can detect it in Fastboot but not with ADB. Is it still possible to backup the data before I wipe it? It's not rooted and the bootloader is ...
0
votes
0answers
5 views

Could not be downloaded due to errow 905 [duplicate]

I downloaded fifa 15 and deleted it,I tried to redoel oad it and it wasn't being downlo ad due to errow 905 .
0
votes
2answers
243 views

ADB - Android emulator - Unable to record video - screenrecord not found with Android 5.11

I installed android emulator, the SDK Tools v24.1.2, Android v5.1.1. After all this the emulator is UP and I am able to run my app. Where I ran into problem was while trying to do a screenrecord ...
1
vote
0answers
16 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 ...
0
votes
1answer
53 views

How to run an .APK without installing it on the device with adb?

Is it possible to run an .apk on an Android device without installing the app? I can do something like this: adb install com.your.app and then: adb shell am start -n ...
1
vote
2answers
5k views

Ubuntu 13.10 adb “device not found”

I'm trying to reinstall Android on my first-gen Nexus 7. I'm using adb to do so because the install is so corrupted I can't even use the touch screen. I use Ubuntu 13.10 and I have adb and fastboot ...
1
vote
1answer
19 views

“adb devices” successfully shows device, but “adb connect usb” inevitably fails, any suggestions?

I have an ASUS ThinkPad, Android 4.4.2, Kernel 3.10.20. I've checked Settings->Developer Options->USB debugging. I've disabled Wi-Fi and BT (because I've seen some devices have some conflict there). ...
0
votes
0answers
22 views

How do i copy the boot.img without rooting phone?

I want to get the boot.img of my android phone (mobile/model doesnt matter i want a general one) without rooting the phone. I have ADB installed and using a linux machine in which i can communicate ...
0
votes
1answer
2k 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 ...
7
votes
1answer
14k views

How to Retrieve SD Card Files via fastboot or recovery?

I have a Nexus 4 (LG E960) running rooted stock 4.2.2/JDQ39. The phone fell from a foot high and the screen cracked. The touchscreen no longer works. I have a full Nandroid (TWRP type) backup under ...
1
vote
0answers
14 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 ...
1
vote
1answer
34 views

Failed updating and uninstalling app with ADB

I installed Better Battery Stats (BBS) v2 from XDA and quickly realized that the actual required version is 2.1. So I tried to uninstall BBS via ADB but that failed because BBS is a system app. Now ...
2
votes
2answers
1k views

Does adb backup include contacts?

Does adb backup .all -f backup.ab include contacts in the backup?
0
votes
0answers
16 views

adb doesn't find smartphone stuck on Error during encrypting

I have a ZTE unlocked stuck on error during encrypting: It doesn't reboot into recovery mode using the hardware keys combination, it just start up and then reboot into normal mode leading me back ...
2
votes
1answer
3k views

Stop Media Playback through adb

I'm testing some settings on a phone, and unfortunately the only control I have is through adb right now. My issue is that while I can start playback of a music file through the following command, I ...
1
vote
1answer
711 views

How to setup a PPP connection between an Android smartphone and a Linux computer?

For testing purposes, I need to connect an Android smartphone to my Linux desktop computer to enable communication between the phone and some servers on the LAN. I can't use Wi-Fi so I'm stuck with IP ...
1
vote
1answer
36 views

Determine which app owns an icon on my home screen

Related: How can I determine what app put a spam shortcut on my home screen? How can I remove unwanted app icons from the screen? I read that one of the answers suggests installing TrustGo Ad ...
2
votes
2answers
1k views

ADB backup is not working

I just tried to make a backup from my Nexus 5 (before installing CM 11) It is unlocked but not rooted. On PC side I'm working with Ubuntu 13.10. When I type adb backup –all -apk -nosystem –f ...
0
votes
0answers
22 views

Busybox and bluetooth-sendto on rooted Android Wear (Moto 360)?

Is busybox and bluetooth-sendto available for rooted Moto 360? I would like to root Moto 360 and have access to some Linux utilities such as gzip, bzip2 from Busybox and have access to ...
1
vote
2answers
117 views

How to enter recovery/download mode with broken home button and broken bootloader

I was trying to install NightOwl cm12.1 Android 5.1.1 Beta 5 build for my Galaxy Note 1 N7000. I followed all the installation instruction on that ROM's thread. I flashed philz CWM 5.15.0. And now I'm ...
0
votes
0answers
396 views

Recover LG G2 (VS980) Phone Using Only Sideload

In an effort to resurrect my phone I have tried to sideload a number of things but always end up with one of three options. Oddly, although I "had" TWRP, the only thing I can get is Android System ...
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 ...
0
votes
0answers
42 views

How can I restore my app data if I manually pulled it out before resetting and reinstalling my phone?

Yesterday I was stuck in this awkward situation where my Moto G with Cyanogenmod 12.1 got stuck in the boot animation after recent restart. It was working fine for a month or two before that. Based ...
5
votes
4answers
22k 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 ...
2
votes
2answers
9k views

A way to get the current resolution size and DPI from the command line/terminal/adb?

I've got adb access to my android phone. So I know that I can override screen density and screen resolution with the am command provided with Android. That's great and dandy, I guess. But is there a ...