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

1
vote
1answer
12 views

Colored output in adb, e.g. for ls command

Is it possible to have colored output in adb shell, e.g. for the ls command? I've tried ls --color=auto . etc, but that doesn't seem to work. Colored output, however, works in adb shell, e.g. with ...
0
votes
0answers
18 views

adb closing when in command line

I'm trying to use adb backup command, but adb window just pops up and closes instantly, I've tried doing adb backup -all -apk -shared -system -f D:\backup.ab > D:\out.txt but the file is empty, ...
0
votes
1answer
16 views

Cannot access galaxy nexus via adb

Yesterday my noble Galaxy Nexus (maguro) sacrificed itself to save me when I fell from my mountain bike. I would like to copy the data to my computer. What is good: the screen and the sim card is ...
0
votes
1answer
23 views

ADB restore isn't working

I think there are a lot of this type of questions but I have a new (for me and can't find it anywhere) problem with the adb restore command. I created an adb backup -apk -shared -all and it looked ...
-1
votes
0answers
26 views

Restore encrypted adb Backup fails

EDIT: trying to unzip the tar with linux, appears to work for the moment I have a Samsung Duos(GT-S7562). Before installing a new Rom, i did an adb-backup(using: adb backup -apk -shared -all). The ...
0
votes
1answer
14 views

Can't set date via shell

I've tried date -u 1407697765 output: time 1407697765 -> 1407697765.0 settimeofday failed Bad file number and busybox date -s @1407697765 output: date: can't set date: Operation not ...
0
votes
0answers
14 views

Configure UART GPS module for Friendlyarm nanopc-t1 on Android

have a NanoPC-t1 device and I'm running Android 4.2.2 on it. I want to install my gy-gps6MV2 module and make it work as the device GPS. Do I need root access? (I already tried to root device with ...
1
vote
1answer
61 views

How can I find out which bands my phone supports

Background: I recently bought the Padfone X, and have been attempting to get it on my network. Part of this effort has been verifying information I have found online which claims that it supports LTE ...
0
votes
0answers
16 views

input keyevent seems slow

I'm writing a script that automatize our application login. adb shell "input keyevent KEYCODE_TAB; input text foo; input keyevent KEYCODE_ENTER;" and so on... Work great, but it seems a little slow ...
0
votes
0answers
41 views

INSTALL_FAILED_MISSING_SHARED_LIBRARY

I'm trying to install ISIS on my nexus 5. I downloaded the apk file but adb install says INSTALL_FAILED_MISSING_SHARED_LIBRARY. How can I install what is missing? $ adb install ...
1
vote
0answers
33 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 ...
0
votes
1answer
34 views

Getting files using adb shell

I have a rooted Galaxy S4 device which runs Android 4.4.2 & I'm trying to get the files of an application using adb shell, when I navigate to where my directory is and get the root access in shell ...
0
votes
1answer
43 views

A question about bricked phone (moto g xt1032)

I hav moto xt1032. In short I can only access recovery and cmw. However it seems that either my usb debugging was turned off or there is somehow some sort of malfunction and in cmw adb does not detect ...
1
vote
0answers
37 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 ...
0
votes
0answers
39 views

Geeksphone Revolution device only working with adb when charging

I have: Geeksphone Revolution (Installed android 4.2 yesterday) adb 4.4.2_r2-1 Arch Linux (Updated packages) adb/Configuring USB Access With Firefox OS everything worked fine. Now I can only use ...
3
votes
3answers
243 views

Install app without touchscreen or ADB?

My phones digitizer seems to have gone bad (after 5hrs of few app updates and 3hrs of a fall, working twice after that for 10minutes). It doesn't seems that the USB Debugging option is enabled on the ...
0
votes
1answer
86 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 ...
0
votes
0answers
6 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
4 views

Remotely activating USB Debugging [duplicate]

I have two android phones with broken screen (black, touch seems to work though). These phones are not mine but of a friend. I personally have a (working) Galaxy S3. The idea is to get back data ...
0
votes
2answers
19 views

Uprading my flash rom and still stacked on detecting the COM port

Ok, it took me 2hours to search for a solution, however it is still not solved. Here's my Smart Phone Specs: Name: Goophone i5c (iPhone 5c clone) Processor: MTK6572 Battery: Unremovable I ...
1
vote
1answer
76 views

“adb devices” shows device as “unauthorized”. How can I fix this? [duplicate]

I just decided to move from Windows to Linux for my Android development, I just finished to setup Android Studio, I was able to import my project into it, but now I want to be able to run my ...
0
votes
0answers
20 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
1answer
35 views

ADB has stopped working for me; *** LOCKED *** is at the top of the fastboot screen

I'm trying to root my phone (with a view to putting DebianKit onto it), and have had several attempts, each time getting a little further before stopping to look more stuff up. But now I seem to have ...
0
votes
1answer
33 views

How to Install App as System App [duplicate]

My S3 has a damaged motherboard (says Samsung Tech Center), only boots into safe mode. If I am to keep using the device I have to make the apps into system apps, so they run in safe mode. One way is ...
0
votes
1answer
84 views

Failed on cp file to /system - Cross-device link

I'm trying to mv .apk file from my /sdcard to /system and getting following error: failed on 'XXX.apk' - Cross-device link I did remount my /system as rw root@ghost:/ # mount -o rw,remount ...
1
vote
1answer
40 views

adb “CreateProcess Failure, error 5”

When I want to test an app in Eclipse (in an AVD), it throws out the following: The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse. Please ensure that adb ...
-1
votes
1answer
30 views

Receiving “Unknown id: disable” from ADB

I attempted to apply the following command through ADB... adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService$Receiver But when I enter the command, I receive the following ...
0
votes
1answer
38 views

Serious issue of ADB auto exiting

ADB always exits by itself causing (many times) almost wiping my data folder on PC instead of /data on Android. It does this even while I'm typing commands (!) as if there is a timer that makes it ...
0
votes
0answers
88 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
1answer
46 views

I have broken screen. Can I root my phone only with downloading mode and recovering mode?

I want to recover my data from my Samsung S Duos. I have broken screen, so I can't do anything, even unlock (because I have a password to enter the phone). I tried to install CWM and connect with ADB, ...
0
votes
0answers
20 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
1answer
27 views

Fully Wipe Nexus Device

I have a Nexus 7 2013 WiFi-only (flo) device. I rooted it and just generally messed around with it. Now I want to put it back to complete stock everything (bootloader, recovery, ROM, etc) AND ...
0
votes
2answers
77 views

adb pull /data fails

I have rooted my device HTC Evo Design 4G and I try to adb pull /data data and it says "0 files pull 0 file skipped" I was able to pull /System/build.prop. How can I pull root folder. Thank you iua ...
1
vote
0answers
103 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
2answers
60 views

Interpretting the output of dumpsys telephony.registry

So when I run the command dumpsys telephony.registry | grep -i signalstrength I get the following output: mSignalStrength=SignalStrength: 99 0 -120 -160 -120 -1 -1 25 -93 -12 300 2147483647 ...
0
votes
0answers
70 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 ...
1
vote
1answer
174 views

ADB device list empty, needed to edit build.prop

adb devices in the command shell gives me an empty list. I know this question is usually solved by: adb kill-server, adb start-server. However it still doesn't work. I had it working before because I ...
0
votes
0answers
121 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 ...
1
vote
1answer
113 views

ADB not seeing device after update

I just updated the Android SDK Tools to 22.6.4 and the Google USB Driver to Rev. 10 and now ADB cannot see the device. Device: Honeywell Dolphin 70e Black with 4.0.3 Modified the android_winusb.inf ...
1
vote
1answer
110 views

ADB shell: change IME method gives error “Unknown ID: null”

I bought a Chinese Android 4.2.2 smartwatch and discover it does not have a virtual keyboard. There is also no "input" option in Settings (there is "language" only). I installed a third party ...
5
votes
1answer
267 views

ADB shell-ing to wifi connected device when usb device present

I have two devices connected to my workstation simultaneously, one by usb, the other over wifi. C:\>adb devices List of devices attached Cxxxxxxxxxx2 device 192.168.60.69:5555 ...
0
votes
1answer
25 views

Forward console output to computer

Is there a way to forward the console output of your phone (I'm assuming there is some because Linux) to your computer, maybe using ADB? I'm especially interested in how to get the boot time messages, ...
0
votes
1answer
74 views

Oddities Reading boot.img - Way Too Big and Errors In Kernel

This is related to this question but as I've made some progress since and run into some rather different issues that would mean I'd essentially have to rewrite it to be a totally different question ...
0
votes
0answers
37 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 ...
0
votes
1answer
299 views

I can't find the boot/recovery partitions on my Android phone for backup - where are they?

I'm trying to back up boot.img, recovery.img, and system.img on my Android phone. I've found several mentions of running this command: cat proc/mtd and then just using dd to copy the listed mount ...
0
votes
1answer
113 views

Recording phone screen and playing the video file

I am very new to the whole world of android. I have been trying to record my phone screen(Nexus 5) through command prompt. I have also downloaded the SDK. I am able to record the screen. For some ...
0
votes
1answer
41 views

ADB Push not keeping file permissions, specifically execute permission

I "inadvertently" wiped system on my tablet with adb. No critique needed. I've already called myself all the names. What I need now is a way to put at least the "sh" program back on using adb or other ...
1
vote
1answer
113 views

Bricked phone due to cut-pasting of apk files

I accidentally cut all the .apk and .odex files from /system/apps/ and pasted onto the SD card instead of copying and pasting them. My phone is totally bricked. Stuck in a boot-loop and factory reset ...
0
votes
0answers
27 views

Upload system directory from rom to system partition

I was updating my HTC Sensation (unlocked, S-OFF) from CM10.2 to CM11. I did standard full wipe, flashed boot.img using fastboot, and then gone to my recovery (twrp) to install the zip (contains ...
0
votes
0answers
98 views

Fastboot command returns a list of question marks

I am trying to root an Acer Iconia Tab A200 tablet using a script. I have adb working and fastboot works too, however, command fastboot devices returns a list of question marks. Eg: ???????????? ...