1. Télécharger image sur le site Oneplus : http://downloads.oneplus.net/devices/oneplus-5t/ ou dumper son fichier boot.img
2. Extraire boot.img du fichier téléchargé
3. Patcher le fichier boot.img avec Magisk depuis le smartphone puis envoyer le fichier patched_boot.img obtenu sur le PC.
4. Redemarrer le smartphone en mode "bootloader"
5. Sur le PC en ligne de cmd :
fastboot devices
fastboot flash boot patched_boot.img
fastboot reboot