r/iosdev • • 20d ago

GitHub I built an open-source desktop tool to automate iPhone activation & setup over USB (pymobiledevice3)

Post image

I've been building iActivator — a small cross-platform desktop app (Windows + macOS) that automates the boring parts of setting up an iPhone over USB, mainly for refurbishers who do it dozens of times a day.

What it does:

- Activates the device through Apple's servers (internet is shared from the computer over USB, so the phone doesn't need Wi-Fi for this)

- Sets language, region/locale, timezone, 24h format

- Skips the Setup Assistant screens via supervised mode (same idea as Apple Configurator / 3uTools)

- Installs a Wi-Fi profile and then reads the profile list back from the device to confirm it actually stuck

Stack: Python + pymobiledevice3 for the device side, a tiny local HTTP server serving a single HTML page as the UI (pywebview — WebKit on macOS, Edge WebView2 on Windows), fpdf2 for a per-device PDF report, PyInstaller for the builds.

A couple of things that were trickier than expected:

- Wi-Fi profiles from other tools often fail because the security type is hardcoded to WPA while the router is WPA2/WPA3 — defaulting to "Any" and letting iOS pick fixed most of it.

- Silently installing a config profile without a supervisor identity doesn't work during setup; installing it quietly and then escalating with the supervisor cert does.

To be clear: it does NOT bypass Activation Lock / iCloud — it's for your own or already-reset devices.

It's MIT-licensed and open source. I'd really appreciate feedback from people who know the MobileDevice / lockdown side better than I do — especially on edge cases across iOS versions.

Repo: https://github.com/mr1garik/iActivator

0 Upvotes

5 comments sorted by

1

u/Sdmf195 20d ago

This sounds like a fun project.
I remember this song and dance from the jailbreak days.

May I ask what your incentive was for building this?
Seriously just asking since it's quite the rabbit hole to just peek in...

1

u/Few-Board-729 20d ago

Ha, yeah — same rabbit hole, just lockdown/MobileDevice this time instead of exploits.

Honest answer: I do around 15 iPhone activations a day, and clicking through the exact same setup screens every single time got old fast. It's just wasted minutes that add up to hours over a week. I wanted something that does the boring parts — activation, language/region, skipping the setup screens, Wi-Fi — in one click, and actually tells me when a step fails instead of leaving me guessing.So no grand plan, really just "I'm tired of doing this by hand 15 times a day." The pymobiledevice3 side scratched the old jailbreak-era itch too, I won't lie.

1

u/Sdmf195 20d ago

Sounds great!

1

u/Few-Board-729 20d ago

Thanks! If you ever give it a spin, I'd love to hear how it holds up on your devices — feedback and edge cases are exactly what I'm after.