What should I do if my phone photos cannot be saved?

What should I do if my phone photos cannot be saved?

1. Please check whether the phone memory space is sufficient;
2. Please back up your data and clear the cache;
3. Please carefully confirm what operations such as unlock bootloader, flash or rooting have been;
4. Please re-install the latest system version.