Recent content by ipd98

  1. ipd98

    [Guide] Using Clover to "hotpatch" ACPI

    Since yours is an HP notebook, why don't you follow this guide? https://www.tonymacx86.com/threads/guide-hp-probook-elitebook-zbook-using-clover-uefi-hotpatch.261719/
  2. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    I think the cycle count is not in EC for Lenovo X230, but thank you for teaching me how to reverse engineer by using RW-Everything; it will help me to get the cycle count info for other model.
  3. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    Hi Rehabman, please refer to the attachment for the EC info. In the first place, I thought either offset 0x00 and 0x5e will be the cycle count info and 0x5e is more logical as per my usage. However, I found the data is not static; it will change when re-open RW-Everything or reboot. Please...
  4. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    Thanks for your suggestion! Will try it on Monday.
  5. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    ok will read later. inconvenient at the moment. sbcc - sbac = 19126 - 19071 = 55 is also make sense. but just don't know if it is static data or dynamic data. FYI, sbcc data is generated from B1B2 Method, that why I said assuming cycle count data is from double bytes, if single may also do the...
  6. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    yes, it shows 0x4ab6 for sbcc. sorry about that all above data had been translated to decimal instead of hex
  7. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    sbcc data is 19126 (assuming 2 bytes for cycle count data)
  8. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    Here is part of the EC data: CC 19126 FC 10800 DC/SB 5616 AC 19071 DV 10800 BAF 10 BBS 255 BAE 19126 BRS 49 BOM 17085 BSI 49 BDT 16785 I either use the last 2 character or 3 of the original EC register name.
  9. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    I took photo of each offset (also assumed it is even there according to my HP 9470). will post to you tomorrow.
  10. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    I did use 15 fields of _BIF to retrieve total length (256bits; 32 bytes) of EC (EmbeddedController claims that the total length is 0x100), but no one seems to be the correct cycle count.
  11. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    Your professional opinion is sought!
  12. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    Yes, of course I want to. But I think it is impossible, then should find a workaround.
  13. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    Hi RehabMan, Thank you for your confirmation! By using the old battery's design capacity 6216, the calculation of the cycle count is making more sense. I suspect that manufacturer forgot to update the design capacity bits when upgrade to higher capacity cells. I then use the following code...
  14. ipd98

    Lenovo X230 Battery Cycle Count (Last Problem to be Solved)

    Welcome back RehabMan! The debug ACPIBatteryManager.kext shows that the Design Capacity is lower than the Max Capacity. I think this is the reason of "Cycle Count" not showing.
Back
Top