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

4
votes
0answers
399 views

Obtain package name AND common name of apps via ADB

I'm looking for a possibility to retrieve both, the package names and the common names of apps installed on an Android device via ADB – or at least to retrieve the common name if the package name is ...
4
votes
0answers
793 views

Possible Soft-Brick Fix for my Galaxy S4

So, prior to my stupidity, I made a system.img dump via dd However, after my stupidity (tried flashing some lib files....), I am now stuck with only stock recovery mode, or download mode. How can I ...
3
votes
0answers
31 views

command on adb waits forever

I can successfully execute ADB commands, but if the command has no output the command line just waits there and does not let me enter a new command until I press ctrl-c, the commands do work however. ...
3
votes
0answers
3k views

Is it possible to enable Location Services via Shell?

Is it possible to enable Location Services(GPS or Google NetworkLocation) via ADB or Terminal Emulator? I'm on a rooted Phone. Extra Points: Is it also possible to change other system-related ...
3
votes
0answers
839 views

Rooting/unlocking Android Nexus One with broken power button using Linux terminal tools

I am attempting to get Cyanogenmod onto my Nexus One, but am running into far more problems than expected. The information on rooting Android devices seems heavily fragmented across the web and the ...
3
votes
0answers
578 views

Error: “reloc_library cannot locate 'fdatasync'”

I have my phone connected to my laptop via the USB cable and ADB is able to identify the device. When I run adb devices it returns the phone in the list of connected devices. Running the command adb ...
2
votes
0answers
10 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 ...
2
votes
0answers
34 views

extSD card does not work after adb push to /mtn/extSdCard

After I run adb push cm-11-20141115-SNAPSHOT-M12-i9300.zip /mnt/extSdCard the command replied me 3949 KB/s (223217798 bytes in 55.194s). After that my micro SD-card is not detected neither by device ...
2
votes
0answers
228 views

Asus Transformer Tab tf300t stuck on asus screen. No ADB, no fastboot, no recovery, no os

I'm very happy with cm11 on my Galaxy s3 so i wanted to try it on my tf300t. First i unlocked the bootloader which i succeeded in doing. Then i flashed clockworkmod recovery via adb. However, when i ...
2
votes
0answers
1k views

SDCard permission issue

I have a Samsung S3 which I have installed Cyanogenmod on with a view to carry out some procedures with root permissions. At the minute I am trying to create a .img file of the userdata memory block ...
2
votes
0answers
895 views

Simulate missed call from ADB shell

On the adb shell I run the command "adb -s shell am start -a android.intent.action.CALL -d tel:123456" to simulate a fake incoming call to my testing device. It works great. But I also want to ...
2
votes
0answers
539 views

Android ADB connect to device with broken USB and no root

I've read through the thread below and come across 2 solutions for connecting a device with ADB. Android - Run/install/debug applications over WiFi? The first is to use USB, and this isn't an ...
2
votes
0answers
350 views

adb shell superuser access without approve from phone

I'm running MIUI 3.9.27 on my HTC Desire S. I accidentally froze my miui launcher (com.miui.home) and after reboot, phone stuck on boot animation, but seems everything running except miuiHome. I ...
2
votes
0answers
148 views

Will adb restore increment the custom binary flash counter?

With adb backup an archive of all apps and their data can be retrieved from the phone. I could not find any clear information which exact files and partitions are accessed during the process. If it ...
2
votes
0answers
628 views

Package cannot be (re-)installed or uninstalled

My device is a non-rooted device. I was trying to install SDMove.apk (sideload) from my ICS tablet. Adb reported: Failure [INSTALL_FAILED_ALREADY_EXISTS] When I issue uninstall command, it ...
2
votes
0answers
185 views

How to have adb recognizing my Nikon s800c on windows 7?

Has anyone got ADB to work correctly for the Nikon S800C? I've followed the instructions mentioned here, but to no avail. I am using Windows 7, and can see a yellow alert mark in the device ...
2
votes
0answers
469 views

Disable Slide to Lock

I have a Cruz T301 which is rooted. The screen calibration is a bit off and I cannot access the home screen. (It is next to impossible to use the slide to unlock.) Basically, it will slide to the ...
2
votes
0answers
1k views

Motorola USB Drivers on Windows 8

Is there any way to install the Motorola USB drivers on Windows 8? I downloaded MotoHelper, but it won't install, saying that the OS Version is unknown. Is there some other way to get ADB to see my ...
1
vote
0answers
66 views

OS X Yosemite - Nexus 5 - ADB Device Offline

I've been trying to initiate ADB commands on my Nexus 5 using my MacBook Air. However, when I type adb devices into Terminal, my Nexus 5 is listed as offline. I've tried disabling/enabling USB ...
1
vote
0answers
85 views

Changing DPI with adb

I have a HTC Evo 3D and i want to change the DPI. I am not rooted but I know that using adb and putting the command adb shell wm density 200 I will be able to change my DPI. But i am getting this ...
1
vote
0answers
70 views

UDP Ports used by an Android Application

I am trying to figure out how to get a complete list of UDP ports opened by a specific PID within a given time interval, on and Android Device. In my current solution I am using a combination of ...
1
vote
0answers
85 views

nexus 7 (2013) adb connectivity issues Mac

The 5.0.2 OTA update soft-bricked my rooted but otherwise stock Nexus 7. I tried several times to wipe/reset from recovery, but it kept boot-looping afterwards. After a hundred tries or so was ...
1
vote
0answers
47 views

How can I get Skype to run on a MD700 tablet?

My uncle bought a cheap MD700 tablet (running Android 4.1.2) and strongly desired to use Skype on it, but for some reason the application didn't recognize microphone input. All it could be heard on ...
1
vote
0answers
157 views

Restore Google Authenticator accounts from ADB backup

About a month ago I accidently dropped my Nexus 4. Altough it dropped from only about half a meter- the screen broke and the multitouch stopped working too. I was lucky (and smart :P) enough to take a ...
1
vote
0answers
477 views

ADB Shell In Recovery Mode - Error:Closed

I smashed my display pretty good today and am unable to use the digitizer. The upper half of the screen is barely visible and the lower half is black. I have debugging enabled on the phone but I can't ...
1
vote
0answers
141 views

I can't see new files throught windows explorer

i can't see my new(!) files on android throught windows explorer while i can do it by ES explorer or adb shell. Is there any way to fix it?
1
vote
0answers
2k views

Nexus 5 stuck on boot loop after restarting while upgrading the OS

Last week, I received an update on my Nexus 5 for Lollipop 5.0.1. Version 5.0 was working fine, so I decided to just update. However, a few hours after updating, my phone started to lag and freeze, so ...
1
vote
0answers
38 views

What is the command line syntax of ClockworkMod recovery?

Background: I recently broke my phone's touch screen; everything else is working - I can even send inputs using adb shell sendevent ... and view the screen with screencap. ADB while in recovery works ...
1
vote
0answers
153 views

How to root from adb?

I have a tablet called General Mobile E-Tab 4. I bricked it. It stays on load animation. I can reach recovery but there are 3 options: reboot device wipe data/factory reset wipe cache partition I ...
1
vote
0answers
1k views

ADB backup creates 0-byte file; prompts for current backup password even though I never set one; “Failed to set password” for Desktop backup password

The problem: Every time I run ADB backup, I get a message near the bottom of the home screen saying Backup starting..., followed by a message saying Backup finished a few seconds later despite the ...
1
vote
0answers
137 views

Can I pull data off of a Moto 360 (smart watch) using ADB?

I am a complete beginner to the world of Android, but I am also an intrepid forensics examiner. I have been given the opportunity to conduct research into pulling data from certain wearables, namely ...
1
vote
0answers
226 views

Bricked chinese android

Recently I edited build.prop of my Note 3 smn9006 clone with mtk6572 for enabling navigation bar, i.e qemu.hw.mainkeys=0 and restarted. Nothing happened. Then again I tried to enable navigation bar ...
1
vote
0answers
150 views

Is it possible to clear-default of an app using an ADB command?

Not sure if that's the place to ask this (maybe stackOverflow is better), but here we go: Background There are plenty of possible commands that you can perform by using ADB. I use many of them on my ...
1
vote
0answers
1k views

ADB Doesn't recognize device when on Clockwork Recovery Mode

I'm trying to install another rom on my Samsung Galaxy S3 and when in the Clockwork Recovery Mode, the ADB quits recognizing the phone. When I boot to the SO, the pc normally recognizes it, I gave ...
1
vote
0answers
198 views

Permanently set USB connection mode

My phones touchscreen has been gradually failing for a few months, so before it dies completely I rooted it and installed Webkey so I can control it via a browser. Of course that requires the wifi to ...
1
vote
0answers
1k views

adb backup probably fails when trying to backup a single application

Following the advice here http://android.stackexchange.com/a/38277/27533, I am trying to migrate the application from Nexus 7 to ASUS ME302C. (Actually, my daughter desperately needs that -- you know, ...
1
vote
0answers
624 views

How to setup a PPP connection between an Android smartphone and a Linux computer?

For testing purposes, I need to connect an Android smartphone to my Linux desktop computer to enable communication between the phone and some servers on the LAN. I can't use Wi-Fi so I'm stuck with IP ...
1
vote
0answers
357 views

Help with this ADB REVERSE Tethering Script?

I added the functionality to automatically turn on reverse tethering after many fails: Now i only enter t into terminal alias t='r && sz $tether && r && sz $n' tether='am ...
1
vote
0answers
896 views

No confirm prompt when trying to use adb backup

I'm trying to do an adb backup of my Galaxy S3 (i747m), but after receiving the "Now unlock your device and confirm the backup operation" order from adb, I never receive the prompt on the device. It ...
1
vote
0answers
633 views

ZTE Nubia Z5 Problem?

I have a Zte Nubia Z5 ("2nd Hand") with a software camera problem (I think is a software problem because the camera works sometimes) The phone has Android 4.1.2. I tried to hard reset the phone but I ...
1
vote
0answers
244 views

Access encrypted internal storage without touch

Is there a way to access the encrypted internal storage without using the display? I damaged the display of my nexus 4 (Android 4.4, cm-11-20140104-SNAPSHOT-M2-mako) and need to access the encrypted ...
1
vote
0answers
378 views

How to recover data via adb?

My phone is huawei u8800 and it keeps restarting as soon as opened. Now it is closed and in adb, I tried adb backup -all but it gave the error now unlock your device and confirm the backup ...
1
vote
0answers
92 views

List of supported A/V and Image Codecs

Using ADB, is it possible to obtain a list of audio, video and image codecs supported on a given device? Whether or not they physically play is another story. I'm just trying to poke the device and ...
1
vote
0answers
38 views

Make device available in ADB (Windows 8)

A while back, I asked this question about the ADB. I now have another laptop running windows 8.1 and the problem is the same. Please look at the previous post for details. Please help
1
vote
0answers
572 views

Android TOP command CPU usage

I'm running a simple command line audio processing program in a shell on my Nexus 10 (Android 4.4.2), and want it to consume 100% CPU while it runs. The reason being, if I know it used 100% CPU, I can ...
1
vote
0answers
42 views

OS X utility to create stock images

Before I spoil my new HTC One. I needed a little help with the following Create a backup of the recovery Create a backup of the system Create a backup of anything that maybe required to bring the ...
1
vote
0answers
896 views

adb restore not working for shared

I have a Nexus 4 with Android 4.4.1 … I've read that we could root it without wiping the data … well didn't work for me! I wasn't scared, because I made a full backup using: adb backup -apk ...
1
vote
0answers
493 views

Obtain the Phone Number through ADB

I have a rooted Android device, and I'm set up with the Android Debug Bridge (ADB). I'm having difficulty finding the phone number of the device through ADB. I'm hoping to eventually automate this ...
1
vote
0answers
106 views

Is there any way to dump the Data Usage log through the ADB shell?

The reason I would need to dump these data is because in smalls display (S5301) doesn't fit everything and data is cut. I couldn't do anything to move that graphic. Look, I've searched in Google ...
1
vote
0answers
160 views

HTC Desire S-Off

My HTC Desire is stuck in a boot loop: HTC Desire Boot Loop I am trying to set S-Off so that I can use the Windows version of ADB and delete some apps/data off the phone memory. I don't want to ...