Samsung SM-J400F 8.0 TWRP-3.2.3 / Magisk-v16.7 [ROOT] Download
Make sure to backup your important data before root it
1 enable “Developer Options” in your device by following this path: Settings -> About Phone -> Build Number (tap on it for 7 times). Once done, enable USB debugging mode by following this path: Settings -> Developer Options -> USB Debugging.
2 Next, ensure that your device has at least 50-60% battery backup in it before getting started Along with the rooting procedure as it is a battery-consuming one.
3 flash a zip file from TWRP recovery.
4 First of all, download Magisk-v16.7.zip file and save it to internal or external storage
5 Once Odin3 finished to flash the TWRP recovery untric reboot
6 now go to reovery mode key combination Then go to Install > Select the Magisk Zip File > Swipe to Install
7 Reboot to System.
note:if bliking phone .
again go recovery format data writen yes,now phone run normal ( take some time )and again install magiks in recovery now done ready to work