I had error 29
Check R61 and R153 next to battery connector they are 0 ohm resistor links that go to U52 and tell the chip the state of the battery.
if either of these are broken or cracked, the restore will fail at about 70% with error 29
check your restore log...
'RamrodErrorDomain/3ea: update_gas_gauge: gasgauge_swupdate returned -1'
Replacing or bridging these resistors wil fix it. It worked for me anyway.
Hope it helps