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
430 views

Locked out of Android Vortex MID *permission denied with ADB

Here's the back story: I bought an used Android tablet. The guy said the power connector was broken so the tablet wont be charged. I took it apart and figured out the battery was dead. I have an ...
3
votes
0answers
655 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
479 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 ...
3
votes
0answers
2k views

How to enable a HTC MyTouch 3G Slide USB tether in Windows 7?

I'm trying to use HTC MyTouch 3G Slide for USB tether instead of my old G1, which works perfectly. On the first try the ADB driver didn't recognize the phone, but worked fine after adding this to ...
2
votes
0answers
401 views

Enable usb debugging mode from adb under clockworkmode “Broken digitizer”

My friend brought me a Xtreamer Q mobile phone with broken screen, clockworkmode is working, but USB debugging mode is disabled, I found some posts about how to enable it from adb i tried them and ...
2
votes
0answers
278 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
157 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
122 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
2k 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 ...
2
votes
0answers
168 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
342 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
48 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 ...
1
vote
0answers
79 views

fastboot and Samsung Tab 10.1 (GT-P7500)

I have been having some problems working with the Samsung Tab 10.1 (GT-P7500) whilst working on a custom rom. I have successfully downloaded AOSP and compiled it. I have also compiled adb and ...
1
vote
0answers
37 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
72 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
248 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
95 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
113 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
44 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
33 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
194 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
38 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
424 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
230 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
56 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
129 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 ...
1
vote
0answers
236 views

Permission denied while trying to do MKDIR

I am loading media files into the /sdcard folder on my Android device and playing them and everything seems to work fine. When I tried to do a MKDIR on this folder, it said that my permission is ...
1
vote
0answers
581 views

problems detecting Asus nexus 7 on Windows 7 Home Professional (driver installation problem)

I am having problems getting my Asus Nexus 7 detected on a laptop with Windows 7 Home Professional When I connect the device to the computer, it says USB debugging mode enabled, but the computer does ...
1
vote
0answers
3k views

Changing install location to 2 with `adb shell pm set-install-location 2' results in 'insufficient memory' errors when installing apps

I am using Galaxy Grand GT-19082. I used latest android sdk and unpartitioned new 32 GB SDHC Card. I used adb shell pm set-install-location 2 and it shows that It selected 'External 2'. After ...
1
vote
0answers
89 views

Exotic case of Galaxy Nexus not booting

Symptoms : Put battery into Galaxy Nexus (tried with two different including a brand new one) Plug cord to USB host or charger Large battery charge indicator icon appears in the middle of the screen ...
1
vote
0answers
198 views

How to setup ADB for TCP on Galaxy S3 with broken USB port

I have a SGH-I747 phone that has a problem with the USB port (it will charge, but is never recognized so no ADB. Phone was actually sent to Samsung and they stated 'Beyond repair - gross ...
1
vote
0answers
231 views

ADB RSA key popup not showing on Nook Tablet with official CyanogenMod 10.1 Nightlies

I have a B&N Nook Tablet (my only Android device) with CyanogenMod 10.1 official Nightlies installed on it. I am trying to use ADB, I tapped on build number, opened dev options, and enabled USB ...
1
vote
0answers
83 views

VNC style connection over ADB?

Could I connect to a device over USB ADB, get a shell and then launch a VNC type graphical connection where I can use that device? I have a android device at a customer remote premises and I want to ...
1
vote
0answers
93 views

Can I send Ctrl+C to Android terminal from Windows Powershell?

Adb shell should let me Ctrl+C to exit a command like top. Unfortunately it doesn't seem to work in Windows. Is there a workaround?
1
vote
0answers
196 views

How to switch off HDMI

I have an android box with a HDMI port. Im connecting it to a projector. To the same projector Im also connecting a PC via VGA cable. Now I want to give my box a command to switch off the HDMI port, ...
1
vote
0answers
4k views

Installing ADB drivers for Micromax A89 Ninja - Windows 8

Micromax does not provide any drivers for its phone - Micromax ninja a89. We are trying to use the phone for development and are unable to install device driver in windows 8. We tried the adb ...
1
vote
0answers
366 views

Possible security issues with having debug mode enabled?

Are there any significant security concerns with having a phone with debug mode enabled 24/7? As I understand it the debug mode only really becomes active once the phone is connected via USB cable to ...
1
vote
0answers
284 views

Package cannot be (re-)installed or uninstalled

Was trying to install SDMove.apk (sideload) from my ICS tablet. adb reported: Failure [INSTALL_FAILED_ALREADY_EXISTS] However when I issue uninstall command, it reports Failure as well. When I try ...
1
vote
0answers
2k views

Rooting failed htc one x : adb server is out of date

Tried to root my mobile HTC One X AT&T Build number 1.73.502.1 710RD ATT US edition referring the following link. Root HTC One X Restarted twice but the phone was not rooted. adb server is ...
1
vote
0answers
159 views

How to connect SPICE MI 310 to eclipse Android Device Manager?

I want to use my SPICE Mi 310 (with Android 2.3.3) to test my Android applications. But I am not able to see the device in Android Device Manager in Eclipse. I have been trying to find a suitable ...
1
vote
0answers
162 views

How can you enable “Use secure credentials” from the shell

On the ICS ROM I'm using, the option to enable the secure credentials is missing from the menu, but the sub system seems to be there since Keystore Locker can communicate with it. So does anybody ...
1
vote
0answers
594 views

Why would /mnt/sdcard/ not appear?

Using ADB shell to view my Samsung Galaxy Tab 7+, I see a /mnt but no /mnt/sdcard/ where according to fable the photos taken by the camera should reside. Why would the sdcard directory not be there? ...
0
votes
0answers
3 views

“In the setting will not be less than 2mb” Trying to enable adb debug

So, when I try to go to Settings > Applications > Development it simply states In the setting will not be less than 2MB. I have a stock Alcatel One Touch Revolve. Literally just got it. ...
0
votes
0answers
15 views

Is it possible to unlock a device from terminal?

Is it possible to use adb (or a similar tool) to recover data from a password protected android device with a damaged screen? I have the password so this isn't about bypassing the password lock, I ...
0
votes
0answers
37 views

adb/fastboot can't find device in bootloader, but they can do it when booted

I have worked on building Android from source code for few weeks. It used to be fine to me with my Galaxy Nexus, I can connect to my device via adb and fastboot and flash either the factory ROM or ROM ...
0
votes
0answers
14 views

adb deamon run as root - help

I wanted to get adb daemon executed as root. So I followed following steps. adb shell su (now with root) I mount rootfs / in read write mode. I notice default.prop file and open it using vi. Value of ...
0
votes
0answers
44 views

Nexus 5 backup with ADB 'pull'

Is it possible to back up all the user data on my Nexus 5 (apps, pictures, everything) by running the following command while the device is in recovery (assuming all partitions are unmounted)? adb ...
0
votes
0answers
67 views

App not installed error while sideloading and Install failed UID changed via adb [Not rooted]

I am having hard time getting an app installed since none sideloading nor adb install work...since I dont have root i cant delete the app's data folder from the data/data folder.. seems delete that ...
0
votes
0answers
25 views

ADB “screenrecord” not working when executed form device

I recently found out about the screenrecord feature of ADB on Android since API19. If I try and execute this from Android Terminal Emulator on my device, I get the response from the device I would ...