Jump to content
ITzTravelInTime

High Sierra Automatic APFS Convert fix concept

16 posts in this topic

Recommended Posts

Hi guys, I am creating this topic to discuss an idea I had about a way to force the Mac OS installer to not install using apfs.

So we know that apfs does not runs well on drives not made by apple because it's designed to run on apple firmware, so error correcting features will not work and this will cause data corruption and data lose over the long period of time, so some people will like more to not use apfs and avoid all that problems, but apple has integrated an ssd detection mechanism that will force to upgrade to apfs if an ssd is detected, so my idea is to create a kext that is loaded before the system initializes sata devices and then forces the system to detect all sata and nvme devices as hard drives, I think that is possible, but I do not know iokit so much well to do it, so I am creating this thread, to ask if it's possible to create something like that using io kit and other system libraries to create a kext the could work with clover kext injection and force the system to see all the ssd as hard drives, and also other idea for the kext is that it will enable itself to run only when you are booting into a Mac OS installer, maybe that could be also done using a clover kext to patch string directly on the sata family kext, so what do you think about my idea? is there someone that could help me to create the kext or a clover patch?

 

Thank you for checking out my thread, I hope that we will find a solution soon :)

 

PS: I know that there re things like scripts and commands to install without apfs, but my aim is to create a method that lets the users to tone perform any special task inside the Mac OS installer

Share this post


Link to post
Share on other sites
Advertisement

I think there's no need to (temporary) modify the sata family kext.

There actually is a script made by Pike R. Alpha that checks for APFS convertion and changes it's value to prevent the convertion from happening: https://pikeralpha.wordpress.com/2017/08/03/script-to-check-apfs-conversion-settings/

 

On the other hand:

Also, changing FFM and FM will prevent the APFS convertion.
So does passing --converttoapfs NO  as an argument to the startosinstall tool.

Share this post


Link to post
Share on other sites

I think there's no need to (temporary) modify the sata family kext.

There actually is a script made by Pike R. Alpha that checks for APFS convertion and changes it's value to prevent the convertion from happening: https://pikeralpha.wordpress.com/2017/08/03/script-to-check-apfs-conversion-settings/

 

On the other hand:

Also, changing FFM and FM will prevent the APFS convertion.

So does passing --converttoapfs NO  as an argument to the startosinstall tool.

 

Yes, but I created this thread with the aim to create a solution that does not requires to perform special tasks in the Mac OS installer, because things like command line stuff and scripts are difficult to use for the average user, but I didn't know about the ffm and fm edit method, I tried using ffm and fm from my old Sierra config and it didn't worked

Share this post


Link to post
Share on other sites

I understand the purpose of this thread. Perhaps I should have been more clear:

 

There is no need to change any kexts, because it can be changed within the installer. I referred to Pike R Alpha's script as well as the other two methods as the reason how and why.

 

So it would be more ideal to implement something similar to Pike R. Alpha's script within Clover. That way the enduser is able to specify itself if the convertion needs to be done or not (Config Arg UseAPFS = false/true).

 

IMHO it's better than (temporary) changing any kexts

 

Edit: Alternatively a hotpatch to return ssd check to false would be a good idea too, however I dislike the "only at install" part, because then you either need to remove it after installation, or you're with an unused kext or patch after the install (which isn't a big deal, but still...  :P)

 

Edit2: ORRRRR.... you implement ^ in your installation tool on which we're still waiting  :lol:  :P

Share this post


Link to post
Share on other sites

Yes, I mean to have something that it's easy to enable and will let you to use the installer as usual without performing any script, and also for the kext I did not mean to mod system kext, but to create some sort of injector kext that forces to see ssds as hard drives 

Share this post


Link to post
Share on other sites

something change in latest "Install macos High Sierra"

no more --volume argument in startosinstall?

if you are installing from the usb installer the --volume argument is needed

Share this post


Link to post
Share on other sites

guys, i have discovered that exists a kext that does exactly what i said in the concept, lets the system to believe that your ssd is an hard drive to avoid automatic apfs conversion, it's the unsolid kext, some friends told me of it, it can be found here:

 

https://www.hackintosh-forum.de/index.php/Thread/34272-UnSolid-oder-ich-kann-kein-APFS-nie-nicht-leiden/

 

(note that the link is from the german hackintosh forum website)

Share this post


Link to post
Share on other sites

guys, i have discovered that exists a kext that does exactly what i said in the concept, lets the system to believe that your ssd is an hard drive to avoid automatic apfs conversion, it's the unsolid kext, some friends told me of it, it can be found here:

 

https://www.hackintosh-forum.de/index.php/Thread/34272-UnSolid-oder-ich-kann-kein-APFS-nie-nicht-leiden/

 

(note that the link is from the german hackintosh forum website)

 

Did you try this kext  ? (I had already downloaded it)

UnSolid.kext.zip

Share this post


Link to post
Share on other sites

some friends did try it, it seems to not work to avoid apfs upgrade, but solves the slow boot issue using apfs on an ssd

Share this post


Link to post
Share on other sites

some friends did try it, it seems to not work to avoid apfs upgrade, but solves the slow boot issue using apfs on an ssd

Hello everyone, not to automatically install high sierra in APFS on ssd (and as startosinstall did not render me the expected service) I simply changed "OSInstallAttr.plist" to the line "Do APFS Convert Boolean NO "and the file" minstallconfig.xml "has the line" <key> ConvertToAPFS </ key>

<False />

"

, these files are located in the "/ macOS Install Data /" folder of your USB key or

your preinstallation volume.

the installation is done on the ssd of my choice with HFS + formatting.

Share this post


Link to post
Share on other sites

Hello everyone, not to automatically install high sierra in APFS on ssd (and as startosinstall did not render me the expected service) I simply changed "OSInstallAttr.plist" to the line "Do APFS Convert Boolean NO "and the file" minstallconfig.xml "has the line" <key> ConvertToAPFS </ key>

<False />

"

, these files are located in the "/ macOS Install Data /" folder of your USB key or

your preinstallation volume.

the installation is done on the ssd of my choice with HFS + formatting.

 

i know that method, but it's not so "user friendly" because you have to do it with the nano editor via terminal you do not have other mac installations on the same machine, and sometimes it seems to not work, at least for me

Share this post


Link to post
Share on other sites

i know that method, but it's not so "user friendly" because you have to do it with the nano editor via terminal you do not have other mac installations on the same machine, and sometimes it seems to not work, at least for me

Hello ITzTravelInTime, when you want a hackintosh, it is very difficult to stay "user friendly", you have to put your hands in the "engine", this forum where participants propose, seek, find ... solutions to problems with the expertise and experience of each. Create a usb mac os installation key with only Windows as OS, for everyone here it's impossible. So yes it is true that it requires to have a mac os already operating (virtually or as a dedicated bone).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ayeshch
      Me (and many other people) experience eye-ache from new Macbooks (and windows machines).
       
      I have spent two years of trial-and-error and found that installing macOS Mavericks on my MacBook (pro 13 late 2013, Intel Iris 1536 MB) resolves the issue of eye ache completely. (it is believed that newer systems use harsher version of temporal dithering that causes of a certain group of indivisuals eye aches).

      I cannot stay at Mavericks because of software support and security issues, so the only thing is an issue now:

      How can I take drivers from Mavericks and install them on Catalina? (I tried replacing .kext in /System/Library/Extensions with old files but it didn't work).

      It would be so great if possible!

      Thank you
    • By Prasanth_1991
      I recently installed Hackintosh Sierra. I don't have dedicated graphics card so I just used Intel integrated graphics which is Intel HD 4600 but since the Mac OS Sierra graphics acceleration not supported by native VGA output I'm left out options. I tired many things but nothing works. It's 2020 I'm pretty sure many people probably have better solution for this, if yes please help me.   Details PC Spec  i7 4790k HD 4600 Motherboard Gigabyte B85M-D3H-A
    • By agrafuese
      Hello, I hope I am posting in the right place...
       
      I am having issues with VoodooInput. It loads fine, no errors or KPs, but movement is erratic. It seems when I am moving the cursor with my index finger and then try to click with my thumb, the cursor will shoot to the bottom of the screen, causing erroneous clicks and a lot of headaches. Sometimes it shoots to the top instead. Sometimes it performs as expected. It's unpredictable. 
       
      I have used VoodooI2C + VoodooI2CHID instead, and they work perfectly fine, but unfortunately they cause KPs. Plus, I like that VoodooInput is a singular kext. This is why I am trying to see if there's any way to fix this issue.
       
      Please see signature for my specs.
       
      Thank you.
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://www.olarila.com/topic/5165-olarila-app-images-and-folders/   Install MacOS with Olarila Image, Step by Step, Install and Post Install
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
        First... If you need DSDT edits... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation --Create a bootable copy of El Capitan /  Sierra / High Sierra / Mojave https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick https://github.com/CloverHackyColor/CloverBootloader/releases   --Replace with my Clover folder https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/   --Install EL Capitan / Sierra / High Sierra and boot into system!     Post Installation   --Install Clover and replace with my folder   https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/     --Reboot and activate video!   Bingo! Now you need a fine tune! DSDT Time!   My DSDT GA P35-DS3   DSDT.MaLd0n.zip     Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DARWIN -LPC -HDEF -RTC -EHCI -UHCI -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF --Native Power Management
       
      Use Clover, check Generate P and C States
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --AUDIO
       
      Device HDEF + AppleAlc + Lilu
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
×