jloisel / t440p

Thinkpad T440p Hackintosh (macOS Mojave 10.14.x / Catalina 10.15.x) - Clover config.plist + kexts
244 stars 57 forks source link

Card Reader Working #28

Closed 2000c43 closed 4 years ago

2000c43 commented 4 years ago

To fix get the card reader working on T440P, do the following (thank you to NoobsPlanet for the initial guide which I have modified specifically for the T440P):

  1. Open Finder and Goto S/L/E (System/Library/Extensions) and look for AppleStorageDriver.kext and copy this kext to Desktop

  2. Right Click in AppleStorageDriver.kext located at Desktop and select Show Package Contents and navigate to Contents > Plugins > Then find AppleUSBCardReader.kext

  3. Right Click on AppleUSBCardReader.kext and select Show package Contents.

  4. Navigate to Contents and you'll find Info.plist

  5. Right Click on Info.plist and open with Xcode or Plist Editor to edit a file.

  6. Find IOKitPersonalities > AppleSDCardReader > Physical Interconnect Location > and then edit Physical Interconnect Location value section as External.

  7. Again find Vendor Identification and change value section to "Generic Reader by NoobsPlanet"

  8. Again find Apple_Internal_SD_Card_Reader_1_00 and edit sting value idProduct and idVenedor to decimal idProduct and idVendor, you can find Product ID and Vendor ID information in System Info into HEX value, so you need to convert it to Decimal Value. You can convert it online through https://www.binaryhexconverter.com/hex-t. On my T440P Product ID is 5227 and the HEX value is 21031. The Vendor ID is 10EC and the Hex value is 4332.

  9. Again find Apple_Internal_SD_Card_Reader_2_00 and edit the string value idProduct and idVendor to decimal value. (Use the same decimal value we did in above step)

  10. Make sure you change value for Physical Interconnect Location on Apple_internal_SD_Card_Reader_1_00 and Apple_Internal_SD_Card_Reader_2_00 to External

  11. Rename extension of original AppleStorageDriver.kext to .old

  12. Save the edited file and Copy AppleStorageDriver.kext and paste it into /System/Library/Extensions/ and replace the kext if asked.

  13. Open Terminal and fix permission and rebuild Kernel cache with following commands : sudo chmod -R 755 /System/Library/Extensions/ sudo chown -R root:wheel /System/Library/Extensions/ sudo touch /System/Library/Extensions && sudo touch /Library/Extensions && sudo kextcache -u /

  14. Reboot and enjoy working memory card!!!

2000C43

jloisel commented 4 years ago

Thanks, i'm going to add this to the readme.

VinylNerd commented 3 years ago

this isnt working on catalina 10.15.7

im able to get permissions to edit files in S/L/E

i have T440P so i used the same product and vendor ID as you but i cant find where to find my own in system info as card readers shows nothing and i dont know where to look

i edited all 5 "Apple_Internal_SD_CardReader...." entries according and replaced the file then followed the commands to rebuild the cache and reboot but nothing. any help appreciated

MohrJonas commented 3 years ago

To edit S/L/E you have to remount the root partition read/write using sudo mount -uw /

VinylNerd commented 3 years ago

i was able to do it, then i replaced the file as the instructrions said, upon doing so i also noticed a storagedriver.kext in HD>Library>Extensions which seemed to match my newly edited on so i trashed it and replaced the original with my edited kext in the S/L/E location, then i followed the commands to rebuild kernel cache but upon reboot the system took 20 mins to startup and was being really slow everytime i needed to enter my password, i reverted the changed and seems all is well now, but not sure how to get this solved, any ideas? @NastyGamer @jloisel

MohrJonas commented 3 years ago

Not really. I never got the reader to work myself...