More surelly efficient is using heimdall on MacOS
[HOWTO] an Unified Install Guide Project for /e/
Don’t flash over userdata, don’t format or wipe anything for now,
Just flash TWRP and boot on it, to save your photos !
If it’s work, then you will reinstall stock firmware and /e/