Skip to content

2.0 Setup SD Card Reader

Manuel edited this page Oct 12, 2020 · 16 revisions

The SD-Card reader is not supported in macos. However with a bit of trickery we can make it work

It takes under 10 Seconds to mount your SD Card.

Status: Works is not polished. See Improvement/todo Section

Requirements on the mac

VMware Fusion Player or Pro Version.

The Player is free.

Change the ssdt from the default one to this one in the right folder on the EFI Partition. It allows for powering on the SD-Card-Reader: https://github.com/daliansky/XiaoMi-Pro-Hackintosh/files/5354072/SSDT-USB_SD.zip

you don't need to reboot yet. You need to do this after fuse install.

Install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Install sshfs and Fuse:

brew cask install osxfuse

brew install sshfs

Make an mount dir.

sudo mkdir /Volumes/SD-CardReader

Change permission for sudo so you can execute stuff without password see here: https://www.robertshell.com/blog/2016/12/3/use-sudo-command-osx-without-password

Install

Download my stuff: https://drive.google.com/uc?id=11xkAnJwuklPlGwxkNIO4Kb_afzT-Sg1D&export=download

unzip it:

unzip Downloads/SD-Card-Reader-Deployment_v01.zip

Copy the SSH key for the VM into your .ssh folder:

cp SD-Card-Reader-Deployment_v01/tiny.key .ssh/

Copy the VM:

cp -r SD-Card-Reader-Deployment_v01/Tiny.vmwarevm Virtual\ Machines.localized/

Copy the Script:

cp SD-Card-Reader-Deployment_v01/sd-mount.sh .

How to use it

Place SD Card into the SD Card Slot.

Start: sd-mount.sh

./sd-mount.sh

Wait for like 10 Seconds till finder opens.

To unmount:

Just unmount in Finder.

Improvements/Todo

  • Faster startup

-- Vmware Bios takes 4 Seconds -- Booting Tiny Linux Takes 5 Seconds

Background

The VM has the IP: 192.168.28.131 if you run other VMs this could change or 131 could be taken.

The User is: tc Password is: Sd2020CARD

Clone this wiki locally