Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

ADB Device Not Found On "Universal ADB Driver"

So, first, it all started when someone here at home tried to update a TV Box (MXQ Pro 4k 5g), and when it finished, it no longer found any Wifi connection. I also couldn't set up a connection manually....
Neri's user avatar
  • 1
0 votes
0 answers
19 views

what's difference between "Res" get by adb shell top and "Rss" get by adb dumpsys meminfo when I test my Android app performance

RSS is the total memory actually held in RAM for a process. PSS differs from RSS in that it reports the proportional size of its shared libraries RES it refers to the virtual address already mapped to ...
stephen's user avatar
0 votes
0 answers
34 views

Unable to connect Android ADB with my Windows Host machine

I am trying to install Android emulator with Android Studio on Windows 11. When I do adb shell with my Windows host cmd, my emulator can ping 10.0.2.2 but I can not ping 8.8.8.8. However, when I ...
Djemel's user avatar
  • 1
-5 votes
0 answers
43 views

Show me some methods to extract text from interface of an app

I need a method to extract text from the interface of an Android app. I have tried using adb shell screencap, UI Automator dump, and Tesseract OCR, but none of them worked. It seems that the app does ...
Capybara99's user avatar
0 votes
2 answers
53 views

Is there any way to turn on bluetooth using cmd line (adb shell preferably)

I tried turning on bluetooth using cmd bluetooth_manager enable: But i see its failing a check in BluetoothManagerService.java::checkIfCallerIsForegroundUser Since the caller is shell (UID 2000). So ...
Nandish R's user avatar
1 vote
0 answers
27 views

expo run:android - Could not find device with name

I am new to React Native and Expo. Trying to run a project on an android phone. I have connected via USB, and can see the phone under adb devices: $ adb devices List of devices attached ...
Albert Gevorgyan's user avatar
0 votes
0 answers
30 views

How to modify CarrierConfigManager values on Android 8.1 using ADB (no root)?

I'm trying to enable VoLTE on an Android 8.1 device by setting KEY_CARRIER_VOLTE_PROVISIONED_BOOL in CarrierConfigManager to 1. On Android 12+, there is an app called Pixel IMS that uses Shizuku to ...
rvksu's user avatar
  • 1
-1 votes
0 answers
26 views

Problem in android emulator and Ionic 7 live loading

for a few days now I've been experiencing something that stresses me out a lot and I don't know why it's happening. When I run the command: ionic cap sync android && ionic cap run android -l -...
Jesus Tejada's user avatar
0 votes
1 answer
39 views

Android - ADB command to perform "drag" gesture?

I would like to simulate a complicated gesture, such as pressing down a finger, drawing a shape and then lifting the finger up. I found how to do it with sendevent, but my OS reports permission denied ...
Jannis Erhard's user avatar
0 votes
0 answers
23 views

ADB suddenly not finding device

Have been connecting to my device with ADB for days without issue, but suddenly it's not in the list (adb.exe devices returns an empty list). The device shows up in device manager (Android composite ...
Camilla W's user avatar
0 votes
0 answers
24 views

Android and PC use adb for communication, sleep needs to be added to execute normally

I am trying to use a data cable to allow my tablet and PC to communicate normally. I am currently using the adb mapping port method and then using socket for communication. If I do not add sleep when ...
jun yin's user avatar
0 votes
1 answer
38 views

System app JDWP debugging broken in Android emulator 14 and 15

I am trying to interactively debug system Android applications in the Android 14 and Android 15 emulator such as com.android.phone but I am unable to connect via JDWP. My host PC is: Ubuntu 22.04.5 ...
satur9nine's user avatar
0 votes
0 answers
12 views

How do we set breakpoints in before execution vscode?

I can set breakpoints in .jdbrc stop in com.android.Activity:1 stop at ky.c:1 VSCode doesn't respect .jdbrc configuration { { "name": "Debug Mobile Application"...
Bret Joseph's user avatar
0 votes
0 answers
25 views

Remote/Lan application can not connect to android app running in emulator

My android application (similar to an ftp server but diff protocol) is running/debuged in android studio's emulator on my "Dev machine" . The dev machine is Ubuntu 22.04.The android app ...
Ahmed's user avatar
  • 15k
1 vote
2 answers
60 views

Is it possible to auto Disable an azure self hosted agent if it fails a job?

Is it possible to auto Disable an azure self hosted agent if it fails a job? I am doing appium based android UI testing through azure self hosted agents. Occasionally one of the PCs will lose UsB ...
Kyle Leighton's user avatar
0 votes
0 answers
34 views

Is there a way to expose a computer's local folder to Android via adb?

I want an Android app to process files in a large directory with many files. I would usually just transfer the files to the device via adb push. But this time around, the folder is much larger than ...
Majal's user avatar
  • 1,741
1 vote
0 answers
53 views

how can we run adb.exe command inside flutter test code?

I'm trying to run the adb.exe command inside flutter test code. but I'm always getting an error. is it possible to run adb.exe inside flutter test code? ` Future<void> runAdbCommand(List<...
Nick M's user avatar
  • 11
0 votes
0 answers
77 views

Secure folder debugging on Samsung, Android v. 14

I am trying to unbloat my Galaxy phone from preinstalled apps that cannot be uninstalled via regular means. The adb shell works perfectly, though not for Secure folder. To clarify, I want to uninstall ...
o_d3n1s_o's user avatar
0 votes
0 answers
23 views

adb query mediastore for image and other objects on newer Android devices

I want to open images, audio and video files on a remote Android device by using adb commands. I got commands from here: https://github.com/Linuxndroid/ADB-Cheat-Sheet . The remote device is not ...
user4500's user avatar
  • 817
0 votes
1 answer
64 views

FLUTTER: APK from adb pull from an app(my app) downloaded from play store is debug signed when I use apksigner to verify it

I currently published an App on Play store, when I download the app on play store and pull the apk from my phone using 'adb pull' then use apksigner to verify it, the result shows that it is on debug ...
Marcell Burayag's user avatar
0 votes
0 answers
45 views

Android Virtual Device is showing different BackgroundColor in a React Native App than real device

In my React native code, I specify my BackgroundColor like this const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: darkTheme.neutral50, }, The darkTheme.neutral50 ...
PhilippDL's user avatar
0 votes
0 answers
58 views

ADB Connection Issue with Droidbot on WSL: "Cannot bind to 127.0.0.1:60997: Only one usage of each socket address is normally permitted."

[![enter image description here][1]][1]I'm trying to run Droidbot on WSL (Windows Subsystem for Linux) and connect to the ADB (Android Debug Bridge) server that I'm starting in PowerShell. While I can ...
Mudoker's user avatar
  • 36
0 votes
0 answers
35 views

How do I circumvent "Operation not permitted" on Android when attempting to attach to a process with lldb?

The Context I am debugging a unit test which acts as a "server" by spawning child processes which act as the "clients," and they communicate with the server on different ports. The ...
Alex Mason's user avatar
0 votes
0 answers
36 views

Broke adb on Raspian 11 while attempting to upgrade to newer version

I am attempting connect to my Android TV (an Nvidia Shield TV Pro) using adb from a Raspberry Pi running Raspbian 11. I had initially installed adb using: sudo apt-get install android-tools-adb ...
cdixon1's user avatar
  • 109
1 vote
1 answer
85 views

Can't install apk using adb

guys! I want to create a simple HelloWorld apk in C using raylib. My project structure: HelloWorld/ ├── CMakeLists.txt ├── src/ │ ├── main.c ├── android/ │ └── AndroidManifest....
Oussama Teyib's user avatar
2 votes
1 answer
341 views

Android 13: Query DNS details using adb shell?

Using adb shell and ifconfig I can query the network interfaces and assigned IPs. However, I do not see any DNS details. How can I find the DNS servers which Android is using? private_dns_mode=off. My ...
René Heuven's user avatar
0 votes
1 answer
39 views

Screenshot from Bluestacks via ADB returns a black image after a while

This started happening suddenly; the setup was working fine for about two years: I have an app in Bluestacks that I need to take screenshots of on a regular basis (about every 5 seconds) WSL is ...
byteflush's user avatar
  • 148
0 votes
0 answers
54 views

Android Emulator Fails to Ping google.com: "ping: unknown host google.com" while system ping works

I'm having an issue with internet connectivity on my Android emulator. When I try to run adb shell ping -c 4 google.com, I get the following error: ping: unknown host google.com However, when I ping ...
jc28's user avatar
  • 1,852
1 vote
1 answer
79 views

How to disable automatic power saving mode?

In developer mode, my phone automatically switches to power saving mode when the battery level is below 75%. I would like to disable this feature. In my previous Google Pixel 8 Pro phone, there was an ...
Vadim Barsukov's user avatar
0 votes
1 answer
41 views

Is there anyway to know when an adb command managed by C# System.Diagnostics.Process finished?

I need to change tons of my Android picture's date and the easiest way seem to be using adb shell with touch command. I don't know why but adb shell touch ... does not work and it says "readonly ...
Luke Vo's user avatar
  • 20.4k
0 votes
0 answers
37 views

Can Appium access app files without rooting device?

I need to access files (R/W) on an Android device with Appium (in Java), on Windows. I'm getting acquainted to adb in order to at least know what path is expected for /data, /Download, etc., but it ...
Ety's user avatar
  • 330
2 votes
0 answers
350 views

ADB "error: protocol fault (couldn't read status message): No error" when pairing over wifi

I'm trying to connect my Android device via Wifi to adb by using the 6 digit pairing code. On my Android device phone I enabled wireless debugging and clicked on "Pair device with pairing code&...
Frikandel's user avatar
1 vote
1 answer
482 views

ADB failed to connect after updating Mac OS Version to Sequoia

daemon not running; starting now at tcp:5037 ADB server didn't ACK Full server startup log: /var/folders/7q/vrphc65x7_df5hj0rvpnhcv00000gn/T//adb.501.log Server had pid: 16908 --- adb starting (pid ...
Victor Ang's user avatar
1 vote
1 answer
60 views

ADB Check failed: payload.size() <= bytes_left

After a recent Debian testing (Debian 13 or trixie) update, adb on my pc broke. And it broke on a kernel or even on a cpu level. Now it just disconnects after some messages (randomly) from the android ...
qwerty's user avatar
  • 21
0 votes
1 answer
50 views

How to implement zoom in and out in python with ADB?

I am trying to create a python app that can zoom in and out on a game but I cannot implement it. I am using MEmu player as my emulator and the zoom in and out function I created is not working. The ...
newbie's user avatar
  • 35
0 votes
0 answers
325 views

Signature Verification fails while using adb sideload <device_firm_ware_file.zip> ; Techno Device

DM-verity of my Techno Device Model Gk-8/Gk-8-Gl just got expired and my device is unable to boot into its OS. I decided to update it system and use an updated firmware zip file downloaded from ...
Learn Shadow's user avatar
0 votes
0 answers
367 views

How to run adb on Termux to control Android itself without USB & Wi-Fi?

When u run the adb devices command in a computer’s terminal, the following steps occur: The ADB client (CLI) sends the adb devices command to the ADB server via TCP port 5037. If the ADB server isn’t ...
Phurinat Puekkham's user avatar
0 votes
0 answers
29 views

Find out if notification action needs a switch to the app from adb dump

Is it possible to find out (just from the data accessible by either adb output or by looking at files in android) if the click on a notification action needs a switch to the app? Example: For a signal ...
Marius Melzer's user avatar
0 votes
0 answers
174 views

failure to connect mobsf container to genymotion vm via ADB

I set an genymotion vm on AWS, and I am able to login to port 443, and confirmed that 5555 is working for adb, then I launched mobsf using docker docker run --name mobsf -it --rm -p 8000:8000 -p 1338:...
sqr's user avatar
  • 427
8 votes
3 answers
918 views

ADB server does not start when VPN is active

On my MacBook (Sonoma 14.6.1) I have adb installed (using homebrew - version 35.0.2-12147458). It works well until I activate VPN. My company uses Cisco AnyConnect. Once VPN is enabled, I am getting ...
Anton Avtamonov's user avatar
0 votes
1 answer
45 views

how input string in adb shell command

I have command on bash: adb shell '/bin/sh -c "CLASSPATH=\$(pm path androidx.test.services) app_process / androidx.test.services.shellexecutor.ShellMain am instrument -w --no-window-animation -e ...
Red Cape's user avatar
0 votes
0 answers
22 views

ADB shell command to start a background process and get back its status in one line is failing with a syntax error

The below adb shell command returns /system/bin/sh: syntax error: unexpected ';' adb shell "tcpdump -W 3 -C 2 -i any -s 0 -w /tmp/net.pcap > /dev/null 2>&1 & ; echo x$?"
Britto's user avatar
  • 501
0 votes
1 answer
101 views

Android device can no longer be paired via ADB WiFi

After installing and setting of adb, my smartphone worked flawlessly for more than a month via adb WiFi connection. Today, for some unknown reason, I was unable to pair my device via WiFi. I haven't ...
Andy Jazz's user avatar
  • 57.6k
0 votes
0 answers
26 views

gradle/cordova conflicts with adb?

On Ubuntu, adb devices rarely works. I typically have to unplug device, kill adb server, restart adb server, revoke auths on device, play around with it 500 times and eventually my device shows up. I ...
Caleb Pitman's user avatar
  • 1,165
-1 votes
1 answer
143 views

How to run "adb shell bugreportz" and get bug report programatically in android

I have to get the bug report and upload from my android device to server. I can get the bug report by manually running adb command "adb shell bugreportz". However I am trying to get the ...
user_8275's user avatar
  • 271
1 vote
1 answer
67 views

How Android Studio triggers to show my unlock screen?

When I Launch an app through Android Studio, if my phone is in the keyguard locked, but screen on state, it will automatically request to call out the unlock screen at that point (just like the user ...
progquester's user avatar
  • 1,702
0 votes
0 answers
32 views

App hangs on actual hardware but not Android Studio

The app in question that my team and I created is here: https://codeberg.org/fbushstone/BasicFitness When running the app on Android Studio's emulator, the runs normally with all the features we added....
Forrest Bushstone's user avatar
0 votes
0 answers
154 views

Dispatch Auto-Start Service on Android TV problems with Accessibility

I am trying to enable auto-srtart on my android tv with dispatch, but the problem is that my android TV, for some reason, does not have an accessibility setting. What should I do? I tried ADB from my ...
L M Louie Guerrero's user avatar
0 votes
1 answer
310 views

ADBs is unresponsive after 5000ms, killing server and retrying

I am constantly run into this error when I run an ionic android app on the device or emulator: ADBs is unresponsive after 5000ms, killing server and retrying... [capacitor] Error: Command ...
Stephen Cheng's user avatar
0 votes
0 answers
68 views

Is there a way to find out the path from getApplicationInfo().nativeLibraryDir of another app?

Android API provides getApplicationInfo().nativeLibraryDir to find out an app's /data/app lib path, as explained in previous questions How to get the path to the lib folder for an installed package or ...
Ruben P. Grady's user avatar

1
2 3 4 5
156