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
17 views

How to change static IP in Genymotion emulator via adb?

I need to configure Genymotion emulator (Android backed by VirtualBox). I need to setup static IP for eth0. The full list of commands i need to apply: su ifconfig eth0 10.152.152.12 netmask 255.255....
Vlad's user avatar
  • 141
0 votes
0 answers
22 views

ADB not working with Samsung Galaxy A20e

I wish to connect via ADB to a Samsung Galaxy A20e, but my computer won't detect the phone. I'm running Arch Linux and lsusb doesn't show anything about this phone when it's connected via USB. What I'...
Blue Nebula's user avatar
0 votes
0 answers
15 views

I want to update ASUS MeMO Pad 8 (vendor: au) to anything modern OS

I bought ASUS MeMO Pad 8 (AST21) from au, a vendor on KDDI CORPORATION, which seems to different from other ASUS MeMO Pad 8. Then I terminated the device before I unlocked its SIM; so still locked. At ...
user261735's user avatar
0 votes
0 answers
21 views

It is possible to send data to some applications via ADB?

I am new to android development and development android apps (writing java or apk code) and I want to know if it is even posssible to send some data like email-password to an applications using adb ...
user11717481's user avatar
0 votes
1 answer
65 views

Show Background Apps/Services

I want to monitor apps/services running in background on my phone. I have searched online but I can't find any way to do so. There is no 'Running Services' option in Developer Settings or Apps ...
Miles Morales's user avatar
0 votes
0 answers
22 views

Is ADB backup on a Chromebook somehow different than on PC? [migrated]

I'm attempting to run adb -t ... dev# ... shell backup -nosystem (with or without -f ~/backup.bk. For some reason, nothing appears in the device notifications, and on the terminal side no error or ...
Arctiic's user avatar
  • 607
0 votes
0 answers
13 views

sd card ejects after formating as internal via google files app

I am trying to increase the internal storage of my realme narzo 30a phone. but it doesnt support format as internal. so i enabled usb debugging and used sm set-force-adoptabe true via adb. Then i ...
Plutonian Fairy's user avatar
0 votes
0 answers
38 views

Is it possible to reboot Android Automotive OS to fastboot/recovery using physical keyboard?

I have a media-system module occasionally locked in OTA mode. It does not respond on any buttons pressed or screens tapped - but it still works: adb port works (but there is no trusted connection so I ...
user avatar
0 votes
0 answers
32 views

Locked out - Changing PIN via TWRP recovery when disk is already decrypted

I have a rather unusual scenario for which I need your help. I am running an OP9 Pro with Nameless ROM A13 and Microsoft Intune forced me to set a 8-digit PIN. After the last update however, Nameless ...
tmaier's user avatar
  • 1
0 votes
0 answers
37 views

Connect to ADB without confirming the box(Usb debugging is enable)

I have an Android with a broken screen and I want to access the Android without ADB check to see the Android screen in Windows. (USB debugging is already active and the problem is only in confirming ...
ALIREZA's user avatar
0 votes
0 answers
27 views

Disable Emergency SOS? (which pops up on pressing power button 3 times)

My phone, being a little old, when I press power button it gets pressed multiple times. I know this is a hardware issue but I'd still like to get rid of it. The disable app option is disabled and ...
44yu5h's user avatar
  • 1
2 votes
0 answers
50 views

How do I port my music database from Rocket player into Musicolet?

I've been using Rocket player (which is a local file music player) for quite a long time now, but I have recently bought a new phone. The music database (i.e #times a song has been played etc) ported ...
Murkenrahl's user avatar
0 votes
1 answer
24 views

Running testMyFoo binary within adb shell

I figure this question comes up often, but here goes: I have a testMyFoo binary that Is installed on the phone's /data/local/tmp/ path has appropriate execute permissions requires a series of shared-...
C M's user avatar
  • 1
0 votes
0 answers
55 views

Remove device admin

I am using a Xiaomi Redmi Note 10. My little brother tried to install Minecraft for free from google and now I have a device administrator app which cannot be uninstalled. When tried to remove admin ...
D3NIS4O's user avatar
  • 11
0 votes
0 answers
30 views

Fastboot flash Pixel 4a device corruption

I tried out lineage on my pixel 4a and it went south Right now I'm trying to flash with ADB the original sunfish IMG but now there is no recovery image. It just says the device is corrupt The boot ...
Nicholas Cox's user avatar
1 vote
1 answer
85 views

Smartphone locked with no access to Gboard Keyboard

(First excuse my bad English, It's not my mother tongue) Before my smartphone (Wiko Freddy) was locked, somebody disable GBoard on it, and reboot the phone. I read a lot of articles and try a lot of ...
Choux's user avatar
  • 11
0 votes
0 answers
30 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
51 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
69 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
85 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
43 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
47 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
60 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
28 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
62 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
208 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
0 votes
0 answers
138 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
  • 101
0 votes
1 answer
71 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
122 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
39 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
  • 496
1 vote
0 answers
187 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
0 votes
0 answers
94 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
1 vote
1 answer
97 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
172 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
37 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
1 vote
0 answers
96 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
  • 11
0 votes
0 answers
271 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 LineageOS 20.0 test build the name contains ...
alecxs's user avatar
  • 3,700
0 votes
0 answers
25 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
222 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
133 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
34 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
93 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
233 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
22 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
369 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
102 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
  • 21
1 vote
0 answers
180 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
  • 11
3 votes
0 answers
733 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
51 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
1k 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
2 3 4 5
46