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
0answers
611 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
752 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
546 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
155 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
365 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
443 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
268 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
135 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
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 ...
2
votes
0answers
441 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
177 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
430 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
10 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
27 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 ...
1
vote
0answers
15 views

adb unable to recognize Google Glass on Windows 7

On Windows7, I've updated the Google Glass android_usb driver configuration file to reflect the correct VID and PID and it does show up on Device manager as Android ADB interface. While the device ...
1
vote
0answers
75 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
343 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 ...
1
vote
0answers
85 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
137 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
77 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
607 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
136 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
544 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
455 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
491 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
192 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
280 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
73 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
36 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
379 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
41 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
766 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
381 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
83 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
143 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
403 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
666 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
5k 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
101 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
216 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
286 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
117 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
126 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
250 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
387 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
3k 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
179 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 ...