dfsnc / Hackintosh-Catalina-OpenCore-Lenovo-T450s-efi

66 stars 28 forks source link

T450s Wifi/BT card BCM94360CD #2

Closed i3p9 closed 4 years ago

i3p9 commented 4 years ago

Hi I just saw that you used BCM94360CD card for your Hackintosh. I have the same laptop and I was wondering how did you connect the card to your laptop? Did you use an adapter?

Can I use this card and adapter? https://www.aliexpress.com/item/32704591968.html

Thank you very much!

dfsnc commented 4 years ago

I used bcm94360cd with ngff adapter like this, and 4 * IPEX-4 Female to IPEX-1 Male like this. My card works perfectly under hackintosh, but I can't get it work on win10 or linux, thought you should know this if you need to use win10 or linux on your t450s.

i3p9 commented 4 years ago

@EchoEsprit Thank you!! So you used the antenna adapter to connect to the laptops antenna cables right? This is my T450s: https://i.imgur.com/IW77k4s.jpg it has two antennas connected to the Intel Wifi/BT right now. Do I use the red and blue wire as well?

I mean I don't use Windows/Linux and if everything works out then I'll only use hackintosh. Thanks for the warning friend!

Do you have any other way to contact(email/wechat) about the wifi card installation and ssdt questions, I have never done it.

I'm very used to Desktop Hackintosh but Laptop is a new thing to me.

dfsnc commented 4 years ago

BCM94360CD need to connect all four of the antennas. My email: EchoHou@protonmail.com

i3p9 commented 4 years ago

@EchoEsprit oh okay so I use the two unused antennas too. Thank you. I just ordered them.

And as for the ssdt and config you made, do I need to make any modifications? (Other than generating serial/smbios)

I have the same model, i5 model and 12gb ram. Latest bios. Again thank you very much friend. I was very afraid.

dfsnc commented 4 years ago

Well, I think there is no need for any other modifications. Let me know if you run into any issues.

i3p9 commented 4 years ago

@EchoEsprit Oh okay. I have booted into installation phase so far and no problems. Will install it fully after the Wifi/bt card arrives.

You will update the EFI if there’s a new update or anything right?

dfsnc commented 4 years ago

Yeah, I will keep update.

i3p9 commented 4 years ago

Thanks! And I opened my laptop to upgrade the RAM, and saw the current wifi card, and it seems to have very little space, was the card and adapter a tight fit in your machine?

dfsnc commented 4 years ago

It fits, You need to modify your adapter, make it shorter than 4360 card.

i3p9 commented 4 years ago

Ah so I basically just need to keep the part where it connects to the card, everything else isn't needed at all?

Oh and did you mod your BIOS? I’m on the latest bios version, it will work right? What’s your bios version?

My bios: https://i.ibb.co/37gjt16/IMG-1300.png

dfsnc commented 4 years ago

My bios version is 1.36, latest version should work. I made a guide on install wifi card, see here

i3p9 commented 4 years ago

Oh wow thanks so much for the photos!

dfsnc commented 4 years ago

😄

i3p9 commented 4 years ago

@EchoEsprit So I'm having trouble installing unfortunately. I booted from your EFI, then erased the disk as APFS, started installation process. After the first reboot, was stuck at apple logo for a while and then this appeared: https://i.imgur.com/ftkuF3h.jpg (Message: macOS couldn't be installed on your system, installer resources were not found). Rebooted and loaded installer again and got kernel panic: https://i.imgur.com/50GHgeQ.jpg

What am I doing wrong here?

Notes: I have only the SSD installed, still using the Intel Wifi (bought a USB wifi dongle while the card arrives in the mail)

One more thing: when I did diskutil list there was a ton of random small volumes like this: https://i.imgur.com/50GHgeQ.jpg (dev/diskX went upto disk23)

(tried to do via clover, same problem)

dfsnc commented 4 years ago

How are you creating the USB installer? I recommend you to create your USB installer using this image with balenaEtcher and replace the efi.

i3p9 commented 4 years ago

@EchoEsprit I did it via command line, the regular one that Apple has. I'll try to do it via balenaEtcher. The same dmg I used for my desktop and it worked ;(

I'm on mobile internet now so I'll try to use the current DMG file that I have (downloaded from my macbook)

Also edited my previous post about a disk issue when I did diskutil list

dfsnc commented 4 years ago

You can use my clover efi temporarily, once you successfully installed your system, replace it with my opencore efi.

i3p9 commented 4 years ago

@EchoEsprit trying that right now.

Although I have a thought. When I did disutil list while trying to format the drive, there was random small disk3 to disk23 (as disk image) in my computer. I have no idea what they are. https://i.imgur.com/oUki5eW.jpg

When I googled my problem, most solutions were to plug out all the other drives in the computer. Do you think those random disk3 to disk23 were the ones causing problems?

dfsnc commented 4 years ago

I'm not sure, but I don't think they were the reason of this issue.

i3p9 commented 4 years ago

@EchoEsprit then it's weird. I'm downloading the dmg you provided since it probably worked for you. It'll take some time.

Meantime I'm trying with your EFI. It's taking some time because erasing to APFS sometime gets stuck and I have to reboot the installer again.

If I still have the same issue, while your DMG downloads, I'll try this too: https://www.tonymacx86.com/threads/solved-macos-could-not-be-installed-on-your-computer-installer-resources-error.263961/page-3

dfsnc commented 4 years ago

That's weird. I've never encountered this situation.

There is another way, you can backup your macbook's system to an external drive with time machine, then use my efi on your USB installer, once booted into the installer, you can recover the time machine bakup from your external drive.

That should work, because I installed my hackintosh using the same method.

i3p9 commented 4 years ago

@EchoEsprit Yeah I'm very frustrated, weird issue.

So I already have Time Machine setup: image

So I take the drive out, put in the laptop and while installing I do Time Machine Backup restore?

dfsnc commented 4 years ago

Yes, and when it's done, you move the efi from your USB installer into your system drive.

i3p9 commented 4 years ago

@EchoEsprit I'll try that soon.

alternatively, can I take out the SSD from the laptop, plug it in my Desktop, install normally, then put the ssd back into the laptop and boot using USB EFI?

dfsnc commented 4 years ago

That might work, you can try.

i3p9 commented 4 years ago

Huh it worked. Cloning my drive worked and it booted. Wired.

Now I’m wondering if updates might break the installation :/

dfsnc commented 4 years ago

Update won't break the installation, I've updated my system from mojave.

i3p9 commented 4 years ago

No I meant that if I install macOS from a desktop, use the EFI on the laptop to run it, won't it break if an update comes?

Since I can't clean install macOS on this laptop. That resources not found error appears every time. I've tried MANY combinations so far. I have no idea what's going on.

dfsnc commented 4 years ago

I’ve tried a clean install, and it’s ok.

dfsnc commented 4 years ago

Here is how I install. first, you boot into the installer, erase your disk. 01 02 03 04 then, install. this step just copy the installer into your disk, it will reboot. 05 06 07 choose "macOS Installer" entry. 08

here may look like it's not responding, just wait. 09 10

i3p9 commented 4 years ago

Thank you so much for you detailed instructions! You are amazing.

The issue I'm having is that everything works like your photo, but the x minutes remaining doesn't appear at all.

I think it's because during the second reboot, for some reason the ssd apfs isn't being mounted. See image here: IMG_2718

And that's why after the installer is copied to the ssd in the first stage, it can't run, and giving me the error of resource not found, as the resource is in the ssd and it isn't being mounted.

image

But the problem is, when I used the same SSD and put it in my Desktop computer, it runs fine.

i3p9 commented 4 years ago

I got it working somehow. Had to use another computer do the second part of installation.

So which flags do you change in opencore to remove verbose boot?

dfsnc commented 4 years ago

I'm sorry that I couldn't help you with this.

You can remove verbose boot by delete "-v debug=0x100 keepsyms=1".

i3p9 commented 4 years ago

No no it's totally okay. I think its my ssd fault. And you have helped a TON.

I have everything running now. Although audio is way too low for me. Does using AppleALC increase the volume?

And when I add AppleALC, I also need to add layout-id to device properties as well right?

Edit: For AppleALC, I put the kext inside the OC/kext folder:

image

Then I edited the config, disabled VooDooHDA and added AppleALC:

image

Then I added layout-id like this:

image

It should work right? Unfortunately it's not.

dfsnc commented 4 years ago

layout-id type should be "data"(4 byte) type (0x20000000). and you need ALCPlugFix to fix unworking jack after replug. (It's still not perfect enough...)

I've fixed this volume issue in my new update.

i3p9 commented 4 years ago

@EchoEsprit since the volume is much louder (although it was even louder in Windows, that's okay tho) I'm gonna stick with it. Oh and do you know if using this would increase the scrolling speed of two finger scrolling?

Microphone isn't working unfortunately. Oh and I tested VGA since you had it listed as Untested, it's not working. I don't ever use VGA but wanted to test for you.

dfsnc commented 4 years ago

I used SSDT-Thinkpad_Clickpad, the "Trackpad" one will make the trackpoint (redpoint) too slow.

Microphone should work, check System Preferences -> Sound -> Input, choose the "Digital" one, that's the internal microphone, the "Black Right" one would work only when you plug in an earpiece with microphone.

i3p9 commented 4 years ago

@EchoEsprit If I don't use the Redpoint at all, can I replace the Clickpad one with the SSDT-Thinkpad_Trackpad.dsl one? Will that make scrolling better?

And up the Mic works, but even with the Input volume set to 1% only, the mic is wayy too sensitive and records noise. Where can we change the sensitivity of the mic?

image

See here the input level is almost full even with input volume/sensitivity set to low and it records a blob.

dfsnc commented 4 years ago

Since VoodooHDA is having lots of issues, I've been trying to use AppleALC, but I found out that I could't get it work at all... It works with clover, when you set FixTMR to true, but with opencore, I don't know how to fixit.

i3p9 commented 4 years ago

@EchoEsprit same here. I’ve tried to get AppleALC to work multiple times last night, no dice.

I’ve switched back to your voodoohda setup for now.

I also need to test rehabman’s trackpad aml file too.

Oh one thing, there’s no way to get three finger gestures with Rehabman’s kext right?

dfsnc commented 4 years ago

There is a temporarily solution for AppleALC, https://github.com/acidanthera/bugtracker/issues/422

I updated the efi with a new VoodooPS2 from https://github.com/acidanthera/bugtracker/issues/418#issuecomment-547674864, and now three buttons and three finger gestures are both working. This is the download link https://github.com/acidanthera/bugtracker/files/3786222/VoodooPS2Controller.kext.zip

i3p9 commented 4 years ago

@EchoEsprit that works wonderfully, awesome thanks <3

I saw your AnyAppleUSBMouse kext and wondering if I could use them on my desktop setup. My mouse pid/vid is here: image

and in the kext the id are in normal decimal value it looks like? image

so what do I put there, the hex values directly?

crazyi commented 4 years ago

@i3p9 There is also an alternative for the wifi/bt card BCM94352Z, it is a ngff card which is a perfect match to T450s. The only issue is the same to BCM94360CD with the wifi problem on Windows. Hope someone can fix this issue and hackintosh for T450s will be wonderfull.

i3p9 commented 4 years ago

@crazyi which card are you talking about? Link?

I don’t use Windows/Linux at all. So thankfully I don’t have to worry about the driver issues

crazyi commented 4 years ago

@i3p9 This the card link on aliexpress. https://www.aliexpress.com/wholesale?catId=0&initiative_id=SB_20191106051306&SearchText=DW1560

i3p9 commented 4 years ago

@EchoEsprit I didn't know where to contact you but here, I just saw your commits and you changed the Product from MacBookAir to Macbook9,1, what's the benefit of doing that? Should I switch also? Cheer!

dfsnc commented 4 years ago

I gave you my email... T450s with Macbook9,1 can enable HWP (Don't know if it's needed though) and Sidcar.

i3p9 commented 4 years ago

Oh shoot I totally forgot. I even saved it in my address book. Sorry about that.

Alright I guess I'll switch to Macbook9,1, Because sidecar would actually help me a lot. Using macbook won't cause any power issues right?

dfsnc commented 4 years ago

It's ok. Notice that switch to Macbook9,1 can only use sidecar with wire connected to your ipad, wireless mode isn't working. And I've been using this config for a while, It seems fine.

i3p9 commented 4 years ago

Ah cheers I'm changing to it right now. And for iMessage you keep the same Serial even if you change your ProductID right? I was wondering that might cause any issues with Apple. One serial, three products change.