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
1answer
2k views

Can “adb remount” be used on a stock phone (unrooted)?

Is it possible to use adb remount with a standard firmware and without having rooted the device? If not, is there another way to force the system to make /system writable without rooting the device?
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 ...
2
votes
1answer
65 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 ...
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 ...
22
votes
3answers
28k views

Is there a minimal installation of ADB?

When it comes to troubleshooting, I often read recommendations like "Use adb logcat to find some more details". Looking for a good way to backup all my apps including their data, Full Backup of ...
1
vote
1answer
20 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 ...
15
votes
5answers
60k views

Broken screen while debug mode was disabled. How can I re-enable adb?

The screen of my phone is physically broken, so it doesn't display anything, but the touch aspect does seem to be working, as I can unlock my phone, and get haptic feedback. Before I go to get it ...
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 ...
1
vote
1answer
2k views

Cannot find HTC One in ADB, SD card not mounted, incorrect kernel for installed ROM, no backup

Pretty much what the title says. I have messed up big time. Because I am switching carriers, I have to switch back to the stock ROM. It is stuck at the loading screen, most likely because of a kernel ...
0
votes
2answers
4k views

Help get SC-91JB Android tablet back - restore / recovery

My friend brought me his granddaughter's tablet a couple weeks ago and it was stuck at the Android logo screen, just gray "android" text with white highlight moving across repeatedly. I already had ...
3
votes
0answers
1k views

Simulate missed call from ADB shell

On the ADB shell, I run the command adb -s <serial_number> shell am start -a android.intent.action.CALL -d tel:123456 to place a call on my testing device. It works great. But I also want to ...
1
vote
2answers
298 views

Error setting up Android USB debugging on Ubuntu 14.10

I have an Android phone from LG, and I want to use it for USB debugging. I followed the following steps: Enabled usb debugging in developers option on phone. After connecting to PC, phone shows as ...
2
votes
1answer
3k views

Android Wifi : How to change network interface used by android

When I boot up my Android Device and go to Wifi settings,the status of wifi remains "Turning Wi-Fi on" forever.I looked up in logcat logs,below is the error that I see. E/wpa_supplicant( 1713): ...
6
votes
2answers
11k views

ADB not working, but Fastboot is

I recently bought a used Nexus 5. It came with the L preview on it, and I decided to flash CM 11 instead. My last phone was a Nexus S, and I've flashed various ROMs to that thing in the past. Using ...
0
votes
0answers
55 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
1answer
984 views

Backup and Restore with Holo ( ADB ) from N4 to another N4 - some questions

I am soon receiving a replacement device for my Nexus 4, that got some problems charging now and then. Some questions regarding Holo Backup: It shall be no problem to restore a "Backup all without ...
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
70 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 ...
5
votes
2answers
20k views

Can't remount /system in rw

I try desesperately to push an app with adb on the /system/app folder (to install the PlayStore on my low cost tablet). So i tried to remount the /system partition with root rights : mount -o ...
-1
votes
0answers
73 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
40 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
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 ...
0
votes
1answer
17k views

Using ADB with usb debugging disabled, and no root

I have an Android Device running Android 2.3.7 . The device is locked due to exceeding pattern attempts. So now Android is prompting me to enter my gmail id and password. The problem is, the WiFi is ...
2
votes
1answer
2k views

File “has unexpected contents” error when sideloading Android 5.0

I have a Nexus 7 (2013) (wifi) and am trying to update the software to Android 5.0. When I try to sideload I get this error: Installing update... mount: failed to mount ...
0
votes
0answers
37 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 ...
3
votes
1answer
1k views

Is it possible to pull data using Android Debug Bridge on an N7 while soft bricked

I've tried countless fixes for my N7 being softbricked (No idea how it was done). I've resorted to using Android Debug Bridge, however I cannot get access to the device (device not recognized from CMD ...
1
vote
1answer
153 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
1k views

Check if an app is installed on the device

I'm trying to use the package name and determine the apk path of an app to check if my app is installed in the device. pathCmd = './adb shell pm path ' + packageName pathData = ...
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
52 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
30 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 ...
7
votes
2answers
3k views

Is it possible to write to a device's clipboard using ADB?

I am interested in learning how to write to (and if possible, read from) a rooted Android device's clipboard. I hope to do so using ADB over USB and I am not interested in installing any apps to help ...
0
votes
0answers
53 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 ...
4
votes
6answers
84k views

fastboot doesn't see device

I've read a lot of articles about this problem but I can't resolve it. I decided to install my developer application on phone using wifi. To do this I need to do some things with my phone. The first ...
1
vote
1answer
117 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
1answer
32 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
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
56 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
642 views

Moto X: Download pictures and data with broken touchscreen

Someone threw my Moto X straight at the ground, so the screen displays nothing but weird paint-like colors in some corners. And it doesn't seem like the touchscreen is working at all, since when I ...
0
votes
1answer
125 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
68 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 ...
0
votes
1answer
111 views

Rooting Unknown Device

Actually i want to root not-branded tablet. That table is running Android Jelly bean 4.2.2, Kernel 3.0.8+. Current my status: From the start i have root access in adb shell I managed update su ...
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
74 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 ?
2
votes
1answer
8k views

How can I enable adbd during boot on Cyanogenmod?

I am stuck during the boot process, at first before entering the passphrase for /data and now at the SIM PIN screen. At this point, adb is inaccessible (normally adbd would start up after unlocking ...
0
votes
0answers
53 views

Failure with PDAnet handshake

I'm having a problem tethering off my phone with PDAnet/FoxFi. I'm using an HTC One M8 with Windows 7. First, I tried connecting straight up. I connected the usb to my computer. I pressed OK and then ...
0
votes
0answers
51 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 ...
2
votes
2answers
11k views

Phone is rooted but has no SU application and can't access SU command on adb shell?

All this time, I thought that once I've rooted my phone, it means that I will also have SU access to it. This is true for the first device I rooted. When I rooted it, a SuperUser application appeared ...
0
votes
0answers
41 views

disable touchscreen on z2

I have a Sony Xperia Z2. The screen is physically fine, but the touch screen is crazy and registering random clicks all over the place. I can connect via adb, so I'm looking for an adb command to ...