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

2
votes
0answers
172 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
0answers
38 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 ...
1
vote
1answer
347 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
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 ...
0
votes
2answers
342 views

How to install Android ADB drivers on Windows? (Any Android Phone)

How can I install the Android ADB drivers on a Windows 8.x PC/Laptop? I followed tutorials on the internet but nothing worked for me. PS: The adb driver should be compatible with any Android ...
1
vote
0answers
276 views

Connect LG G3 Android phone to Linux PC

I just want to access the files on my Verizon LG G3 phone from my Linux PC. I have adb installed and I followed this ArchLinux tutorial but adb devices outputs the following: [grease-lightning]/home/...
1
vote
1answer
332 views

Nexus 5 doesn't connect to PC anymore

I'm new to this community so I hope there are no problems with my question. Also, sorry for my English. So, until yesteday I've been using my Nexus 5 for debug porpuse, but this morning my PC didn't ...
1
vote
2answers
6k 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 ...
1
vote
0answers
245 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 ...
8
votes
2answers
139k views

How to enable USB Debugging in Android if forgotten pattern for screen-unlock?

I want to use some third party software to clear my device's screen unlock pattern which I forgot. They require USB debugging enabled but I don't have it enabled in my Android. How do I turn on USB ...
0
votes
1answer
587 views

Copy YouTube APK from Android Phone to PC

My Question is specific to copying the YouTube APK file from My Android device (Micromax Canvas 4 - Android 4.2, Non-rooted device)to PC/Laptop. The YouTube App is a system app in my device. Below ...
1
vote
0answers
1k views

How do I upgrade the Android LG G2 D802 to Kitkat OS?

I bought LG G2 phone just a few days and I wanted to upgrade it to possibly Android 4.4 Kitkat from Android 4.2 Jellybean (I think which is the software update is trying to do as well as shown in ...
1
vote
1answer
232 views

Is adb backup usable in case of soft-brick?

Let's assume I create a backup of my phone with this command: adb backup -apk -shared -all When I want to install Xposed framework it warns me that the phone maybe trap in re-booting or suffer from ...
4
votes
2answers
5k 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. ...
2
votes
1answer
2k views

How to turn off cellular radio in Lollipop/JellyBean using adb?

I've been trying to find out how to kill/turn-off cellular radio (on a rooted device) using some command on ADB. My research only found that I should either (using GUI) enable Airplane Mode, or type ...
1
vote
1answer
2k 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 ...
1
vote
1answer
27 views

ADB disconnects frequently while moving in a car

I filed this as an Android bug (AOSP Issue #175555) and somebody recommended posting here. I'm actually not sure it's appropriate to post this here but I'll give it a shot. Get into a car a ...
3
votes
1answer
2k views

Using ADB shell, How I can disable hostspot / tethering on lollypop Nexus 5

My screen got broken and I've been using my phone with a VNC Server installed on it, but this morning i'd the stupid idea of enable hotspot just to see if I can use my mobile data plan on my laptop, ...
2
votes
1answer
212 views

What is a “partial application install” via adb?

Android's adb has a "partial application install": $ adb install Android Debug Bridge version 1.0.32 ... adb install [-lrtsd] <file> adb install-multiple [-lrtsdp] <file...> ...
4
votes
1answer
1k views

Cannot root phone by installing superuser.zip CWM v6.0.5.1 Stable

Xiaomi redmi 2 runs MIUI 6.2.4.0(KHJCNBK) In order to install CWM, I downloaded both the adb and fastboot, I extracted recovery.img in the folder, together with them. I entered fastboot mode. Then, ...
10
votes
1answer
40k views

How to mount /system rewritable or read-only? (RW/RO)

How can I mount the /system directory rewritable or read-only on my Android phone?
2
votes
2answers
2k views

Nexus 5 in recovery mode not being recognized

I wanted to sideload Android 5.1.1 (currently running 5.1) to my Nexus 5. I've sideloaded before and it's really easy, but now I've ran into a weird problem I can't seem to fix. The Nexus 5 is ...
1
vote
0answers
631 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, ...
0
votes
1answer
347 views

My OS Loads, but no Recovery

Handset: Huawei Honor Holly Root: Yes I am trying to install CWM recovery on this phone. I tried it using Flashify after reading guidelines from a website. Now, my stock recovery is gone. Also, ...
0
votes
2answers
15k 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.
0
votes
1answer
665 views

Mount /system and /data partition of an android phone in Windows/Linux

How can I mount the /system and /data partition of an Android Phone via USB on a computer? It will need to work with Windows and Linux. I have a Samsung Galaxy S4 with CyanogenMod 12 and working ADB. ...
0
votes
1answer
1k views

How to Clear Caches in LG G2 Running Lollipop 5.0.2

The Lollipop update for AT&T LG G2 has pretty much destroyed my phone. I'm hoping clearing out every sort of cache might help. But I can't clear the caches the usual ways because (1) the ...
1
vote
1answer
256 views

Go back to previous custom rom - adb issue

I decided to try a custom ROM from here. I downloaded Exodus ROM to my computer, and via ADB transmitted it to the sdcard/0/ folder. I then rebooted and flashed this custom ROM. Everything went well ...
0
votes
0answers
263 views

backup android-operating system

I am trying to backup the whole android OS with all kernel files, systemfiles, efs-data and more on my rooted samsung galaxy s3 but when I open the the backupfile (.ab) on my computer i can only see ...
2
votes
1answer
7k views

adb push … Permission denied

I am trying to push a file to a directory on a physical android device, but I am running into the following error. >adb push data.db /data/data/com.me.app/databases failed to copy 'data.db' to '/...
0
votes
1answer
371 views

Nexus 5 in Recovery mode not detected in ADB but another Nexus 5 gets detected

I think I soft bricked my Nexus 5. I was planning on wiping all data from Nexus 5 and installing Cyanogenmod 12.1 following the normal procedure in the Recovery Mode but the wiping got stuck at ...
0
votes
1answer
142 views

Can a looped Android be rooted?

I deleted a system file from my Android (com.android.providers.settings.apk) and now my Android is in a loop. It is a KitKat tablet and I am able to use adb sideload. Is there a way to root the tablet ...
0
votes
1answer
553 views

Error in connecting Samsung A3 to Ubuntu 14 (USB); adb unauthorized (no pop up on device too)

I have a Samsung A3 with Android 4.4.2 (not rooted) and a computer running Ubuntu 14. I am trying to connect my device to my computer through USB to be able to perform some tests on it. I have ...
1
vote
5answers
54k views

Galaxy S6 not seen by pc at all

I have one week old S6 and now tried to use adb. I unlocked developer mode, enabled USB debugging, connected to usb and nothing happened. adb devices shows empty list, lsusb on mac and linux as well ...
1
vote
1answer
37k views

Update from ADB option under recovery menu

How does one typically use the "Update from ADB" option in the Recovery menu? Do I have to connect the phone via a usb cable to my laptop & provide the necessary update files? Where on the ...
1
vote
2answers
1k views

How come my adb can't simulate a touchscreen tap?

I've read I can simulate a tap on my touchscreen by using adb but it doesn't work: C:\>adb shell input touchscreen tap 1 1 Error: Unknown command: touchscreen usage: input [text|keyevent] ...
0
votes
0answers
919 views

How to copy a file to the built-in NAND flash storage on an Android device?

So I'm cheap and not going to spend $50.00 on a 16 GB SD card to hold data, and my built-in NAND storage has 16 GB and 13 GB free, so that's sufficient; however, there seems to be no immediate, easy ...
0
votes
0answers
509 views

Using adb to backup data on an unbootable & non-rooted phone that does not have USB Debugging turned on

I have a phone (Moto G) that won't boot & I had not turned the USB Debugging on when it used to boot correctly. The motivation is to use adb to get a full dump of the data on the phone before I ...
6
votes
2answers
19k 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 ...
0
votes
0answers
430 views

Directly storing apps in SD Card

So I bought an 'Swees' Android phone recently, with ~150mb Internal storage + 4gb External SD Card. I downloaded Android SDK manager on my mac, installed necessary packages and ran the 'adb' file in ...
2
votes
2answers
3k views

Android Composite ADB Interface Windows 8 driver for iRulu U2?

I downloaded and installed via Android SDK Manager (rev 24.2) the latest Google USB Driver (rev 11). adb devices works well with my Nexus S G4 (Android 4.1.2) and is able to list it without any ...
1
vote
3answers
110 views

Upgrade of HTC software hid Nexus 7 from adb

adb devices shows my device in its listing up until I installed a new version of the HTC Sync Manager (for my HTC One M7). I've also tried reinstalling the device drivers and even adding a new %...
2
votes
1answer
2k views

Simplest way to find the PID of your app

When using the adb Monitor tool to read the Logcat, I like to filter out all everything but what directly affects the app. Trouble is, it's really hard to tell what the PID of your app. It easy enough ...
11
votes
2answers
533 views

Why does “adb reboot” shut down my phone so much faster than usual before it reboots? Is it skipping important steps?

I own a Samsung Galaxy S Relay 4G running Android 4.1.2. Also, I have adb installed on a PC. When I long-press the Power button then tap "Restart", my phone takes about ten seconds to shut down. Then ...
0
votes
0answers
911 views

How to setup wifi from adb shell?

I'm using adb over USB to shell into a rooted CyanogenMod-modded device. I wanted to debug my wifi connection through the command line, connecting to an open (unprotected) wifi network. Is it possible ...
1
vote
0answers
100 views

Cannot read Android Partition Image created using ADB

I am currently working on a Mobile Forensics demonstration for my college's computer science capstone. For this demonstration I have been trying to create a partition image of the an old Droid x2 user ...
2
votes
1answer
2k views

App not installed for this user

I see App in my Apps section of settings which says App not installed for this user. It's completely greyed out and I cannot uninstall it. When I install the same from play store it says incompatible ...
0
votes
0answers
144 views

Recover CM system with bad Google Apps update

I recently updated Google Apps on my device. Now, when I start my phone, I get repeatedly inundated with "Unfortunately, {{app}} has stopped." with Keep, Gmail, Wallet, etc. filling in the blanks. The ...
0
votes
1answer
216 views

Log adb commands

I am trying do do some stuff the Android Device Monitor does on command line in a script. As far as I found out you cannot use the monitor from command line without GUI. My approach is to capture (adb)...
0
votes
0answers
200 views

ADB Backup of Unrooted Motorola Droid Maxx (XT1080) Fails

I'm trying to create an Unrooted/Unlocked ADB Backup of a Droid Maxx (XT1080) with Android 4.4.4. I read in another thread that I needed when I select to backup the device, because the system files ...