use this link https://www.sammobile.com/samsung/galaxy-a6-plus/firmware/#SM-A605FN to download a firmware and flash with ODIN (follow the instructions you'll find in the right side of the screen once you've chosen your firmware) once you've done that, you'll boot into Oreo but remember to choose firmware version 8.0.0 from your country.