Android security tags, read closely by Lightrion

CVE-2024-40677 AI-generated analysis

platform/packages/apps/Settings, fuelgauge (App battery usage detail, AdvancedPowerUsageDetail)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (5 corrections). Verify against the commit before relying on it.

The Settings fragment AdvancedPowerUsageDetail (App battery usage detail page) now overrides shouldSkipForInitialSUW() to return true, so the page is not allowed to launch before the setup flow completes. This is described as an FRP bypass defense.

Root cause

AdvancedPowerUsageDetail extends DashboardFragment and did not override shouldSkipForInitialSUW() to return true. Per the commit message and test, the app battery usage app info page could therefore be launched (via ADB in the test) during setup after a factory reset, which defeats Factory Reset Protection. The base-class default and its enforcement are not shown in the material.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to October 2024 · Findings