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
0answers
10 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
2answers
27 views

Can I format android phone's internal storage with adb?

I formatted my phones internal storage with ntfs and now it doesn't appeared in usb mode and also not in file manager. And phone's feature like gallery, camera, recording etc are not working. Is there ...
7
votes
3answers
2k views

Backup using adb on a phone with a dead screen

I have a Galaxy S3, screen is visually and touch impaired. It is USB debug enabled, un-rooted. I'm able to use Droid@Screen to see my screen, which i'm able to unlock. I then run this command: ...
1
vote
1answer
886 views

How to restore adb backup on Nexus 4 (boot loop)?

Recently I have flashed unofficial cyanogenmod 10.2 for my Nexus 4. After testing some features I the device came into a "bootloop" (stays on cyanogenmod logo launcher). I tried to reflash it with cm ...
0
votes
0answers
14 views

Flashed Picuntu Now Stuck in Boot Loop

I have an android tv box. Model name is cs968 and it has RockChip rk3188, its rooted and i had cwm as recovery. The device is also mentioned in this xda thread : ...
1
vote
0answers
332 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
1answer
67 views

LG Optimus Zone 2, Kitkat ADB connection problems

I have purchased an lg optimus zone 2 to develop on and I have removed all of the drivers for the phone on my windows 7 machine. I downloaded the OEM driver from LG and disconnected my network. After ...
0
votes
1answer
529 views

Can not uninstall standard Android keyboard or get it back working

I want to uninstall the standard Android keyboard com.android.inputmethod.latin. I googled and found multiple threads discussing this problem. What I did so far: 1.) Uninstall via intent -> doesn't ...
0
votes
0answers
10 views

It it possible for one to mess up their device(Nexus 4 specifically) with Fastboot such it can't be fixed with fastboot? [on hold]

Is it possible for a person to mess up their device with fastboot such that it can't be fixed with fastboot? Or can't easily be fixed with fastboot? e.g. they erase a ton of different things or ...
0
votes
1answer
15 views

does flashing a kernel ever wipe anything on the phone? + Doing it without CWM?

does flashing a kernel ever wipe anything on the phone? and is it ever dependent on android version? e.g. 4.22 or 4.3 I have CWM and i've seen the option to install from zip within CWM recovery. ...
1
vote
1answer
31 views

How to backup applications' data from second or subsequent user of a currently non-rooted device?

Primary question: given a non-rooted 4.2.2 device which has second user added and used for awhile, is there any way to backup or otherwise safe the application's data of that second (or third etc.) ...
1
vote
2answers
608 views

Android ADB drivers installation error

I am trying to install the usb adb drivers. I turned the debugging mode on in the settings of my phone, connected to the PC. I click update drivers and manually selected the folder where the drivers ...
2
votes
1answer
1k views

adb input keyevent 26 - Not waking device up

I am trying to wake a device up using the following adb command adb input keyevent 26 This correctly emulates the power button keypress if the screen is on, but will not turn the screen on if it was ...
21
votes
3answers
17k views

Is there a way to look inside and modify an adb backup created file?

I created a backup of my Galaxy Nexus with adb backup. The resulting file is named backup.db and it's somehow encrypted. I wanted to restore the backup, but it stops when it comes to restoring ...
0
votes
1answer
1k views

Can't seem to configure my phone to download to SD card by default

Well, I have a Motorola Razr I and, as expected, my internal storage was pretty limited (only 5 gbs). Of course, I already had a SD card which I inserted into my phone to expand it's memory to 25 gbs ...
1
vote
1answer
17 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
1answer
1k views

How do I install USB drivers in Ubuntu 13:04 for Nexus S?

I am trying to follow this guide: http://forum.xda-developers.com/showthread.php?t=2163085 However I am unable to connect to my android phone via USB. I think I need to install the USB drivers ...
0
votes
1answer
112 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 ...
0
votes
0answers
19 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
18 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 ...
1
vote
2answers
3k views

The command 'adb root' works, but 'adb remount' results in “Operation not permitted” message

I'm trying to remount /system to copy some files to it. I tried the following with adb: adb root adb remount The first command works fine (because my phone is rooted), but the second tells me that ...
0
votes
2answers
2k 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 ...
1
vote
2answers
2k 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
vote
1answer
2k views

Stop Media Playback through adb

I'm testing some settings on a phone, and unfortunately the only control I have is through adb right now. My issue is that while I can start playback of a music file through the following command, I ...
1
vote
2answers
943 views

adb restore across different devices, android versions

Once upon a time, I ran this on an Android 4.3.0 Nexus 7 2012 running ParanoidAndroid: adb backup -all -nosystem -apk -shared \ -f backup-all-nosystem-apk-shared-201309132331 Now I would love to ...
2
votes
1answer
3k views

adb su permission denied, no rom, rooted, need to fix internal sd card

can someone please help. im pulling my hair out lol im trying to fix a friends phone GT-I9000. basically i get error in mounting sdcard. after searching endlessly and installing 100s of stock rom. ...
1
vote
2answers
4k views

Missing device driver for “Android 1.0” in Device Manager while in HBOOT menu!

When I enter HBOOT menu with the phone connected to the PC with USB I get the missing driver prompt in Windows and there's an exclamation mark for a device called Android 1.0 in Device Manager. I ...
0
votes
1answer
1k views

Android ADB unable connect with IP address

I have successfully installed Android OS in Oracle virtual box, but I have one problem: I cannot connect to ADB in the Android OS virtual box. In my Network settings in virtual box: When I select ...
0
votes
1answer
25 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
vote
1answer
1k views

Linux ADB Driver for LG Viper (LG-LS840)

On most devices I've run across I can plug the device into a Linux machine and no additional drivers are needed in order for ADB to communicate with the device. However on two LG devices from last ...
-1
votes
0answers
29 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
17 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 ...
1
vote
1answer
2k views

Sony Xperia Z1 won't start up again!

As you may know, you have to backup the TA-partition before you put a custom ROM on the Sony Xperia Z1. I've backupped the partition with this .bat file: ...
0
votes
0answers
21 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 ...
3
votes
3answers
5k views

ADB can discover devices but not fastboot

I've searched on the web about this problem and it's usually solved by installing the appropriate drivers. Problem is I'm on a Mac. When I plug in my device, it can be discovered when I run adb ...
1
vote
1answer
76 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 ...
2
votes
1answer
3k views

Problem with ADB on my Nexus 4 (unauthorized phone)

When running adb devices in cmd, it says that my phone is unauthorized. It appears that it has something to do with the RSA fingerprint prompt. I don't remember ever getting such a prompt. Yes, I am ...
0
votes
0answers
21 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 ...
4
votes
1answer
1k views

Non-root backup with multiple users (non-owner or secondary users)

I really did spend some time researching this and was surprised to not find any answers (this great thread doesn't address this problem at all.... I'm trying to recover from my unfortunate situation: ...
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
36 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
38 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 ...
4
votes
1answer
5k views

Backup using ADB without root or usb debugging

I have a Nexus S (on android 4, not rooted) device who's not able to boot. It opens and get stucks to the X screen. I can only access the recovery mode. I tried to backup data via ADB, but the phone ...
0
votes
1answer
1k views

ADB unable to connect my Nexus 7 on Ubuntu

I want to be able to connect my Nexus 7 in order to test my applications from Eclipse on the physical device. I followed this Google guide. My /etc/udev/rules.d/51-android.rules file contains this : ...
0
votes
1answer
53 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 ...
0
votes
1answer
1k views

Run native executable in Android

When I install FaceNiff on Bluestack and try to run the executable file from adb shell by ./FaceNiff I get the error: /system/bin/sh: ./FaceNiff: not executable: magic 7F45 I have rooted the ...
0
votes
0answers
713 views

Acer Iconia Bricked with reboot loop after root attempt

I attempted to root my Acer Iconia B1-A71 tablet and ended up bricking it because of not installing the partition fix apk (Bad tutorial). The tablet is currently in a reboot loop and I've tried so ...
0
votes
1answer
344 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 ...
1
vote
1answer
922 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): ...
1
vote
0answers
38 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 ...