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
1answer
19 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
22 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
0answers
23 views

Block Android application install/uninstall through ADB

I am trying to create a custom ROM in which you can not install applications. By now I managed to block user app installation by modifying the PackageInstaller. Now I am trying to block app ...
0
votes
1answer
31 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
21 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
35 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
24 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
25 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
11 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
34 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
30 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
28 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
0answers
35 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
52 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 ...
0
votes
0answers
12 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
19 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
50 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
2answers
69 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
19 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
23 views

PLEASE HELP! Photos stuck on broken screen grand neo!

Well,my display screen is completely black by now.I have no access to touch screen. And my phone has got all my little sisters photos when she's only 1 years old and numerous precious pictures Also I ...
0
votes
0answers
155 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
57 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
0answers
16 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
19 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 ...
6
votes
1answer
77 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 hold Power then tap "Restart", my phone takes ten seconds to shut ...
0
votes
0answers
35 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
21 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
0answers
53 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
68 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 ...
-1
votes
0answers
72 views

Is there a way to do a shell root (or temporary root) on a locked Droid Maxx 4.4.4?

I am trying to obtain as much data as possible from a Motorola (Verizon) Droid Maxx (with Android 4.4.4 KitKat). To clarify, I need the current data off the phone, so any options that result in ...
0
votes
0answers
39 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
24 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
36 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
145 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
28 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
1answer
158 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 ...
1
vote
1answer
51 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
0answers
29 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
112 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
27 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
54 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
50 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
31 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. ...
0
votes
1answer
115 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 ...
0
votes
0answers
58 views

Rebooting a non responsive Android device remotely

I have an Android devices connected to a PC at a remote location which I don't have physical access to. But I do have ADB access to it. The problem is that the phone sometimes crashes and I would ...
2
votes
3answers
2k views

Moving installation location on non rooted Android 5 Lollipop device

I have a Moto G (2nd generation) with Android 5.02 on it. Internal SD card is about 8Gb and I have an external SD card with 16Gb free space. Moving application to SDCARD from the application's menu ...
0
votes
0answers
8 views

How to prevent access to a phone via ADB, Odin or similar via computer?

After been stolen 3 phones, with root and anti-thief apps installed as system and all the fancy things i still had no way to track them so i'm going extreme to make sure i will be able to track the ...
0
votes
1answer
70 views

Disabling “Storage space running out” notification in Status Bar?

Is there any way to disable the "Storage space running out" notification on Cyanogenmod 10.1.3 [Android 4.2.2], through ADB or otherwise ?
0
votes
0answers
50 views

No on-device prompt to confirm backup under Cyanogenmod?

I'm running Cyanogenmod 11-20141008 (Hammerhead) on a Nexus 5. I issued the following from the command line: adb backup -f nexus5-01.db -noobb -nosys The terminal responds with "now unlock your ...