PUT THE HEADPHONE JACK BACK INTO AN IPHONE 7
Scotty Allen built Apple's Lightning-to-headphone adapter inside an iPhone 7, drilled a jack hole into the case, and made it charge at the same time.
by Scotty Allen
- difficulty
- ●●●●●
- time
- four months
- license
- MIT
- repo
- repo FINISHED491 stars
●●●●● · four months · MIT · 491 stars · repo FINISHED
WHAT YOU’LL NEED
Jump to section
COMPAREE VERDICT
This is the most famous iPhone hardware mod ever made, and it proves you can physically fit a headphone jack inside an iPhone 7. Scotty Allen reverse-engineered Apple's Lightning-to-3.5mm adapter, built a switching circuit that chooses between the Lightning port and the jack, had seven iterations of flexible PCBs made in Shenzhen, and CNC-drilled the aluminum case. The result plays music through the jack, the volume and pause buttons work, and it still charges at the same time. The problem: this took four months, three disassembled iPhones, access to a Shenzhen PCB factory, and a CNC mill. The video is a documentary, not a tutorial. There are no schematics, no Gerber files, no part numbers, and no guide to ordering the flex PCBs. The switching chip is visible on camera but never named. If you want to repeat this, start from the open source files on GitHub, but expect a hard microsoldering and machining job. This is a weekend project only if your weekend is sixteen weeks long and you already know how to design flexible circuits.
IN THE REPO
GOOD TO KNOW
- —This is a one-off build, not a kit or a repeatable guide.
- —The video shows the entire build process over 30 minutes, but there are no circuit diagrams, Gerber files, or part numbers.
- —Seven custom flexible PCB designs were made at a Shenzhen factory — the video does not show how to order them or what the circuit does in detail.
- —The design is open source on GitHub (strangeparts/niubi-headphones), as the video description says.
Parts to buy
5 itemsFrom our check of the build. Exact quantities and part numbers are in the creator’s BOM.
Can I build this?
Build at your own risk. Projects involve tools, electronics and sometimes mains voltage — follow the creator’s safety notes.
Videos
Adding a Headphone Jack to an iPhone 732:00
13.3 million views. This is the entire source — there is no separate tutorial or repository.
More builds like this
All projectsGallery
Start here
Navigation into the creator’s own docs — we don’t rewrite the guide, we route you to the source.
- 1.Watch the full 30-minute video (This is the only documentation. The circuit and flex PCB designs are in the GitHub repo, together with datasheets.)
- 2.Buy an Apple Lightning to 3.5mm adapter and take it apart(The switching circuit is based on reverse-engineering this adapter. The video does not name the chip.)
- 3.Design your own flexible PCB or find someone who can(The board design files are in the GitHub repo. You are on your own.)
Resources
Documentation, files and community threads for this build — we link straight to the original sources and never rehost the creator’s files.
KNOWN ISSUES
- The design files, including the flex PCB, the prototype board and datasheets, are open source on GitHub under the MIT license. Start from the GitHub files and the video.
- Seven PCB iterations means seven rounds of ordering flexible circuits from a factory. If you do not already have a relationship with a Shenzhen PCB house, add weeks to the timeline.
- The switching chip is never named in the video. You will need to identify it from the breadboard shots or design your own switching circuit.
- Drilling the aluminum case requires a CNC mill or extremely steady hands with a Dremel. One mistake and the case is scrap.
- Three iPhones were destroyed learning this. Budget for at least one practice phone.
- The iPhone 7 is from 2016. Finding working units cheap enough to risk destroying is harder every year.
Can I buy this as a kit?
No. This is a one-off build. The flex PCB design files are open source on GitHub under MIT, but there is no kit.
Is the GitHub repository real?
The design files are open source on GitHub at strangeparts/niubi-headphones.
What switching chip did he use?
The video does not name it. You can see it on the breadboard, but you will need to identify it yourself or design your own circuit.
Will this work on an iPhone 8 or newer?
The video only covers the iPhone 7. Internal layouts change every generation — you would be starting over.
How much did the custom PCBs cost?
The video does not say, but flexible PCBs in low quantities are expensive, and seven iterations means seven separate orders.
Community builds
No community builds yet — be the first, we feature the best ones.
Discussion1
FROM THE COMPAREE TEAM
Scotty Allen took apart three iPhones and designed seven flexible PCBs over four months to make this work. If Apple had kept the headphone jack in the first place, what phone would you be using right now?
Scotty Allen
Scotty Allen runs Strange Parts, a YouTube channel about electronics manufacturing in Shenzhen. He is known for one-off hardware projects that explore what is technically possible rather than what is practical to repeat.
DISCLAIMER
- Comparee is not the author of the projects featured here. All rights to each project belong to its creator — every page links to the original source, and we never host creators’ files.
- Information is provided without warranty and may become outdated as projects evolve. Prices are indicative bands only — always check the creator’s parts list for current costs.
- Building and operating any project is at your own responsibility. Protective equipment, safe workshop practice and compliance with local regulations are the builder’s responsibility.
CompareeTEAM7d ago
The switching circuit, the flexible PCB and the case drilling are shown on camera, and the board designs are open source on GitHub. If you want to repeat this, start from the GitHub files. The biggest trap is not the soldering or the drilling — it is assuming there is a repository somewhere with the schematics and Gerber files. There is not.