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.

Filter by
Sorted by
Tagged with
0
votes
1answer
85 views

Device is showing in device manager but not in Android ADB Interface?

Hi I am Having some problems while using adb on my computer. I connected tab to my laptop with a usb cable. And This is the device manager. Here you see that my lenovo tab is connected but not ...
2
votes
0answers
172 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 ...
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 ...
0
votes
0answers
578 views

How to run TWRP recovery headless?

I have samsung s5 having damaged screen. Its screen is blank and touch is not working. I have checked USB debugging by connecting to tv via hdmi to enable adb and flashed twrp ecovery twrp-3.2.1-0-...
0
votes
1answer
272 views

Adb does not list LG G3 phone after Lollipop update on OS X

I know a few questions have been asked about this, but I have not found a solution (particularly for OS X). I updated my LG G3 to Lollipop and now adb devices does not list the device. USB debugging ...
0
votes
1answer
852 views

Unable to detect Android device with ADB on Mac but can detect it through Fastboot?

I am unable to view my Android device, an Oppo Find7, with ADB. I can view it with Fastboot. As I use a Mac, I followed this guide to install ADB and Fastboot. More generally, I am having issues ...
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
1answer
2k views

list disable package feature/component

we can use pm list packages -d to list disabled packages. but how can I list disabled feature/component inside a package? for example I disable all fitness related stuff from gms pm disable com....
0
votes
1answer
245 views

Enabling WIFI hotspot from a computer without usb debugging

Is it possible to enable WIFI hotspot from a computer without usb debugging being enabled? I got a phone with broken LCD and i'm unable to enable usb debugging.
1
vote
1answer
951 views

How to pass commands to ADB shell?

I am trying to create a script to automatize a few repeated things I need to do with adb. I can run most of the commands on my local bash. But at one step, I need to find the list of some files. I ...
1
vote
1answer
2k views

What is in a backup.ab file?

Using ADB tools for Android (my device had root), I executed the following command: adb backup -all After confirming the backup operation, I got a file titled backup.ab that is 350MB. A month later, ...
3
votes
3answers
10k views

How to get IMEI Number From adb Command

I am working on adb with my Samsung Galaxy Device. I want to get the IMEI number of the device using adb but I have been unable to do that. I tried the Following: adb shell dumpsys iphonesubinfo ...
1
vote
0answers
425 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
2answers
984 views

What is the location of the DCIM folder in the internal storage on a Xiaomi Redmi 4X?

I would like to make adb pull but I'm not able to locate this folder. I suppose it's in the /data folder but it says Permission denied. Somewhere I read if I try the full path it might work. Thank you....
1
vote
1answer
509 views

How to save images / videos from a Xiaomi Redmi 4X that keeps rebooting in every 30 seconds

My phone (Xiaomi Redmi 4X) is faulty since last week, it's restarting itself in every 30 seconds (this time starts when the home screen appears). This little time is not enough for copying everything ...
2
votes
0answers
738 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 ...
0
votes
0answers
502 views

Backing Up to SD Card Using TWRP and No Display

I have a device with a broken display. The only way I can initiate commands on it are with the power, volume, and home buttons, and with adb. I've installed TWRP on it, and I'm able to boot into it. I'...
1
vote
2answers
4k views

remote: oem unlock is not allowed

i did not find any solution on xda-developers, so i am posting this question here. i am trying unlock bootloader on nokia6 when i give command: sudo fastboot oem unlock or sudo fastboot flashing ...
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 ...
2
votes
2answers
713 views

How can I `adb pull` a large file when the USB connection breaks continuously?

I want to transfer a large file with adb pull, but my USB connection disconnects all the time, interrupting the transfer. How can I make this work?
1
vote
1answer
6k views

Can not boot into TWRP recovery - Black screen

I am trying to flash TWRP onto a Redmi Note 4X I have the device's bootloader unlocked. I tried the following: Boot into fastboot mode on the Redmi (Vol Down + Power). Then type fastboot flash ...
0
votes
1answer
718 views

Disable Mi5 Touchscreen Input via adb

I've got a Xiaomi Mi5 (gemini) and I encounter the problem of ghost input. I guess my phone could be water-damaged even though I'm not sure. To backup my data I need to access the phone (not just it's ...
0
votes
0answers
132 views

How to get adb access to recovery mode

My phone is stuck in boot loop, but I rooted it before. I want to get adb access to push some files which I deleted causing the loop. I tried Power + Volume up. But I can't grant adb access there. I ...
1
vote
0answers
247 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 ...
0
votes
2answers
102 views

ADB couldnt detect oneplus2

I am trying to connect andriod debug shell to oneplus 2, i have enabled USB debugging on my mobile and installed google usb drivers via sdk manager but still adb couldnt detect the mobile i tried ...
1
vote
1answer
2k views

Disabling screen record protection for specific app using adb

I need to record the screen of an specific app that won't let me do for security reasons. Generally I'd use AZ Screen Recorder but it appears black in this app. I know it's possible to install some ...
1
vote
0answers
365 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
688 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 ...
0
votes
0answers
1k views

Fake the Android USB Debug settings

I'm trying to get a certain NFC tap-and-pay app to work. It's called Nexi-Pay and AFAIK is only available in Italy. Due to "security concerns" they deny access to the app to rooted Android users. I ...
0
votes
2answers
1k views

Nexus 7: Unable to install factory image, stuck in < waiting for any device >

I want to restore factory android on my Nexus 7 2012 WiFi. I'm following the official guide. I start the device in fastboot mode by executiong: adb reboot bootloader This works well. But when I ...
1
vote
0answers
153 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: ...
5
votes
1answer
3k views

ADB pulling files from /data/data fails due to symlinks. How to skip symlinks in ADB pull?

I can run adb pull /data/data/com.xlythe.saolauncher/databases ./ or adb pull /data/data/com.xlythe.saolauncher/files ./ and it works fine. However, if I try adb pull /data/data/com.xlythe....
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, ...
4
votes
1answer
2k views

How to do ADB over 'wifi' (actually in the same PC) for emulated device

I'm trying to use adb over 'wifi' for my emulated device. I'm emulating a device on my computer and wanted to use Android Studio to send an APK to it but through the network sockets, not through ...
6
votes
2answers
3k views

Why is my Android not restoring the app data from its Google Drive backup?

I'm testing a new version of our app that now supports Android Auto Backup (by targeting API over 23). I've managed to get the system to back up the app's data by leaving it overnight (two nights), ...
1
vote
0answers
869 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 ...
3
votes
1answer
165 views

Auto start two apps on split screen after reboot

I have Two running Android apps (used for surveillance and doorbell) permanently and simultaneously on split screen. Sometimes, the person who used the device (for personal purposes) forget to get ...
1
vote
0answers
257 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
233 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 ...
2
votes
2answers
4k views

Adb command(s) to get screen state and locked state

Background: I'm using automated tests on many different variants of devices (Samsung tablets and smartphones such as Galaxy A5, S8, S7 etc.) where the devices have different versions of Android (6.0, ...
1
vote
1answer
205 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 ...
3
votes
1answer
118 views

Is it possible to get a part of the screen by adb or anything else?

I know how to use adb screencap to capture and fetch the file with adb pull, but if I'm only interested in a 16x16 part of the screen, it would be very inefficient to capture and transfer the whole ...
1
vote
1answer
4k views

Cannot mount /system as rw

I am rooted with magisk and while trying to mount /system as rw by using this command: mount -o remount, rw /system There is an error '/system' not in /proc/mounts Cat /proc/mounts returns: ...
1
vote
0answers
308 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 ...
6
votes
2answers
1k views

Treble: How do I check if it is enabled on my device?

Title says it all By way of background Project Treble was announced with release of Oreo to speed up OS updates by reducing OEM delay . Devices running Oreo out of the box are expected to have it , ...
1
vote
0answers
366 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
4k views

Enabling USB Debugging on locked (FRP) android phone

I have a Samsung J5 Prime (SM-G570F/DS) that has been factory reset and now asking for Google account. I've read this can be bypassed if ADB is enable. So I would like to know a way to do so. As I ...