Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to create macOS installers #6

Open
Depau opened this issue Sep 10, 2018 · 1 comment

Comments

@Depau
Copy link
Member

commented Sep 10, 2018

Relevant information:

As of now this feature requires a lot of investigation (i.e. I would at least need to be able to follow the InsanelyMac guide and adapt it to use free software only)

Update

After reading the InsanelyMac tutorial and reverse-engineering the Windows/Hackintosh crap, I think I got how the thing works. One needs to:

  1. Obtain the Install macOS.app app from the App Store or Hackintosh Computer
  2. Write app/Contents/SharedSupport/BaseSystem.dmg to the USB drive (it contains a GPT and an HFS+ filesystem)
  3. Resize the partition table and filesystem to fill the USB drive
  4. Mount the HFS+ filesystem and copy SharedSupport from the App Store app to the app in the root of the filesystem.

So, requirements list:

  • Ability to restore DMG images (dmg2img works)
  • Ability to mess with the partition table (needs sgdisk built for Android - feasible)
  • Ability to resize the HFS+ filesystem (building hfsprogs with the NDK shouldn't be too hard)
    • Needs investigation on whether it can be done with libaums/Android API
  • Ability to mount HFS+ read-write
    • I doubt most phones will have the hfsplus kernel module; a FUSE implementation must be found

This should be quite doable on GNU/Linux. Let's see what we can do on not-GNU/Linux (Android).


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Depau Depau added the enhancement label Sep 10, 2018

@Depau Depau added this to To do in Project development Dec 23, 2018

@theoamaya

This comment has been minimized.

Copy link

commented Mar 24, 2019

Thanks man your the best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.