Skip to content

Instantly share code, notes, and snippets.

@KhaosT
Last active January 12, 2025 23:34
Show Gist options
  • Save KhaosT/1406a6b6bea38f59e059c2afcb39d545 to your computer and use it in GitHub Desktop.
Save KhaosT/1406a6b6bea38f59e059c2afcb39d545 to your computer and use it in GitHub Desktop.
Make your own Touch ID Button

Tools Needed

  • iFixit iOpener Set
  • T4 Screwdriver
  • T3 Screwdriver

Steps

  1. Soften adhesive using iOpener IMG_1610

  2. After about 60~90 seconds, use Opening Picks (or a slot screwdriver that's thin enough to fit) to pry open the back cover from upper right corner IMG_1611

  3. Apply more forces to completely remove the back cover IMG_1612

  4. Disconnect the battery IMG_1614 IMG_1615

  5. Remove the screws (T4) that keeping the black plate attached to the frame and remove the black plate

  6. Disconnect all 3 connectors from the logic board and take out the logic board from the Keyboard frame IMG_1616 IMG_1618

  7. Remove the Lightning connector (T3) IMG_1620

  8. Remove the power switch from upper left corner (T3)

  9. Carefully remove the sticker(?) from the connector and disconnect Touch ID sensor from the connector IMG_1621

  10. Unscrew the mounting screws around the Touch ID sensor (T3), and remove the Touch ID sensor L1030076

  11. Carefully remove the flex cable used to connect Touch ID sensor

Now you have all the parts to put together a standalone Touch ID device for your Apple silicon Mac.

After connecting the Lightning connector and Touch ID sensor back to the logic board, you can pair the Touch ID sensor with your Mac under System Preferences.

If the pairing step doesn't appear when you go to Touch ID settings -> add a new fingerprint, make sure the Touch ID sensor is correctly connected and try power cycle the Touch ID device.

@spkane
Copy link

spkane commented Jun 27, 2024

@spkane - you don't need the battery for this to work. I removed it and only use it powered over the lightning port. macOS will just report it being at 0% all the time.

Thanks. I know that. Indeed, you only need it if you want it to remain wireless.

I was just answering the older post about where you can get a replacement if you want one. The batteries are online, both originals and cheaper knockoffs.

@spkane
Copy link

spkane commented Jul 6, 2024

Would anyone happen to have a model that encapsulates the battery as well?

These are some options that include the battery.

https://www.printables.com/model/885599-clickable-touch-id-box-tkl-board-wireless-version
https://www.printables.com/model/307249-mac-keyboard-touchid-button-case-with-battery

@spkane
Copy link

spkane commented Jul 10, 2024

Another note for others, some/many of the 3d printed boxes expect you to have some of the screws and the spring plate, so you may want to avoid throwing things away until you have reassembled everything as you want it.

@alexmakus
Copy link

alexmakus commented Jul 28, 2024

I love Apple Extended Keyboard II, and I use it everyday with my Mac. So naturally I wanted to improve it with a Touch ID — and I finally did, using this tutorial, some other videos and some creativity. After retrieving the components, I mounted them at the bottom of my AEKII
IMG_8465
(it required some trimming of plastic molds but nothing major)

I had to cover the battery with some extra layer of thick paper to prevent it being poked by the soldered ends from the PCB:
IMG_8467

I used one of the port openings on the side for installing the Touch ID sensor
IMG_8466

In a typical Apple fashion, I did the Lighting port at the bottom — I figured I don't need to charge it too often, so it will do.

I paired it with my Mac, and it works, which is kind of amazing! :)

Thank you everyone for a ton of input here, it definitely helped me not to screw up things.

@alexmakus
Copy link

The picture from the bottom
IMG_8464

@GregoryBai
Copy link

@alexmakus Wow, do you have a full pic of your gorgeous m0118?

@alexmakus
Copy link

@alexmakus Wow, do you have a full pic of your gorgeous m0118?

IMG_8480-2048x1152

this is the end-result, although I'm considering moving the Touch ID sensor inside.

@meirtolpin11
Copy link

Is it possible to use a third-party battery? I want to integrate the touch sensor into a wireless split keyboard and I don't have enough place for the mac keyboard battery...
Is it possible to solder another battery or it should be exactly the same battery with apple's connector?

@ArminCoin
Copy link

Would anyone happen to have a model that encapsulates the battery as well?

These are some options that include the battery.

https://www.printables.com/model/885599-clickable-touch-id-box-tkl-board-wireless-version https://www.printables.com/model/307249-mac-keyboard-touchid-button-case-with-battery

Is there a reason why no cases have a power switch? All of the cases with batteries are always on, or am I wrong??

@swierzbicki
Copy link

Is there a reason why no cases have a power switch? All of the cases with batteries are always on, or am I wrong??

@ArminCoin This is really good question. I am wondering about it too. Of course it is not a problem. It's always on and you can charge it via lightning cable. But it would be nice to have power off button. Just in case 🤷🏻‍♂️ If you dont want to use it - disable the device :)

I am also curious about the battery. I've seen a videos where they just extracted a cable connector without battery. But after reading this thread i'm almost sure that we can also use it battery and because of that - it's possbile to use this touch id without cable connection?

Am i right?

@alexmakus
@humza2000
@matthewryan

@alexmakus
Copy link

I’m not entirely sure what this question means — “ it's possbile to use this touch id without cable connection?” Do you mean, if it’s possible to connect it with a Lightning cable but not to have a battery connected?

@swierzbicki
Copy link

swierzbicki commented Dec 6, 2024

@alexmakus Sure. I can explain.

Use touch id without cable connection -> "use touch id WITH battery, without connecting the USB/lightning cable".

I hope this explains what i wanted to say 😄

But before you wrote i found the answer. So basically if i understand correctly.

**It's possible to use touch ID with battery ** and connect it via bluetooth.

And the reason why some of us do not put the battery to their new 3d printed cases is that case would be bigger instead of having just a touch id, motherboard inside the case.

@alexmakus
Copy link

Ah, I understand. Yes it is possible, it’s a Bluetooth keyboard after all :) however, and that’s where the “power switch” part comes in. If there’s no easy way to turn the keyboard off/on, if you need to pair it with a new computer, the easiest way to do so is to connect it with a Lightning cable. That’s when the pairing happens and Touch ID will be recognized.

@swierzbicki
Copy link

@alexmakus

it’s a Bluetooth keyboard after all
Yup. But first two video i've seen showed version without battery and i was wondering... why? 🤷🏻‍♂️

however, and that’s where the “power switch” part comes in

True.

I've bought a used Magic Keyborad with touch id. And i will try to do separate touch id module.
Unfortunately i don't have 3d printer to test and prepare enclouser with power switch 🥺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment