In case you’ve been an Apple person for a very long time, you in all probability bear in mind Antennagate – the drama surrounding mobile reception on the iPhone 4. As many customers complained in regards to the sign dropping significantly relying on how they held the cellphone, Apple launched the iOS 4.0.1 replace to deal with a part of this situation.
Years later, designer and engineer Sam Henri Gold reverse-engineered the iOS 4.0.1 code to search out out precisely what Apple did to alter customers’ notion of the iPhone 4’s antennagate downside. Spoiler alert: your entire patch required solely a 20-byte replace.
Remembering Antennagate
For these unfamiliar with the state of affairs, the iPhone 4 got here with a drastic redesign in comparison with the 3s. As a substitute of a plastic unibody again, the iPhone 4 was made nearly totally of glass with a metal body that additionally functioned as wi-fi antennas for Wi-Fi and mobile.
Shortly after the cellphone hit shops, many customers seen that the mobile sign dropped if the iPhone was held firmly. It didn’t take lengthy earlier than the time period Antennagate caught on and unfold like wildfire on social media. At one level, Steve Jobs was so fed up with the discourse, he responded to a question from Ars Technica with a curt instruction: “Simply keep away from holding it in that manner.”

The iPhone 4’s Antennagate scandal concerned the sign power of the mobile connection.
Foundry
A number of weeks after the launch of the iPhone 4, Apple revealed a letter to the press discussing the difficulty in additional element. On the time, the corporate blamed the formulation used to calculate what number of sign bars iOS exhibits to symbolize the power of the sign the cellphone was receiving.
“Customers observing a drop of a number of bars once they grip their iPhone in a sure manner are almost certainly in an space with very weak sign power, however they don’t comprehend it as a result of we’re erroneously displaying 4 or 5 bars. Their huge drop in bars is as a result of their excessive bars had been by no means actual within the first place,” Apple wrote.
The corporate additionally mentioned within the letter that it could undertake a brand new formulation really useful by AT&T to calculate sign power extra precisely. The brand new formulation was launched as a part of iOS 4.0.1.
How iOS 4.0.1 recalibrated sign power
Regardless of the letter and replace, Apple by no means detailed precisely what modified on this formulation. However now, due to Gold, we all know precisely what Apple did on the time – and surprisingly, the event crew solely needed to change a couple of strains of code.
As Gold exhibits in a submit on X, the unique formulation used to calculate and symbolize sign power in bars resulted in 4 or 5 bars of sign for many conditions. This led customers to imagine they’d nice sign reception once they didn’t.
When the sign was actually weak, the variety of bars proven on iOS would immediately drop to 2 or only one. This naturally occurred when customers had been holding the cellphone of their arms, which led individuals to imagine that there was some sort of malfunction with the cellphone.
With the up to date formulation, the drop from every bar was a lot smoother and extra correct, in order that customers would not assume they’d wonderful sign reception once they truly didn’t. And as such, the drop-off in sign when held a sure manner wasn’t practically as drastic.

iOS 4.0.1 adjusted the sign power formulation for accuracy.
Foundry
You possibly can see a comparability of the 2 formulation within the chart above, with crimson representing the bars in iOS 4.0 and blue in iOS 4.0.1 with the brand new formulation. The nearer to zero dBm, the higher the sign.
With iOS 4.0.1, Apple additionally modified the peak of the sign bars proven within the iOS standing bar, a small contact that in all probability helped cut back alarmism about weaker sign reception on the iPhone.
Apple’s path to a {hardware} repair
Even so, Steve Jobs wished to make sure that most iPhone 4 customers had been proud of the product, not simply the repair. A number of days after publishing the letter, Apple held a small press convention during which it shared extra particulars about how the corporate carried out laboratory exams on the iPhone 4 antenna.
To assist cut back pressure, Apple supplied all iPhone 4 consumers with a free bumper, which prevented customers from straight holding the cellphone close to the antennas and blocking the mobile sign. Apple lately introduced again its bumper case for the iPhone Air, however this time it’s for defense and aesthetics.
A 12 months later with the launch of the iPhone 4s a 12 months later, Apple repositioned the antennas on the stainless-steel body, placing an finish to the antennagate downside, which instructed the design was precise an issue. However for tens of millions of iPhone 4 customers, a small little bit of code made all of the distinction.