LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

idevicediagnostics

Interact with the diagnostics interface of an iOS device

TLDR

Restart device
$ idevicediagnostics restart
copy
Shutdown device
$ idevicediagnostics shutdown
copy
Put device to sleep
$ idevicediagnostics sleep
copy
Get diagnostics info
$ idevicediagnostics diagnostics
copy
Get battery info
$ idevicediagnostics diagnostics GasGauge
copy
Target a specific device by UDID
$ idevicediagnostics -u [UDID] restart
copy
Print IORegistry for a specific plane
$ idevicediagnostics ioregistry IODeviceTree
copy

SYNOPSIS

idevicediagnostics [options] command

DESCRIPTION

idevicediagnostics interacts with the diagnostics interface of an iOS device to retrieve diagnostics data, MobileGestalt data, and IORegistry information, as well as perform actions like restart, shutdown, and sleep. Part of the libimobiledevice suite. Available for iOS 4 and later; IORegistry access requires iOS 5 or later.

PARAMETERS

-u, --udid UDID

Target specific device by its UDID.
-n, --network
Connect to network device.
-d, --debug
Enable communication debugging.
-h, --help
Print usage information.
-v, --version
Print version information.

SUBCOMMANDS

diagnostics [type]

Print diagnostics information, optionally by type: All (default), WiFi, GasGauge, or NAND.
mobilegestalt key [key ...]
Print values of MobileGestalt keys.
ioregistry [plane]
Print IORegistry of device, optionally by plane (IODeviceTree, IOPower, IOService). iOS 5+ only.
restart
Restart the device.
shutdown
Shut down the device.
sleep
Put device to sleep.

SEE ALSO

Copied to clipboard
Kai