The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

768 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
368 views

How to make adb shell commands wrap single line to multiple lines by default?

Let's say I have this long one-liner command: am force-stop com.example.foo; am force-stop com.example.bar; am force-stop com.example.foo2 am force-stop com.example.bar2; am force-stop com.example....
1
vote
0answers
76 views

Create a private folder in Android: set the SELinux attribute of a folder in external storage

There are quite a few apps that require read and write access to the external storage, which gives them access to the whole /sdcard directory. But since that is also the only storage the user ...
1
vote
0answers
170 views

xt1527 in boot loop with usb debugging disabled

a couple days ago my xt1527 started acting weird. Gapps started to crash out of nowhere. Today, every app that I tried to open crashed 2 seconds after, so I turned my device off to reboot and see what ...
1
vote
0answers
1k views

Clear all apps user data with ADB without factory reset

I'm trying to achieve the goal of clearing all app data using Git Bash on Windows, but I don't know exactly if this approach is wrong, because it shows FAILED on every line. adb shell 'pm list ...
1
vote
0answers
176 views

ADB permission failure since upgrading to LineageOS

I just upgraded my Samsung Galaxy S5 from Android 6 to LineageOS 15.1, and now ADB does not want to access my phone any more. All I get is: % adb shell error: insufficient permissions for device: ...
1
vote
0answers
30 views

How to reuse phone board without casing, screen

I have galaxy j7 2016 board with this rom installed. I have a lot of knowledge about hardware but my question is how to access shell without screen if usb debugging is not enabled? I basically want to ...
1
vote
1answer
118 views

Micromax-P701 bricked, MT6735

Micromax-P701-MT6735, Deleted All Partiton, also bricked recovery and fastboot, All MTK Drivers are installed but its continues connecting and disconnecting(the device manager is flashing but not ...
1
vote
1answer
128 views

My Moto Z is stuck in a bootloader mode AND will not communicate with my Windows 10 PC

Before it became problematic, the bootloader on my Moto Z was unlocked, developer options were on and so was USB Debugging. Then a friend tried to root it and that's when my problems began. Now, when ...
1
vote
0answers
577 views

Oreo 8.1 - Trouble enabling ADB for system by modifying /system/build.prop in TWRP adb shell

I've followed https://gist.github.com/varhub/7b9555cdd1e5ad785ffde2300fcfd0bd and have doublechecked that the build.prop is indeed modified i.e. system was mounted in read-write mode. Unfortunately ...
1
vote
1answer
1k views

How to boot from download mode into recovery mode

Two days ago when I was going to use my Galaxy Note 8.0 GT-N5100 tablet I noticed it was off, but minutes before it was on and working, so I tried pressing the power button and nothing happened, ...
1
vote
0answers
375 views

How to get memory dumps, when internal memory (/data partition) is damaged?

(Sorry for my english) My phone, Samsung galaxy S3 16 GB wasn't rooted and installed custom recovery. Someday, it appears on the screen that "internal storage is damaged". So I want to backup internal ...
1
vote
0answers
901 views

Terminal stuck on “<waiting for any device>” after /fastboot oem unlock command

I have been trying to unlock my phone's (Samsung Galaxy J5) bootloader with almost no success. I used adb for the process but it always gets stuck at waiting for device, after fastboot command ./...
1
vote
1answer
184 views

cannot recover data from or unlock my phone Lenovo Z2 plus

I needed some data from my old phone Lenovo Zuk Z2 plus (Z2132) but I have forgotten the lock screen PIN. I tried a lot of recovery software, but all of them had a pre-requisite to either have the ...
1
vote
0answers
37 views

Android 6 - cannot enter recovery mode

I'm hoping someone can save my sanity here.... I'm trying to install a new firmware on my daughter's old Android device - a wonderful Doogee X5 Pro. I really want to install some new firmware as this ...
1
vote
1answer
629 views

Nexus 5x Won't Turn On

My Nexus 5x started bootloading but now it won't turn on at all. I noticed the battery was bulging so I replaced it with a new battery I bought on Amazon. I charged it all night, but it still won't ...
1
vote
0answers
241 views

Recover phone data from encrypted Android phone with broken screen (still being online)

my phone's touchscreen (OnePlus 3) got broken entirely yesterday (black, unresponsive, cracked => total damage!). Considering investing in a screen repair I'd really would like to know if there's any ...
1
vote
0answers
176 views

Asus max 5.5 adb won't recognize device after unlock bootloader

Hey guys so I have encountered this problem multiple times. Followed this thread for unlocking bootloader and initiating root: http://www.symbianize.com/showthread.php?t=1411778 so far I went up to ...
1
vote
0answers
303 views

How to backup and restore APN setting via ADB?

How to backup and restore APN setting via ADB? I'm on Android 6.0 without root.
1
vote
0answers
5k views

How to Factory Reset Device using Adb Command?

I am trying to do Factory Reset Device without any Recovery as i need to wipe complete data from device. I have tried many Commands but none of them work. Some are as Follows:- adb shell am ...
1
vote
1answer
2k views

How to monitor API calls made by an Android App?

I am using an Android Virtual Device and I am running the Monkey Runner script to generate user input. Now, I have to see the API calls made by that app. Is there any tool or script that will help me? ...
1
vote
0answers
434 views

Disable “displaying over other apps”

On most Android 8 phones you can remove these persistent and annoying notifications from the notification center. My phone with the EMUI skin cannot: image of settings with no switch (click to ...
1
vote
0answers
8k views

How to enable usb debugging on my broken touch screen android phone from windows 10 computer?

My android(Kitkat 4.4.2) phone's touch screen is broken, but phone is working fine.But usb debugging is disable. FIY, my sd card isn't working (I don't care about that) and my phone doesn't support ...
1
vote
1answer
1k views

Backing Up Apps With allowBackup=false

I'm trying to back up the apks and preference data for all of the apps on my device, but it only backs up about a third of them; the remainder all have allowBackup=false in their manifests, which ...
1
vote
0answers
254 views

Phone shows no dialogue when I try to adb backup Huawei Ascend G620S Android 4.4.4 EMUI 2.3

I have an Huawei Ascend G620S-L01 with Android 4.4.4 and EMUI 2.3. I'd like to make a full backup of the system in case something goes wrong when I try to root it later, so that I have a safe backup ...
1
vote
0answers
374 views

adb over wifi connection problem

I'm using wifi adb app on my mobile which is galaxy s3 mini when I type this command adb connect 192.168.11.22:5523 it's connected fine, when I run the app over the android studio this message pop-...
1
vote
0answers
729 views

Using ADB backup for app databases

I'm having an issue with the backup, I did it fine yesterday and managed to back up the folder that contained the databases. I then successfully converted the backup.ab file to a backup.tar file and ...
1
vote
0answers
163 views

How to manually activate download manager process via adb or terminal emulator?

Playstore relies on a process called download manager embedded in Android OS, yet it cannot be manually activate resulting in prolong wait time when using secure proxy to download playstore apps. What ...
1
vote
0answers
43 views

ADB cannot find THL T9 Pro

I intalled Android Debug Bridge version 1.0.32 on Ubuntu 16.04. I connected THL T9 Pro with USB debugging enabled. adb devices doesn't show any connected devices. I used this command to install it: ...
1
vote
0answers
49 views

Android only TWRP starts which doesn't load

I've an Samsung Galaxy S7 with Android 7. I tried to updated it with Smart Switch. But after that, the phone ends with an "encryption unsuccessfully" error. I wanted to save my data, so I flashed twrp....
1
vote
0answers
23 views

How to tell what adb is parsing

I am trying to get adb working on an aarch64 board. The actual binary runs, it just always shows that the devices are always empty. I know for a fact the device is working because I have a second, ...
1
vote
0answers
265 views

How to recover lost data after a factory reset in samsung note 3 SM-n900 series?

My Samsung Note 3 SM-N900 series got stuck in the bootloader loop, due to which I had to do a factory reset. The good thing is that my smartphone is out of the bootloader loop after the reset but all ...
1
vote
0answers
253 views

Can't find where my file is when using adb (it seems to be there)

I will try and keep this brief. I am "working" on trying to get the sidelights on a custom 10" android display with sidelights (for meeting signage) to work. I am just starting to try and follow the ...
1
vote
1answer
211 views

Input Keyevent in fastboot mode?

I'm trying to unlock the bootloader of my old Alcatel OneTouch Idol X+. I got to the point where my phone would ask me to press volume-up to confirm that. Due to a bug of which i read several times ...
1
vote
0answers
312 views

Using android devices as wired webcams for computers?

I have got myself a new phone, and I wonder - if I could use it as a webcam. I know there are WiFi apps to stream video, but: 1. My Wi-Fi network is slow (1-2 MiB/s max) 2. The resolution, framarate ...
1
vote
0answers
370 views

My Nextbit Robin (Android 7.1.1) not recognized by Windows 10 x64

So I've been trying to root my Nextbit Robin, but no matter how many drivers I try, it is not recognized by Linux (Ubuntu 16.04) or Windows (10 x64). First time trying to root, so any advice on this ...
1
vote
1answer
293 views

fastboot does not recognize my LAVA Iris Atom

I've been doing quite the research on this error, but couldn't find a solution that could help me with my device. Adb commands works fine, but not fastboot commands. I have tried several sites for ...
1
vote
0answers
424 views

Moto Z Play Won't boot after SuperSU install

My Moto Z Play boot process won't finish. I can get to the Fastboot screen by powering off and pressing Power+Volume Down, but can't boot into Recovery Mode or Factory Mode. Both start the normal boot ...
1
vote
0answers
249 views

Universal ADB driver vs “Regular” ADB driver

What's the difference between the Universal ADB driver provided by clockwormod.com and the one that comes with Android Studio? If one doesn't work, can I have both installed without causing any ...
1
vote
0answers
80 views

Does MiA1 support Rescue Party?

I wanted to check if Rescue Party, a much touted feature of Oreo is active on my device ( since it is not mandated in Android Compatibility Definition Document as the linked source says) The first ...
1
vote
0answers
1k views

How do I run shell commands on the device I'm currently using for Android Terminal Emulator?

I don't have an available PC that I can install ADB on without getting in trouble, and my phone's screen density is killing me. Is there a way I can run adb shell wm density and adb reboot from my own ...
1
vote
0answers
73 views

How to navigate the directory of my computer while using adb?

I want to download recovery onto my phone and to do that I need to open a command window in the folder. However, I run into problems when I try to do that. I already downloaded minimal adb and ...
1
vote
0answers
634 views

How do I toggle “Do Not Disturb” via ADB?

I would like to enable Do Not Disturb on a phone via ADB. I have located the settings namespace and key which controls Do Not Disturb: adb shell settings put global zen_mode 2 But when I run this ...
1
vote
1answer
626 views

Possible to turn ON phone with ADB ? (Galaxy S6)

I have a Samsung Galaxy S6 with a broken power button. (It only works occasionally) Do you know if there is a way to use ADB (or any other way) to turn the phone on? (When it for some reason has shut ...
1
vote
0answers
232 views

How can I mount or open already dumped mmcblk0?

I have dumped a mmcblk0 by adb command. Busybox already installed on my android. adb shell su root busybox cat /dev/block/mmcblk0 > E:\1.bin Now I can not mount this file on windows 10 with ...
1
vote
2answers
3k views

Some app is causing bootloop

It happened when Google Play was automatically updating apps. I guess, something went wrong and the phone suddenly restarted and was not able to turn on again. It always gets stuck on "Starting apps" ...
1
vote
0answers
1k views

How to enable Android USB Debugging option without the “Allow USB Debugging” popup?

When we enable USB Debugging, there is automatically a popup that asks whether you want to authorize the PC to access the phone via USB Debugging. How do I enable it without the popup? Is there a ...
1
vote
0answers
981 views

How can I remotely control my phone via android studio?

I need to remotely control my phone from computer. My touch screen is not working My display is broken I can't see anything I have android studio and sdk's for my phone not sure which was needed but ...
1
vote
1answer
125 views

Factory reset phone with bottom part of touchscreen not working so I can't set it up. ADB functions not working properly

The bottom half inch of my phone screen isn't working. Before I factory reset I got around the issue by using the adb command adb shell wm overscan 0,0,0,200 I have twrp installed but when I try to ...
1
vote
1answer
117 views

ADB Over Wifi Connection

Suppose my phone is connected using adb over wifi....will I have to repeat the process of connecting the usb cable if I switch to my carrier network by chance?...or will it remain forever and I can ...
1
vote
0answers
2k views

Erase external SD card via adb

Is it possible to perform "Erase external SD card" action via adb? To be clear, my goal isn't to manually call partitioning/formatting tools such as newfs_msdos from command line. I want to get ...