You are on page 1of 7

iphone gas gauge | Rip It Apart – Jason's electronics blog-thingy

Page 1 of 7

Rip It Apart – Jason's electronics blogthingy
A site dedicated to my hacks, mods, makes and occasional ramblings.


So Phone Me Maybe: A list of
iPhone/iPad batteries with gas
gauge functionality
Posted on September 15, 2014
UPDATE: Turns out the iPhone 3G and 3GS do have gas gauges! I will add them to
my list as I find out more about them.
Each iPhone generation since the iPhone 4 iPhone 3G uses a TI gas gauge and uses
the HDQ bus (iOS refers to this as the SWI [single-wire interface]) to communicate
with the outside world. For more information about the HDQ protocol, click here.
I’ve noticed that many of the iPhone 5S and 5C batteries that can be purchased
online are reusing iPhone 4 circuits, which will cause a significant decrease in gauge
accuracy (proper parameters need to be programmed into the gas gauge, and that
information is chemistry dependent), and the protection circuits in the iPhone 4
battery PCB will kick into overvoltage protection mode at 4.25 volts, less than the 4.3
volts that the iPhone 5 (and newer) batteries need to charge fully.
Because I have been unable to find a list of information of each battery generation,
I’m making one myself. Because nobody else has dug this deep into the fuel gauges
that the iPhone uses, I have to get this information experimentally (that is, by buying
various batteries from online shops; the iPhone 5S battery has been very difficult to
get, besides the fake ones I mentioned earlier).

 Follow
Rip It Apart – Jason's electronics blog-thingy

Follow “Rip It

35 4S iPhone 1420 1430 Yes (0x36720414) mAh bq27545 3. bq27541 1.02 1751 No (0x65441236) mAh 5. if you have my program on hand. firmware version and designed capacity.iphone gas gauge | Rip It Apart – Jason's electronics blog-thingy Page 2 of 7 So far I’m in need of an iPhone 3G (not the 3GS) battery. bq27545). please send it to me! iPhone bq27545 3.  Follow Follow “Rip It 25/07/2015 . Model Gas Firmware Designed Default Unseal Key? Gauge iPhone bq27541 Capacity ? ? Yes (0x37420414) 3G iPhone Comments Need to acquire one of these. the fuel gauge device (eg.wordpress.25 4 iPhone Yes (0x36720414) mAh bq27541 1.02 2855 No (0x18794977) mAh Rip It Apart – Jason's electronics blog-thingy https://ripitapart.10 5 1430 No (unknown) If anyone has mAh one that reads “FULL ACCESS” in my program. as well as all iPad batteries (or.10 5C 1500 No (0x84966864) mAh (not fully sure yet) iPhone bq27545- 6 A4 iPhone bq27545- 6 Plus A4 5. iPhone bq27541 1. My utility will throw “No response” errors when reading this battery.10 5S 1550 No (0x84966864) mAh (not fully sure yet) iPhone bq27545 3. what model the battery is intended for.17 3GS 1200 Yes (0x36720414) mAh Limited feature set.

The 5C reports 1500 mAh. 0x36720414. iphone gas gauge password. The Nexxtech Slim Power Bank (a subject of a separate blog post) uses a pair of 3. battery fuel gauge. and it has a very extensive feature set. I went onto eBay and Amazon (realizing that they finally have Amazon Prime student rates up in Canada) and bought a few iPhone 5 and 5S batteries. But enough of Follow Follow “Rip It 25/07/2015 . but the fuel gauge reports 1430 mAh. but the battery I’ve received indicates a capacity of 1550 mAh. 3. iphone battery unlock. iphone battery capacity. iphone battery unseal key. For example. bq27545. iphone gas gauge. Battery Management. iphone 6.8-volt Li-ion polymer batteries. iphone 4. 2014 In the wake of my previous teardowns of the iPhone 4 and 4S batteries. All known iPhone battery models use custom firmware. The 5S battery reports 1550 mAh.iphone gas gauge | Rip It Apart – Jason's electronics blog-thingy iPad bq27541 1. iphone hdq. 0x84966864. iphone 5. I had a secondary reason. Although I was primarily interested in trying to get the gas gauge information out of the batteries. The iPhone 6 and 6 Plus use a special firmware that is identified in TI’s battery software (except the very latest releases where such data was removed). so not all of the features that the mainstream gas gauge models use are available. As I have only been able to get one of these batteries that seem to be genuine. 2. iphone 5s.wordpress. we’re here –for the iPhone 5 battery blog-thingy in particular! Rip It Apart Jason's electronics https://ripitapart. and they seemed to be be suspiciously similar in size to what is used in the iPhone 5. iphone. The iPhone 5’s battery label indicates a designed capacity of 1440 mAh. Posted in Batteries. The iPhone 5C’s battery label indicates a designed capacity of 1510 mAh. iphone swi. iphone 3g. ti gauge password | Leave a reply Looking inside an iPhone 5 battery Posted on July 25. iphone 6 plus. iphone 3gs. and a lot of data logging features. battery gas gauge. Hacks | Tagged 0x18794977. but is labeled 1560 mAh. but is labeled 1510 mAh. 0x65441236. iphone 4s. 4. none of these gauges will calculate the battery’s State of Health percentage (it is basically the percentage of the battery’s full charge capacity (it degrades with use) versus its designed capacity. bq27541. I will need to get more batteries of this type to confirm that this information is correct.35 (3rd 11560 Page 3 of 7 Yes (0x36720414) mAh gen) Notes: 1. iphone 5c.

iphone gas gauge | Rip It Apart – Jason's electronics blog-thingy Page 4 of 7 Battery Casing The iPhone 5 battery measures 3.2 cm in width and 9. I tried to read the data matrix barcode on the cell but my barcode scanning app on my phone refused to recognize it. with the six digits corresponding to the cell’s dimensions.7 mm in thickness.8 volts. made by Sony. The board includes the gas gauge. 3.3 volts. thermistors. has a model ID of US373291H. Battery Teardown and Pinout The board itself is rather interesting. same with the gas gauge itself. with a maximum charge voltage of 4. I might try to scan and sharpen the barcode later but it’s not something that’s of a high priority to me.wordpress. — iPhone 5 battery PCB layout The pinout of the iPhone 5 battery is pretty much the same as of the iPhone 4 and Rip It Apart – Jason's electronics blog-thingy  Follow Follow “Rip It 25/07/2015 .1 cm in length. This means that I can’t easily replace it with a rework station if the need arises. protection circuitry and still has room for a polyfuse for extra over-current protection. The protection MOSFETs used to switch the battery’s power are chip-scale packages and are glued down with epoxy. This cell has a labeled capacity of 1440 mAh at a nominal 3. This particular model.

wordpress.24. The latest bq27545-G1 firmware is only version 2.iphone gas gauge | Rip It Apart – Jason's electronics blog-thingy Page 5 of 7 battery. but this chip has version 3. but has basically the same feature set as the iPhone 4/4S’ bq27541. we’re once again presented with a sealed chip. — iPhone 5 battery pinout Battery Data And once Follow “Rip It 25/07/2015 . the gas gauge is a bq27545 (labeled SN27545). I soldered to the small terminals on the connector (the actual connectors for this battery haven’t arrived yet since it takes so long to receive items from China on eBay). With this information. Let’s try to unseal it with the default key…  Follow Rip It Apart – Jason's electronics blog-thingy https://ripitapart. we’re presented with an obscure firmware revision. After forcing GaugeStudio to accept this gauge as a -G1 version.10. and hooked it up to my trusty Texas Instruments EV2400 box.

is 1430 mAh. Maybe Apple read my previous post and decided to change the default keys this time (Hey Apple.wordpress. but I cannot update its firmware to a more… conventional version either. according to the gas gauge. That’s not going to happen. and the full charge capacity of this battery is 1397 mAh out of the gate. The gauge seems to be an insomniac (it won’t enter Sleep mode even when the battery is not hooked up to Rip It Apart – Jason's electronics blog-thingy https://ripitapart. … and I get the dreaded “Unseal Key” prompt. no. That. I’d probably have better luck reverse-engineering Apple’s battery code but I doubt they have any facility to do in-system firmware updates for the gas  Follow Follow “Rip It 25/07/2015 . Cue the dramatic Darth Vader “NOOOOO” here. The design capacity of this battery. No dice with 0x36720414. same as the iPhone 4S and also 100 mAh less than what’s written on the label. I could try brute-forcing it. unlike last time. if you read this. but trying to hack a key with a 32-bit address space over a 7 kbps bus… uh. make the iPhone 6’s gas gauge have the default keys again)! This means that not only can I not access any of the juicy details of this battery.iphone gas gauge | Rip It Apart – Jason's electronics blog-thingy — Page 6 of 7 Nope. — Data captured from GaugeStudio Now for some rather… interesting details of what we can access.

and the Pack Configuration register doesn’t bring up any sensible data. Until then. The cycle count is set to 1. The next victims specimens: an iPhone 5S battery. sn27545 | 14 Replies  Follow Rip It Apart – Jason's electronics blog-thingy https://ripitapart. I can’t read any other data like the lifetime data logs. It had some adhesive residue but no obvious sign of being peeled off from another iPhone. Posted in Batteries. Rambles. There is a chance that this battery isn’t new and that the seller had somehow changed the data memory and sealed the chip with a non-default key. iphone 5 battery sn27545. iphone gas gauge. a “new” iPhone 4 battery.iphone gas gauge | Rip It Apart – Jason's electronics blog-thingy Page 7 of 7 version (I’m sure the internal temperature isn’t 131 degrees C…). iphone 5 battery pinout. it’s only speculation as to why this chip is sealed with a different key. I bought this particular battery from eBay and it was listed as new. Battery… conspiracy? One thing that I haven’t confirmed is whether or not this battery had been tampered with before I received it. and because the gas gauge is sealed. and an Amazon Kindle battery. iphone. but I need to wait until some other batteries arrive in the mail and perhaps try reading out batteries taken out directly from some iPhone Follow “Rip It 25/07/2015 .wordpress. The Operation Failed Successfully | Tagged bq27545. iphone 5 battery connector. Teardowns.