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
74 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
147 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
257 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
65 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
337 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
251 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
230 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
119 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
95 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
803 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
158 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
419 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
103 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
101 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
616 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
17 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
128 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
62 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
161 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
2answers
3k 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
820 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 ...
2
votes
2answers
152 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
107 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
155 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
1k 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
22 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
290 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
355 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
101 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
188 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
148 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
167 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
46 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
273 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
175 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 ...
0
votes
0answers
78 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
49 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 ...
0
votes
0answers
79 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 ...
1
vote
1answer
536 views

How to install adb/fastboot in cmd (with usb-drivers)?

I need adb for some reason, but don't know how to install it and getting the usb-drivers? I heard you have to download the full android sdk? What is to do?
0
votes
1answer
53 views

Is there a way to keep an old Android installation as virtual machine?

With PCs I have made good experiences virtualizing the machine when changing to a new system (e.g., buy a new computer, change the operation system). Doing this, you can preserve your old system and ...
1
vote
2answers
578 views

Get into fastboot mode without root or hardware buttons

I own a relatively unknown Chinaphone, the CUBOT GT72+ (MTK6572 SoC) - on which I was attempting to gain root access. No known exploit-based root methods exist for this device (which runs on Android ...
2
votes
1answer
169 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 ...
2
votes
1answer
58 views

Input command is exiting ADB shell after execution

Whenever I run input command through my bash shell of Slackware 14.1 in the adb shell, the adb shell exits after executing the command, which is highly unproductive. The temporary get around for this ...
1
vote
1answer
218 views

full desktop backup using adb not working with yu yureka

I am using a desktop with Ubuntu 14.04 installed to do a full desktop backup of my Yu yureka phone. I used the command sudo adb backup --all then it shows Now unlock your device and confirm the ...
0
votes
1answer
36 views

What is the pathname to my application executable? [closed]

I wish to get the pathname for an application I am creating and have installed via Eclipse and ADB. My application is installed as I see an icon that I can invoke to launch successfully my ...
0
votes
0answers
3 views

Is it possible to Activate “USB-debug mode” from USB [duplicate]

Good day people, I have an non-rooted Android phone with a completely destroyed screen. I have very important conversations and files there I need ASAP. I tried to use programs like Droid@Screen to ...
0
votes
0answers
142 views

Device freezes after trying to reboot with bootloader

I have been trying to unlock my bootloader as per the instructions found here. I already have installed the drivers from Google USB driver folder that comes in Android SDK "extras" folder. However, ...
0
votes
0answers
150 views

Can I read a data file without root access

I've been playing around with my phone, specifically the file /data/system/gesture.key, and have run into an issue. Using adb, I can get right up to the file but I can't read it or copy it to my PC. I ...
0
votes
1answer
58 views

start app on startup and click coordinate

I want the tethering app to start whenever I start my phone, when the tethering app starts there is a big button on the center of the screen which has to be pressed so the phone would start to tether. ...