Skip to content

Lockdown inner workings in case of device disconnection #399

Answered by doronz88
ICE-FlatLine asked this question in Q&A
Discussion options

You must be logged in to vote

When a ConnectionAbortedError you can deduce the device was disconnected. However, the better way to do this would be through usbmux. You can list_devices() in a loop to detect attaches and detaches.

Regarding the panics, after the device reboots DumpPanic will create the crash report inside the device's crash reports folder and then pymobiledevice3 can reconnect and pull the crash files

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ICE-FlatLine
Comment options

@doronz88
Comment options

@ICE-FlatLine
Comment options

Answer selected by ICE-FlatLine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants