Questions tagged [dumpsys]

The dumpsys is a tool that runs on the device and dumps interesting information about the status of system services.

The Android input subsystem supports many different device classes, including keyboard, joystick, trackball, mouse and touch screen.

The dumpsys is a tool that runs on the device and dumps interesting information about the status of system services. Among its main features, the following could be highlighted:

  1. Get system information in a simple string representation.
  2. Use dumped CPU, RAM, Battery, storage stats for a pretty charts, which will allow you to check how your application affects the overall device.
81 questions
17
votes
3 answers

Get info of current visible fragment(s) in android dumpsys

I'm looking a solution to determine which fragments are currently visible from dumpsys I can get info about activities $ adb shell dumpsys activity | grep -i run Is there any solution for fragments or how do you determine visible fragments from…
Orhan Obut
  • 8,756
  • 5
  • 32
  • 42
12
votes
1 answer

ADB shell: How do I get a list of BroadcastReceivers that will receive BOOT_COMPLETED Intent?

I am currently debugging an application that should auto-start after the device boots. To this end I have created a BroadcastReceiver and added it to my AndroidManifest.xml:
david.mihola
  • 12,062
  • 8
  • 49
  • 73
10
votes
4 answers

adb shell command to check the apk is debug or release signed?

How to check if apk is debug or release signed? Is there any direct adb command to verify apk signature? Tried the following dumpsys and aapt commands, but I am not able to find the exact flag adb shell dumpsys package aapt dump…
Lava Sangeetham
  • 2,943
  • 4
  • 38
  • 54
10
votes
2 answers

Android: completely disabling deviceidle ("Doze") in Android M?

In a rooted Android M device, I want to completely disable deviceidle mode ("Doze"), all the time. Yes, I know this affects my battery life, and that's fine with me. I know that I can invoke the following: dumpsys deviceidle disable However, I…
HippoMan
  • 2,119
  • 2
  • 25
  • 48
10
votes
1 answer

How to grant permission for application which is downloaded from play store?

Already I know google denied this dump permission except system applications from version 4.1 and more. But still I can able to grant this dump permission using following command for debuggable applications., command : adb shell pm grant…
Rubanraj Ravichandran
  • 1,213
  • 2
  • 17
  • 26
8
votes
2 answers

adb shell dumpsys window windows output describing

I'm using appium for interaction between my Android device and java code. And I faced with problem that on some kind of devices(including emulators) after pressing on Home button, appium return incorrect current activity (it returns previous…
t3ft3l--i
  • 1,372
  • 1
  • 14
  • 21
7
votes
1 answer

interpreting dumpsys cpuinfo

Im looking for an explanation of result of command "dumpsys cpuinfo" in android shell. :# dumpsys cpuinfo Load: 17.78 / 16.97 / 16.29 CPU usage from 35983ms to 21604ms ago: 97% 25268/com.firstprocess: 78% user + 19% kernel / faults: 19938 minor …
blazej
  • 115
  • 1
  • 2
  • 4
4
votes
0 answers

How to find dimension of a device in DPs via ADB

I got dimensions of a device using - adb shell wm size other ways to get it, - adb shell dumpsys display | grep mBaseDisplayInfo But I am not able to find device's resolution in DPs. (which should be 360x480) In android code , we can do it using…
Darpan
  • 5,623
  • 3
  • 48
  • 80
4
votes
1 answer

dumpsys cpuinfo in Android: Interpreting the results of this command

I'm looking at the out of the following command "adb shell dumpsys cpuinfo" where I want to know if these reported values are averages over previous time ? D:\Android_Dev\Android_sdk\platform-tools>adb shell dumpsys cpuinfo Load: 4.03 / 3.43 /…
utengr
  • 3,225
  • 3
  • 29
  • 68
4
votes
0 answers

heap alloc + free < heap size

Follow is part of dumpsys meminfo's outputs: We can see: Native heap size is 65 MB heap alloc is 22MB, while free is about 3MB but alloc + free is quite smaller then size. Why?
Ray
  • 61
  • 4
3
votes
1 answer

Excluding dump_syms folder from android bundle (.aab)

I have created an Android release bundle. When I did size analysis I can dump_syms folder which takes around 7MB of size. How can I exclude that when I prepare the final release bundle?
nilkash
  • 7,408
  • 32
  • 99
  • 176
3
votes
1 answer

How to show/hide Profile GPU rendering as bars using adb command?

I'm trying to automate some of the tasks which I do while development on a regular basis using scripts. One of which is switching on and off GPU Profile rendering. However, I can't find the adb command to show/hide it.
vepzfe
  • 4,217
  • 5
  • 26
  • 46
3
votes
1 answer

Android dumpsys meminfo "Swapped Dirty" coloumn meaning?

There are many questions asked regarding output of the "adb shell dumpsys meminfo" like this one: adb shell dumpsys meminfo - What is the meaning of each cell of its output? And now we have this nice article describing types of memory…
gheni4
  • 273
  • 3
  • 16
3
votes
1 answer

What is the difference between procrank and dumpsys meminfo?

I felt confused about the difference between procrank and dumpsys meminfo when using Android adb shell.The Pss of my application, which is reported by the command-procrank, is always higher than the one displayed in the result of dumpsys…
storkzhang
  • 31
  • 4
3
votes
0 answers

How to ues "dumpsys batterystats" to get a app's Power Consumption‘s Percentage

I want to know how can i get the information of the percentage of a app's use of battery
asting
  • 31
  • 2
1
2 3 4 5 6