Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [adb]

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.

769 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
191 views

ADB shell change camera mode

I am playing around with the ADB shell to control a Samsung Galaxy S9 remotely. I can do most of the things I wanted to but I struggle finding a way to switch / toggle the camera modes. I searched ...
2
votes
0answers
174 views

Can I use ADB with USB Network Gate?

I have a colleague who cannot obtain the kind of Android device we need for our project. He would like to own such a device to test our project with adb and similar tools, but to reiterate, his ...
2
votes
0answers
746 views

ADB restore: how do I restore the entire backup?

Before flashing a custom ROM to my Nexus 5, I made a backup of system, data and cache using adb backup --twrp; this gave me a 17GB backup.ab file. My custom ROM endeavour went wrong and now I want to ...
2
votes
1answer
316 views

Get ADB TCP connection log

I was wondering if there was a way to get the ADB connection log (on-device), for when someone types: adb connect <IP> with their IP EDIT: Kind of like with your /var/log/auth.log on Linux, ...
2
votes
0answers
834 views

How to install apps to SD with adb when SD is formatted as internal storage

LOS 14.1, small internal storage, large SD card formatted as "internal". Now when I adb install -s whatever.apk it fails with java.lang.IllegalStateException: ☃No suitable external storage available ...
2
votes
0answers
2k views

[Nokia 3]adb reboot bootloader failed

I have Nokia 3 Android 7.1.1 connected to PC Windows 8. Problem is: C:\>adb reboot bootloader reboot failed: -1 Reason to do it is to flash/root in future. Other commands ok: C:\>adb devices ...
2
votes
0answers
167 views

Why does every adb command take several minutes?

I've run adb devices and adb push some-stuff /sdcard, and both commands take several minutes. Once adb push gets started though, it races through the file, so the throughput is fine. It just takes an ...
2
votes
0answers
515 views

How to root without executing unknown binary? (Open source/adb shell root?)

I have an Android 6.0 phone that has not received updates in a year. It has likely dozens of security holes that allow one to gain root access. I wish to do this in order to remove pre-installed ...
2
votes
0answers
231 views

Side load apps on android wear watch through iOS app

I am wondering if it's possible to side load apps on an android wear watch through Bluetooth debugging from the android wear app on iOS. I have a Moto 360 2nd Gen and I recently bought an iPhone. I ...
2
votes
1answer
198 views

Why can't I run adb via udev?

I am writing a bash script that will run upon plugging my Android 6.0.1 phone into my Ubuntu 16.04 laptop. I am stuck at the point where the script runs fine when I execute it manually from a terminal ...
2
votes
1answer
509 views

Can I use ADB wirelessly on an unrooted phone via SSH without a USB connection?

My phone, an LG V10, is unrooted, something that I intend to fix. However, I appear to have a catch-22 ... To put simply, it has a broken USB port, ergo the common recommendation of using USB ...
2
votes
0answers
507 views

Backup encrypted data from Android with broken screen

short story is as follows: I have a Sony Xperia M2 with display suffering from water damage. It's completely black but it's still working, booting and responding to touch. However, I need to enter my ...
2
votes
0answers
610 views

Extract SMS messages from adb backup on the host?

I have made a backup using the following command: adb backup -apk -shared -all Does there exist any straightforward way of extracting the SMS messages from the backup file on the host system? By ...
2
votes
1answer
978 views

Differences between fastboot erase and fastboot format

I have an asus zenfone 2 laser with radio problem:it doesn't take the line.I want to format modem partition to see if the problem could be solved.I jave a doubt:what is the difference between fastboot ...
2
votes
0answers
416 views

Android can´t see the Internal Storage

My Android tells me I don´t have anything on my Internal Storage, but adb shell says I have a file on my Internal Storage (/storage/emulated/0) for example an apk file. Furthermore I haven´t any ...
2
votes
0answers
1k views

What dose “Enable OEM Unlock” do, and how can I do it through a root shell?

Looking at this Samsung Galaxy A8 question, I was looking to do something on my nexus 6p. I would like to enable OEM unlocking, the developer setting. Due to the problems my device is experiencing, ...
2
votes
0answers
446 views

Issues with ellipsis (…) in filename when pulling files using ADB on Windows

I'm trying to pull files from the /sdcard partition of my phone to Windows 10 using ADB, and it errors: cannot create [ my file > my computer ]: Not a directory This only occurs at a particular ...
2
votes
0answers
605 views

How boost adb wireless wifi data transfer speed?

I use the adb by wifi.And I try to install apk,but I found the data transfer is very slow.Is there any way to boost the speed.
2
votes
1answer
3k views

Enable ADB and/or change USB connection mode on Galaxy S7 w/ broken screen

My Galaxy S7 Edge has a broken screen (totally black, and doesn't respond to touch). However, the phone does turn on and is recognized by Kies 3 and SmartSwitch. I am also able to unlock the phone via ...
2
votes
1answer
91 views

Debug android Device

I have a problem with many of my android devices,I figured out that my devices micro usb is easy to damage ( sad reality) so when I try to debug returns for me an empty List of devices attached, My ...
2
votes
1answer
1k views

Can't pull APKs on Nougat Nexus 5X

Whenever I try and adb pull an installed APK from my device, it says adb: error: remote object {name} does not exist. I've tried and it works with files in /sdcard, and I definitely have access to the ...
2
votes
0answers
3k views

Any way to force “USB debugging enabled” status using adb commands, with broken phone screen

I am trying to access my phone, after screen is broken (no way to enter swipe access or pin). I have installed Android Studio and am able to navigate to the folder containing adb in a command prompt, ...
2
votes
0answers
3k views

Data recovery from android device with broken screen

Situation Summary - I have an Android device with a broken screen, LCD and touch I have an android phone (BQ Aquaris E4.5 Ubuntu Edition, which I have flashed with the Android firmware for the E4.5 - ...
2
votes
0answers
334 views

What represents 'bootloader' in the possible outputs of `adb get-state`?

I recently employed the use of adb get-state and decided to know further about it. Running adb inter alia shows: adb get-state - prints: offline | bootloader | device I intend to know ...
2
votes
0answers
2k views

Using Remix OS(Android-x86) terminal shell to turn off the touchscreen

I have recently installed Remix OS on my PC, and now it's like a craze. Nothing worked. I always think it was the problem with the touchscreen, because EVERY operating system I used on my PC, the ...
2
votes
0answers
675 views

ADB Debugging over wifi not connecting

So I am trying to connect my device to adb over wifi. I have been following this tutorial http://codetheory.in/android-debug-bridge-adb-wireless-debugging-over-wi-fi/ I have been doing this adb ...
2
votes
0answers
66 views

Why not autostart PPP?

In the adb docs, under PPP it says "Note that you should not automatically start a PPP connection." Anybody know why this is discouraged? I'd like to do exactly that when I plug my tablet into my ...
2
votes
3answers
564 views

My phone is soft-bricked after ADB update

This is the problem: I always connect my phone to computer, to charge it, but I tried to execute ADB shell into recovery mode. 1- I've entered into recovery mode 2- I tried to go to "Apply update ...
2
votes
1answer
2k views

Galaxy S5 SM-G900F programmed as SM-9006V

I have a Samsung S5. On the box, on the sticker inside the unit, checking the IMEI and using CPU-z they all said the unit is an SM-G900F and is using the Snapdragon core. My biggest problem with it ...
2
votes
0answers
373 views

Cannot remove/rename/move build.prop, new insights

I've already asked this question before but I haven't gotten any progress, but did note some things. First the problem again. I soft bricked my phone by editing a line in build.prop, specifically ...
2
votes
0answers
753 views

Android: Google Play - App Will Not Install - Why?

Hello everybody I face annoying error when, whenever I try to install this app I face many errors. Ok, per usual, I tried installing it through Google Play store but whenever I do so I get this error: ...
2
votes
0answers
2k views

How to fix emmc memory showing 0mb?

Yesterday actually I messed my Xolo Q700. Actually I wanted to install a custom ROM "experia final" on it. But I didn't installed any custom recovery previously. So I installed TWRP recovery using ...
2
votes
0answers
2k views

Error: package x.x.x is unknown, for “run-as (classname)” command on Samsung Galaxy Note 10.1 running Android 4.4.2

I'm using a Samsung Galaxy Note 10.1 tablet, Android 4.4.2. As a developer, I need to be able to see my files in /data/data/(classname), but I don't want to root my tablet. Found out one can read ...
2
votes
0answers
1k views

File copied to /system/bin keeps disappearing

After copying Sqlite3 to by /system/bin folder, the file disappears. I can successfully change the folder to rw and modify the file properties on sqlite3. However, as soon as I remount my /system as ...
2
votes
0answers
93 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), ...
2
votes
1answer
363 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 TWRP ...
2
votes
1answer
5k 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 ...
2
votes
0answers
704 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 ...
2
votes
0answers
2k 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 ...
2
votes
1answer
7k views

Failed updating and uninstalling app with ADB

I installed Better Battery Stats (BBS) v2 from XDA and quickly realized that the actual required version is 2.1. So I tried to uninstall BBS via ADB but that failed because BBS is a system app. Now ...
2
votes
2answers
4k views

Android Composite ADB Interface Windows 8 driver for iRulu U2?

I downloaded and installed via Android SDK Manager (rev 24.2) the latest Google USB Driver (rev 11). adb devices works well with my Nexus S G4 (Android 4.1.2) and is able to list it without any ...
2
votes
1answer
924 views

Input command is exiting ADB shell after execution

Whenever I run input command through my bash shell of Slackware 14.1 in the adb shell, the adb shell exits after executing the command, which is highly unproductive. The temporary get around for this ...
2
votes
1answer
2k views

Device freezes after trying to reboot with bootloader

I have been trying to unlock my bootloader as per the instructions found here. I already have installed the drivers from Google USB driver folder that comes in Android SDK "extras" folder. However, ...
2
votes
0answers
222 views

adb v backup & restore

Two ways to back up apps are adb (for example, adb -apk -noshared -all) and backup/restore (settings - backup % reset - Backup my data, also known as google backup). What's the difference? Is one ...
2
votes
0answers
462 views

extSD card does not work after adb push to /mtn/extSdCard

After I run adb push cm-11-20141115-SNAPSHOT-M12-i9300.zip /mnt/extSdCard the command replied me 3949 KB/s (223217798 bytes in 55.194s). After that my micro SD-card is not detected neither by device ...
2
votes
1answer
3k 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 ...
2
votes
1answer
512 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 ...
2
votes
0answers
745 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
5k 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 ...
2
votes
0answers
1k 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 ...