The problem is not due to the official Samsung firmware you come from.
It must be OneUI 4.0 but you can come from G970FXXSGHVI1
(which was released beginning of July.... so before CrDroid 8.7 for S10x), you will anyway get this error message during flashing.
The problem is that 'LineageOs recovery' is newer than 'CRDroid 8.7'.
At the link below, all 'LineageOs recovery' are too recent for 'CrDroid 8.7'
Unfortunately they don't propose anymore for download old 'LineageOS recovery'.
2 possibilities to solve this issue
- Find an old enough 'LineageOs recovery' (i don't know where. If someone can upload an old image of LineageOs recovery released before the 17th of July... it would be nice)
- Wait for the next version of CrDroid (in the meantime you can use LineageOs but well disable the automatic update of LineageOs recovery)
As said Elton, "Sorry seems to be the hardest word"