Stack Exchange Network

Stack Exchange network consists of 174 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
0answers
583 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
179 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
29 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
61 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 ...
0
votes
1answer
528 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
224 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
393 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
611 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
799 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
110 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 ...
0
votes
0answers
184 views

Have USB debugging enabled by default after reset

I'm trying to find the easiest way to enable my phone to have the "USB debugging" enabled after I do full reset on my phone. Is the only way to modify the ROM of the phone? How difficult would this be ...
1
vote
0answers
39 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
1k 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
47 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
19 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
707 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
95 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
161 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
109 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
144 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
79 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
2k 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
191 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
289 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
3k 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 ...
3
votes
0answers
446 views

How to turn mobile hotspot off using ADB

I need to turn the mobile hotspot off using ADB. I'm using various Samsung phones with Android 7 & 8. I'm planning on opening the settings activity and using keyevents. I know the Mobile Hotspot ...
2
votes
1answer
197 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
605 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 ...
1
vote
1answer
215 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
2answers
2k views

How to fix Samsung Note 3 SM-N900 bootloader loop?

My Samsung Note 3 SM-N900 got fully discharged and now it's stuck at the samsung logo when I power it back on. Things that I have tried to fix my mobile: Wiped the Cache partition from the recovery ...
1
vote
1answer
1k views

TWRP and LineageOS display flipped (180 degree rotation)

I installed the latest version of TWRP and LineageOS on my BQ Aquaris U Plus and followed all instructions. Somehow, both TWRP (twrp-3.2.1-0-tenshi) and LineageOS (lineage-14.1-20180127-nightly-tenshi-...
0
votes
0answers
63 views

Can't retrieve contacts from a locked HTC 300

So... here's the story. My father had his HTC Desire 300 for ages and he stored all of his contacts on the phone, not on the SIM card. One day, my unreasonably curious mother wanted to unlock it and ...
0
votes
1answer
738 views

adb: Push a folder and add only new files within it

Using adb, we can push files or folders. But how can I push a folder ("Music" for example) into my /sdcard/ that already contains this folder to add just the new files within Music on my computer ? ...
1
vote
0answers
348 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 ...
0
votes
1answer
228 views

Can I backup on oxygen OS and restore to lineage OS using adb backup?

I have a OnePlus 2 that is running stock Oxygen OS. However, lately, I'm not happy with the phones performance. Therefore, I would like to try lineage. I would like to keep all my data (apps, chat ...
0
votes
0answers
169 views

Nexus 5 bootloop, factory reset failed

My Nexus 5 is stuck in a bootloop. Mount /system did not work. Clearing the cache did not work. When I try a factory reset the data wipe fails. From what I can tell with lots of Googling the last ...
1
vote
1answer
608 views

adb restore <freeotp backup> does nothing

I followed the guidance here to do a FreeOTP backup with adb backup -f <backup path> org.fedorahosted.freeotp. After I wiped my phone and tried to do an `adb restore I get the message "Now ...
1
vote
0answers
173 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 ...
0
votes
1answer
115 views

Browsing pc through phone with adb shell

I am connected to my phone from the laptop using wireless adb. After that, I connect my phone to laptop physically with a usb-wire. Now with the wireless adb-shell open, I want to find the wired "...
1
vote
0answers
72 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 ...
0
votes
0answers
814 views

Samsung Galaxy S8 not recognised by Android Studio

I am trying to use my Galaxy S8 with android studio as an external device but it seems like my Mac cannot recognize it. I have developer mode and USB debugging enabled ADB drivers are installed, but ...
1
vote
1answer
84 views

Access /data/data per Symlink

I have the following question: I have an App on my mobile phone and on my tablet, and I would like to synchronize the data. Unfortunately the App can not do it. I know, the App stores all the ...
0
votes
0answers
41 views

Can't run my device after bug/auto-restart. Need help with ADB / reset via PC

I probably got corrupted with some system files, so my device (lenovo P70) restarted automatically and now I can't run. When I try to restart device, it loads to pin-enter screen, then restarts in a ...
0
votes
0answers
243 views

Can't mount /system

I have rooted my mobile, but the main problem is I have root access in adb shell only so adb remount gives me error that remount of /system failed; couldn't make block device /dev/block/bootdevice/...
0
votes
1answer
134 views

Recovery mode device drivers not working in HTC Desire 616

I have an HTC desire 616, bootloader locked, S-ON. I am able to enter on recovery-mode but the device is not listed in ADB, though I have all latest drivers from Google, Windows and HTC. I am able to ...
0
votes
1answer
736 views

Laptop cannot detect Kindle Fire HD 8.9 in Device Manager

I have an old 8.9" Kindle Fire HD (model 3HT7G) and it is stuck in a recovery boot loop. I have found a way to get it out of this loop, but I need to use my laptop. The problem is, when I plug in my ...