Git Product home page Git Product logo

Comments (2)

CTCaer avatar CTCaer commented on July 20, 2024

It doesn't work at all like that. Like at all.
There's no weird bug and the factory (reset) charge voltage for the IC is not 4320mV. It's 4208mV.
And the "investigation" you did is false. No homebrew, payload or L4T can cause that, except if you went out of your way to mess with these.
For Android, I don't know if it took my changes for actually parsing the used charge voltage limit.

In any case, all these are irrelevant. Only HOS decides the voltage limit.
That means that even if you restore or change bq24193 regs or if you messed up with the above, the limit will change again the moment you boot HOS.

So the only way to mess that up is:

  1. By writing bs on the charge cycle register in max17042 (since you mentioned doing random things with i2c)
    If that's done and you boot it gets saved in HOS savedata and gets reset
  2. Messing up HOS savedata on any way
  3. Restoring messed up HOS calibration data into the HOS savedata

So the "bugs" are basically a user doing random things without understanding what these can cause.

Again, HOS decides the voltage limit. And it decides it based on its savedata charge cycles value.
And it selects between these voltages: 4320, 4304, 4288, 4272, 4256, 4240, 4224, 4192.

You will need to fix your savedata if HOS decided wrong for any of the above reasons.

If not, I won't ever provide any help on resetting that, since it's a fire hazard.
3.8V batteries are not supposed to be charged at 4.3V after a certain number of charge cycles defined by their manufacturer.

PS. If you reply with a wall of text without structure like that it won't get answered next time.

from hekate.

CTCaer avatar CTCaer commented on July 20, 2024

And something important to note; stop using system wipers for HOS for no reason.
At this time of writing, every tool does it wrong and misses very important settings that need to be repopulated.
HOS can't do that on its own, factory uses special apps for that.

from hekate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.