Battery firmware lockout: Difference between revisions
Added contents in →Power tools: ,→Power tools: and →Lawsuits |
|||
| (10 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
Most devices with rechargeable batteries | Most devices with rechargeable batteries have a [[wikipedia:Battery_management_system|battery management system (BMS)]] module. This module monitors and regulates key variables and is capable of communicating with the device and preventing unsafe usage that could cause failure. However, many of them contain proprietary code that locks the battery from operation, "bricking" it and preventing the battery from being repaired by a third-party. Effectively making the whole device that depends on said battery unusable. | ||
==How it works== | ==How it works== | ||
When the battery is outside its operating range, such as | When the battery is outside its operating range, such as overcharged, overheated, unbalanced(in multi-celled battery packs), the BMS prevents the battery from further usage, limiting damage. However, the BMS should resume normal operation when the battery is back within operating range. Instead, the BMS changes bytes in its memory, leading to a "Permanent Fail (PF)" state, preventing the use of said battery even after reconditioning or repairing. | ||
Documentations from known BMS manufacturers such as Texas Instruments said the device can permanently disable the use of the battery pack in case of a "severe failure"<ref>[https://www.ti.com/lit/ug/sluua43a/sluua43a.pdf? https://www.ti.com/lit/ug/sluua43a/sluua43a.pdf?]</ref>. However users report the battery is "bricked" after scenarios like long-term storage, discharging laptop overnight or | Documentations from known BMS manufacturers such as Texas Instruments said the device can permanently disable the use of the battery pack in case of a "severe failure"<ref>[https://www.ti.com/lit/ug/sluua43a/sluua43a.pdf? https://www.ti.com/lit/ug/sluua43a/sluua43a.pdf?] ([http://web.archive.org/web/20250604023257/https://www.ti.com/lit/ug/sluua43a/sluua43a.pdf Archived])</ref>. However, users report the battery is "bricked" after scenarios like long-term storage, discharging a laptop overnight or using a power tool in a warm environment while charging it cool, indicating the manufacturers have abused the BMS program, exaggerating the nature of the failure as a form of [[self-destructive design]]. | ||
To make matters worse, many of the BMS | To make matters worse, many of the BMS need an "access code" to read and change its parameters, including runtime ones like the "Permanent Fail" flag. The unlock or unseal code is kept secret by the battery's manufacturer, making very difficult, if not impossible, for users and third-parties to repair said battery<ref>{{Cite web |date=28 Sep 2019 |title=Experiences with TI BQ management IC’s when re-building laptop batteries? |url=https://www.eevblog.com/forum/chat/experiences-with-ti-bq-management-ics-when-revelling-laptop-batteries/?all |url-status=live |archive-url=https://web.archive.org/web/20240926193741/https://www.eevblog.com/forum/chat/experiences-with-ti-bq-management-ics-when-revelling-laptop-batteries/?all |archive-date=26 Sep 2024 |access-date=13 Sep 2025 |website=EEVblog Electronics Community Forum}}</ref>. | ||
Alarmingly, the condition of "bricking" includes "Capacity Degradation Permanent Failure"<ref>[https://www.ti.com/lit/ds/symlink/bq40z50.pdf? https://www.ti.com/lit/ds/symlink/bq40z50.pdf?]</ref>, which means the manufacturers can artificially limit the battery pack's lifespan, making it unusable after a certain | Alarmingly, the condition of "bricking" includes "Capacity Degradation Permanent Failure"<ref>[https://www.ti.com/lit/ds/symlink/bq40z50.pdf? https://www.ti.com/lit/ds/symlink/bq40z50.pdf?] ([http://web.archive.org/web/20250826014752/https://www.ti.com/lit/ds/symlink/bq40z50.pdf Archived])</ref>, which means the manufacturers can artificially limit the battery pack's lifespan, making it unusable after battery health drops below a certain threshold (e.g 80%). | ||
==Why it is a problem== | ==Why it is a problem== | ||
| Line 16: | Line 16: | ||
===Environmental impact=== | ===Environmental impact=== | ||
Lithium-ion batteries are 95% recyclable, however, only about 5% of them are actually recycled<ref>{{Cite web |date=22 Sep 2022 |title=Lithium ion battery recycling |url=https://www.cas.org/resources/cas-insights/lithium-ion-battery-recycling?utm_source=chatgpt.com |url-status=live}}</ref>. BMS firmware lockout increases the number of battery packs | Lithium-ion batteries are 95% recyclable, however, only about 5% of them are actually recycled<ref>{{Cite web |date=22 Sep 2022 |title=Lithium ion battery recycling |url=https://www.cas.org/resources/cas-insights/lithium-ion-battery-recycling?utm_source=chatgpt.com |url-status=live |archive-url=http://web.archive.org/web/20260216013331/https://www.cas.org/resources/cas-insights/lithium-ion-battery-recycling?utm_source=chatgpt.com |archive-date=16 Feb 2026}}</ref>. BMS firmware lockout increases the number of battery packs ending up in waste, increasing pollution. Some of the materials like cobalt, are hazardous. | ||
===Undermining ownership=== | ===Undermining ownership=== | ||
| Line 24: | Line 24: | ||
===Consumer electronics=== | ===Consumer electronics=== | ||
[[File:BQ40Z50R3 1.jpg|thumb|A screenshot of a "bricked" battery pack with healthy cells, note the red "PF_EN"]] | [[File:Texas Instruments BQ40Z50R3 1.jpg|thumb|A screenshot of a "bricked" battery pack with healthy cells, note the red "PF_EN"]] | ||
The most common consumer electronics using sophisticated battery management system for their multi-cell battery pack are laptop computers. There are many discussions about the battery "lockout" after replacing or recharging individual cells, indicating battery firmware lockout is the main obstacle of battery repair<ref>{{Cite web |date=2022-10-06 |title=How can I reset the laptop battery BMS? |url=https://electronics.stackexchange.com/questions/570919/how-can-i-reset-the-laptop-battery-bms |url-status=live |archive-url=https://web.archive.org/web/20250913130751/https://electronics.stackexchange.com/questions/570919/how-can-i-reset-the-laptop-battery-bms |archive-date=2025-09-13 |access-date=2025-09-13 |website=Stack Exchange}}</ref><ref>{{Cite web |date=30 Oct 2023 |title=(i changed every cell in laptop battery then bms locked How to unlock bms of acer e5 laptop battery, total battery in series is 15v but in bms output voltage is 0v i tried to short battery positive to output positive, but still no output, i think bms is locked how to unlock without software help |url=https://old.reddit.com/r/batteries/comments/17jogjr/i_changed_every_cell_in_laptop_battery_then_bms/ |url-status=live |archive-url=https://web.archive.org/web/20250913133735/https://old.reddit.com/r/batteries/comments/17jogjr/i_changed_every_cell_in_laptop_battery_then_bms/ |archive-date=13 Sep 2025 |access-date=13 Sep 2025 |website=[[Reddit]]}}</ref>. | The most common consumer electronics using sophisticated battery management system for their multi-cell battery pack are laptop computers. There are many discussions about the battery "lockout" after replacing or recharging individual cells, indicating battery firmware lockout is the main obstacle of battery repair<ref>{{Cite web |date=2022-10-06 |title=How can I reset the laptop battery BMS? |url=https://electronics.stackexchange.com/questions/570919/how-can-i-reset-the-laptop-battery-bms |url-status=live |archive-url=https://web.archive.org/web/20250913130751/https://electronics.stackexchange.com/questions/570919/how-can-i-reset-the-laptop-battery-bms |archive-date=2025-09-13 |access-date=2025-09-13 |website=Stack Exchange}}</ref><ref>{{Cite web |date=30 Oct 2023 |title=(i changed every cell in laptop battery then bms locked How to unlock bms of acer e5 laptop battery, total battery in series is 15v but in bms output voltage is 0v i tried to short battery positive to output positive, but still no output, i think bms is locked how to unlock without software help |url=https://old.reddit.com/r/batteries/comments/17jogjr/i_changed_every_cell_in_laptop_battery_then_bms/ |url-status=live |archive-url=https://web.archive.org/web/20250913133735/https://old.reddit.com/r/batteries/comments/17jogjr/i_changed_every_cell_in_laptop_battery_then_bms/ |archive-date=13 Sep 2025 |access-date=13 Sep 2025 |website=[[Reddit]]}}</ref>. | ||
===Commercial UAVs=== | ===Commercial UAVs=== | ||
{{Main|DJI}}DJI, a well known commercial UAV manufacturer, locks out the battery after long-term storage, claiming over-discharging damages the battery, even if the chemistry is still recoverable. Users who successfully " | {{Main|DJI}} | ||
DJI, a well known commercial UAV manufacturer, locks out the battery after long-term storage, claiming over-discharging damages the battery, even if the chemistry is still recoverable. Users who successfully "revive" the battery packs by charging their cells using a bench power supply and clearing the failure code, report restored functionality<ref>{{Cite web |date=2024-03-21 |title=Reviving dead batteries - a heads up |url=https://mavicpilots.com/threads/reviving-dead-batteries-a-heads-up.146169/ |url-status=live |archive-url=https://web.archive.org/web/20250618000130/https://mavicpilots.com/threads/reviving-dead-batteries-a-heads-up.146169/ |archive-date=2025-06-18 |access-date=2025-09-13 |website=MavicPilots}}</ref><ref>{{Cite web |date=2023-08-02 |title=DJI Battery Killer repairing tool |url=https://greyarro.ws/t/dji-battery-killer-repairing-tool/68863 |url-status=live |access-date=2025-09-13 |website=Grey Arrows Drone Club |archive-url=http://web.archive.org/web/20260210084910/https://greyarro.ws/t/dji-battery-killer-repairing-tool/68863 |archive-date=10 Feb 2026}}</ref><ref>{{Cite web |last=McLoughlin |first=Liam |date=2023-10-01 |title=Repairing the DJI Spark Drone Battery with DJI Battery Killer, CP2112, & 9V battery |url=https://leelum.com/projects/repairing-the-dji-spark-drone-battery-with-dji-battery-killer-cp2112-9v-battery/ |url-status=live |archive-url=https://web.archive.org/web/20241211065622/https://leelum.com/projects/repairing-the-dji-spark-drone-battery-with-dji-battery-killer-cp2112-9v-battery/ |archive-date=2024-12-11 |access-date=2025-09-13 |website=Leelum}}</ref><ref>{{Cite web |title=DJI Battery Killer: Reviving Bricked DJI Drone Batteries with CP2112 & BMS Reset |url=https://www.elektroda.com/qa,dji-battery-killer-cp2112-bms-reset.html |url-status=live |website=elektroda |archive-url=http://web.archive.org/web/20260216013455/https://www.elektroda.com/qa,dji-battery-killer-cp2112-bms-reset.html |archive-date=16 Feb 2026}}</ref>. However some users reported "authentication failed"<ref>{{Cite web |date=2024-03-23 |title=Mavic pro battery authentication failed after clear pf |url=https://mavicpilots.com/threads/mavic-pro-battery-authentication-failed-after-clear-pf.144987/ |url-status=live |access-date=2025-09-13 |website=MavicPilots |archive-url=http://web.archive.org/web/20250517190808/https://mavicpilots.com/threads/mavic-pro-battery-authentication-failed-after-clear-pf.144987/ |archive-date=17 May 2025}}</ref> suggesting the possibility of parts serialization<ref>{{Cite web |last=Greenlee |first=Lauren |date=2023-01-17 |title=How Parts Pairing Kills Independent Repair |url=https://www.ifixit.com/News/69320/how-parts-pairing-kills-independent-repair |url-status=live |archive-url=https://web.archive.org/web/20250811033531/https://www.ifixit.com/News/69320/how-parts-pairing-kills-independent-repair |archive-date=2025-08-11 |access-date=2025-09-13 |website=iFixit}}</ref>. | |||
===Home appliances=== | ===Home appliances=== | ||
{{Main|Dyson battery lifespan reduced by design and difficult to repair}}Dyson appliances often come with battery packs omitting balancing resistors, leading to higher battery degradation. When the battery cells are unbalanced, repaired or replaced | {{Main|Dyson battery lifespan reduced by design and difficult to repair}} | ||
Dyson appliances often come with battery packs omitting balancing resistors, leading to higher battery degradation. When the battery cells are unbalanced, repaired or replaced, the BMS chip will lockout. This can be mitigated with added resistors and a custom firmware that doesn't brick the battery upon maintenance<ref name=":2">{{Cite web |last=@tinfever |title=(Unofficial) Firmware Upgrade for Dyson V6/V7 Vacuum Battery Management System |url=https://github.com/tinfever/FW-Dyson-BMS |url-status=live |archive-url=https://web.archive.org/web/20250912021607/https://github.com/tinfever/FW-Dyson-BMS |archive-date=2025-09-12 |access-date=25 Mar 2025 |website=GitHub}}</ref>. | |||
===Power tools=== | ===Power tools=== | ||
Power tool manufacturers such as Ryobi and Makita are known to lock battery backs, causing good ones to fail and | {{Main|Milwaukee battery drm}} | ||
Power tool manufacturers such as Ryobi and Makita are known to lock battery backs, causing good ones to fail and ending up in repair centers, or worse, landfills. Badar, a known electrical engineer, managed to recover 30 "bricked" battery packs back to normal, reducing e-waste<ref>https://www.youtube.com/watch?v=NQ_lyDyzEHY ([https://preservetube.com/watch?v=NQ_lyDyzEHY Archived])</ref>. Although 19% of them deeply discharged were no longer safe to charge. 65% of bricked batteries were purely due to software lockout with no performance impact after "unbricking" and recharging. Additionally, 13% had unbalanced cells, which were easily resolved by using an external power supply to bring the cells to the same level one by one, however, the "unbricking" procedure is still required for normal use<ref>{{Cite web |last=Kayani |first=Badar Jahangir |date=2025-08-24 |title=Ryobi Battery Repair Guide |url=https://badar.tech/2025/08/24/ryobi-battery-repair-guide/ |url-status=live |archive-url=https://web.archive.org/web/20250915074416/https://badar.tech/2025/08/24/ryobi-battery-repair-guide/ |archive-date=2025-09-15 |access-date=2025-09-15 |website=Badar Jahangir Kayani}}</ref>. | |||
===Electric vehicles=== | ===Electric vehicles=== | ||
Tesla | Tesla cut the range of some Model S and Model X vehicles by up to 20% via an over-the-air (OTA) update. Some of the batteries became totally unusable, showing a "BMS_u029" error. Some users are able to reverse the change by flashing an older firmware, other users are forced to replace the entire battery pack, costing over $15,000<ref name=":0">{{Cite web |last=Crandall |first=Christine |date=2023-05-18 |title=How Tesla’s New OTA Software Update Cut EV Range By A Massive 20%, Owners Move To Sue |url=https://www.hotcars.com/tesla-software-update-cut-ev-range-owners-move-to-sue/ |archive-url=https://web.archive.org/web/20250413101832/https://www.hotcars.com/tesla-software-update-cut-ev-range-owners-move-to-sue/ |archive-date=2025-04-13 |access-date=2025-09-13 |website=Hotcars}}</ref>. | ||
==Consumer reactions== | ==Consumer reactions== | ||
Although some consumers rationalize such behavior | Although some consumers rationalize such behavior as increasing safety or avoiding liability, many of them condemn such practices, describing it as planned obsolescence. | ||
There are ways of tackling battery firmware lockout: | There are ways of tackling battery firmware lockout: | ||
*Replacing the battery pack: This is the simplest way of "repairing" a "bricked" battery. However doing so is costly, increases e-waste production and further fuels planned obsolescence of said manufacturers. | *Replacing the battery pack: This is the simplest way of "repairing" a "bricked" battery. However doing so is costly, increases e-waste production and further fuels planned obsolescence of said manufacturers. Some compatible third-party battery packs don't have lockout mechanisms, making it possible for the user to replace cells in the pack and cycle charge to calibrate its meter. However, the exact makes and models aren't well-known. | ||
*Extracting the BMS code: Certain logic analyzers can extract the code from communications to and from the BMS chip. Users or repair technicians can use this way to extract the "unseal" password, then reset the "permanent fail" flag and recalibrate the battery's capacity. | *Extracting the BMS code: Certain logic analyzers can extract the code from communications to and from the BMS chip. Users or repair technicians can use this way to extract the "unseal" password, then reset the "permanent fail" flag and recalibrate the battery's capacity. | ||
* | *Acquiring the unlock password: Some of the battery models' BMS codes have been leaked, some of them are publicized<ref>{{Cite web |last=@davext |date=25 Jun 2024 |title=unbrick-dji |url=https://github.com/davext/unbrick-dji/blob/main/src/main.cpp |url-status=live |archive-url=https://web.archive.org/web/20250914163205/https://github.com/davext/unbrick-dji/blob/main/src/main.cpp |archive-date=14 Sep 2025 |access-date=14 Sep 2025 |website=[Github]}}</ref>. For others, it might be possible to purchase it in the grey market, however, there's a risk of scams as some of the passwords can be as expensive as the pack itself, and there's no guarantee of them working. | ||
*Resetting the BMS: Some specialized hardware and software can be used to clear the PF flag, reviving the battery without the need of knowing the battery's parameters. Most of the users | *Resetting the BMS: Some specialized hardware and software can be used to clear the PF flag, reviving the battery without the need of knowing the battery's parameters. Most of the users don't have a need for modify the battery's parameters after repairing<ref>{{Cite web |date=2019-08-15 |title=Reset-BQ20xx |url=https://github.com/otofoto/Reset-BQ20xx |url-status=live |archive-url=https://web.archive.org/web/20220923061011/https://github.com/otofoto/Reset-BQ20xx |archive-date=2022-09-23 |access-date=2025-09-13 |website=[[Github]]}}</ref>. | ||
*Install a custom (or OEM) BMS chip: Buying a brand new BMS chip and | *Install a custom (or OEM) BMS chip: Buying a brand new BMS chip and writing a custom program. The main challenge is the knowledge of the working mechanism of the battery and its BMS. Different battery chemistries have different voltage and current characteristics, using the wrong data may cause incorrect capacity reading at best, or battery/device malfunction at worst. | ||
==Lawsuits== | ==Lawsuits== | ||