syscl / XPS9350-macOS

macOS patches for Dell XPS 13 9350 (Skylake)
916 stars 74 forks source link

High Sierra Update #151

Open Eduardoveras opened 6 years ago

Eduardoveras commented 6 years ago

Did anyone try updating directly to high sierra trough the app store?

yasster commented 6 years ago

@Eduardoveras Nope have not got the time to try it! I'll try it tonight and report back

hackrmomo commented 6 years ago

any updates?

jerryzj commented 6 years ago

Waiting...

hackrmomo commented 6 years ago

Can confirm working in 10.13. @syscl Audio still not fixed and USB C not working. I will try with layout-id 0x0D for audio, reporting back in a bit

flipphos commented 6 years ago

Did you try to use Lilu to fix the audio?

Did your audio work before upgrade?

在 2017年10月1日,16:28,Mohammad Al-Ahdal notifications@github.com 写道:

Can confirm working in 10.13. @syscl Audio still not fixed and USB C not working. I will try with layout-id 0x0D for audio, reporting back in a bit

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

hackrmomo commented 6 years ago

yes I did, and yes it did.

flipphos commented 6 years ago

Tried to boot with -lilubeta parameter? I tried this parameter with Alc892 under 12.13 beta and worked well.

在 2017年10月1日,17:25,Mohammad Al-Ahdal notifications@github.com 写道:

yes I did, and yes it did.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

x4080 commented 6 years ago

@flipphos , everything works ok ?

flipphos commented 6 years ago

Sorry, I meant I tried 12.13 beta and Lilu on another Hackintosh with Alc892 audio by using the '-lilubeta' parameter during booting. I am also interested to know if the audio on Xps9350 could work on 12.13 with Lilu.

在 2017年10月1日,19:12,x4080 notifications@github.com 写道:

@flipphos , everything works ok ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

ctr54188 commented 6 years ago

waiting too

hackrmomo commented 6 years ago

So when I was beta testing - I was using Lilu with the -lilubeta parameter on a DellXPS 9350 on 10.13 beta 8 - so I can indeed confirm it should work. I can't seem to fix it now that I'm on 10.13 (nonbeta). I think I'm messing up somewhere and that it should work 100% but idk - I guess I'll see where to go from here.

hackrmomo commented 6 years ago

Can confirm, AppleALC with Lilu (both latest versions) work on macOS 10.13 for the speakers. When I plug in headphones, it stops working however unplugging makes them work again. The trick it to place both in S/L/E and then repair permissions with kext utility and then sudo touch /System/Library/Extensions && sudo kextcache -u /. You must also make sure your layout-id is 13 in Clover and 0x0D (which is 13 in hex) is your DSDT.

I'm going to try and get headphones working now.

Edit: I'm dumb. I mistakenly deleted CodecCommander in the process. I've fixed it now. Headphones work too. CodecCommander also needs to be in S/L/E with the same process as above. pce fam

hackrmomo commented 6 years ago

As a separate note: USB C works only when you plug it in from the beginning. No sign of it working yet for external displays - just USB mass storage devices

Eduardoveras commented 6 years ago

@RoyalKingMomo you mean in Sierra or High Sierra? i have external display working over usb-c on sierra

hackrmomo commented 6 years ago

@Eduardoveras on High Sierra. I'm running (17A405) 10.13

ianis58 commented 6 years ago

Hi, after updating to 10.13, I left my xps enter in hibernation, and now it's not waking up. No kernel panic, but when starting from clover (with or without hibernation resume), it hangs on a black screen (only a small white rectangle in the top left corner which might be a cursor) after showing IGPU stuff in verbose log. The cursor is blinking every 8 seconds or so.

Any idea? :)

Eduardoveras commented 6 years ago

Did you update trough the mac app store like a regular mac or did you make a clean install?

hackrmomo commented 6 years ago

@ianis58 I've seen and encountered that error before... I think it's either broken OS file permissions or slightly incorrect clover configuration

mircoianese commented 6 years ago

@ianis58 I was trying to configure hibernation on 10.12. I have i7 version + SATA SSD, was it working for you? when I wake it from hibernation I can see "wake from hibernation", but it hangs while loading.

ianis58 commented 6 years ago

thanks for your answers! @RoyalKingMomo can you tell me how to fix file permissions? @Eduardoveras I updated through mac app store like regular mac, after adding apfs.efi to my efi drivers in the EFI partition. I managed to boot High sierra after this update, so I guess it went well... @ZombieTheBest I have i7, 512 nvme ssd and intel hd520 integrated graphics. I didn't tried to handle hibernation behaviour, but I guess I should have done it to avoid the problem I'm currently facing. What are the 5 last lines or so that you can read? You say it hangs but we need more informations to try helping

hackrmomo commented 6 years ago

@ianis58 to be honest, I've forgotten what I did. Check by booting into Recovery and then trying to fix the errors. Else back up everything and redo the install completely?

mircoianese commented 6 years ago

Stay away from hibernation with NVMe SSD, you will damage your OS partition. Verboot boot doesn't work while resuming from hibernation. I tried to read logs, but no error is shown :(

Il 13 Ott 2017 04:28, "Ianis R." notifications@github.com ha scritto:

thanks for your answers! @RoyalKingMomo https://github.com/royalkingmomo can you tell me how to fix file permissions? @Eduardoveras https://github.com/eduardoveras I updated through mac app store like regular mac, after adding apfs.efi to my efi drivers in the EFI partition. I managed to boot High sierra after this update, so I guess it went well... @ZombieTheBest https://github.com/zombiethebest I have i7, 512 nvme ssd and intel hd520 integrated graphics. I didn't tried to handle hibernation behaviour, but I guess I should have done it to avoid the problem I'm currently facing. What are the 5 last lines or so that you can read? You say it hangs but we need more informations to try helping

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/syscl/XPS9350-macOS/issues/151#issuecomment-336340491, or mute the thread https://github.com/notifications/unsubscribe-auth/AVqfziDG-jOaOxTnjcKvkeMUjfegbGBFks5srtjJgaJpZM4PlIlM .

ianis58 commented 6 years ago

@RoyalKingMomo ok thanks anyway! I tried to boot in recovery, which works well, but then I tried to reinstall the OS from there but while the progress bar is moving forward, estimated time left is going up... And it never ends. I guess I'll have to restart with a clean install. Also, since I have apfs.efi in my efi drivers, my clover seems very laggy, and I need to press 3 or 4 times a key for clover to understand the key press... I think I'll just install high sierra on HFS+ instead of apfs which doesnt provides many improvements, except speeding up read/write operations which are already super fast on nvme ssd.

@ZombieTheBest yes I'll disable hibernation next time! :)

I also tried to delete the hibernation file in "VM" apfs volume from Recovery by mounting it but it didn't changed anything.

hackrmomo commented 6 years ago

@ianis58 the lagging is caused by a driver under drivers64uefi. I can’t remember which one it is but try going one by one and .bak renaming them. Apfs.efi doesn’t cause any lagging for me. Only that bit of verbose text during bootup. I also personally use HFS+ myself but that’s due to me wanting to use Paragon Software to communicate between my windows and macOS partitions (they don’t have a driver for apfs)

ianis58 commented 6 years ago

@RoyalKingMomo Thanks, I'll try to identify the efi driver causing lag. It was one of the following, which I deleted in one time: AppleKeyMapAggregator.efi, AppleKeyAggregator.efi, AppleUITheme-64.efi.

Also, for accessing apfs from windows, Acute Systems is currently working on it, with their product TransMac: http://www.acutesystems.com/scrtm.htm . I don't find their user interface very friendly but it allows to read/write on HFS partitions. On the product official page, you can read at the bottom: "TransMac Pre-release: TransMac v12.1b3: Open Apple File System (APFS) volumes in Windows". I tested it and it's not working, maybe it can open some kind of apfs image but not real drives for now...

You can also think of an ext4 partition in between mac apfs and windows ntfs, that would allow you to read/write with both systems. But you couldn't access mac apfs (system partition) from windows so it's not as good as sticking to HFS.

ianis58 commented 6 years ago

Also, here are edited binaries for apfs.efi and AsAmiShim.efi (only copy each edited file if you already have that driver in your drivers folder: for example if you only have apfs.efi, take only this one). You will not see these ugly logs anymore before Clover show. no_logs_before_clover.zip

mLupine commented 6 years ago

I'm not able to boot the High Sierra installer, despite trying out different config and kext combinations. The boot process hangs at "FakeSMCKeyStore started" and after about 30 seconds a kernel panic tracing to com.apple.driver.AppleACPIPlatform follows. Does any of you guys have any idea as to what may cause this problem? 10.12 worked fine, however I had this problem since the first beta of 10.13 and haven't solved it since.

R1MnTnA commented 6 years ago

some of the information you are looking for can be found on the tonymac forums. There are people already working on this and that have answered a lot of these questions and figured out some solutions.

ianis58 commented 6 years ago

@mLupine do you have this in config.plist>ACPI>DSDT ? `Fixes

FixHeaders_20000000 ` bad formatting, here's a picture: ![azere](https://user-images.githubusercontent.com/15245387/31586835-fa53f52c-b1a4-11e7-9af0-8e6086543c53.png)
mLupine commented 6 years ago

@ianis58 I do, although also tried setting it to false. Didn’t work either.

hackrmomo commented 6 years ago

@mLupine can you detail specs for me?

mLupine commented 6 years ago

@RoyalKingMomo it’s a regular XPS 13 9350 with Skylake, 8 gigs of RAM and a touchscreen.

ianis58 commented 6 years ago

@mLupine is you Clover version up to date?

mLupine commented 6 years ago

@ianis58 yes, it's the latest one available. I've also tried different config combinations. Please keep in mind that the issue doesn't occur when booting macOS Sierra - only 10.13 High Sierra installer.

ianis58 commented 6 years ago

@mLupine did you tried disabling ACPI patching?

mLupine commented 6 years ago

@ianis58 I have now, still no success

mircoianese commented 6 years ago

@RoyalKingMomo Hi. I have the same audio problem you had, with Headphones not working and speakers working. I have installed CloverHDA + DSDT patch (0x0d) + SSDT-ALC256.aml + Clover layout 13 Patch + CodecCommander. Both CodecCommander and CloverHDA are in S/L/E. When I connect headphones MacOS can see that I have connected them, but can't hear any sound. Disconnecting them make speakers work again. Another question: is Jack Mic supposed to work? For me it never did (always showed as internal mic)

mircoianese commented 6 years ago

Can confirm, AppleALC with Lilu (both latest versions) work on macOS 10.13

@RoyalKingMomo I have downloaded both last AppleALC + Lilu version from @vandroiy2013 Github. I have then installer them to S/L/E with CodecCommander. Then I have added layout-id 13 in config.plist and in DSDT. At boot it reboots right before the login screen (when the mouse cursor pops up). I tried everything. AppleHDA is fully-stock (just reinstalled the OS), no AppleHDA patches in config.plist. Any ideas?

hackrmomo commented 6 years ago

@ZombieTheBest can you give me the output of "kextstat | grep -v com.apple"

mircoianese commented 6 years ago

@RoyalKingMomo I managed to fix it using Patched AppleHDA + CodecCommander provided in this Deploy. However Internal Mic is seen as Audio Input and it's not working. Same way Jack Mic is not detected (never been in Sierra too). I think it's a path map problem but right now I don't have time to check codec_dump from linux

hackrmomo commented 6 years ago

@ZombieTheBest I don’t have an external mic (I used to but it stopped working) so unfortunately I can’t verify that mine is working for you. If I remember correctly, it was still working after the HS update when I went to the 10.13 beta.

markymmp commented 6 years ago

Question guys did you do the Update from the Appstore direct ? and did you guys use the current deploy on this Repo please.. Not getting much help from Tonymac just told off for posting incorrectly..

markymmp commented 6 years ago

Question guys did you do the Update from the Appstore direct ? and did you guys use the current deploy on this Repo please.. Not getting much help from Tonymac just told off for posting incorrectly..