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

0
votes
0answers
12 views

Getting cellular connection status using adb

When tethering my phone I would love to be able to see my data status without having to pick up my phone. I feel like this is possible somehow but I don't know where to look.
0
votes
2answers
130 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 ...
0
votes
0answers
43 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: ...
1
vote
1answer
102 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
151 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
45 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 ...
0
votes
2answers
613 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
134 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
148 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
65 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 ...
0
votes
0answers
68 views

Bricked Nexus 7 unable to be recognized by fastboot or adb

After trying to install a custom ROM (Ubuntu Raring) to my 2012 Nexus 7, it incorrectly installed and I am stuck with a devices that boots solely to BusyBox. Specifically a terminal that says: ...
4
votes
1answer
368 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. ...
1
vote
1answer
271 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 ...
0
votes
0answers
26 views

What is happening exactly after executing ADB REMOUNT

I have a rooted device, with a production release, so the su binary exist. i modified "default.prop" in boot.img before upgrading the firmware to: ro.secure=0 ro.allow.mock.location=0 ro.debuggable=1 ...
1
vote
1answer
44 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
18 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 ...
0
votes
0answers
105 views

Start wifi hotspot through adb using service command

I saw this question, the answer there and the comments on it. The solution still needs at least three steps to enable hotspot using command line. I'm looking for one single command. E.g In Lollipop, ...
0
votes
1answer
139 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
0answers
49 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...> ...
3
votes
1answer
219 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, ...
0
votes
1answer
147 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?
1
vote
2answers
121 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 ...
0
votes
0answers
71 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
67 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
1answer
247 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
116 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
0answers
287 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
85 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
81 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 ...
0
votes
1answer
229 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
0answers
15 views

Trying to restore a backup jumps to boot screen

Help me please. I have a backup that I made with ADB, now when I try to restore it the tablet jumps to the boot screen and freezes there. My Tablet is a generic tablet, the only advantages among other ...
0
votes
1answer
82 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
51 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
106 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 ...
0
votes
2answers
1k 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
216 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
0answers
84 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
76 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
114 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 ...
2
votes
1answer
505 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
21 views

Why cant i move apps to sd card?

My question seems familiar but i dont intend to waste someones time as i tried sdk manager and adb to set install location at 2 and successfully followed this- ...
0
votes
0answers
240 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
1answer
178 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
100 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 ...
1
vote
1answer
89 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 ...
7
votes
1answer
126 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, running the Samsung/T-Mobile variant of 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 ten ...
0
votes
0answers
105 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
40 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 ...
0
votes
1answer
190 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
136 views

Playing with boot.img & receovery.img to get adb root

first: i have a MediaTek smartphone running a production build, that means if you want to start adb as root it will not function and will say: adbd cannot run as root in production builds My essay ...