The firmware file is correct. The configuration issue mean you missed the Finalization step after flashing
These files are correct if you want keep brand and personalization of 3 network. For generic firmware use the more updated R8BB001_MAIN_GENERIC files. Dont remember the custom pack file too.
Same procedure for XS++. Try Identify button to test connection
Load custom pack for solving configuration error. For unlock read this guide:
Remove SIM-lock patch generator