idevice
Device Info & System

MobileActivation

Read and change the device activation state.

MobileActivation talks to com.apple.mobileactivationd through MobileActivationdClient. The client exposes activation state, activated checks, and deactivate requests.

Use It For

  • Read the activation state.
  • Check whether a device is activated.
  • Request deactivation.

Feature Flag

Cargo.toml
[dependencies]
idevice = { version = "0.1.64", features = ["usbmuxd", "mobileactivationd"] }

Service Names

PathValue
Lockdowncom.apple.mobileactivationd

Rust Example

src/main.rs
use idevice::mobileactivationd::MobileActivationdClient;

let provider = first_provider().await?;
let client = MobileActivationdClient::new(&provider);
let state = client.state().await?;
println!("{state:#?}");

CLI Equivalent

Terminal
idevice-tools activation state
idevice-tools activation deactivate

Common Errors

ErrorWhat to check
Service not foundThe device/iOS version does not advertise this service on the selected transport.
Connection failedCheck pairing, trust state, and whether the selected provider can reach the device.
Permission errorThe service requires a device state, entitlement, or developer setting that is not active.

Source

On this page