-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Add "Fix Battery" Option to Force Battery Health Data Resynchronization After Firmware Restore #687
Comments
I would add it if knew how it works... |
Found this on twitter: Edit % battery health:
Might be what you are looking for? I need it aswell. And restoring contains these lines And here is some more info from restore logs when battery fix is enabled in 3uTools:
Then a battery disconnect-reconnect and it finishes it with a normal restore from there. Battery fixing step takes a couple of minutes. I assume it's reading out some data, modifying it and writing back modified data. But I guess you might assume better. Modified ASR? |
did you find anything on that @nikias @TheRealBoss @D33F4ULT |
JC uses a tool separate from their main program called jcupdate.exe (in tools/jcupdateb folder). It uses libimobiledevice libraries like libplist, libirecovery etc and the .exe itself seems to be modified and made executable version of idevicerestore itself. |
@TheRealBoss where can I find the tool? Thanks |
By downloading JC repair tool and using the battery fix tool once. It will then download the tool. |
@nikias @TheRealBoss |
I’d like to request a new feature to be added to the idevicerestore tool. Specifically, I'm looking for a "Fix Battery" option that forces iOS to resynchronize and retrieve fresh battery health data from the Battery Management System (BMS) during or after a firmware restore.
Background:
In tools like 3uTools, there is a useful feature called "Fix Battery" that is commonly used after replacing an iPhone battery. This option forces iOS to fetch accurate battery health information (capacity, cycle count, etc.) from the BMS chip, which can fix incorrect or missing battery health statistics in iOS.
Currently, when replacing an iPhone battery or after a firmware restore, iOS may not automatically refresh the battery health status, leading to inaccurate data being displayed in Settings. This feature is particularly useful in cases where:
Proposal:
I propose adding a flag (e.g., --fix-battery) in idevicerestore that will:
Force the iPhone to reset and re-read battery health data from the battery’s BMS after a firmware restore.
Potentially clear any cached or outdated battery health data, ensuring iOS retrieves the correct information from the battery.
This feature would be a valuable addition for users dealing with battery replacement and battery health display issues on iPhones. Any insights on the feasibility of this request or recommendations for how it might be implemented in libimobiledevice would be appreciated.
Thank you for your consideration!
The text was updated successfully, but these errors were encountered: