Tested on Samsung Galaxy A6 Plus 2018 binary 8 Magisk Root (stock ROM)

Files

Steps

  • Settings -> Developer Options -> OEM unlocking
  • Read this if you can’t find the oem unlock 
  • Open odin uncheck auto reboot
  • open twrp in AP
  • Flash TWRP using Odin
  • Force Reboot (vol down+home+power)  after reboot switch to recover mode (vol up+home+power)
  • format data
  • reboot recovery
  • wipe dalvik + cache + data
  • flash magisk
  • flash all the file in u5.zip
  • reboot to system