Mastering Diagnostics with Android Dumpsys
Dump AODManagerService info
adb shell dumpsys AODManagerService
Dump ChimeraManagerService info
adb shell dumpsys ChimeraManagerService
Dump CocktailBarService info
adb shell dumpsys CocktailBarService
Dump CustomFrequencyManagerService info
adb shell dumpsys CustomFrequencyManagerService
Dump DisplaySolution info
adb shell dumpsys DisplaySolution
Dump DockObserver info
adb shell dumpsys DockObserver
Dump HqmManagerService info
adb shell dumpsys HqmManagerService
Dump ImsBase info
adb shell dumpsys ImsBase
Dump IntelligentBatterySaverService info
adb shell dumpsys IntelligentBatterySaverService
Dump PkgPredictorService info
adb shell dumpsys PkgPredictorService
Dump PowerSolution_Framework_service info
adb shell dumpsys PowerSolution_Framework_service
Dump ReactiveService info
adb shell dumpsys ReactiveService
Dump SEAMService info
adb shell dumpsys SEAMService
Dump SatsService info
adb shell dumpsys SatsService
Dump SemContinuityService info
adb shell dumpsys SemContinuityService
Dump SemInputDeviceManagerService info
adb shell dumpsys SemInputDeviceManagerService
Dump SemService info
adb shell dumpsys SemService
Dump SurfaceFlinger info
adb shell dumpsys SurfaceFlinger
Dump SurfaceFlingerAIDL info
adb shell dumpsys SurfaceFlingerAIDL
Dump SveService info
adb shell dumpsys SveService
Dump VaultKeeperService info
adb shell dumpsys VaultKeeperService
Dump accessibility info
adb shell dumpsys accessibility
Dump account info
adb shell dumpsys account
Dump activity info
adb shell dumpsys activity
Dump activity_task info
adb shell dumpsys activity_task
Dump adb info
adb shell dumpsys adb
Dump adservices_manager info
adb shell dumpsys adservices_manager
Dump alarm info
adb shell dumpsys alarm
Dump ambient_context info
adb shell dumpsys ambient_context
Dump android.frameworks.cameraservice.service.ICameraService/default info
adb shell dumpsys android.frameworks.cameraservice.service.ICameraService/default
Dump android.frameworks.location.altitude.IAltitudeService/default info
adb shell dumpsys android.frameworks.location.altitude.IAltitudeService/default
Dump android.frameworks.sensorservice.ISensorManager/default info
adb shell dumpsys android.frameworks.sensorservice.ISensorManager/default
Dump android.frameworks.stats.IStats/default info
adb shell dumpsys android.frameworks.stats.IStats/default
Dump android.hardware.light.ILights/default info
adb shell dumpsys android.hardware.light.ILights/default
Dump android.hardware.power.IPower/default info
adb shell dumpsys android.hardware.power.IPower/default
Dump android.hardware.uwb.IUwb/default info
adb shell dumpsys android.hardware.uwb.IUwb/default
Dump android.hardware.vibrator.IVibrator/default info
adb shell dumpsys android.hardware.vibrator.IVibrator/default
Dump android.security.apc info
adb shell dumpsys android.security.apc
Dump android.security.authorization info
adb shell dumpsys android.security.authorization
Dump android.security.compat info
adb shell dumpsys android.security.compat
Dump android.security.identity info
adb shell dumpsys android.security.identity
Dump android.security.legacykeystore info
adb shell dumpsys android.security.legacykeystore
Dump android.security.maintenance info
adb shell dumpsys android.security.maintenance
Dump android.security.metrics info
adb shell dumpsys android.security.metrics
Dump android.security.samsungattestation info
adb shell dumpsys android.security.samsungattestation
Dump android.security.securekeygeneration info
adb shell dumpsys android.security.securekeygeneration
Dump android.system.keystore2.IKeystoreService/default info
adb shell dumpsys android.system.keystore2.IKeystoreService/default
Dump android.system.net.netd.INetd/default info
adb shell dumpsys android.system.net.netd.INetd/default
Dump android.system.suspend.ISystemSuspend/default info
adb shell dumpsys android.system.suspend.ISystemSuspend/default
Dump app_binding info
adb shell dumpsys app_binding
Dump app_hibernation info
adb shell dumpsys app_hibernation
Dump app_integrity info
adb shell dumpsys app_integrity
Dump app_prediction info
adb shell dumpsys app_prediction
Dump app_search info
adb shell dumpsys app_search
Dump application_policy info
adb shell dumpsys application_policy
Dump appops info
adb shell dumpsys appops
Dump appwidget info
adb shell dumpsys appwidget
Dump asks info
adb shell dumpsys asks
Dump attestation_verification info
adb shell dumpsys attestation_verification
Dump audio info
adb shell dumpsys audio
Dump auth info
adb shell dumpsys auth
Dump autofill info
adb shell dumpsys autofill
Dump background_install_control info
adb shell dumpsys background_install_control
Dump backup info
adb shell dumpsys backup
Dump battery info
adb shell dumpsys battery
Dump batteryproperties info
adb shell dumpsys batteryproperties
Dump batterystats info
adb shell dumpsys batterystats
Dump binder_calls_stats info
adb shell dumpsys binder_calls_stats
Dump biometric info
adb shell dumpsys biometric
Dump blob_store info
adb shell dumpsys blob_store
Dump blockchain info
adb shell dumpsys blockchain
Dump bluetooth_manager info
adb shell dumpsys bluetooth_manager
Dump bugreport info
adb shell dumpsys bugreport
Dump cacheinfo info
adb shell dumpsys cacheinfo
Dump carrier_config info
adb shell dumpsys carrier_config
Dump clipboard info
adb shell dumpsys clipboard
Dump color_display info
adb shell dumpsys color_display
Dump com.samsung.android.pass.IPassService info
adb shell dumpsys com.samsung.android.pass.IPassService
Dump com.samsung.security.fabric.cryptod.IFabricCryptoService/default info
adb shell dumpsys com.samsung.security.fabric.cryptod.IFabricCryptoService/default
Dump com.samsung.ucs.ucsservice info
adb shell dumpsys com.samsung.ucs.ucsservice
Dump companiondevice info
adb shell dumpsys companiondevice
Dump connectivity info
adb shell dumpsys connectivity
Dump connectivity_native info
adb shell dumpsys connectivity_native
Dump connmetrics info
adb shell dumpsys connmetrics
Dump content info
adb shell dumpsys content
Dump content_capture info
adb shell dumpsys content_capture
Dump country_detector info
adb shell dumpsys country_detector
Dump cover info
adb shell dumpsys cover
Dump cpuinfo info
adb shell dumpsys cpuinfo
Dump credential info
adb shell dumpsys credential
Dump crossprofileapps info
adb shell dumpsys crossprofileapps
Dump dar info
adb shell dumpsys dar
Dump dataloader_manager info
adb shell dumpsys dataloader_manager
Dump dbinfo info
adb shell dumpsys dbinfo
Dump desktopmode info
adb shell dumpsys desktopmode
Dump device_config info
adb shell dumpsys device_config
Dump device_identifiers info
adb shell dumpsys device_identifiers
Dump device_policy info
adb shell dumpsys device_policy
Dump device_state info
adb shell dumpsys device_state
Dump deviceidle info
adb shell dumpsys deviceidle
Dump devicestoragemonitor info
adb shell dumpsys devicestoragemonitor
Dump diskstats info
adb shell dumpsys diskstats
Dump display info
adb shell dumpsys display
Dump domain_verification info
adb shell dumpsys domain_verification
Dump dreams info
adb shell dumpsys dreams
Dump drm.drmManager info
adb shell dumpsys drm.drmManager
Dump dropbox info
adb shell dumpsys dropbox
Dump dual_app info
adb shell dumpsys dual_app
Dump dynamic_system info
adb shell dumpsys dynamic_system
Dump econtroller info
adb shell dumpsys econtroller
Dump edm_proxy info
adb shell dumpsys edm_proxy
Dump edmnativehelper info
adb shell dumpsys edmnativehelper
Dump emergency_affordance info
adb shell dumpsys emergency_affordance
Dump enterprise_license_policy info
adb shell dumpsys enterprise_license_policy
Dump enterprise_policy info
adb shell dumpsys enterprise_policy
Dump epdgService info
adb shell dumpsys epdgService
Dump epic info
adb shell dumpsys epic
Dump ethernet info
adb shell dumpsys ethernet
Dump euicc_card_controller info
adb shell dumpsys euicc_card_controller
Dump extendedethernetservice info
adb shell dumpsys extendedethernetservice
Dump external_vibrator_service info
adb shell dumpsys external_vibrator_service
Dump face info
adb shell dumpsys face
Dump file_integrity info
adb shell dumpsys file_integrity
Dump fingerprint info
adb shell dumpsys fingerprint
Dump font info
adb shell dumpsys font
Dump game info
adb shell dumpsys game
Dump gamemanager info
adb shell dumpsys gamemanager
Dump gamesdk info
adb shell dumpsys gamesdk
Dump gfxinfo info
adb shell dumpsys gfxinfo
Dump gpu info
adb shell dumpsys gpu
Dump grammatical_inflection info
adb shell dumpsys grammatical_inflection
Dump graphicsstats info
adb shell dumpsys graphicsstats
Dump hardware_properties info
adb shell dumpsys hardware_properties
Dump healthconnect info
adb shell dumpsys healthconnect
Dump iccc info
adb shell dumpsys iccc
Dump imms info
adb shell dumpsys imms
Dump incidentcompanion info
adb shell dumpsys incidentcompanion
Dump incremental info
adb shell dumpsys incremental
Dump input info
adb shell dumpsys input
Dump input_method info
adb shell dumpsys input_method
Dump inputflinger info
adb shell dumpsys inputflinger
Dump ions info
adb shell dumpsys ions
Dump iphonesubinfo info
adb shell dumpsys iphonesubinfo
Dump ipsec info
adb shell dumpsys ipsec
Dump isemphonesubinfo info
adb shell dumpsys isemphonesubinfo
Dump isemtelephony info
adb shell dumpsys isemtelephony
Dump isms info
adb shell dumpsys isms
Dump isub info
adb shell dumpsys isub
Dump jobscheduler info
adb shell dumpsys jobscheduler
Dump knox_nwFilterMgr_policy info
adb shell dumpsys knox_nwFilterMgr_policy
Dump knox_ucsm_policy info
adb shell dumpsys knox_ucsm_policy
Dump knox_vpn_policy info
adb shell dumpsys knox_vpn_policy
Dump knoxcustom info
adb shell dumpsys knoxcustom
Dump knoxguard_service info
adb shell dumpsys knoxguard_service
Dump kumiho.decoder info
adb shell dumpsys kumiho.decoder
Dump launcherapps info
adb shell dumpsys launcherapps
Dump lazy_service info
adb shell dumpsys lazy_service
Dump legacy_permission info
adb shell dumpsys legacy_permission
Dump lifeguard info
adb shell dumpsys lifeguard
Dump lights info
adb shell dumpsys lights
Dump locale info
adb shell dumpsys locale
Dump location info
adb shell dumpsys location
Dump location_time_zone_manager info
adb shell dumpsys location_time_zone_manager
Dump lock_settings info
adb shell dumpsys lock_settings
Dump logcat info
adb shell dumpsys logcat
Dump looper_stats info
adb shell dumpsys looper_stats
Dump mDNIe info
adb shell dumpsys mDNIe
Dump manager info
adb shell dumpsys manager
Dump mcps info
adb shell dumpsys mcps
Dump mdm.remotedesktop info
adb shell dumpsys mdm.remotedesktop
Dump mdns info
adb shell dumpsys mdns
Dump media.aaudio info
adb shell dumpsys media.aaudio
Dump media.audio_flinger info
adb shell dumpsys media.audio_flinger
Dump media.audio_policy info
adb shell dumpsys media.audio_policy
Dump media.camera info
adb shell dumpsys media.camera
Dump media.camera.proxy info
adb shell dumpsys media.camera.proxy
Dump media.camera.worker info
adb shell dumpsys media.camera.worker
Dump media.extractor info
adb shell dumpsys media.extractor
Dump media.metrics info
adb shell dumpsys media.metrics
Dump media.player info
adb shell dumpsys media.player
Dump media.resource_manager info
adb shell dumpsys media.resource_manager
Dump media.resource_observer info
adb shell dumpsys media.resource_observer
Dump media_communication info
adb shell dumpsys media_communication
Dump media_metrics info
adb shell dumpsys media_metrics
Dump media_projection info
adb shell dumpsys media_projection
Dump media_resource_monitor info
adb shell dumpsys media_resource_monitor
Dump media_router info
adb shell dumpsys media_router
Dump media_session info
adb shell dumpsys media_session
Dump meminfo info
adb shell dumpsys meminfo
Dump memtrack.proxy info
adb shell dumpsys memtrack.proxy
Dump midi info
adb shell dumpsys midi
Dump mobile_payment info
adb shell dumpsys mobile_payment
Dump motion_recognition info
adb shell dumpsys motion_recognition
Dump mount info
adb shell dumpsys mount
Dump multicontrol info
adb shell dumpsys multicontrol
Dump mum_container_policy info
adb shell dumpsys mum_container_policy
Dump nearby info
adb shell dumpsys nearby
Dump netd_listener info
adb shell dumpsys netd_listener
Dump netpolicy info
adb shell dumpsys netpolicy
Dump netstats info
adb shell dumpsys netstats
Dump network_management info
adb shell dumpsys network_management
Dump network_score info
adb shell dumpsys network_score
Dump network_stack info
adb shell dumpsys network_stack
Dump network_time_update_service info
adb shell dumpsys network_time_update_service
Dump network_watchlist info
adb shell dumpsys network_watchlist
Dump nfc info
adb shell dumpsys nfc
Dump notification info
adb shell dumpsys notification
Dump oem_lock info
adb shell dumpsys oem_lock
Dump ondevicepersonalization_system_service info
adb shell dumpsys ondevicepersonalization_system_service
Dump otadexopt info
adb shell dumpsys otadexopt
Dump overlay info
adb shell dumpsys overlay
Dump pac_proxy info
adb shell dumpsys pac_proxy
Dump package info
adb shell dumpsys package
Dump package_native info
adb shell dumpsys package_native
Dump people info
adb shell dumpsys people
Dump performance_hint info
adb shell dumpsys performance_hint
Dump perfsdkservice info
adb shell dumpsys perfsdkservice
Dump permission info
adb shell dumpsys permission
Dump permission_checker info
adb shell dumpsys permission_checker
Dump permissionmgr info
adb shell dumpsys permissionmgr
Dump persistent_data_block info
adb shell dumpsys persistent_data_block
Dump persona info
adb shell dumpsys persona
Dump phone info
adb shell dumpsys phone
Dump pinner info
adb shell dumpsys pinner
Dump platform_compat info
adb shell dumpsys platform_compat
Dump platform_compat_native info
adb shell dumpsys platform_compat_native
Dump power info
adb shell dumpsys power
Dump powerstats info
adb shell dumpsys powerstats
Dump print info
adb shell dumpsys print
Dump processinfo info
adb shell dumpsys processinfo
Dump procstats info
adb shell dumpsys procstats
Dump profilepolicy info
adb shell dumpsys profilepolicy
Dump reboot_readiness info
adb shell dumpsys reboot_readiness
Dump recovery info
adb shell dumpsys recovery
Dump remote_provisioning info
adb shell dumpsys remote_provisioning
Dump remoteappmode info
adb shell dumpsys remoteappmode
Dump resources info
adb shell dumpsys resources
Dump restriction_policy info
adb shell dumpsys restriction_policy
Dump restrictions info
adb shell dumpsys restrictions
Dump role info
adb shell dumpsys role
Dump rollback info
adb shell dumpsys rollback
Dump runtime info
adb shell dumpsys runtime
Dump safety_center info
adb shell dumpsys safety_center
Dump samsung_telecom info
adb shell dumpsys samsung_telecom
Dump samsunguwb info
adb shell dumpsys samsunguwb
Dump samsunguwb_aosp info
adb shell dumpsys samsunguwb_aosp
Dump samsunguwb_extras info
adb shell dumpsys samsunguwb_extras
Dump scheduling_policy info
adb shell dumpsys scheduling_policy
Dump scontext info
adb shell dumpsys scontext
Dump sdhms info
adb shell dumpsys sdhms
Dump sdk_sandbox info
adb shell dumpsys sdk_sandbox
Dump search info
adb shell dumpsys search
Dump search_ui info
adb shell dumpsys search_ui
Dump sec_key_att_app_id_provider info
adb shell dumpsys sec_key_att_app_id_provider
Dump sec_location info
adb shell dumpsys sec_location
Dump secims info
adb shell dumpsys secims
Dump secure_element info
adb shell dumpsys secure_element
Dump secure_element_mpos info
adb shell dumpsys secure_element_mpos
Dump selection_toolbar info
adb shell dumpsys selection_toolbar
Dump sem_wifi info
adb shell dumpsys sem_wifi
Dump sem_wifi_aware info
adb shell dumpsys sem_wifi_aware
Dump sem_wifi_p2p info
adb shell dumpsys sem_wifi_p2p
Dump semclipboard info
adb shell dumpsys semclipboard
Dump semprivilege info
adb shell dumpsys semprivilege
Dump sensor_privacy info
adb shell dumpsys sensor_privacy
Dump sensorservice info
adb shell dumpsys sensorservice
Dump sepunion info
adb shell dumpsys sepunion
Dump serial info
adb shell dumpsys serial
Dump servicediscovery info
adb shell dumpsys servicediscovery
Dump settings info
adb shell dumpsys settings
Dump shortcut info
adb shell dumpsys shortcut
Dump simphonebook info
adb shell dumpsys simphonebook
Dump slice info
adb shell dumpsys slice
Dump smartspace info
adb shell dumpsys smartspace
Dump soundtrigger info
adb shell dumpsys soundtrigger
Dump soundtrigger_middleware info
adb shell dumpsys soundtrigger_middleware
Dump speech_recognition info
adb shell dumpsys speech_recognition
Dump speg_helper info
adb shell dumpsys speg_helper
Dump spengestureservice info
adb shell dumpsys spengestureservice
Dump spqr_service info
adb shell dumpsys spqr_service
Dump stats info
adb shell dumpsys stats
Dump statsbootstrap info
adb shell dumpsys statsbootstrap
Dump statscompanion info
adb shell dumpsys statscompanion
Dump statsmanager info
adb shell dumpsys statsmanager
Dump statusbar info
adb shell dumpsys statusbar
Dump storaged info
adb shell dumpsys storaged
Dump storaged_pri info
adb shell dumpsys storaged_pri
Dump storagestats info
adb shell dumpsys storagestats
Dump suspend_control_internal info
adb shell dumpsys suspend_control_internal
Dump system_config info
adb shell dumpsys system_config
Dump system_server_dumper info
adb shell dumpsys system_server_dumper
Dump system_update info
adb shell dumpsys system_update
Dump tare info
adb shell dumpsys tare
Dump telecom info
adb shell dumpsys telecom
Dump telephony.registry info
adb shell dumpsys telephony.registry
Dump telephony_ims info
adb shell dumpsys telephony_ims
Dump testharness info
adb shell dumpsys testharness
Dump tethering info
adb shell dumpsys tethering
Dump textclassification info
adb shell dumpsys textclassification
Dump textservices info
adb shell dumpsys textservices
Dump texttospeech info
adb shell dumpsys texttospeech
Dump thermalservice info
adb shell dumpsys thermalservice
Dump time_detector info
adb shell dumpsys time_detector
Dump time_zone_detector info
adb shell dumpsys time_zone_detector
Dump tracing.proxy info
adb shell dumpsys tracing.proxy
Dump translation info
adb shell dumpsys translation
Dump transparency info
adb shell dumpsys transparency
Dump trust info
adb shell dumpsys trust
Dump uimode info
adb shell dumpsys uimode
Dump updatelock info
adb shell dumpsys updatelock
Dump uri_grants info
adb shell dumpsys uri_grants
Dump urspservice info
adb shell dumpsys urspservice
Dump usagestats info
adb shell dumpsys usagestats
Dump usb info
adb shell dumpsys usb
Dump user info
adb shell dumpsys user
Dump vcn_management info
adb shell dumpsys vcn_management
Dump vendor.samsung.frameworks.codecsolution.ISehCodecSolution/default info
adb shell dumpsys vendor.samsung.frameworks.codecsolution.ISehCodecSolution/default
Dump vendor.samsung.frameworks.hdrsolution.ISehHdrSolution/default info
adb shell dumpsys vendor.samsung.frameworks.hdrsolution.ISehHdrSolution/default
Dump vendor.samsung.frameworks.security.dsms.ISehDsms/default info
adb shell dumpsys vendor.samsung.frameworks.security.dsms.ISehDsms/default
Dump vendor.samsung.hardware.hyper.ISehHyPer/default info
adb shell dumpsys vendor.samsung.hardware.hyper.ISehHyPer/default
Dump vendor.samsung.hardware.media.mpp.ISehMppStore/default info
adb shell dumpsys vendor.samsung.hardware.media.mpp.ISehMppStore/default
Dump vendor.samsung.hardware.security.fkeymaster.ISehFkeymaster/default info
adb shell dumpsys vendor.samsung.hardware.security.fkeymaster.ISehFkeymaster/default
Dump vendor.samsung.hardware.security.hdcp.wifidisplay.ISehHdcp/default info
adb shell dumpsys vendor.samsung.hardware.security.hdcp.wifidisplay.ISehHdcp/default
Dump vendor.samsung.hardware.snap.ISehSnap/default info
adb shell dumpsys vendor.samsung.hardware.snap.ISehSnap/default
Dump vendor.samsung.hardware.snap.ISehSnap/secsnap info
adb shell dumpsys vendor.samsung.hardware.snap.ISehSnap/secsnap
Dump vibrator_manager info
adb shell dumpsys vibrator_manager
Dump virtualdevice info
adb shell dumpsys virtualdevice
Dump voiceinteraction info
adb shell dumpsys voiceinteraction
Dump vpn_management info
adb shell dumpsys vpn_management
Dump wallpaper info
adb shell dumpsys wallpaper
Dump wallpaper_effects_generation info
adb shell dumpsys wallpaper_effects_generation
Dump wearable_sensing info
adb shell dumpsys wearable_sensing
Dump webviewupdate info
adb shell dumpsys webviewupdate
Dump wifi info
adb shell dumpsys wifi
Dump wifiaware info
adb shell dumpsys wifiaware
Dump wifinl80211 info
adb shell dumpsys wifinl80211
Dump wifip2p info
adb shell dumpsys wifip2p
Dump wifirtt info
adb shell dumpsys wifirtt
Dump wifiscanner info
adb shell dumpsys wifiscanner
Dump window info
adb shell dumpsys window
Example USB device descriptors
```bash
adb shell dumpsys usb dump-descriptors -dump-short
adb shell dumpsys usb dump-descriptors -dump-tree
adb shell dumpsys usb dump-descriptors -dump-list
adb shell dumpsys usb dump-descriptors -dump-ra
```
Get a nice output from dumpsys
adb shell dumpsys -l|sed 's/^ /adb shell dumpsys/g;G' Print help commands for all dumpsys commands fast
adb shell dumpsys -l |sed 's/^ /adb shell dumpsys/g;s/$/ -h/g;G' Run all dumpsys help
adb shell dumpsys appops -h|sed 's/–/adb shell –/g;s/ /### /g'
Print this help text
adb shell dumpsys appops –op [OP] Limit output to data associated with the given app op code
adb shell dumpsys appops–mode [MODE] Limit output to data associated with the given app op mode
adb shell dumpsys appops–package [PACKAGE] Limit output to data associated with the given package name
adb shell dumpsys appops–attributionTag [attributionTag] Limit output to data associated with the given attribution tag
adb shell dumpsys appops–include-discrete Include discrete ops limited to n per dimension. Use zero for no limit
adb shell dumpsys appops–watchers Only output the watcher sections
adb shell dumpsys appops–history Dumpsys powerstats info
adb shell dumpsys powerstats Dumpsys power info
adb shell dumpsys power Dumpsys Permission Permissions
adb shell dumpsys permission adb shell dumpsys permission_checker adb shell dumpsys permissionmgr Dumpsys password policys
adb shell dumpsys password_policy Dumpsys Device FeatureS/Perfomance/Tracker/Info etc
adb shell dumpsys phone Print current themal for device
adb shell dumpsys thermalservice Dumpsys usagestats for an app
ad shell dumpsys usagestats com.bankid.bus Example USB type C port role switch
adb shell dumpsys usb set-port-roles "default" source device Example USB type C port simulation with full capabilities
adb shell dumpsys usb add-port "matrix" dual adb shell dumpsys usb connect-port "matrix" ufp? sink? device? adb shell dumpsys usb ports adb shell dumpsys usb disconnect-port "matrix" adb shell dumpsys usb remove-port "matrix" adb shell dumpsys usb reset Example USB type C port where only power role can be changed:
adb shell dumpsys usb add-port "matrix" dual adb shell dumpsys usb connect-port "matrDumpsysix" dfp source? host adb shell dumpsys usb reset Example USB OTG port where id pin determines function
adb shell dumpsys usb add-port "matrix" dual adb shell dumpsys usb connect-port "matrix" dfp source host adb shell dumpsys usb reset Example USB device-only port
adb shell dumpsys usb add-port "matrix" ufp adb shell dumpsys usb connect-port "matrix" ufp sink device adb shell dumpsys usb reset Example simulate contaminant status
adb shell dumpsys usb add-port "matrix" ufp adb shell dumpsys usb set-contaminant-status "matrix" true adb shell dumpsys usb set-contaminant-status "matrix" false Example USB device descriptors
adb shell dumpsys usb dump-descriptors -dump-short adb shell dumpsys usb dump-descriptors -dump-tree adb shell dumpsys usb dump-descriptors -dump-list adb shell dumpsys usb dump-descriptors -dump-ra Dumpsys procstats
adb shell dumpsys procstats Dumpsys procstats with full stats
adb shell dumpsys procstats –full-stats Dumpsys procstats csv-mem normal
adb shell dumpsys procstats –csv-mem norm Dumpsys Package
adb shell dumpsys package com.android.chrome Print all activitys from any application
adb shell dumpsys package|grep -Eo "[[:space:]]+[0-9a-f]+[[:space:]]+com.samsung.android.app.telephonyui.esimclient/[[:space:]]+"|grep -oE "[^[:space:]]+$" com.samsung.android.app.telephonyui.esimclient/.OdaWebViewActivity Print available receivers for an an default app
adb shell dumpsys package|grep -Eo "[[:space:]]+[0-9a-f]+[[:space:]]+com.samsung.android.app.telephonyui/[[:space:]]+" |grep -oE "[^[:space:]]+Receiver" Print available activitys for an an default app
adb shell dumpsys package |grep -Eo "[[:space:]]+[0-9a-f]+[[:space:]]+com.samsung.android.app.telephonyui/[[:space:]]+"|grep -oE "[^[:space:]]+.*Activity" Print available services for an an default app
adb shell dumpsys package|grep -Eo "[[:space:]]+[0-9a-f]+[[:space:]]+com.samsung.android.app.telephonyui/[[:space:]]+"|grep -oE "[^[:space:]]+.*Service" Dump available activitys on device
adb shell dumpsys package|grep -Eo "[[:space:]]+[0-9a-f]+[[:space:]]+.*/[[:space:]]+"|grep -oE "[^[:space:]]+$" Print current application in use (Android 12/13)
adb shell dumpsys activity|grep -i mCurrentFocus|awk 'NR==1{print $3}'|cut -d'}' -f1 Dumpsys Activity Help
adb shell dumpsys perm Dumpsys Activity Activities
adb shell dumpsys a Dumpsys Activity Broadcasts
adb shell dumpsys activity broadcast Dumpsys Broadcast Stats
adb shell dumpsys activity broadcast-stats Dumpsys Pending Intent
adb shell dumpsys activity i Dumpsys Activity Processes
adb shell dumpsys activity p Dumpsys Activity Out Of Mem
adb shell dumpsys activity o Dumpsys Activity Services
adb shell dumpsys activity services Dumpsys Activity Asociations
adb shell dumpsys activity as Dumpsys Activity LRU Services
adb shell dumpsys activity lru Dumpsys Activity LRU Services
adb shell dumpsys activity lru Dumpsys Activity binder-proxies stats on binder objects and IPCs
adb shell dumpsys activity binder-proxies Dumpsys Activity settings currently applied config settings
adb shell dumpsys activity settings Dumpsys Activity service client-side state
adb shell dumpsys activity service Dump all state related to given package
adb shell dumpsys activity package Dumpsys Activity all: dump all activities
adb shell dumpsys activity all Dumpsys Activity top: dump the top activity
adb shell dumpsys activity top Include all available server state in dump
adb shell dumpsys activity -a Dumpsys Activity and include client state
adb shell dumpsys activity -c Dumpsys Activity all limit output to given package
adb shell dumpsys activity -p Dumpsys Activity all output checkin format, resetting data
adb shell dumpsys activity –checkin Dumpsys Activity output checkin format, not resetting data
adb shell dumpsys activity -C Dumpsys All Activitys data
adb shell dumpsys activity –proto Dumpsys Activity dump just the autofill-related state of an activity
adb shell dumpsys activity –autofill Dumpsys Activity Help
adb shell dumpsys activity recents Dumpsys Activity Exit Info
adb shell dumpsys activity exit-info Dumpsys Activity LMK KILLS
adb shell dumpsys activity lmk Dumpsys Activity Help
adb shell dumpsys activity recents Dumpsys Activity Permissions
adb shell dumpsys activity top Dumpsys Activity
adb shell dumpsys activity top Dumpsys Activity Top
adb shell dumpsys activity top List all active services:
adb shell dumpsys -l List services on older devices via command below
adb shell dumpsys -l |sed 's/^ / /g' Dumpsys lock_settings
adb shell dumpsys lock_settings Print codecs for bluetooth headphones
adb shell dumpsys media.audio_flinger
|grep -A3 Input Show bluetooth índo
adb shell dumpsys bluetooth_manager Dump phone registry
adb shell dumpsys telephony.registry Dump GPS Data
adb shell dumpsys dumpsys location Dump device settings settings
adb shell dumpsys settings Display Contacts On Sim Card
adb shell dumpsys simphonebook Show hardware info as thermal stuff for cpu, gpu and battery
adb shell dumpsys hardware_properties Print all applications that is using your email address
adb shell dumpsys account|grep -i com.*$ -o |cut -d' ' -f1 |cut -d} -f1|grep -v com$ Show all notifications listener and so on
adb shell dumpsys notification Print all added email addresses from all applications
adb shell dumpsys|egrep -o "b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,6}b" Print version of a specifik package
adb shell dumpsys dumpsys package com.lge.signboard | grep versionName Check state for screen and figoure how device was unlcked last time
adb shell dumpsys user Simulate battery parameters Simulate battery parameters Simulate we just got 1% of battery power left
adb shell dumpsys battery set level 1 Connect AC charger
adb shell dumpsys battery set ac 1 Unplug AC
adb shell dumpsys battery unplug Disconnect AC charger
adb shell dumpsys battery set ac 0 Connect USB cable
adb shell dumpsys battery set usb 1 Disconnect USB cable
adb shell dumpsys battery set usb 0 After running each of those commands you can reset the battery options using
adb shell dumpsys battery reset Dump all data for battery
adb shell dumpsys battery Dump stats for your battery
adb shell dumpsys atterystats Erase old stats for battery
adb shell dumpsys batterystats –reset Sort Applications By Ram Usag
adb shell dumpsys meminfo Print current notifications
adb shell dumpsys notification | grep NotificationRecord | wc -l dumpsys Get a nice output from dumpsys
adb shell dumpsys -l
|sed 's/^ /adb shell dumpsys/g;G' Print help commands for all dumpsys commands fast
adb shell dumpsys -l
|sed 's/^ /adb shell dumpsys/g;s/$/ -h/g;G' Run all dumpsys help
adb shell dumpsys appops -h
|sed 's/–/adb shell –/g;s/ /### /g'
Print this help text
adb shell dumpsys appops –op [OP] Limit output to data associated with the given app op code
adb shell dumpsys appops–mode [MODE] Limit output to data associated with the given app op mode
adb shell dumpsys appops–package [PACKAGE] Limit output to data associated with the given package name
adb shell dumpsys appops–attributionTag [attributionTag] Limit output to data associated with the given attribution tag
adb shell dumpsys appops–include-discrete Include discrete ops limited to n per dimension. Use zero for no limit
adb shell dumpsys appops–watchers Only output the watcher sections
adb shell dumpsys appops–history Dumpsys powerstats info
adb shell dumpsys powerstats Dumpsys power info
adb shell dumpsys power Dumpsys Permission Permissions
adb shell dumpsys permission adb shell dumpsys permission_checker adb shell dumpsys permissionmgr Dumpsys password policyś
adb shell dumpsys password_policy Dumpsys Device FeatureS/Perfomance/Tracker/Info etc
adb shell dumpsys phone Print current themal for device
adb shell dumpsys thermalservice Dumpsys usagestats for an app
adb shell dumpsys usagestats com.bankid.bus Dump current USB state or issue command Example USB type C port role switch
adb shell dumpsys usb set-port-roles "default" source device Example USB type C port simulation with full capabilities
adb shell dumpsys usb add-port "matrix" dual adb shell dumpsys usb connect-port "matrix" ufp? sink? device? adb shell dumpsys usb ports adb shell dumpsys usb disconnect-port "matrix" adb shell dumpsys usb remove-port "matrix" adb shell dumpsys usb reset Example USB type C port where only power role can be changed:
adb shell dumpsys usb add-port "matrix" dual adb shell dumpsys usb connect-port "matrDumpsysix" dfp source? host adb shell dumpsys usb reset Example USB OTG port where id pin determines function
adb shell dumpsys usb add-port "matrix" dual adb shell dumpsys usb connect-port "matrix" dfp source host adb shell dumpsys usb reset Example USB device-only port
adb shell dumpsys usb add-port "matrix" ufp adb shell dumpsys usb connect-port "matrix" ufp sink device adb shell dumpsys usb reset Example simulate contaminant status
adb shell dumpsys usb add-port "matrix" ufp adb shell dumpsys usb set-contaminant-status "matrix" true adb shell dumpsys usb set-contaminant-status "matrix" false Example USB device descriptors
adb shell dumpsys usb dump-descriptors -dump-short adb shell dumpsys usb dump-descriptors -dump-tree adb shell dumpsys usb dump-descriptors -dump-list adb shell dumpsys usb dump-descriptors -dump-ra Dumpsys procstats
adb shell dumpsys procstats Dumpsys procstats with full stats
adb shell dumpsys procstats –full-stats Dumpsys procstats csv-mem normal
adb shell dumpsys procstats –csv-mem norm Dumpsys Package
adb shell dumpsys package com.android.chrome Print available activitys per package
adb shell dumpsys package
|grep -Eo "[[:space:]]+[0-9a-f]+[[:space:]]+com.samsung.android.app.telephonyui.esimclient/[[:space:]]+"
|grep -oE "[^[:space:]]+$" com.samsung.android.app.telephonyui.esimclient/.OdaWebViewActivity Print available receivers for an an default app
adb shell dumpsys package
|grep -Eo "[[:space:]]+[0-9a-f]+[[:space:]]+com.samsung.android.app.telephonyui/[[:space:]]+" |grep -oE "[^[:space:]]+Receiver" Print available activitys for an an default app
adb shell dumpsys package
|grep -Eo "[[:space:]]+[0-9a-f]+[[:space:]]+com.samsung.android.app.telephonyui/[[:space:]]+"
|grep -oE "[^[:space:]]+.*Activity" 979e24b com.samsung.android.app.telephonyui/.callsettings.ui.callbackground.CallBackgroundExternalActivity 979e24b com.samsung.android.app.telephonyui/.callsettings.ui.callbackground.CallBackgroundExternalActivity 979e24b com.samsung.android.app.telephonyui/.callsettings.ui.callbackground.CallBackgroundExternalActivity 979e24b com.samsung.android.app.telephonyui/.callsettings.ui.callbackground.CallBackgroundExternalActivity 82531b8 com.samsung.android.app.telephonyui/.emergencydialer.view.EmergencyDialerActivity 82531b8 com.samsung.android.app.telephonyui/.emergencydialer.view.EmergencyDialerActivity 82531b8 com.samsung.android.app.telephonyui/.emergencydialer.view.EmergencyDialerActivity 5438970 com.samsung.android.app.telephonyui/.netsettings.ui.esim.QrTransferActivity b46c261 com.samsung.android.app.telephonyui/.callsettings.ui.preference.CallSettingsActivity 4743337 com.samsung.android.app.telephonyui/.callsettings.ui.callbackground.imagepreview.ImagePreviewPortActivity 82531b8 com.samsung.android.app.telephonyui/.emergencydialer.view.EmergencyDialerActivity ee0c0be com.samsung.android.app.telephonyui/.netsettings.ui.NetSettingsActivity 6af1334 com.samsung.android.app.telephonyui/.carrierui.networkui.app.NoticeDataConnectionDialogActivity b4d94cc com.samsung.android.app.telephonyui/.carrierui.iccnetwork.view.IccNetworkLockDialogActivity 6b62446 com.samsung.android.app.telephonyui/.carrierui.networkui.app.TmoDataRoamDialogActivity 3b405d1 com.samsung.android.app.telephonyui/.callsettings.ui.callbackground.imagepreview.ImagePreviewActivity 14c5c99 com.samsung.android.app.telephonyui/.callsettings.ui.roamingautodial.RoamingAutoDialMainActiv Print available services for an an default app
adb shell dumpsys package
|grep -Eo "[[:space:]]+[0-9a-f]+[[:space:]]+com.samsung.android.app.telephonyui/[[:space:]]+"
|grep -oE "[^[:space:]]+.*Service" Dump available activitys on device
adb shell dumpsys package
|grep -Eo "[[:space:]]+[0-9a-f]+[[:space:]]+.*/[[:space:]]+"
|grep -oE "[^[:space:]]+$" Print current application in use (Android 12/13)
adb shell dumpsys activity|grep -i mCurrentFocus|awk 'NR==1{print $3}'|cut -d'}' -f1 Dumpsys Activity Help
adb shell dumpsys perm Dumpsys Activity Activities
adb shell dumpsys a Dumpsys Activity Broadcasts
adb shell dumpsys activity broadcast Dumpsys Broadcast Stats
adb shell dumpsys activity broadcast-stats Dumpsys Pending Intent
adb shell dumpsys activity i Dumpsys Activity Processes
adb shell dumpsys activity p Dumpsys Activity Out Of Mem
adb shell dumpsys activity o Dumpsys Activity Services
adb shell dumpsys activity services Dumpsys Activity Asociations
adb shell dumpsys activity as Dumpsys Activity LRU Services
adb shell dumpsys activity lru Dumpsys Activity LRU Services
adb shell dumpsys activity lru Dumpsys Activity binder-proxies stats on binder objects and IPCs
adb shell dumpsys activity binder-proxies Dumpsys Activity settings currently applied config settings
adb shell dumpsys activity settings Dumpsys Activity service client-side state
adb shell dumpsys activity service Dump all state related to given package
adb shell dumpsys activity package Dumpsys Activity all: dump all activities
adb shell dumpsys activity all Dumpsys Activity top: dump the top activity
adb shell dumpsys activity top Include all available server state in dump
adb shell dumpsys activity -a Dumpsys Activity and include client state
adb shell dumpsys activity -c Dumpsys Activity all limit output to given package
adb shell dumpsys activity -p Dumpsys Activity all output checkin format, resetting data
adb shell dumpsys activity –checkin Dumpsys Activity output checkin format, not resetting data
adb shell dumpsys activity -C Dumpsys All Activitys data
adb shell dumpsys activity –proto Dumpsys Activity dump just the autofill-related state of an activity
adb shell dumpsys activity –autofill Dumpsys Activity Help
adb shell dumpsys activity recents Dumpsys Activity Exit Info
adb shell dumpsys activity exit-info Dumpsys Activity LMK KILLS
adb shell dumpsys activity lmk Dumpsys Activity Help
adb shell dumpsys activity recents Dumpsys Activity Permissions
adb shell dumpsys activity top Dumpsys Activity
adb shell dumpsys activity top Dumpsys Activity Top
adb shell dumpsys activity top List all active services:
adb shell dumpsys -l List services on older devices via command below
adb shell dumpsys -l |sed 's/^ / /g' Dumpsys lock_settings
adb shell dumpsys lock_settings Print codecs for bluetooth headphones
adb shell dumpsys media.audio_flinger
|grep -A3 Input Show bluetooth macaddr, bluetooth name and such things
adb shell dumpsys bluetooth_manager Dump phone registry
adb shell dumpsys telephony.registry Dump GPS Data
adb shell dumpsys dumpsys location Dump Settings
adb shell dumpsys settings Display Contacts On Sim Card
adb shell dumpsys simphonebook Show hardware info as thermal stuff for cpu, gpu and battery
adb shell dumpsys hardware_properties Print all applications that is using your email address
adb shell dumpsys account
|grep -i com.*$ -o
|cut -d' ' -f1
|cut -d} -f1|grep -v com$ Show all notifications listener and so on:
adb shell dumpsys notification Print all added email addresses from all applications
adb shell dumpsys
|egrep -o "b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,6}b" Print version of a specifik package
adb shell dumpsys dumpsys package com.lge.signboard | grep versionName versionName=6.00.170603-0 Check state for screen and figoure how device was unlcked last time:
adb shelldumpsys user
Simulate battery parameters Simulate battery parameters
Do you have any idea about how to discharge the AVD battery yet? Probably not if it is a virtual device with no real battery. But fortunately we can use the following command to simulate any scenario we want, like setting the level to 1% only
- Simulate we got 1% Battery
adb shell dumpsys battery set level 1
Connect AC charger
adb shell dumpsys battery set ac 1 Disconnect AC charger
adb shell dumpsys battery set ac 0 Connect USB cable
adb shell dumpsys battery set usb 1 Disconnect USB cable
adb shell dumpsys battery set usb 0 After running each of those commands you can reset the battery options using
adb shell dumpsys battery reset And for example, you can dump data for all of the running services, dump all data for battery
adb shell dumpsys battery Dump stats for your battery
adb shell dumpsys atterystats Erase old stats for battery
adb shell dumpsys batterystats –reset Sort Applications By Ram Usag
adb shell dumpsys meminfo Unplug AC
adb shell dumpsys battery unplug Print how many notifications you have
adb shell dumpsys notification | grep NotificationRecord | wc -l