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.

761 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
164 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
29 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
110 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
114 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
553 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
345 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
864 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
175 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
614 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
223 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
168 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
169 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 ...
1
vote
0answers
291 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
412 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
998 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
245 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
361 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
660 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
150 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
42 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
48 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
857 views

Permission denied on Android SD card directory

I've got a strange problem with a directory after I put a new SD card in my Android phone. I formatted the SD card as internal storage and moved the data from the phone to the SD card. Now, I can't ...
1
vote
0answers
254 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
221 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
196 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
298 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
355 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
284 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
412 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
243 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
70 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
581 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
598 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
197 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
936 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
110 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
113 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 ...
1
vote
0answers
398 views

Help with dumpsys usagestats [ADB]

I'm totally new to ADB in general and I wanted to try to quantify my app usage throughout a weekly/monthly period. I used the adb shell command dumpsys usagestats My questions with this is that Can ...
1
vote
0answers
578 views

How to dump Android's external SDcard that is used as internal memory?

although StackExchange sites have helped me a lot in the past, it's now the first time to actively post a question here. I have an issue with my Motorola Moto G which is running with Android 7.1.1 (...