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

creating mount point in root mode

When trying to expand tablet memory (from 500 Mb to 1G) I made a mistake when I was applying Gparted. I reset my device to the fabrication settings and now I can't mount sd card (no the real sd card), ...
0
votes
0answers
31 views

Samsung Galaxy S4 - no adb devices

I wanted to install a custom ROM on my old Galaxy S4 I9500. I installed CWM recovery at first with Odin, and it worked really well. Thereafter, I tried side-loading or pushing the custom ROM using ...
2
votes
0answers
61 views

ADB authorization prompt missing in Sony Xperia Z3 Compact (D5803)

I just bought a Sony Xperia Z3 Compact (D5803) and I'm trying to root it. I'm following this link for instructions, but I got stuck at the "Rooting with exploit" step as I can't authorize the ...
2
votes
1answer
29 views

defining functions in TWRP

In "normal" android you start up a Terminal emulator or do "adb shell" and then from there you can defining a function by: function name { #code } name #runs "name" But by using adb shell over ...
4
votes
1answer
170 views

How to backup data on a non-booting, unrooted phone?

I have a Samsung Galaxy S3 (SGH-I747 for AT&T) that is not rooted. Recently it started shutting down in the middle of use and not start up again. At first, plugging it into the charger would get ...
1
vote
1answer
83 views

Toggle location services via adb in Android 5

I see this answer from 2013, but now there are options for High Accuracy, Battery Saving, and Device Only. Also, there was no command for disabling location.
0
votes
0answers
79 views

Do not use Google for captive portal detection

I'm in China, where Google is blocked, so my phone is not connecting to my home network and displaying an exclamation mark on my mobile data and wifi icons, as it probably cannot connect to Google. I ...
2
votes
1answer
44 views

Samsung note 8 n5110, adb sideload <filename>

I have a soft-or-hard bricked Samsung Note 8, n5110 and now would like to rebuild it to a somewhat workable state. The device has a flaky power-charging system and may not be worth repairing. I use ...
1
vote
1answer
125 views

Attempting to update ADB from 1.0.31 to 1.0.32

I'm trying to update Android debugging software from version 1.0.31 to 1.0.32 on Ubuntu 14.04. I have consulted an earlier Stack Exchange post on the same topic here http://bit.ly/1KYqnxY but it has ...
0
votes
2answers
82 views

How to copy the entire contents of an android device to a linux PC

Ok, so some background, My original goal was to transfer some recently purchased nook .epub books to my PC so I can remove the DRM via Calibre. However, nook has removed the nook books from the usual ...
-1
votes
1answer
104 views

LG Optimus G Pro: adb devices works but adb reboot-bootloader doesn't boot into fastboot mode

I am looking to install Ubuntu on LG Optimus G Pro, but I have a problem on it. adb devices shows device is connected through ADB daemon, but adb reboot-bootloader or adb reboot bootloader doesn't ...
1
vote
2answers
167 views

What does “Archive does not contain 'android-something.txt'” mean?

So I am trying to flash my OnePlus One with CM12s through fastboot on command prompt, but whenever I type fastboot update romname.zip I am presented with: archive does not contain 'android-info.txt' ...
3
votes
1answer
69 views

Force 720p Resolution on InForce 6540

I'm working with an InForce 6540 board that has 5.0.2 Lollipop installed. I am trying to connect a display device that has a max resolution of 720p at 60hz. I am using a micro HDMI connection. The ...
0
votes
0answers
54 views

How to check usb connection time duration using adb command?

Is there any way to check when and how long was my android device connected via usb? I cant find any adb command to check it.
4
votes
1answer
169 views

How can I check when was the phone rooted?

In the adb shell command when I entered su, it prints: su root@hxjgeakt:/ # It means my phone is rooted right? How can I check when exactly was the phone rooted?
0
votes
0answers
58 views

How can I get into my device using command prompt?

My OnePlus One is partially bricked. When it turns on, it does not pass the "1+ powered by android" screen. I do not know what caused this, but there is a more detailed explanation of my issue here. I ...
0
votes
0answers
32 views

Devices names from android system

for several days I'm trying to find devices ( accelerometer, g-sensor etc ) names and placement of theirs drivers? I'm new to android and linux and can't figure out where can I find this info. I was ...
1
vote
1answer
502 views

Backup/Restore SMS/MMS via ADB on a non-rooted device?

Is there any way to backup/restore SMS and MMS messages using ADB, when the device is not rooted? adb pull won't work here, as the corresponding database ...
0
votes
0answers
43 views

My android is not turning on

My android(4.0) is not turning on.When I press the power button it shows the company logo and stays like that(it stayed for 1 day like that!).I may have accidentally removed paths using type fresh.The ...
0
votes
0answers
189 views

ADB (in recovery-mode) gives “adb server out of date. Killing…” followed by “error:closed”

I connect my device to my PC in recovery-mode, when I write adb devices I get: List of devices attached 4d00ededbeaca0bd sideload However, when I try to adb shell I get: error: closed ...
1
vote
1answer
148 views

How can I access my Android Internal Storage (data/data) from the pc?

Not the SD Card that downloads, folders, gallery, etc. goes to. I mean the data/data internal memory of the Android device, where game saves, factory apps, etc. goes to. As much as I'd love to root ...
0
votes
1answer
229 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. ...
2
votes
0answers
183 views

BOOTLOADER - USB Device Not Recognized

I am currently using a ROOTED "Huawei MediaPad 7 Lite" tablet and am having issues entering the bootloader. When powered on and connected to a PC, the device is seen in adb using the command adb ...
0
votes
0answers
183 views

Is it possible to downgrade firmware via ADB sideload?

I have an Asus zenfone 2. I want to downgrade it from firmware 2.19 to 2.18. They both are built on Android 5.0
0
votes
0answers
100 views

(adb) How to Backup things from /data/data using a shell terminal emulator on the same device without root?

~ I have Nexus 5 running Android L 5.1.1 ~ I want to backup one App cach from /data/data ~ I don't concider rooting my device ~ I installed a Shell Terminal Emulator from the app store. ~ I've ...
1
vote
1answer
365 views

ADB doesn't recognize my device in recovery mode

I have an ASUS ZenFone 2. I have tried using ASUS USB drivers and Google Android composite ADB drivers on my computer, but neither recognize the device while it is in recovery mode. Can anyone help ...
-1
votes
1answer
278 views

ADB sideload and fastboot uses. What's the difference?

1) If i want to flash a stock rom what should I use adb sideload or fastboot. I have seen on youtube people using both of these. Are both of these similar or different. Sorry if this sounds stupid but ...
0
votes
0answers
40 views

Nexus 7 - Stuck on boot animation. Fastboot detects device but ADB doesn't

My Nexus 7 (2012, WiFi) is stuck on the boot animation. I can detect it in Fastboot but not with ADB. Is it still possible to backup the data before I wipe it? It's not rooted and the bootloader is ...
0
votes
0answers
6 views

Could not be downloaded due to errow 905 [duplicate]

I downloaded fifa 15 and deleted it,I tried to redoel oad it and it wasn't being downlo ad due to errow 905 .
2
votes
0answers
37 views

ADB Screen Record with Audio

I have prototype hardware and an application that produces sound. I would like to use ADB to record, the screen, audio out and audio in, all at the same time. Is there a way to do this? Note: Because ...
1
vote
1answer
64 views

“adb devices” successfully shows device, but “adb connect usb” inevitably fails, any suggestions?

I have an ASUS ThinkPad, Android 4.4.2, Kernel 3.10.20. I've checked Settings->Developer Options->USB debugging. I've disabled Wi-Fi and BT (because I've seen some devices have some conflict there). ...
0
votes
1answer
165 views

How to run an .APK without installing it on the device with adb?

Is it possible to run an .apk on an Android device without installing the app? I can do something like this: adb install com.your.app and then: adb shell am start -n ...
0
votes
0answers
94 views

How do i copy the boot.img without rooting phone?

I want to get the boot.img of my android phone (mobile/model doesnt matter i want a general one) without rooting the phone. I have ADB installed and using a linux machine in which i can communicate ...
2
votes
0answers
37 views

White screen while charging when phone is off

I'm using my phone (Lenovo A660) since more than two years. Usually, I do not boot the phone to often (approximately once a month). However, I recently realized when I turned of the phone, that the ...
1
vote
0answers
23 views

adb doesn't find smartphone stuck on Error during encrypting

I have a ZTE unlocked stuck on error during encrypting: It doesn't reboot into recovery mode using the hardware keys combination, it just start up and then reboot into normal mode leading me back ...
0
votes
0answers
46 views

Busybox and bluetooth-sendto on rooted Android Wear (Moto 360)?

Is busybox and bluetooth-sendto available for rooted Moto 360? I would like to root Moto 360 and have access to some Linux utilities such as gzip, bzip2 from Busybox and have access to ...
1
vote
1answer
74 views

Determine which app owns an icon on my home screen

Related: How can I determine what app put a spam shortcut on my home screen? How can I remove unwanted app icons from the screen? I read that one of the answers suggests installing TrustGo Ad ...
2
votes
0answers
289 views

Will installing Google Play services to SD Card Mess my phone up? + Google play app info uninstall updates button GONE

Okay, So i am running a Sony Xperia E1. It is not rooted or anything like that. Here is a load of information about it: - Free space on Internal: 2GB (Enough to update GP Services, but if you read ...
0
votes
0answers
14 views

Getting cellular connection status using adb

When tethering my phone I would love to be able to see my data status without having to pick up my phone. I feel like this is possible somehow but I don't know where to look.
0
votes
2answers
167 views

How to install Android ADB drivers on Windows? (Any Android Phone)

How can I install the Android ADB drivers on a Windows 8.x PC/Laptop? I followed tutorials on the internet but nothing worked for me. PS: The adb driver should be compatible with any Android ...
0
votes
0answers
70 views

Connect LG G3 Android phone to Linux PC

I just want to access the files on my Verizon LG G3 phone from my Linux PC. I have adb installed and I followed this ArchLinux tutorial but adb devices outputs the following: ...
1
vote
1answer
147 views

Nexus 5 doesn't connect to PC anymore

I'm new to this community so I hope there are no problems with my question. Also, sorry for my English. So, until yesteday I've been using my Nexus 5 for debug porpuse, but this morning my PC didn't ...
1
vote
2answers
233 views

How to enter recovery/download mode with broken home button and broken bootloader

I was trying to install NightOwl cm12.1 Android 5.1.1 Beta 5 build for my Galaxy Note 1 N7000. I followed all the installation instruction on that ROM's thread. I flashed philz CWM 5.15.0. And now I'm ...
0
votes
0answers
52 views

How can I restore my app data if I manually pulled it out before resetting and reinstalling my phone?

Yesterday I was stuck in this awkward situation where my Moto G with Cyanogenmod 12.1 got stuck in the boot animation after recent restart. It was working fine for a month or two before that. Based ...
0
votes
2answers
4k views

How to enable USB Debugging in Android if forgotten pattern for screen-unlock?

I want to use some third party software to clear my device's screen unlock pattern which I forgot. They require USB debugging enabled but I don't have it enabled in my Android. How do I turn on USB ...
0
votes
1answer
186 views

Copy YouTube APK from Android Phone to PC

My Question is specific to copying the YouTube APK file from My Android device (Micromax Canvas 4 - Android 4.2, Non-rooted device)to PC/Laptop. The YouTube App is a system app in my device. Below ...
1
vote
0answers
279 views

How do I upgrade the Android LG G2 D802 to Kitkat OS?

I bought LG G2 phone just a few days and I wanted to upgrade it to possibly Android 4.4 Kitkat from Android 4.2 Jellybean (I think which is the software update is trying to do as well as shown in ...
1
vote
1answer
77 views

Is adb backup usable in case of soft-brick?

Let's assume I create a backup of my phone with this command: adb backup -apk -shared -all When I want to install Xposed framework it warns me that the phone maybe trap in re-booting or suffer from ...
0
votes
0answers
81 views

Bricked Nexus 7 unable to be recognized by fastboot or adb

After trying to install a custom ROM (Ubuntu Raring) to my 2012 Nexus 7, it incorrectly installed and I am stuck with a devices that boots solely to BusyBox. Specifically a terminal that says: ...
4
votes
1answer
593 views

How to change “Preferred Network Mode” using adb without reboot?

I'm trying to change my phone's (CM 12, Stock 4.2, both rooted) preferred network mode from "GSM/WCDMA" (0) to "WCDMA only" (2) and vice versa (there can be other modes too), using command-line only. ...