Skip to content

[Enhancement] Bring back the previous logic for spoofing Charging Cycles #52

@Anderhar

Description

@Anderhar

How it was before (on v1.5.2): Activating ‘Spoof Battery’ took effect immediately without any configuration, completely locking access to the charging cycles counter. Custom values or randomization were assumed as an optional step to do via Settings UI.

How it became now (on v1.5.5): Activating ‘Spoof Battery’ do nothing until manually configured via Settings UI. Completely locking access to the charging cycles counter is no longer possible (real downgrade).

Addendum: Current randomizers for 'Charging Cycles' and 'Boot Count' provide too wide range of values (7500 for example, which is physically impossible). It would be better to replace them with randomizer from 'CELL MNC' or create a new one with range 100-500 e.g.

Tested using DevCheck under LineageOS 22.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions