Jump to content

AMD Mojave Kernel Development and Testing


Shaneee
 Share

263 posts in this topic

Recommended Posts

7 minutes ago, XLNC said:


GPU issue !

whats the gpu you are using and what mobo ?

 

mobo GA-970A-DS3P

 

gpu: GV-R7360C-2GD with fake id = black screen

.. -x boot flag = on the picture

Edited by NMZI
Link to comment
Share on other sites

On 1/7/2019 at 7:34 PM, XLNC said:

Thanks for these files which worked at 10.14.2 in Ryzen 1700X hackintosh.

It can login desktop without kcsuffix=xxxxx again.

Video play in Safari is very fine and App Store works too.

HDMI audio from 7950 GPU and cpu-x, EFI Mount V3, etc. worked without crash, but wake up / sleep issues occured in spite of fast shutdown and reboot.

i got this error (10.14.2) on missing function while doing a kextcache -invalidate / as jalavoui posted here.

[Edit]

At 10.14.1 it can rebuild prelinkedkernel without error, but still suffered from sleep/wake-up issue in Ryzen 1700X hackintosh.

Edited by jsl2000
Link to comment
Share on other sites

2 hours ago, vintr said:

FX 4300

Doesn't work for me with the install USB. Drops the 'waiting for root device', then gets the panic.

Tried to boot with -v npci=0x3000 debug=0x100 slide=176

IMG_20190108_033923.jpg

IMG_20190108_033930.jpg

create a mojave installer on your hdd,,apu and fx board had usb 2.0 issue since el capitan

Link to comment
Share on other sites

On 1/7/2019 at 7:34 PM, XLNC said:

Thanks for these testing files.

At 10.14.2 it can not login desktop yet even without KP during booting in FX-6300 hackintosh with RX-560 GPU.

At 10.14.1 it can login desktop smoothly in the same FX-6300 hackintosh.

Power management was normal including sleep/wake up, shutdown, & reboot.

Many apps worked including App Store, Safari, cpu-x, EFI Mount V3, etc.

Two issues:

(1)video play in Safari which was much better in Ryzen 1700X hackintosh.

(2)too slow to shutdown or reboot (> 5 mins).

I'll change GPU to GT 730 and reported later.

[Edit]

1. Change GPU to GT 730 it can login desktop at 10.14.2 or 10.14.1

2. Two issues remained:

(1) Video play in Safari

(2) Too slow to shutdown or reboot (> 10 mins)

Edited by jsl2000
  • Like 1
Link to comment
Share on other sites

On 1/7/2019 at 7:34 PM, XLNC said:

with this kernel

I got missing symbols in AppleMobileFileIntegrity.kext so I can't rebuild prelinkdkernel

only boot with kcsuffix=test and put prelinkdkernel.test in PrelinkdKernels in 10.14.2

slow shutdown and bootup in constrat with 10.14.1

1700 ryzen b350m mortar motherboard

Edited by sherylynn
Link to comment
Share on other sites

9 minutes ago, NMZI said:

...Lilukext and whatevergreenkext in clover/kext/10.14

Mine in /Other because in /10.14 for unknown reason some kexts can not load properly before.

Link to comment
Share on other sites

anyone got the 10.12.6 patch to fix AppleACPI timeouts before graphic boot?

it works quite good so i'd like to test it on 10.14.1 kernel

 

update:

Yep XLNC is right- it's a old bug of kexts not loading on uefi mode

If this happens to others just install fake/virtual smc kexts to S/L/E

or just boot in legacy mode.

Edited by jalavoui
Link to comment
Share on other sites

2 hours ago, jalavoui said:

anyone got the 10.12.6 patch to fix AppleACPI timeouts before graphic boot?

it works quite good so i'd like to test it on 10.14.1 kernel

 

 AppleACPI timeouts..... i think its due to your FakeSMC !

Link to comment
Share on other sites

On 1/7/2019 at 4:14 AM, XLNC said:

Also the mojave always reboots after data and privacy setup screen for some reason.

 

929008B4-F1FD-48DC-9EAC-65451740BFC1.jpeg



It shows this message while reboot 

my guess is its due to gpu coz i dont have amd gpu .

 

8271F8C4-FF32-42CE-8591-A58D4DC45474.jpeg

here is the system.log if anyone want to take a look .
system.log



UPDATE-1 :

For mojave i recently bought a XFX HD 7750 (it doesnt have UEFI support)
so i needed to add UEFI GOP support to vbios to boot with this GPU in UEFI mode on my mobo.

used the latest lilu + whatevergreen kexts and booted with radpg=15

PROFIT ! : )

 

UPDATE-2 :

As in the above quoted post i said that the macos reboots everytime i press next on Data & Privacy screen and i thought it was caused due to GPU but i was wrong it still reboots even with the AMD GPU . so the issue is in either kernel or in the framework.
so for those users who users who has the same issue as me . Reboot the macos in single-user mode ( -s )
and type :

/sbin/fsck -fy
/sbin/mount -uw /

Then create this file to skip the apple setup screen:

touch /var/db/.AppleSetupDone

Now create a temporary user account "Temp User" with password "password" and home directory "temp"  to go through the user account login screen.
NOTE : Ignore the missing directory error outputs while typing the commands.

launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist

dscl . -create /Users/temp
dscl . -create /Users/temp UserShell /bin/bash
dscl . -create /Users/temp RealName "Temp User" 
dscl . -create /Users/temp UniqueID "510"
dscl . -create /Users/temp PrimaryGroupID 20
dscl . -create /Users/temp NFSHomeDirectory /Users/temp
dscl . -passwd /Users/temp password
dscl . -append /Groups/admin GroupMembership temp
dseditgroup -o edit -a temp -t user admin

Now reboot :

shutdown -r +0

So macos will now directly take you to the login screen . where it will ask you to enter password .
type password and hit enter to login.
you will reach Data & Privacy screen again so click next to proceed ( dont worry, it wont reboot now ) and so after few clicks you will reach Desktop .

Now go to System Prefrences -> User & Groups and create a Administrator account of your choice with your real User name 
After that logout from this Temp User account and login into your own admin account 
Finally delete this Temp User account by going into System Prefrences -> User & Groups.

- DONE !

UPDATE-3 :
I have attached the kernel i used below and also the sysctl output.

XLNC_10.14.1.zip

sysctl.txt

 

Everything is working so far like shutdown / restart , 32 bit apps etc.
 

Sleep doesnt work . it doesnt anyway since high sierra .
 

Now the only issue is safari as it continuosly reloads the page on certain websites like youtube.com / brew.sh ( check below pic )
And i thinks its caused due to the necp client .
 

Spoiler

Screenshot_2019-01-08_at_2.55.49_PM.png

 

1006783480_Screenshot2019-01-09at6_43_38AM.thumb.png.941a25f904144b4978f2cc02ea1baa85.png

Edited by XLNC
  • Like 1
  • Sad 1
Link to comment
Share on other sites

1 hour ago, XLNC said:



UPDATE-1 :

For mojave i recently bought a XFX HD 7750 (it doesnt have UEFI support)
so i needed to add UEFI GOP support to vbios to boot with this GPU in UEFI mode on my mobo.

used the latest lilu + whatevergreen kexts and booted with radpg=15

PROFIT ! : )

 

UPDATE-2 :

As in the above quoted post i said that the macos reboots everytime i press next on Data & Privacy screen and i thought it was caused due to GPU but i was wrong it still reboots even with the AMD GPU . so the issue is in either kernel or in the framework.
so for those users who users who has the same issue as me . Reboot the macos in single-user mode ( -s )
and type :


/sbin/fsck -fy
/sbin/mount -uw /

Then create this file to skip the apple setup screen:


touch /var/db/.AppleSetupDone

Now create a temporary user account "Temp User" with password "password" and home directory "temp"  to go through the user account login screen.
NOTE : Ignore the missing directory error outputs while typing the commands.


launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist

dscl . -create /Users/temp
dscl . -create /Users/temp UserShell /bin/bash
dscl . -create /Users/temp RealName "Temp User" 
dscl . -create /Users/temp UniqueID "510"
dscl . -create /Users/temp PrimaryGroupID 20
dscl . -create /Users/temp NFSHomeDirectory /Users/temp
dscl . -passwd /Users/temp password
dscl . -append /Groups/temp GroupMembership temp
dseditgroup -o edit -a temp -t user admin

Now reboot :


shutdown -r +0

So macos will now directly take you to the login screen . where it will ask you to enter password .
type password and hit enter to login.
you will reach Data & Privacy screen again so click next to proceed ( dont worry, it wont reboot now ) and so after few clicks you will reach Desktop .

Now go to System Prefrences -> User & Groups and create a Administrator account of your choice with your real User name 
After that logout from this Temp User account and login into your own admin account 
Finally delete this Temp User account by going into System Prefrences -> User & Groups.

- DONE !

UPDATE-3 :
I have attached the kernel i used below and also the sysctl output.

XLNC_10.14.1.zip

sysctl.txt

 

Everything is working so far like shutdown / restart , 32 bit apps etc.
 

Sleep doesnt work . it doesnt anyway since high sierra .
 

Now the only issue is safari as it continuosly reloads the page on certain websites like youtube.com / brew.sh ( check below pic )
And i thinks its caused due to the necp client .
 

  Reveal hidden contents

Screenshot_2019-01-08_at_2.55.49_PM.png

 

1006783480_Screenshot2019-01-09at6_43_38AM.thumb.png.941a25f904144b4978f2cc02ea1baa85.png

Can you rebuild prelinkedkernel with this kernel without error in FX-8320 hackintosh ?

Edited by jsl2000
Link to comment
Share on other sites

1 hour ago, vintr said:

Still can't get through the installer on FX 4300, no matter what PK I'm using. It just drops KP and that's it.

HDD instead of USB also didn't help.

 

Sharing an image of the KP would help...

Link to comment
Share on other sites

2 hours ago, vintr said:

Still can't get through the installer on FX 4300, no matter what PK I'm using. It just drops KP and that's it.

HDD instead of USB also didn't help.


try this one .
https://www.dropbox.com/s/usrhnr4apbagxpj/XLNC_prelinkedkernel.fx4.zip?dl=0

and as shaneee mentioned . also do share the pk screenshot when occured .
also add your complete system specs in your signature.

Edited by XLNC
  • Like 1
Link to comment
Share on other sites

On 1/8/2019 at 3:35 PM, jsl2000 said:

Thanks for these testing files.

At 10.14.2 it can not login desktop yet even without KP during booting in FX-6300 hackintosh with RX-560 GPU.

At 10.14.1 it can login desktop smoothly in the same FX-6300 hackintosh.

Power management was normal including sleep/wake up, shutdown, & reboot.

Many apps worked including App Store, Safari, cpu-x, EFI Mount V3, etc.

Two issues:

(1)video play in Safari which was much better in Ryzen 1700X hackintosh.

(2)too slow to shutdown or reboot (> 5 mins).

I'll change GPU to GT 730 and reported later.

[Edit]

1. Change GPU to GT 730 it can login desktop at 10.14.2 or 10.14.1

2. Two issues remained:

(1) Video play in Safari

(2) Too slow to shutdown or reboot (> 10 mins)


@jsl2000 can you change your accent color ( System Preferences -> General ) on your FX system .
because on my FX system selecting a different accent color doesnt change the window color .
same as this user :
 

Spoiler

 

 

Edited by XLNC
Link to comment
Share on other sites

1 hour ago, XLNC said:


try this one .
https://www.dropbox.com/s/usrhnr4apbagxpj/XLNC_prelinkedkernel.fx4.zip?dl=0

and as shaneee mentioned . also do share the pk screenshot when occured .
also add your complete system specs in your signature.

excellent, 10.14.2 on fx 8350 Booting:thumbsup_anim::thumbsup_anim:

Schermata 2019-01-09 alle 21.58.17.png

XLNC_10.zip

I used prelinkedkernel.fx4, I made a folder
good job
  • Like 2
Link to comment
Share on other sites

5 minutes ago, carlo_67 said:

excellent, 10.14.2 on fx 8350 Booting

Schermata 2019-01-09 alle 21.58.17.png

XLNC_10.zip

Great ! 

 

Can you also change your theme to dark mode and try changing accent color to red or something and tell me does it change ?

also share a pic of the window after that here .

 

coz m trying to figure out if its the gpu issue or macos kernel.

Link to comment
Share on other sites

17 minutes ago, XLNC said:

Great ! 

 

Can you also change your theme to dark mode and try changing accent color to red or something and tell me does it change ?

also share a pic of the window after that here .

 

coz m trying to figure out if its the gpu issue or macos kernel.

 

It's either FX or GPU related. Booted with your kernel and can change the colour just fine. 

  • Like 2
Link to comment
Share on other sites

 Share

×
×
  • Create New...