But as long as it’s possible to flash back the original firmware, warranty should still apply
and because of that, that’s the responsibility of the device owner.
Backups are, first and foremost, your responsibility
I’m looking forward to your advice on how to backup a device with encrypted storage, that rolls a new key when you factory reset it.
e.g. for better charging control, to allow f-droid to update apps automatically