I wanted to play with macOS 12 Virtualization.framework's IPSW parser without M1 Mac.
So, I:
- used my "run macOS command line app on iPhone" project (github.com/zhuowei/iOS-ru…)
- dumped the XPC call (gist.github.com/zhuowei/5c75a0…)
- called XPC service on Intel (github.com/zhuowei/macOS-…)
Result: Virtualization.framework's loadRestoreImageFromURL method actually just reads the BuildManifest.plist and returns it over XPC. gist.github.com/zhuowei/14069e…
Me, using my previous silly project to build my new silly project:
VZMacOSConfiguration for an unsupported iOS IPSW:
buildVersion 18A8395 mostFeaturefulSupportedConfiguration (null) (hardwareModel (null), minimumSupportedCPUCount 0, minimumSupportedMemorySize 0) operatingSystemVersion 14:1:0 url nice -- file:///private/var/root/
The macOS 12 b1 BuildManifest also returns no configuration!
buildVersion 21A5248p mostFeaturefulSupportedConfiguration (null) (hardwareModel (null), minimumSupportedCPUCount 0, minimumSupportedMemorySize 0) operatingSystemVersion 12:0:0 url nice -- file:///private/var/root/

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Zhuowei Zhang

Zhuowei Zhang Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @zhuowei

6 Jun
The good news is that running WindowServer with
-virtualonly
bypasses the IOHIDSystem check and gets me to the error message
"unable to register bootstrap port com.­apple.CARenderServer"
The bad news is that this means I still need to turn off Backboard/SpringBoard.
Now WindowServer crashes after "MTLDeviceArrayInitialize(): 0 Metal devices" in CA::WindowServer::IOMFBDisplay::IOMFBDisplay -> __CADeviceSupportsUniversalCompression_block_invoke -> MTLCreateSystemDefaultDevice -> WS::Displays::CAManager.
I'm not sure how to get Metal working:
iOS Metal driver uses IOGPU instead of IOServiceMatching(IOAccelerate)
so +[MTLIOAccelDevice registerDevices] is null.
Tried changing it to IOAcceleratorES; didn't work either
Also, the macOS kernel cache has no driver for the A14's GPU.
Read 5 tweets
6 Jun
Does anyone know if iOS has a watchdog for making sure that SpringBoard runs, and if so, how do I disable it?
... yes it does, /usr/libexec/watchdogd
It just rebooted my phone with a "Userspace watchdog timeout". Sigh.
Unloading /usr/libexec/watchdogd causes another panic ("no checkins from watchdogd in 91 seconds")
Sigh.
Read 6 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(