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

ADB not working from TWRP for Galaxy S20

Device: Galaxy S20 (x1s) TWRP: 3.7.0 (latest) ADB OS: Linux ADB server doesn't detect the device when connected via USB with device in TWRP recovery. ADB server works fine when the phone is booted in ...
user145453's user avatar
0 votes
0 answers
26 views

Get raw “mobile data usage” data

I’m in a bit of a feud with my mobile data provider and want to prove to them that I started using my mobile Internet after a specific time. Currently, the default mobile data usage in android is not ...
Victor Hartman's user avatar
2 votes
0 answers
191 views

Android: how to use adb commands to block/unblock specific app from using the Internet, on rooted device if needed?

Background I want to temporarily block a specific app from using the Internet on my Android device, using a batch file. The device is rooted, so it should be possible via the PC. The problem I ...
android developer's user avatar
0 votes
0 answers
45 views

How to access Styx Browser & DuckDuckGo sessions/tabs on my Android & transferring them to my Linux PC, possibly ADB method, is root needed?

I've tried every solution recommended. My smartphone is not rooted, it is an LG L355DL, LG K31 Rebel, Android version 10. I got many tabs on my browsers that I need to transfer & review. When I ...
Username2324's user avatar
0 votes
0 answers
19 views

Honda Clarity 2018 Non-Touring PHEV: how to simulate nav keys to call `systemdiag`?

I have a damaged head unit that no longer responds to touch. I've managed to get access to ADB (I have root and USB debugging was enabled), but the problem now are the touch keys along the side of ...
Arctiic's user avatar
  • 697
1 vote
0 answers
33 views

How to list all SSIDs on which ADB Wireless is allowed?

When connecting a phone to ADB wirelessly, the user must allow Wireless Debugging on the current wifi network, with an option to remember the preference. Is there a way to programmatically read the ...
ETL's user avatar
  • 131
-1 votes
1 answer
92 views

Phone stuck in sideload mode

I am trying to flash stock rom with magdisk, and after executing ./adb reboot sideload, i tried ./adb sideload file.zip. however, it showed adb: sideload connection failed: no devices/emulators found ...
jp_'s user avatar
  • 1
1 vote
0 answers
143 views

I changed android device ID using adb but apps still see the old device id

I followed these 2 commands to change android device ID ./adb.exe shell settings get secure android_id // Returns old device id ./adb.exe shell settings put secure android_id 1b32af358342cb24 // ...
CodePanda's user avatar
  • 161
1 vote
1 answer
238 views

Bypass lockscreen PIN with broken screen (Android 7)

I've a Huawei P9 Plus running Android 7 with unlocked bootloader and TWRP installed. My screen is broken so I need to mirror my screen with scrcpy. I've tried ton of guides like this one to enable USB ...
Bug-Gy's user avatar
  • 13
0 votes
1 answer
52 views

Android in system recovery mode gives an error on Windows

I have an old phone and I want to see if I can use adb in recovery mode on the device to mess around with the system, but when plugging the phone in after booting into recovery mode Windows ...
Foxyz's user avatar
  • 155
0 votes
0 answers
181 views

How to configure 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
113 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
78 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
83 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
132 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
31 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
101 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
83 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
202 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
2 votes
0 answers
157 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
46 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
118 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
69 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
165 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
47 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
97 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
147 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
255 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
61 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
99 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
94 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
90 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
222 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
431 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
332 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
93 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
299 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
69 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
334 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
377 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
179 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
336 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
57 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
142 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
572 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,775
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
596 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
290 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
47 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
155 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

1
2
3 4 5
46