Closed xsscx closed 2 years ago
Added a Rollback Repo for Toybox to Build for Apple Security Research Device cryptex for any supported ECID for any supported IPSW. Included toybox-src and the built binary plus the Makefile changes and a Point Release Cryptex DMG.
People are having issues Building on macOS 12.x, this directory attempts to workaround the issue.
See URL https://github.com/xsscx/srd/tree/main/SecurityResearchTools_21C39/example-cryptex/src/toybox
These were the changes made to toybox to get a Build for iOS:
Removed CONFIG vi=y
Remove echo CONFIG_VI=y >> toybox-src/kconfig/macos_miniconfig
That will Build toybox for cryptex from Commit https://github.com/landley/toybox/commit/6cc6d5b0651f1eba689a9c6e6d53d4502334208b
[example-cryptex] - macOS SDK at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk
[example-cryptex] - iOS SDK at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk
Added Toybox Build Issue to Issue tracker in SRD Repo https://github.com/apple/security-research-device/issues/34
21C52 | 21D5025f | 20C80 | 21C39 | X86_64 | T8101 | Toybox | Build
Last Update: Sunday 9 JAN 2022 at 2248 US Eastern Time
It has been found that for macOS 15.2 when using X86_64 or T8010 that with a Target == iOS SDK 15.2, and possibly others, that Toybox does not Build.
Error
Last Known Good Working Build for Toybox for macOS or iOS
https://github.com/landley/toybox/commit/ea4748a7cbfa5e2f3ef188f917d4e5aeac70dd0f
https://github.com/landley/toybox/commit/ea4748a7cbfa5e2f3ef188f917d4e5aeac70dd0f
Other Report
See URL https://github.com/landley/toybox/issues/314
Workaround
Install a pre-build DMG from Repo at URL https://github.com/xsscx/srd/tree/main/dmg
Research in Progress