Today , I encountered a wwird bug with GrapheneOS on my Pixel 6:
After leaving the phone plugged in for several days, GrapheneOS seems to have activated a battery protection feature that limits charging (presumably to extend battery health). All good so far.
However, after unplugging it and leaving it for a few days, the phone fully discharged. When I plugged it back in, it entered an infinite boot loop:
- Bootloader starts the OS
- A few seconds later the phone shuts down
- Then it tries to reboot, and again shuts down...
After digging a bit, it looks like the Pixel firmware does charge the phone initially, but once GrapheneOS starts booting, the battery management kicks in and blocks charging, likely due to the previously activated charging protection.
This results in a loop where the phone never gets enough charge to complete boot and exit the protection mode. Also the risk of file corruption from power loss , especially sensible i think because encrypted.
⚠️ Recommendation (I'm not a dev):
Consider resetting the charging protection flag before boot or only activating it when the battery is above a certain threshold (e.g. 10%). Otherwise, phones with not super new batteries like my Pixel 6 may never boot again without workarounds.
✅ Workaround that helped me:
I let the phone sit plugged blocking the booting of Graphene.. eventually it got enough charge during those short firmware-powered moments to boot fully.
Just wanted to report in case it helps