asahilinux / macvdmtool Goto Github PK
View Code? Open in Web Editor NEWApple Silicon to Apple Silicon VDM utility
License: Apache License 2.0
Apple Silicon to Apple Silicon VDM utility
License: Apache License 2.0
% sw_vers
ProductName: macOS
ProductVersion: 13.5
BuildVersion: 22G74
% xcodebuild -version
Xcode 14.3
Build version 14E222b
main.cpp:102:56: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
io_service_t service = IOServiceGetMatchingService(kIOMasterPortDefault, matching);
^~~~~~~~~~~~~~~~~~~~
kIOMainPortDefault
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:133:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here
const mach_port_t kIOMasterPortDefault
^
main.cpp:130:38: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
if (IOServiceGetMatchingServices(kIOMasterPortDefault, matching, &iter) != kIOReturnSuccess)
^~~~~~~~~~~~~~~~~~~~
kIOMainPortDefault
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:133:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here
const mach_port_t kIOMasterPortDefault
^
Changing kIOMainPortDefault
to just 0
should work. Hoping to test and submit PR, but documenting it for now.
Hi,
thank you for this amazing tool. I'm trying to create a script around it to be able to have some kind of reinstall station that would detect if a macbook is connected and then install the latest ipsw.
I have it kinda worked out but I want to be able to detect an Intel mac. Do you think it could be possible to implement?
Thanks!
Hello ๐ !
While trying out this project we found out that USB C 2.0 cables with Power Delivery only work well.
I'm opening this issue because we have read the warning about SS cables, and we thought ours was but it wasn't ๐ We scratched our head until we understood that this cable had the required CC pins for high power charging. Those cables are a bit less expensive than the real USB 3.0 type C cables.
Thanks for the awesome tool ! โค๏ธ
Hi team,
I've been leveraging this tool to automate doing DFU restores of Macs. However I noticed that it does not seem to have any option to support multiple macs in parallel
If you have two (or more) Macs connected and run the tool, it seems to just pick one and DFU reboot it, even if that machine was already in progress of doing a DFU restore
Would it be possible to add a "device select" option on the DFU boot option?
Just curious, I know it has a thunderbolt port...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.