feat: phase 2.5 — iPhone Mirroring auto-empty of Recently Deleted #1
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
phase/2.1
phase/2.5
phase/3
phase/4
phase/5
question
wontfix
⚙ code-quality
✨ feature
🏗 infrastructure
🐛 bug
📋 strategy
📚 docs
📱 ui
🔐 security
🧦 dumpsock
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hartle-tech/dumpsock#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
S01E10 — The One-Touch Wring
iOS keeps deleted media in Recently Deleted for 30 days. AFC + PTP can't bypass it (empirically tested: PTP delete leaves bytes on disk, files just trashed). The only Apple-blessed automation path is iPhone Mirroring + CGEventPost: Apple substitutes Mac Touch ID for iPhone Face ID during mirroring, so we can drive the entire Photos.app → Recently Deleted → Select → Delete All flow from the Mac and let the user authorize with one Touch ID press.
Why
8 research agents (across 2 rounds) converged: no AFC, PTP, lockdownd, sideloaded helper, Shortcut, URL scheme, backup-restore, or jailbreak path will skip the 30-day purgatory on stock iOS 26.4.2. iPhone Mirroring is the only viable option.
Implementation outline
CGEventPost(synthetic clicks → forwarded as touches to mirrored iPhone),CGWindowListCreateImage(screenshot the mirror window), and Apple's Vision.framework (OCR fallback to find buttons whose coordinates drift across iOS versions).Prior art to crib from
Caveats / risk
Acceptance