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
0 answers
78 views

Have to reinstall adb usb drivers for every device, even when all the same hardware (Windows 10)

The Goal Get all adb devices (same hardware) to use the same usb drivers on Windows 10 The Problem: Before an IT update, I installed the adb drivers once on my PC and every device was recognized in ...
jewbaby91's user avatar
1 vote
0 answers
150 views

Boot twrp with fastboot gives an error

I am trying to use the fastboot command to boot my ported twrp for my moto e6s, but when i run it, it says: > fastboot boot twrp.img Sending 'boot.img' (28774 KB) OKAY [ 0....
PMagic's user avatar
  • 11
2 votes
0 answers
208 views

Why does my phone occasionally prompt a new RSA key fingerprint for my computer?

I use ADB on my Linux PC to do stuff, but sometimes when I connect my phone, it reports an RSA key for my computer to be verified, despite I check the "remember this computer..." every time ...
user174174's user avatar
1 vote
0 answers
395 views

Cannot set my APK MainActivity as the Home Activity via ADB [closed]

I am using one these AndroidTV 11.0 S905W2 boxes from Amazon and I could not make my APK the Home Activity via ADB.exe I am using the following adb command via WiFi as connecting via a USB cable to my ...
Meryan's user avatar
  • 111
1 vote
0 answers
75 views

ADB: toggle "Adjust wallpaper to Dark mode" button

EDIT: Device: Redmi Note 10 Pro - Android 13 - MIUI 14. I need an ADB command (maybe using the svc command?) to toggle off/on the following button: Eg, I am able to toggle the button USB tethering by ...
Dave's user avatar
  • 21
2 votes
0 answers
130 views

Copy Apps and Data From Phone With Dead Screen

My unrooted phone's LCD screen is dead but touchscreen still works. By using a series of stencils for where on-screen buttons and prompts would be, I am able to unlock the device and authorize ADB, ...
ulam's user avatar
  • 21
1 vote
0 answers
111 views

How to find Android app responsible for ARP spoofing?

A family member's OnePlus 7T (latest factory firmware) keeps trying to sporadically but frequently ARP spoof the local default gw address on our wifi. Is there a way, perhaps involving adb, that would ...
András Korn's user avatar
1 vote
0 answers
150 views

Any shared R/W folder for any app and adb?

I have a simple question about android but I just can't find any answer: Is there any folder in a recent Android (10+) that is accessible in R/W to any application and also to adb shell, without root? ...
xtof54's user avatar
  • 123
1 vote
0 answers
382 views

how to find which process is continuously uploading data

My phone seems to be suddenly uploading GBs of data at speed of 8+Mbps. I cannot identify which direction app is doing this. But systems network indicator seems to show that is uploading data. Just ...
AEonAX's user avatar
  • 193
0 votes
0 answers
597 views

ADB Shell / Magisk : Add folder to /system problem

I have an old phone on which I installed a new custom ROM, but the WiFi does not work because /system/etc/wifi is missing. I just have to move the vendor's folder from system/vendor/etc/wifi with ...
user avatar
1 vote
0 answers
536 views

Ethernet over USB + ADB | Dynamically switch between Host and Peripheral mode in OTG

Problem: I own an android device in a remote location that I use to run various tests and operations. I need to be able to send ADB commands while also connect the phone to a wired internet connection....
K-man's user avatar
  • 111
0 votes
1 answer
104 views

My Android TV seems to be rebooting frequently in sleep mode and causing ADB to be disconnected, why?

This is the log I got from adb logcat when the TV is at sleep mode: 03-05 00:50:40.242 9534 9647 I uicksetsdk.son: Starting a blocking GC Alloc 03-05 00:50:40.242 9534 9647 I uicksetsdk.son: ...
optimuscomposite's user avatar
1 vote
0 answers
480 views

How to increase recovery partition size?

I'm totally lost right now. I want to flash TWRP 3.7 on my Galaxy S7 herolte. However, it won't work because the recovery partition is only 46MB. So I wanted to increase the size - a process I've done ...
obeN's user avatar
  • 111
0 votes
0 answers
78 views

Why are files with wrong character encoding name write-protected?

I'm unable to delete the files with wrong character encoding in names on my phone. I plug it into my Windows PC and try to delete it in File Explorer. It says the files are write-protected: This ...
Ooker's user avatar
  • 506
1 vote
0 answers
416 views

Android scoped storage on Android 11 - permission denied

The scenario is that one app is creating some files on its external storage /sdcard/Android/data/myPackageName and during testing automation I need to retrieve some files from that folder using adb. ...
Lino's user avatar
  • 111
1 vote
0 answers
669 views

Is there any way to turn off/on a grayed out notification from an app through an ADB command?

My default phone/call app doesn't allow me to turn off notifications. When I go into the 'Apps and notifications' and find the phone/call app and try to turn them off, the switch is grayed out and ...
Salcido's user avatar
  • 11
1 vote
1 answer
221 views

Is there a way to permanently delete specific (phantom) alarms using adb shell?

My phone has mysteriously created a phantom alarm meaning that no GUI app or widget shows this alarm on my phone and thus nothing allows me to see to set, delete, or view this alarm. Using adb dumpsys ...
Jim's user avatar
  • 121
0 votes
1 answer
444 views

ADB sideload regularly loads LineageOS ROM, but gets stuck at 0% with stock firmware, why?

I'm trying to restore the stock firmware for a Samsung S10e. It's currently setup with the LineageOS recovery image, and the LineageOS firmware. I've rebooted in the (LineageOS) recovery, factory ...
Marcus's user avatar
  • 103
1 vote
0 answers
68 views

How to access the block device that represents the SD card on an android device thru ADB?

My android's SD card got corrupted while trying to access the data with a card reader. I'm trying to create a dd image of the block device that represents the SD card. Can this be achieved thru ADB (...
Neo L.'s user avatar
  • 11
2 votes
0 answers
167 views

Limit maximum screen brightness when using auto brightness via ADB on Samsung Galaxy S23 Ultra

Is there any way to limit the maximum brightness on the S23 Ultra or other Samsung devices, I want to save more battery without having to use it manually. Many thanks
cihu's user avatar
  • 21
0 votes
0 answers
835 views

Change adb device name

The Android device identifies itself as "device" for ADB (Android Debug Bridge). $ adb devices List of devices attached 5727aa6d device In my case of the LineageOS 20.0 test build, ...
alecxs's user avatar
  • 3,874
0 votes
0 answers
28 views

How to get titles of installed apps on device? [duplicate]

I connected Android device to desktop with Windows using USB. I need to get titles of installed apps. What command for Windows command line to complete the task? I used ADB for other tasks, but while ...
Paul K.'s user avatar
  • 11
1 vote
0 answers
904 views

How to exit `adb sideload` mode in recovery mode?

I accidentally chose to apply a package with adb sideload. I have tried pressing all the necessary buttons at once but nothing seems to be working. How do I exit?
Kelven Wise's user avatar
1 vote
0 answers
400 views

ADB Shell: Reading exit codes from windows

So, I'm making a little batch script to be able to automate the whole process of flashing new roms for my Galaxy S6. Since its screen is broke, I have to do everithing manually from the adb shell, and ...
fpp's user avatar
  • 43
1 vote
0 answers
68 views

ADB Connection via Mobile Hotspot

How can I connect my phone to my Mac via ADB while using my Mac that is connected to the phone's hotspot? The port is already open on 5555, on a normal WiFi connection I can just connect via the IP ...
Yuma's user avatar
  • 11
3 votes
0 answers
227 views

full adb restore not restoring [unencrypted] .ab file to bootloader unlocked Lineage device

This is a follow-up troubleshooting question to this one here in this very same forum. After repeatedly confirming the connection through both of adb devices -l and fastboot devices -l tantamounting ...
maazkalim's user avatar
0 votes
0 answers
437 views

fastboot oem unlock showing (remote: 'Unlock operation is not allowed')

I am trying to unlock my Lenovo K8 Plus' bootloader, but as soon as I type fastboot oem unlock or fastboot flashing unlock it says (remote: 'Unlock operation is not allowed'). On the device it says ...
Samanway Karjee's user avatar
1 vote
0 answers
26 views

Is it possible to see why my backup with adb is not working? [duplicate]

I play some games by a developer and there is no cloud save so most players would use adb to back up and move their save files. Lately though when trying to back up the game, it's just producing a 1kb ...
VakarianWrex's user avatar
1 vote
0 answers
2k views

adb push/pull as root

adb pull and adb push can be used to transfer files from and to the device via the ADB connection. However, even on a rooted device, these commands seem to operate with user permissions. I can access ...
user149408's user avatar
1 vote
1 answer
253 views

What might prevent ADB from writing to a Settings.Secure key?

I am trying to edit the value of a Secure Settings key over ADB with the command: settings put secure camera_double_twist_to_flip_enabled 1 For some unknown reason, the value of this key is 0 and ...
ETL's user avatar
  • 131
2 votes
0 answers
471 views

Send android clipboard content to connected Macbook over ADB

I have connected my Android mobile phone to my Macbook via ADB. Through ADB shell commands, I have copied a text from an application to the Android's clipboard. Now, I would like to send this copied ...
Ratep's user avatar
  • 21
3 votes
0 answers
2k views

ADB command to permanently disable Android 12 microphone & camera indicators

I want to permanently disable the microphone and camera usage indicator on Android 12. I tried the following ADB command, but it only disable for some minutes: adb shell cmd device_config put privacy ...
user avatar
1 vote
0 answers
117 views

Is there a way to enable Google Location Accuracy via ADB or via some other command on Android 13?

Within location services on Android 13 devices, there are several services such as Google Location Accuracy. I have taken a snapshot of secure, global and system settings before and after enabling ...
James O'Neill's user avatar
4 votes
1 answer
3k views

ADB Sideload stuck on serving update.zip at 0%

I'm using adb sideload update.zip command, but it is stuck on serving at 0% (Verifying update package ... on phone). I tried adb usb command, but the error is closed. The device state is sideload. ...
S.ShojaEddin Rafieipour's user avatar
1 vote
1 answer
131 views

adb pull not honoring trailing slash, push ignores permissions

If I use adb push mydir/ /sdcard/Documents/ the result is as expected: all files from within mydir/ end up inside /sdcard/Documents/ (just the permissions are not kept, even not when using -a; on the ...
Izzy's user avatar
  • 90.8k
1 vote
2 answers
96 views

adb server stutters ubuntu desktop

My environment is: Ubuntu 20.04.2 LTS (xubuntu to be more specific), NVidia driver 470.103.01, Android SDK 33 When I start adb server by running some adb commands, the UI, mouse and other things ...
Dovod Dovodov's user avatar
-1 votes
1 answer
463 views

full adb backup not creating .ab file for Realme 2 Pro

I am unable to create a full phone backup file of my Realme 2 Pro (model RMX1801) through the ADB. The phone runs stock ColorOS 7 (Android 10). The device is not rooted and I do not want to root it. ...
maazkalim's user avatar
1 vote
0 answers
149 views

How to authorize unauthorized device via Android Debug Bridge (adb) for non-working screen stuck at boot-time pin prompt for Pixel 5a?

Android 13. Basically, my screen doesn't work anymore but it works otherwise. Previously I was able to set up AirDroid cast through a painful process with an accessibility talkback feature. My device ...
amoeba82937's user avatar
1 vote
0 answers
111 views

How to ensure android device is always connected to wifi regardless of its state?

Is there any developer setting option or adb command that forces android devices to always maintain their wifi connection even if the device is idle or locked? Sometimes my devices don't respond to ...
oet934's user avatar
  • 11
0 votes
1 answer
37 views

How to chose an Android device for testing software?

The software I produce on Android isn't an app at all. It's a mathematical modelling library, built entirely with the NDK, which is tested with a command-line test harness in the ADB shell. It is ...
John Dallman's user avatar
1 vote
0 answers
257 views

Offset screen to non-broken area

My android tv is broken and about half the display is invisible. I followed this answer and tried to offset the display using adb shell wm overscan 960,540,0,0 This is supposed to move display to ...
LifeH2O's user avatar
  • 780
3 votes
0 answers
462 views

Which partitions to back up for a "complete" backup?

I have a Galaxy S10e running crDroid 13. I don't have TWRP on it (since it had to be installed from the custom LineageOS recovery), but https://stackoverflow.com/questions/29442630/copy-full-disk-...
EM0's user avatar
  • 173
1 vote
0 answers
207 views

adb downgrade install fails even with -d

I'm attempting to install a pretty old version of Chrome (44.0.2403.133) on a Nexus 5X (Android 6). It already has Chrome on it so I ran adb install -r -d path/to/chrome.apk However, even with -d, ...
August Vrubel's user avatar
0 votes
1 answer
931 views

root - Can't edit hosts file

I am using Redmi Note 11 running on Custom ROM - Xiaomi Eu Specs: My device is rooted via Magisk. I want to edit the hosts file. I have tried using ADB, CX File Explorer, X-Plore Manager but I am ...
Miles Morales's user avatar
0 votes
0 answers
464 views

How to detect cpu architecture and deliver correct apk?

There are a variety of CPU architectures that android systems use such as arm64-v8a, armeabi-v7a, armeabi, x86_64 and x86. Is there a way for adb or any other tool to detect the architecture of a ...
aritl69's user avatar
0 votes
0 answers
35 views

Some tablets respond to pings, others don't

There are dozens of tablets on my table that are all connected to the same 5GHz Wi-Fi network. All IP addresses were given by DHCP in subnet 192.168.34.0/24. I want to find the ip addresses of all of ...
ally8546's user avatar
1 vote
0 answers
980 views

Download file from Android shell

I am making a shell script for Android to run on ADB, however, the script should download a file. Commands like wget and curl aren't available in /system/bin. Here are a few possibble solutions that I ...
sudoer's user avatar
  • 149
1 vote
1 answer
528 views

Connect laptop's webcam with new Genymotion

I noticed that the new version of Genymotion 3.3.x doesn't have anymore the (very useful) webcam activation feature. As I would just need that and I have no need to use more advanced features, is ...
rubiker's user avatar
  • 11
2 votes
1 answer
157 views

Motorola stuck in Android Recovery - trying to recover photos/documents - tagged posts don't seem to be a match

My daughter's Motorola One Vision is stuck in Android Recovery mode. I have read the recovery TAG posts but can't find one that exactly matches my scenario. The phone came with Android version 9, but ...
TomM's user avatar
  • 21
0 votes
0 answers
239 views

Record manual actions and convert them to adb shell am start intents/actions?

Question Is it possible to record phone inputs and the accompanying intents/actions that are executed within an app, and to reproduce them automatically with adb shell? Context I was looking into the ...
a.t.'s user avatar
  • 379

1 2
3
4 5
47