Lastly, the iPhone was truly the only cool new thing Apple was working on. The iPhone had been such an all-encompassing project at Apple that this time there was no backup plan. “It was Apple TV or the iPhone,” Grignon said. “And if he had gone to Macworld with just Apple TV [an experimental product back then], the world would have said, ‘What the hell was that?’”
The iPhone’s problems were manifest. It could play a section of a song or a video, but it couldn’t play an entire clip without crashing. It worked fine if you sent an email and then surfed the web. If you did those things in reverse, however, it did not. Hours of trial and error had helped the iPhone team develop what engineers called “the golden path,” a specific set of tasks, performed in a specific way and in a specific order, that made the phone look as if it worked.
But even when Jobs stayed on the golden path, it required all manner of last-minute work-arounds to make the iPhone functional. On announcement day the software that ran Grignon’s radios still had bugs. So too did the software that managed the iPhone’s memory. And no one knew whether the extra electronics Jobs had required to be added to the demo units would make these problems worse.
Jobs had required the demo phones he would use onstage to have their screens mirrored on the big screen behind him. To show a gadget on a big screen, most companies just point a video camera connected to a projector at the gadget. That was unacceptable to Jobs. The audience would see his finger on the iPhone screen, which would mar the look of his presentation. Instead, he had Apple engineers spend weeks fitting extra circuit boards attached to video cables onto the backs of the iPhones he would have onstage. The video cables then connected to the projector showing the iPhone image on the screen. When Jobs touched the iPhone’s calendar app icon, for example, his finger wouldn’t appear, but the image on the big screen would respond. The effect was magical. People in the audience felt as if they were holding an iPhone in their own hands. But making the setup work flawlessly given the iPhone’s other major problems seemed hard to justify at the time. “It was all just so monkey-patched together with some of the ugliest hacks you could imagine,” Grignon said.
The software in the iPhone’s Wi-Fi radio was so unstable that Grignon and his team ultimately soldered antenna wires to the demo phones and ran them offstage along the wires to the projection setup. The iPhone would still connect wirelessly to the network, but the signal wouldn’t have to travel as far. Even then, Grignon and his team needed to make sure no one in the audience could get on the frequency they were using. “Even if the base station’s ID was hidden [and therefore not showing up when laptops scanned for Wi-Fi signals], you had five thousand nerds in the audience. They would have figured out how to hack into the signal.” The solution, Grignon said, was simply to tweak the AirPort software to think it was operating in Japan instead of the United States. Japanese Wi-Fi uses some frequencies that are not permitted in the U.S.
There was even less they could do to make sure the phone call Jobs planned to make from the stage went through. All Grignon and his team could do was make sure the signal was good and pray. They had AT&T bring in a portable cell tower so they knew reception would be strong. Then, with Jobs’s support, they preprogrammed the phone’s display to always show five bars of signal strength regardless of the true signal. The chances of the radio’s crashing during the few minutes that Jobs would use it to make a call were small, but the chances of its crashing at some point during the ninety-minute presentation were high. “If the radio crashed and restarted, as we suspected it might, we didn’t want people in the audience to see that. So we just hard-coded it to always show five bars,” Grignon said.
None of these kluges fixed the iPhone’s biggest problem: it often ran out of memory and had to be restarted if asked to do more than a handful of tasks at a time. Jobs had a number of demo units onstage with him to manage this problem. If memory ran low on one, he’d switch to another while the first was restarted. But given how many demos Jobs planned, Grignon worried that there were far too many potential points of failure. If disaster didn’t strike during one of the dozen demos, it was sure to happen during Jobs’s grand finale, when Jobs planned to show all the iPhone’s top features operating at the same time on the same phone. He’d play some music, take a call, put it on hold and take another call, find and email a photo to the second caller, look up something on the Internet for the first caller, and then return to his music. “Me and my guys were all so nervous about this. We only had 120 megabytes of memory in those phones, and because they weren’t finished, all these apps were still big and bloated,” Grignon said.
The idea that one of the biggest moments of his career might implode made Grignon’s stomach hurt. At forty, Grignon looks like the kind of guy you’d want to drink with—and he is. When he moved from Campbell to Half Moon Bay in 2010, he quickly became friendly with the sommelier at the Ritz-Carlton Hotel. He even had a wine fridge in his office. But behind that gregarious exterior is a fierce intellect and an ultracompetitive streak. Once when trying to get to the bottom of a slew of software bugs in an iPhone subcontractor’s equipment, he turned the AC on high in the conference room he used to make the subcontractors uncomfortably cold. When that didn’t get them moving fast enough, he tried a more aggressive approach: he accused them of holding out on him and threw his laptop against the wall.
By 2007 he’d spent virtually his entire fifteen-year career at Apple or companies affiliated with it. While at the University of Iowa in 1993, he and his friend Jeremy Wyld—now cofounder with Grignon of Quake Labs—reprogrammed the Newton MessagePad to wirelessly connect to the Internet. That was quite a feat back then, and it helped them both get jobs at Apple right out of school. Wyld actually worked on the Newton team, and Grignon worked in Apple’s famous R & D lab—the Advanced Technology Group—on video conferencing technology. Even though the Newton did not succeed as a product, many still think of it as the first mainstream handheld computer. But by 2000 Grignon had found his way to Pixo, a company spun out of Apple that was building operating systems for cell phones and other small devices. When Pixo’s software found its way into the first iPod in 2002, Grignon found himself back at Apple again.
By then, thanks to his work at Pixo, he’d become well known for two other areas of expertise besides building video conferencing technology: computer radio transmitters (what we now call wireless) and the workings of software inside small handheld devices such as cell phones. Grignon works in an entirely different world from that inhabited by most software engineers in the Valley. Most rarely have to think about whether their code takes up too much space on a hard drive or overloads a chip’s abilities. Hardware on desktop and laptop computers is both powerful, modifiable, and cheap. Memory, hard drives, even processors, can be upgraded inexpensively, and computers are either connected to electric outlets or giant batteries. In Grignon’s world of embedded software, the hardware is fixed. Code that is too big won’t run. Meanwhile, a tiny battery—which might power a laptop for a couple of minutes—needs enough juice to last all day. When Jobs decided to build the iPhone at the end of 2004, Grignon had a perfect set of skills to become one of the early engineers on the project.
Now, in 2007, he was emotionally exhausted. He’d gained fifty pounds. He’d stressed his marriage. It had been a grueling two years. Apple had never built a phone before, and the iPhone team quickly discovered the process didn’t resemble building computers or iPods at all. “It was very dramatic,” Grignon said. “It had been drilled into everyone’s head that this was the next big thing to come out of Apple. So you put all these supersmart people with huge egos into very tight, confined quarters, with that kind of pressure, and crazy stuff starts to happen.”