David Buchanan

I've always wanted to put a USB-C port in an iPhone, but didn't want to risk breaking a good phone. So here's the cheapest iPhone SE I could find on ebay - and cheapest type-C to lightning adapter https://t.co/bc99OVjydo

There's not a lot going on inside the adapter (I did test it first, and it does support both charging and data) https://t.co/LaaLWnJ9vv

I melted off the lightning connector, and did some sanding. Looks like there's only power and 3 signal wires to really care about. https://t.co/Nax7a7XNN5

Now, I *could* desolder the type C connector, trim the pcb, and relocate it neatly to the void to the left of the port.

Or, I could slide the battery up, cut part of the speaker housing off, and just jam it in as-is. I think i'll do that. https://t.co/GUyRJQlIXx

So I desoldered the lightning port from the iphone (lower left), and then wondered if the group of 9 test pads on the motherboard correspond to the lightning pins - they do!

I also knocked off a bunch of what I hope are ESD protection components - we'll survive without them. https://t.co/oDmZEMQX0s

welp, it's not working. It charges the phone from empty/off, but iOS does not recognise it once it's booted. I guess I've made a mistake in my wiring... https://t.co/i7zFSbCzSl

I found a schematic with the testpoints annotated: https://t.co/lLt1r2sLoR

IT WORKS! Turns out I needed to connect TRISTAR_CON_DETECT_L to ground - which was an educated guess based on the schematics. Next step is to cram it all inside... https://t.co/FBpgIWEgbo

USB data is working, too https://t.co/UgULXuKqkv

It fits! I'm holding it in with hot glue, seems reasonably secure. Final step is to wire it up. https://t.co/ZT5nh9qwBH

It still works! https://t.co/pXXCMxIb07

Now I just need to wait for the replacement screen and home button to arrive, so it doesn't look so terrible... https://t.co/oQNXMl1Pgh

Maybe-correct wiring diagram, for anyone else who wants to try this https://t.co/5l7gtF1V5C

Minor correction, the pin labeled ACC_ID would be more correctly labeled IDBUS

Sun Jul 17 02:22:17 +0000 2022