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
-1 votes
1 answer
230 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 ...
1 vote
3 answers
651 views

Stop 'in app' ads from loading?

I noticed that ads inside apps are not loaded when Google Play Services' data connection is disabled and kind of formed the idea that it is responsible for loading these ads within the apps. Is there ...
2 votes
1 answer
660 views

Can I implement firewall-like internet blocking from ADB on a per app basis on stock Android?

Instead of using 3rd party app freezers, I've been using "pm disable-user" / "pm uninstall" for years to disable/uninstall bloatware. However, some apps, if uninstalled (or even ...
4 votes
1 answer
6k views

I/O errors opening files in data partition

I'm trying to repair a Moto G (XT1008, unlocked) device. When booting normally, the motorola splash finishes and the android desktop shows up for one second, then a bunch of pop ups show up informing ...
1 vote
0 answers
350 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 // ...
1 vote
1 answer
437 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 ...
0 votes
1 answer
61 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 ...
0 votes
2 answers
5k views

ADB does not reboot my Samsung Galaxy SIII I9300 to bootloader (download) mode

My device is Samsung Galaxy S3 I9300 and I did a complete factory reset. The device is NOT rooted yet. It works properly. I can do all of the following with my device: Power off using device keys. ...
3 votes
3 answers
12k views

ADB server version (40) doesn't match this client (41) {Not using Genymotion}

Disclaimer: this is not a duplicate to this SO question as the source of the question is different and the answers don't apply.* I hope, it is correctly placed in AE and that the note about not using ...
0 votes
0 answers
306 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 ...
0 votes
0 answers
282 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....
0 votes
0 answers
203 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'...
0 votes
1 answer
267 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 ...
0 votes
0 answers
135 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 ...
0 votes
0 answers
167 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 ...
3 votes
1 answer
397 views

ADB file transfer works on internal storage but not SD card

I am trying to transfer a large amount of files (>40k images and videos). I've had trouble transferring it by dragging and dropping in Windows File Explorer so I used the adb push command. It works ...
2 votes
0 answers
219 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 ...
0 votes
0 answers
131 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 ...
0 votes
0 answers
39 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 ...
22 votes
1 answer
18k views

Does adb backup/restore still work because it says it's deprecated?

I want to reset my phone but want to recover the system data before doing so. I tried to create a backup with adb and tried to restore it on a virtual device to see if it works. So I tried to restore ...
1 vote
2 answers
1k views

Limiting Display Frame Rate to Lower

Is in Android there is an available database set for limits display frame rate? If they’re available, is using ADB/Root (Terminal), or how, or even it can't? I've been searching this for years, and ...
0 votes
0 answers
116 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 ...
0 votes
2 answers
1k views

ADB Wifi loses connection when device's screen turns off - Realme 7 - Android 10

I work on Android Studio while using actual device for ADB using ADB over tcp/ip through command prompt (no additional software). But, this new device gets offline the moment screen turns off. I've ...
1 vote
1 answer
987 views

adb install-multiple: Update to package <pkg> doesn't support multi arch

I'm attempting to install Chrome 100.0.4896.127-489612710 (arm-v7a, Android 6.0+) on a Pixel 3 running Android 9. It's a .apkm file so I unzipped it and ran adb install-multiple -r -d *.apk However, ...
2 votes
0 answers
412 views

How to launch intent with app shortcut id?

I want to run the NordVPN app by using am start automatically connects to vpn, on my home screen I have a working shortcut. The shortcut code is: Intent;action=android.intent.action.MAIN;category=com....
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 ...
0 votes
1 answer
55 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-...
0 votes
0 answers
193 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 ...
0 votes
0 answers
80 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 ...
1 vote
1 answer
9k views

ro.adb.secure=0 device still shows as unauthorized over adb Windows 10

I recently purchased a tablet that is a cheap allwinner a33 based Chinese product. I wanted to connect to it over adb but the RSA key popup would not come up. The build.prop shows the ro.adb.secure=0 ...
5 votes
1 answer
6k views

How can I tell whether I am booted into the A or B partition?

Android can install to an A or a B partition. This seems to be a default these days. How can I tell which one I am booted into using adb? I am using LineageOS 17.1.
1 vote
1 answer
218 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 ...
0 votes
2 answers
2k views

Fastboot flash boot (FAILED)

I am using Ubuntu 20.04.3 LTS and when trying to boot into, or flash, the TWRP recovery bootimage image I compiled. I have no additional information on why I got this error. Just flashing twrp ...
0 votes
0 answers
77 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 ...
1 vote
0 answers
146 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....
2 votes
0 answers
500 views

dumpsys battery in Termux

I am trying to get battery info in Termux. I granted android.permission.DUMP and android.permission.PACKAGE_USAGE_STATS via ADB for com.termux (Termux app) Then I opened Termux and types in /system/...
2 votes
1 answer
459 views

adb succeeds but sporadically returns exit code 1

I'm using adb in an automated setup for testing. The following commands, whenever I execute them, sporadically return an exit code of 1 with no indication of errors happening: adb shell settings put ...
2 votes
0 answers
207 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 ...
1 vote
1 answer
2k views

Android ADB Key Not Working

I used to have a rooted Android device about 3-4 years ago. I recently found it and I dont know the password. This android device was trusted on my computer but now it is showing unauthorized under ...
4 votes
0 answers
546 views

Recurring "Allow USB debugging?" popup during a test run

Per my work-around here ./gradlew test connectedAndroidTest erases my getFilesDir() folder, I test on two ONN tablets using a Ruby Rakefile that looks a little bit like this: task default: [ :...
1 vote
0 answers
387 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 ...
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: ...
1 vote
0 answers
74 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 ...
2 votes
0 answers
128 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, ...
1 vote
2 answers
12k views

Is it possible to pull data in ADB sideload mode

My phone is locked, as explained here. Since I can't find the password, I want to backup my data before a reset. I've just installed Android Studio and Samsung USB driver. Boot my phone on "apply ...
1 vote
0 answers
110 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 ...
1 vote
0 answers
147 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? ...
2 votes
1 answer
2k views

Can Sensors Off (developer options) be controlled via ADB?

Can Sensors Off (developer options) introduced in Android 10 be controlled via ADB? Haven't got it from AOSP sources yet: Sensors Off | Android Open Source Project
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 ...
1 vote
0 answers
377 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 ...

1 2 3
4
5
47