https://puri.sm/posts/manufacturing-the-librem-5-usa-phone-in-the-united-states-of-america/ Purism * Store * Products * News & Events * About + Our story + Why Purism? + The Team * Support + Contact + Documentation + FAQ + Forums + My Account * PureOS Manufacturing the Librem 5 USA Phone in the United States of America June 2, 2021 Hardware, Manufacturing Operations and Logistics, Press Releases Librem 5 USA / Made in USA Electronics / most secure phone / Supply chain * About * Latest Posts Todd Weaver Todd Weaver Founder and CEO PGP Fingerprint: B8CA ACEA D949 30F1 23C4 642C 23CF 2E3D 2545 14F7 Todd Weaver Latest posts by Todd Weaver (see all) * Manufacturing the Librem 5 USA Phone in the United States of America - June 2, 2021 * The Ball and Supply Chain - April 30, 2021 * The S in IOT is for Security - March 19, 2021 Making a phone that avoids Big-Tech spying is one thing (yep, we did that). Making a convergent operating system that is not Android nor iOS is another (yep, we did that too). But manufacturing that phone in the USA is a feat that few thought possible (yep, did that just now). Not only have we proved it's possible... it's shipping. The Most Secure Phone Purism Librem 5 USA is Now ShippingThe Librem 5 USA Now Shipping The Librem 5 USA Made in USA ElectronicsOne of the many industry-changing goals Purism had set--and now accomplished--was to manufacture our Librem 5 phone in the USA, including doing all electronics manufacturing in our facility (note: we have already been doing this for a few years with the Librem Key--Made in the USA). The Librem 5 USA is a revolutionary phone with immense differentiators compared with the rest of the mobile phone industry. Making the most secure phone demands being able to have full verification of all steps from releasing schematics, using Made in USA electronics, releasing all source code, isolating hardware components, and running an Operating System that is under the full control of the customer--that is not cryptographically forced into Big-Tech's oppressive and exploitative control--The Librem 5 USA is all of those things. The first Librem 5 USA manufactured in the United StatesThe first Librem 5 USA manufactured in the United States Manufacturing the Librem 5 USA Parts As an Electronics Engineer (EE) once told me "hardware is a compile once language", while this is a slight oversimplification since you can repair hardware (as explained below), his point is not lost: once produced, hardware is painfully expensive to change. Preparing, procuring, planning, and triple-checking parts is essential to making sure you are able to produce hardware that works as designed. The Librem 5 USA by Purism with Made in USA Electronics PCBA ManufacturingThe Librem 5 USA PCB entering SMT process It was already a challenge to produce a secure mobile phone that has a fairly complex board with over 140 unique and over 1,000 total parts--and that was before the largest parts shortage scare the industry has ever seen. Procuring the exact right parts is a line-by-line, part-by-part, package-by-package, reel-by-reel process that is saved only for the most patient and meticulous. The first Made in USA Electronics phone the Librem 5 USAThe first PCBAs off the line entering inspection Fun side story, one brand of 32GB eMMC has test pins on the underside that confuses the optical scanner for SMT parts placement, while another brand does not have the test pins. Since there is no easy way to mask the optical scanner of those test pins, a black permanent marker is a quick fix to blot them out so as not to confuse the scanner. eMMC module used in the Librem 5 USAeMMC module test pins needing blackout Another part of the parts story is replacing the End of Life (EOL) 3GB RAM for (the more expensive) 4GB RAM (that still represents itself as the 3GB max available from the CPU), these parts alternatives are entirely due to the Ball and Supply Chain shortages. Procuring enough safety stock to manufacture for the next year is critically important with the current uncertainties in the supply chain. Racks of Trays of NXP i.MX8M Quad CPU for Librem 5 USARacks of Trays of NXP i.MX8M Quad CPU for Librem 5 USA Once you believe to have all the parts triple-checked against your Bill Of Materials (BOM), the process of kitting can begin. Kitting the Librem 5 USAKitting the Librem 5 USA into secure a/c controlled lockers Kitting This probably varies a bit from outsourced CM to in-house manufacturing, in our in-house case we scan and load parts into feeders or trays for the (GNU/Linux based) SMT machines to import easily into its magazines. This kitting process is yet-another test against the BOM where upon entering into the database the parts get matched to orientation (pin 1) for the SMT head to place and inspect properly across the entire top (and then bottom) of the Printed Circuit Board (PCB). Librem 5 USA parts entering SMTParts on tape reels entering SMT pick-and-place head PCB According to every single line operator I have met there has never been a PCB they have liked. You can hear the groan from across the room when they discover one smaller-than-desired solder pad. Fixing that means adjusting the pad itself or adjusting solder quantity to make sure the part gets proper connection without floating off the pad and wreaking havoc on neighboring parts. In our case we use rapid development SMT which utilizes solder paste (think inkjet printer) to lay the paste onto the board before inspection. Librem 5 USA solder paste printingLibrem 5 USA solder paste printing Inspection Initially inspection is a combination of machine inspection and manual inspection. As volume increases, inspection is less manual inspection and more fully automated. The first panels are inspected under a microscope pad-by-pad on top and bottom of the board, this helps ensure all subsequent processes are done with minimal error. Librem 5 USA solder paste inspectionLibrem 5 USA solder paste inspection Surface Mount Technology SMT is basically giant parts printing and the wow-factor of what these machines can do is short-lived, because having expert line operators makes it all seem pretty routine. The process from solder paste, to pick-and-place, to vapor phase (this is the process we utilize) means that most all of the excitement waits until when the boards are actually brought up after thorough inspection. Librem 5 USA PCB entering SMT processLibrem 5 USA PCB entering SMT process Board Inspection Inspecting the first few panels and board manually (which is done before setting up Automated Optical Inspection (AOI)) helps confirm parts are on pads and there are no "tombstones" or "billboards" where parts lift off a pad or rotate on a pad. When these issues arise, it is important to hand fix them, as well as see if it was a solder issue (too much on one pad or too little on another) that can allow these parts to float in solder soup. Inspection of Librem 5 USA PCBA under a microscopeInspection of Librem 5 USA PCBA under a microscope A common misconception around SMT and PCBA production is that a "failed" board is tossed/recycled (like printer paper where when you make a mistake, just print another); this is the polar opposite of what actually occurs. While the desire is to iterate and improve to have no SMT errors, the earliest of boards off a line have a lot of hand inspection and correction. Another misconception is that a machine placed part is in some way superior to the same connected part placed by hand. It's not. It's faster and more efficient, but hand (re)placement is equally stable. Electronics off a line are hand repaired more often than people understand. This only increases cost (labor and time), it doesn't reduce reliability. After you inspect boards and repair obvious issues, it's time to bring up the board. Comparing the PCBA to the parts layout and schematicsComparing the PCBA to the parts layout and schematics Board Bring Up Bringing up a board for the first time is exciting and nerve-racking: first put a fresh-out-of-the-oven PCBA into a test jig, make sure the pogo pins align and connect, current limit the power supply, and then take a deep breath of clean air before it may fill with blue smoke. The common debug cycles apply to board bring-up, it is a development environment, so produce only a few boards, and systematically go through every part and trace to make sure every single component acts as desired. Librem 5 USA board bring-up jigLibrem 5 USA board bring-up jig Power on, if current is good proceed; in the case of the NXP CPU used in the Librem 5 booting over Serial Download Protocol (SDP) supports automated scripting to probe (bring-up) each part across the schematics to see how far you get before a failure (also referred to as issues to make them sound less severe). Addressing Issues Let's say hypothetically that a Texas-based Instrument and parts maker has a part, let's say that part is something like a TPS65892 (revision AB), and like all parts that Electronics Engineers (EEs) select, needs to be kitted exactly to part number (TPS65892) and package (NFBGA 96). Normally parts vary by part number (I am pretty sure it's why they're called part numbers), but in rare instances (I can think of only one) that part is a completely different part if it is appended by what you normally would read as a revision number: TPS65892BB. In this example these are pin-matching parts that do completely different things and where all things work fine with the exception of charging the battery and providing USB connectivity. After a number of hours tracing schematics to board read values, this hunting manifested itself into a data sheet comparison where we learned these are unrelated parts. . After getting the correct part, the incorrect part is desoldered and correct part is soldered on to test. In this case all things test positive and we now are proud owners of a giant quantity of (incorrect) TPS65892BB chips that we get to worry about later. Hand replacing an Integrated Circuit (IC) to testHand replacing an Integrated Circuit (IC) to test Upon the first panel (in our case we have qty 4 boards per panel) passing through all tests, it's time to move onto a quick assembly test of the first full Librem 5 USA phone. Panel separation to individual PCBA boards on the Librem 5 USAPanel separation to individual PCBA boards First Full Librem 5 USA Phone This image speaks for itself. Time for the line to spin up. The Librem 5 USA phone manufactured in the United StatesThe first Librem 5 USA manufactured in the United States Spin Up Giving the green-light for a mass production feels extremely satisfying (due entirely to the expert staff Purism has that puts the mind at ease that mass production will yield functioning product). Machines begin to whir in a repetitive sounding motion that is remarkably comforting, only interrupted upon a reel running out alarm that creates a fluid and natural flow for the line operators to load more parts on. Parts are placed, panels are separated, through hole parts are added, and now we enter per-PCBA testing. Librem 5 USA SMT magazines with parts loadedLibrem 5 USA SMT magazines with parts loaded PCBA Testing Using the same tools during board bring up, the process is streamlined: note serial number label, provide power, script test all components work, log the results, flag errors for rework (rework and repeat), rack successes for assembly. PCBA testing battery, buttons, and cable on Librem 5 USAPCBA testing battery, buttons, and cable on Librem 5 USA Assembly Almost everywhere assembly is done at separate facilities from manufacturing (this is typically called Contract Manufacturing (CM)), but at Purism we do it all from within our same facility, so we don't have to package and ship, we just wheel the cart to the assembly team. Assembly initially is done by a manager doing all the steps, timing them, and iterating and improving. We not only assign stations to the tasks, we also happen to rotate staff stations to have full redundancy of all stations. Assembly of the Librem 5 USA is a meticulous process that includes a very specific order and tight tolerances. After a successful assembly the Librem 5 USA enters testing. Librem 5 USA getting IC covers added during assemblyLibrem 5 USA getting IC covers added during assembly Testing Testing begins by flashing the PureOS testing image, conducting an interactive phone test to confirm all peripherals work (or get reworked, sometimes via re-assembly, sometimes by going back to PCBA testing (and iterating to improve the tests there)), upon successful testing it enters final quality control. Quality Control The process of physical inspection and physical interaction with the device to make sure all things work properly, volume rocker buttons, power button, WiFi, sound, headphones, speaker, hardware kill switches, modem, SIM card, PGP smart card reader, battery, battery charging, cables, microphones, cameras, proximity sensor, haptic (vibrator) motor, touch, multi-touch, display, flashlight (torch), etc. are all manually tested before reflashing the customer-facing PureOS image for shipping. Librem 5 USA side brandingLibrem 5 USA side branding Shipping The shipping team assigns the serial number to the customer order, makes sure the box is full of all contents and the packing slip matches the goods, box, label, rack for carrier pick-up. There is a high degree of satisfaction of seeing racks of product for pickup and delivery to customers who will be able to own a Librem 5 USA phone that has Made in USA Electronics. Librem 5 USA manufacturing 1Librem 5 USA manufacturing Conclusion Making the Librem 5 USA is the latest revolutionary advancement Purism has delivered on, proving it not only possible to make a phone that is secure, avoids Big-Tech, never spies, never tracks, is not monopolistic, has all the source code released, and allows the customer to actually own it, but also is manufactured in the United States of America. Support Purism and our efforts by ordering all your computing products from Purism including the Librem 5 USA. --------------------------------------------------------------------- Purism Products and Availability Chart Model In Stock Lead Time Most Secure PC Purism Librem In Stock 10 Learn More Librem Mini Mini days Buy Now Most Secure Server Purism Librem In Stock 10 Learn More Librem Servers Servers days Buy Now USB Security Token Purism Librem In Stock 10 Learn More Librem Key Key days Buy Now Most Secure Laptop Purism Librem 14 In Stock 60 Learn More Librem 14 days Buy Now Made in USA Phone Purism Librem 5 In Stock 60 Learn More Librem 5 USA USA days Buy Now [l5-v1-fron] Librem 5 Rolling 180 Learn More Manufacturing days Buy Now The current product and shipping chart of Purism Librem products Recent Posts * Manufacturing the Librem 5 USA Phone in the United States of America * Purism Launches a Privacy-first, Made in USA Smartphone: Librem 5 USA, as an Alternative to Big Tech Offerings * Wrangling the EC: Adventures in Power Sequencing * Quick Intro to Video Editing with the Librem 14 * Guest Post: Librem 14, Librem Keys, and Qubes OS Related Content * Manufacturing the Librem 5 USA Phone in the United States of America * Purism Launches a Privacy-first, Made in USA Smartphone: Librem 5 USA, as an Alternative to Big Tech Offerings * Librem 14 Runtime and Charging * Librem 5 News Summary: April 2021 * The Ball and Supply Chain Tags Advanced readers Battery life Benchmarks and testing Boot and BIOS Chipsets and components Communications infrastructure Crowdfunding Customer Feedback FLOSS applications Giving and contributing back Graphics Interviews Laptops librem 5 Librem One Linux kernel most secure computer most secure laptop most secure pc most secure phone most secure server Newsletter and status updates Phones Physical robustness Power management Press Privacy Product or service launch PureOS Reverse engineering secure computing Security Social media Software freedom Supply chain Tablets Testimonials and user stories this-should-be-a-page Tips and tricks User empowerment User experience design User interaction design Videos Website Wireless and networking [banner-4] --------------------------------------------------------------------- Resources * Press Room * Enterprise * Developers * Affiliates * Pages About Purism * Security * Jobs * Policies * Get involved * Warrant Canary Newsletter Want to get announcements & news digests once in a while? [ ] Subscribe You will receive an automated e-mail you will need to reply to to confirm your subscription. Safe, public social media with millions of people already active Librem Chat - End-to-end encrypted chat, VoIP, and video calling used by millions of people --------------------------------------------------------------------- Purism 3D renders are artist renderings, for illustration purposes. Images and specifications are subject to change depending on manufacturing requirements. Unless otherwise noted, contents created by the Purism team on this website are copyleft with a CC-by-SA 4.0 license.