You know the famous newflasher software for sony xperia, for example, you can extract the firmware in tft format from sony, all this and more in this thread or section, greetings.
-Sony Xperia XZ3 SOV39 Unlock Screen Lock
-Sony Xperia XZ3 SOV39 Unlock Screen Lock