Download the root file kernel For root the Galaxy J4 SM-J400F
Model Number : SM-J400F
Android Version : Oreo ( 8.0)
Extract the kernel placed in this post after download and Flash the file in the pda section in the odin software.
This file is only for Galaxy J4 SM-J400F model, dont use this file for other models .if use it can damaged your device