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

Open-hardware

difficulty
●●●●●
time
four months
license
MIT
repo
repo FINISHED491 stars
1
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.

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 items

From our check of the build. Exact quantities and part numbers are in the creator’s BOM.

  • IPhone 7Find
  • Apple Lightning to 3.5mm adapter (to reverse-engineer)Find
  • 3.5mm headphone jackFind
  • Switching IC (type not specified)Find
  • Custom flexible PCBs (design on GitHub)from the repo files

Can I build this?

Printnothing required
BuyiPhone 7, Apple Lightning to 3.5mm adapter (to reverse-engineer), 3.5mm headphone jack, switching IC (type not specified), custom flexible PCBs (design on GitHub)
Toolsbreadboard and soldering tools for the prototype, access to a flexible PCB manufacturer, CNC mill for drilling the case, micro hand tools for iPhone disassembly
Skillscircuit design, flexible PCB layout, CNC machining, iPhone repair at a level where you are comfortable destroying three phones to learn
Timefour months if you design the boards yourself, less if you start from the open source files on GitHub
Cost$$$, dominated by seven iterations of custom flexible PCBs and three iPhones
SafetyLithium battery inside the iPhone — puncturing it during disassembly or drilling will cause a fire. Work over a non-flammable surface and have a way to smother a battery fire.

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 projects

Gallery

Start here

Navigation into the creator’s own docs — we don’t rewrite the guide, we route you to the source.

  1. 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. 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. 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?

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.

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.

Star the project on GitHub

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.