You didn't have charging implemented in your kernel and battery died?

Don't want to mess with re-flashing Android?

No worries, just set your PSU to 4V 0.95A!
Just raw 3.5W (Constant-Current) straight to battery terminals.

You will not regret substituting Qualcomm's SMB charger :smugcat:
Half-disassembled Lynx R1 (VR headset) connected to a lab PSU, with leads clipped onto battery's terminals. It's charging the battery without device even knowing about it.
0

If you have a fediverse account, you can quote this note from your own instance. Search https://donotsta.re/objects/08d872ac-d25a-428e-831b-f14674bff0ad on your instance and quote it. (Note that quoting is not supported in Mastodon.)