Closed saagarjha closed 3 years ago
I updated my iPhone XR to iOS 14.2 beta 2 and UTM (1.0) is suddenly working without jailbreak or being connected to debugserver. It's signed with a paid dev cert (iOS Development). Does not work on 14.0.1.
I can reproduce this. UTM 1.0 signed with a dev certificate is now launching fine and I can launch a VM. 14.2b2.
@iamrecursion Was this on an A12/A13 device? Because I had two other people test it and so far it seems like JIT in iOS 14.2 may only work on arm64e.
(Coincidentally, they also seem to have broken AltStore on arm64e in this beta – it crashes with KERN_PROTECTION_FAILURE and so do any apps sideloaded with it, but other sideloading methods are still working fine.)
It was on an A13 device, yes.
I would test 14.2b2 with my A10 2nd gen iPad Pro, but I would lose the ability to downgrade to 13.6.1, where I have UTM 2.0 working great, albeit with the old UI.
So apparently Apple has changed something in newest betas? I need to read their release notes.
@brunocastello Is it a cellular or Wi-Fi iPad? If it's a Wi-Fi model you can futurerestore to 13.4 or higher with blobs, but on cellular models it's not possible because of incompatible baseband.
This must be a regression...? I don't think something like this would last to the GM if Apple notices.
Would be very curious to know if the profile was loosened to allow ptrace
or there is something else going on. Can someone try the sample at the top of this issue and see how it fares?
I sideloaded with my dev cert on 14.0.1 and it crashed when launching the VM, but upon updating to 14.2b2 it started working with the same signed IPA.
This may be more complicated than I thought, XS users are reporting different behavior (AltStore working and UTM not working), so this may be limited to XR and 11 only. Wouldn't be too surprised since they had to pull 14.2 beta 1 for those devices for some reason.
I sideloaded with my dev cert on 14.0.1 and it crashed when launching the VM, but upon updating to 14.2b2 it started working with the same signed IPA.
This may be more complicated than I thought, XS users are reporting different behavior (AltStore working and UTM not working), so this may be limited to XR and 11 only. Wouldn't be too surprised since they had to pull 14.2 beta 1 for those devices for some reason.
That's actually interesting. I would test it but I don't want to lose dios 3.0.0 njb. I have a friend that will test on their devices also when they get time. I'll share what they say when they get to it.
I might be able to convince my dad to install iOS 14.2b2 and install UTM 1.0 or 2.0 to try it out. He tested one of the iOS 14.0 betas last month so hes not that scared. The only problem is that it is a first gen 2015 iPad Pro, so it’s A9X. Mine is 2nd gen 2017, A10X.
I tried installing UTM on my iOS 14.2b2 iPad but just shows a white screen and crashes. I was under the impression that it works on iOS 14.2b2? It launched correctly before the upgrade from iOS 14, but wouldn't run any VMs, after the upgrade it doesn't even open. I tried reinstalling it after the upgrade to 14.2b2.
Maybe read more than just one comment, someone said it's not working on XS either, so as I said this is sounding more and more like a bug specific to XR and 11.
Working on iPad Air 3 (A12 Chip) on 14.2b2 with UTM v2.0b5.
Still works on iPadOS 14.2 Developer Beta 3.
Still works on iPadOS 14.2 Developer Beta 3.
Wait, iPadOS 14.2b3 unjailbroken? Really? If true I'll need to try it out with 14.2 GM when they release it.
@brunocastello Really. My iPad is not jailbroken.
ptrace was patched from day one, see the original comment on this thread. Still unsure what's going on with these developer betas, as I don't have a A12+ device to test with.
@kkk669
@brunocastello Really. My iPad is not jailbroken.
Which iPad it is?
@brunocastello
I write further information. Besides, I also reproduced on my iPhone XS running iOS 14.2 DB 3.
***
(***
)" for "Signing Certificate" (***
is my name and identifier)***
)" for "Provisioning Profile" (***
is my identifier)See this video.
One more thing, if you sideload UTM with AltStore it seems to not work, so make sure to use another method to try even if AltStore works for you.
@IIWare No. UTM is able to run even if the Mac is shutdown.
@IIWare No. UTM is able to run even if the Mac is shutdown.
I'm not sure if this a permanent thing they are implementing so don't get hopes up all the way. Could just be accidental but it can also be a new thing they are implementing without people having to set a hacky/buggy debugger. We just don't know, if you know any more info let us know in UTm discord or if you have some info do it here to keep this issue thread clean.
Still works on DB4 without debugger.
Since the IPA file is over 200MB, Altstore crashes. Altstore beta 1.4.1 now supports DB2~,and I could install apps with it. But it still can’t install UTM2.0. (UTM 1.0 can be installed, but VM just doesn’t work.)
We seem to have confirmation imo that Xcode 12.2 beta 3 includes on device debugging. https://developer.apple.com/documentation/xcode-release-notes/xcode-12_2-beta-release-notes
This isn't anything new.
https://developer.apple.com/documentation/xcode-release-notes/xcode-12_2-beta-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-12_1-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-12_0_1-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-12-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-11_7-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-11_6-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-11_5-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-11_4_1-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-11_4-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-11_3_1-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-11_3-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-11_2_1-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-11_2-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-11_1-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-11-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-10_3-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-10_2_1-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-10_2-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-10_1-release-notes https://developer.apple.com/documentation/xcode-release-notes/xcode-10-release-notes
Darn I legit thought it was new. I do wonder why they would say that when they can't? If they were meaning remote debugging then they would of said that I would think.
I saw it in this thinking it was new welp back to researching. https://www.macrumors.com/2020/09/17/ios-14-2-beta-coming-soon/
Rickpactor works fine. But it requires an appleid without two-factor security.
iOS 14.2 GM with iPhone 12 Pro and UTM v2.0 beta 6 working without Xcode tether. Tested with paid dev certificate signed by Xcode.
So I can now upgrade my iPad Pro “12.9 2017 (2nd gen) to iOS 14.2 and run UTM 2.0?
Don’t know, wait for other people to test other configs first. I think Altstore doesn’t work yet.
Ok, I will wait. I have a dev account, I can install the ipa re-signing with my certificate.
More people reported back and it seems like paid certs work for any device. Free certs work for no device.
I will hold back for a bit more. My dad has a 1st gen iPad Pro so I will ask him to try there first.
Path to closure: there is a new way to get bulletproof JIT working on iOS 14.2 (doesn't work on anything lower) that does not depend on ptrace() hack.
Thanks to people above for discovering it but after extensive testing it seems like the key is a codedirectory signature version 0x20400
and the Executable Segment flags set to 0x11
. This along with the get-task-allow
entitlement disables the CS checks.
Using iOS App Signer or Xcode directly works. AltStore requires additional changes:
https://github.com/rileytestut/ldid/pull/3 https://github.com/rileytestut/AltSign/pull/15 https://github.com/rileytestut/AltStore/pull/415
(last two are unrelated to this issue but prevents UTM from starting up)
@osy86, does this mean you need to release a new build, or is this something that will work with the latest prerelease?
I will release a new build with other fixes but if you patch altstore it should work with the latest prerelease.
I'm self-signing with a paid dev certificate, so I'll hold out for the next build!
Any idea on how to apply the apporiate patches to zsign like AltStore to get it to work? Currently when opening a VM in UTM it does not crash but hangs on a black screen. Signing via appdb works fine.
Look at the changes for https://github.com/rileytestut/ldid/pull/3 and make similar changes for zsign.
Describe the bug Just tried it out in a sample app and got a
SIGKILL
due to codesigning. I can confirm thatCS_DEBUGGED
is no longer being set for the process if you try toptrace
yourself.To Reproduce Steps to reproduce the behavior:
ptrace
yourself.Crash log
GetTaskAllowTest 6-24-20, 11-18.log