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

0
votes
1answer
1k views

How to Clear Caches in LG G2 Running Lollipop 5.0.2

The Lollipop update for AT&T LG G2 has pretty much destroyed my phone. I'm hoping clearing out every sort of cache might help. But I can't clear the caches the usual ways because (1) the ...
8
votes
2answers
26k views

ADB not working, but Fastboot is

I recently bought a used Nexus 5. It came with the L preview on it, and I decided to flash CM 11 instead. My last phone was a Nexus S, and I've flashed various ROMs to that thing in the past. Using ...
0
votes
0answers
27 views

If I can flash a ROM using adb or SP Flash Tool, is CWM (ClockWorkMod) Recovery really needed?

I have a general question about flashing ROMs and recovery. I've flashed stock ROM on my Asus Fonepad before using adb & fastboot when their last OTA update had issues. Similarly, I've used the SP ...
1
vote
0answers
28 views

adb device always unauthorized

Im running Ubuntu 16.04 adb version Android Debug Bridge version 1.0.32 However, when I plug in my devices for testing via ADB I always get an unauthorized error. adb devices List of devices ...
0
votes
1answer
3k views

Fix Soft Bricked Samsung Galaxy S4 SCH-I545

I am new to all of this, and I am having trouble with my Verizon Samsung Galaxy S4 SCH-I545. I am on a mac, but also can run windows 7 in vmware fusion. A couple days ago, I successfully rooted my ...
0
votes
0answers
40 views

Remounting system on android emulator lasts about 10 seconds and reverses until reboot

Found something odd with the Android 6.0 on x86_64 emulator (and possibly others) system images... is it something I'm doing wrong? When I remount /system and push stuff to it, it's giving me a ...
2
votes
1answer
2k 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 ...
0
votes
0answers
19 views

How to release unknown wakelocks using Fastboot or ADB?

Under Battery History, it can be seen that the device is always 'Awake' due to some or the other app using WakeLock. So how to identify and release a specific/all unknown wake lock(s)?
0
votes
0answers
37 views

Connect/disconnect WiFi from android quick setting menu

Is there any command(adb or anything else) which I can use to connect/disconnect my android device to WiFi from quick setting menu. I need to connect my phone to some SSID by going to standard setting ...
6
votes
3answers
15k views

A way to get the current resolution size and DPI from the command line/terminal/adb?

I've got adb access to my android phone. So I know that I can override screen density and screen resolution with the am command provided with Android. That's great and dandy, I guess. But is there a ...
0
votes
1answer
39 views

Restricted Google Play Service hangs up the booting process

I use oneplus one with CM13. There is a privacy guard that allows to block any permission for any app/service. I applied this feature to Google Play Service. Now it asks me allow some permission and ...
1
vote
0answers
42 views

adb device not found after reboot

I am developing an automated test script to turn off my android device and turn it on back again and then run a few adb commands after the boot is complete. My problem is that when I turn the device ...
0
votes
0answers
26 views

What is the local path (on the Android device) to files accessible over USB storage?

I have my device connected by "Mass storage (UMS)" and with "USB storage" selected. On the PC, this allows me to mount the device successfully, and give a listing of files. However, what is the local ...
-1
votes
0answers
58 views

Can Not install Android Wear App

I have been attempting to find compatible apps that are intended only to work on Android Phones and Install them on the android wear device. I recently Have came across a Moto 360 2nd Gen. and a ...
0
votes
1answer
76 views

Unbricking a phone without being able to access recovery

I have rooted my Zenfone 2 ZE551ML using a method which permanently replaces recovery (I didn't realize it back then). Can I unbrick it using only fastboot? I can't use adb, as I can't open recovery. ...
3
votes
1answer
4k 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 ...
1
vote
3answers
2k views

Android Studio says: “No device connected” yet I already tried many possible solutions

Running Windows 7, and I have just downloaded the latest Android Studio version, and started a project. Now I'd like to test the application on my device but Android Studio says on the bottom left "No ...
1
vote
1answer
2k views

Cannot find HTC One in ADB, SD card not mounted, incorrect kernel for installed ROM, no backup

Pretty much what the title says. I have messed up big time. Because I am switching carriers, I have to switch back to the stock ROM. It is stuck at the loading screen, most likely because of a kernel ...
0
votes
2answers
3k views

How to set WIFI proxy via adb shell?

Genymotion 2.2 & Android 4.0 I want to set a global HTTP proxy in Android, and all Apps will go through this proxy. Now I can only do this in GUI as following way: Wi-Fi -> WiredSSID -> Modify ...
0
votes
1answer
4k views

Best Practise for deploying a 'clone' image across 200 android tablets (Samsung GT-P7510)

My objective is to be able to create a master 'image' of an android tablet, and then duplicate that image across about 200 identical tablets to streamline the administration of a university's pool of ...
0
votes
0answers
42 views

Android Recovery Question

I have a Samsung Galaxy S6 that has gotten into a boot loop. Basically, when you power it on it shows the SAMSUNG Galaxy S6 (powered by Android) screen for like 3 seconds and then goes black. It then ...
-1
votes
1answer
22 views

2013 Nexus 7 frozen screen/stuck on language set up/boot loop

I see similar questions here but none of them refer to being stuck on the language set up screen. I have tried to use ADB driver and Toolkit but I cannot seem to get my pc to recognize device half the ...
0
votes
2answers
6k views

Need one-line adb shell su push & pull to access /data from Windows batch file

I've been struggling for two days. Hope for help here. I wrote a Windows batch file that replaces Amazon lockscreen ads with user images on rooted kindle fire hd 7", 2013 (kfsowi). Just learned I ...
0
votes
1answer
5k views

Asus memopad7 170C, unlocking bootloader fails

I'm trying too root my Asus memo pad 7 (170C), I've tried EVERY method, using KingoRoot, SuperOneClick, Frameroot, motochopper. None of them worked. So I decided to do the rooting stuff myself, first ...
1
vote
1answer
33 views

Cannot unmount SD card

I'm currently using Android 4.0.4 (Ice Cream Sandwich) on an old Qualcomm, ARMv7 device, with a 2GB SD card. I want to bootstrap Debian Wheezy onto the SD card, but FAT32 can't handle symlinks and ...
-1
votes
0answers
36 views

oem unlock killed adb/fastboot OS X. How can I fix this so I can finish root

LG G4 on MM. OEM unlock worked fine from adb. But upon reboot, G4 is no longer recognized "adb devices" from Terminal.
1
vote
0answers
27 views

permission denied on files created via adb in recovery

I stumbled upon a strange issue - after installing new ROM (CyanogenMod 12.1), I used adb push (still in TWRP) to copy some backed up directories to internal storage - so far so good. But then in ...
0
votes
0answers
9 views

cant mount /system as rw [duplicate]

I have a rooted Huawei P8. A few days after root every google related app stopped working. The problem is at the hosts file, it just wont let me edit it. Ive tried various file explorers, ES, FX, ...
1
vote
1answer
35 views

Do I need to reinstall the OS before using adb restore?

Assuming I did a full backup with adb backup -system -apk -shared -all -f "backup.ab" And then went into the recovery on my phone and wiped it completely. Do I need to reinstall the OS before ...
0
votes
0answers
8 views

Is there a way to execute a comparable version of fastboot erase on an Android phone?

The GPS doesn't work on my Moto G since I flashed CM 12.1 on it. According to https://wiki.cyanogenmod.org/w/Known_Issues_page_for_falcon, it is possible to 'fix' the problem by erasing certain ...
1
vote
1answer
4k 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: http://forum.xda-developers.com/showthread....
4
votes
2answers
10k views

Can't connect to the device with ADB when it's in recovery mode

I am having some problems with my Samsung Galaxy S2 and I want to start an fschk session on the device. So, I installed Android SDK with platform-tools. I can access to the device when it's normally ...
3
votes
2answers
3k views

Can adb start my android device that shows up as “offline”?

I can see my device in adb devices. It shows up as "offline". When it is "ready": $ adb shell $ su # reboot This would reboot my device. The exact problem is that my cellphone has been turning off ...
16
votes
9answers
40k views

ADB constantly disconnects, shows device offline

I'm not 100% sure if this should go here or the main Stack Overflow, but I decided to go with this area in hope I might catch someone with more specific experience with a similar problem. I have a ...
0
votes
0answers
51 views

Rebooting or Recovering While Phone is Locked

So my phone has a broken power button, but a few days ago my phone starting having major problems. Essentially many apps started acting up or not working, including my volume power app. After the ...
0
votes
0answers
20 views

No Os no recovery image

MY device is huawei p8 i can't attach it to adb because i wiped system by twrp and deleted twrp recovery so pc can't access device any help ..... thanks
0
votes
1answer
27 views

Samsung Galaxy Tab 2 10.1 rmnet0 interface non existent

I was wondering, why in my Samsung Galaxy 2 tablet I can't see any rmnet0 interface after executing: adb shell cat /proc/net/xt_qtaguid/stats Or: adb shell netcfg I know this a wifi only device, ...
0
votes
0answers
704 views

No OS and no recovery mode

My OS wasn't working anymore for some reason so I tried to restore it using recovery mode. I had TWRP and after trying a few roms and having it tell me every single time that it failed to install (...
2
votes
1answer
1k views

setting mock location remotely

for testing purpose I need to fake my GPS location on a real Android device. Now I know about the possibility of Android Emulator and setting their GPS location via telnet. I dont really have a clue ...
1
vote
4answers
2k 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 ...
0
votes
1answer
99 views

how to take complete backup of my android device using adb [duplicate]

I'm trying to take full backup using adb backup -all -f <path> and it took backup and stored in my PC. When I try to restore it using adb restore <path> then it restores onto the target ...
2
votes
2answers
3k views

Disabling “Storage space running out” notification in Status Bar?

Is there any way to disable the "Storage space running out" notification on Cyanogenmod 10.1.3 [Android 4.2.2], through ADB or otherwise ?
0
votes
0answers
71 views

Connect to Device from remote machine/server

I'm using a software interface, with adb, to connect to my android device. My issue is, that my client, needs something like a daemon on the devices to connect remotely, without need to plug the ...
0
votes
0answers
23 views

{X551} Could not flash any custom recovery

[A] This is my current device spec.: Model: Infinix Hotnote X551 16GB ROM + 2GB RAM Android 5.1 Lollipop [B] I bought it in Vietnam in Jun 15th 2016, and after 1 week, I could not flash any custom ...
1
vote
2answers
192 views

Restore SMS messages from a rooted phone with a broken screen to an unrooted phone

I'm trying to restore my SMS text messages from my rooted Nexus 5 with a broken screen (no display or touch capabilities) to my functioning but unrooted Nexus 5X. I can turn the rooted phone to ...
0
votes
0answers
23 views

How to stop apps from doubling overscan?

For some reason a chunk of the digitizer broke on the bottom of my phone. I tried to use adb shell wm overscan 0,54,0,324 to resize my screen smaller until I can get a new phone, but it's giving bad ...
0
votes
1answer
2k views

Enabling adb on Beaglebone Black

I have successfully loaded TI-Android pre-built image on a BBB which was downloaded from here. Everything works well on the device. I have been trying to enable adb without much luck. Basic HW and SW ...
2
votes
3answers
4k views

How do i recover my wifi pass from android using adb?

I'm connected to a wifi spot with my android, but i'd like to connect with my laptop aswell. I don't want to root my phone (warranty and stuffs) nor reset the router, as it has complex settings on it. ...
1
vote
1answer
2k views

ADB Debugging on LG Watch R

today i got a LG Watch R for a programming project - first i had a Gear Live that was now replaced. When i follow the guides step by step i never get the "authorize this computer" like i did with the ...
0
votes
0answers
55 views

Run a Tasker task via ADB

I'm looking for a way to run a Tasker task named test via ADB command. I found this thread Running a tasker task via SSHDroid (or adb shell) and tried but did not succeed. All I got was adb shell am ...