I recently bought a second hand S20, as I could put /e/OS on it.
I checked with a local Samsung Service Center they could fit a new battery, and they could.
Well, today I went down to have this done and now we’re doing it the unexpected stuff starts to come out.
The phone keeps track of how many charge cycles the battery has experienced, and it seems that needs to be reset to 0 when you change battery, and that this in the Service Center is done via having some Samsung APK installed on the device.
I downloaded what looked like the APK the Service Center needed, but it would not install - threw an error, incompatible existing APK or something like that.
It seems this is stored in some sort of special store in the phone, which is outside of the usual file system and so is unchanged when you for example install /e/OS.
I’m not quite clear what the downside of not resetting the counter is - I’ll Google a bit more on that.
Also tried another APK which claimed to reset the battery count, same problem.
I’m having the battery now changed anyway, and then I’ll see about sorting it out myself at home. I’m pretty sure I can sort it out, even if it means root, or, worst, reflashing the original Android, installing the Samsung APK, and then reinstalling /e/OS.