Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
676 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
1k 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? ...
0
votes
0answers
311 views

How to get logs during boot?

When I flashed my Galaxy S8 (SM-G950F) with one of my own boot.img it got stuck on "Samsung Galaxy S8" boot logo (not bootloop). Other boot.img versions worked fine so theres no problem with my ...
1
vote
1answer
1k 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
0answers
833 views

Preserving file & folder attributes (timestamps, folder location, metadata) while moving (pushing) from Windows PC to Android phone?

I know this has been [kinda] addressed in at least one other question, but honestly that was asked over 5 years ago (about a millennium in Android development time) and it focused primarily on photos. ...
0
votes
1answer
201 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
629 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
905 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, ...
0
votes
0answers
25 views

i am having trouble in rooting my micromax a35 bolt

i am having trouble in rooting my micromax a35 bolt.i have installed the adb drivers and enable usb debugging and then i connect my bolt a35 to pc via usb cable then i open runme.bat and then I press ...
3
votes
3answers
7k 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
325 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 ...
0
votes
0answers
133 views

Overscan creates unwanted border

I ran adb shell wm overscan 0,80,0,0 But in some apps like whatsapp or my launcher it creates an additional border that I don't want. Is there anything I can do against it? In the attaches ...
1
vote
0answers
7k 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 ...
0
votes
2answers
601 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
422 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 ...
0
votes
0answers
2k views

Bypassing Lock Screen/Turn On USB Debugging

I have an LG Stylo 3 that is all stock and does not have USB debugging turned on. I am trying to find a way to bypass the lock screen without deleting the data on the phone. I was thinking maybe there ...
1
vote
0answers
612 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
18 views

How does ADB handle phone drops?

We have a Linux machine with 60 handphones attached by USB. I can see the number of connected phones by the adb devices command. At first there were 60 phones. But after a day or 2, sometimes it ...
0
votes
0answers
390 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
681 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
2answers
412 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
4k 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
458 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
104 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 ...
0
votes
0answers
74 views

how can i restore backup without crash adb

If i use adb backup -alland restore it on another device with adb restore backup.abthe restore starts, but after a few seconds my device says "Unfortunately, Secure Storage Service has stopped". It's ...
0
votes
0answers
171 views

ADB on Android over SOTI

TL;DR: Can you execute an ADB command via SOTI to do a backup restore from a .ab data? Soti is a web-based application with a Microsoft-SQL-Based database in background. You can distribute not only ...
0
votes
0answers
639 views

Factory Reset Androir device with adb automatically

Hello everyone I have been looking everywhere with no luck I am looking to do a script to do a factory reset on multiple android devices connected automatically, I have already done one to install an ...
1
vote
0answers
210 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
0answers
30 views

What are the values for each dot in the pattern lock?

I am trying to unlock a phone using adb. The phone was encrypted with a pattern lock. Although I know the pattern I am unsure what the values of each dot are so that I can type them in (Rather than ...
0
votes
2answers
77 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
906 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
263 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
466 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
741 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
124 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: ...
3
votes
1answer
2k 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
22 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
1k 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
2k 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
756 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
0answers
100 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
187 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
141 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
2k 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
161 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
93 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 ...