1 - Connaître la capacité maximale de RAM supportée par votre PC
wmic memphysical get MaxCapacity, MemoryDevices
wmic memphysical get MaxCapacity, MemoryDevices
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
#In command prompt windows type :
diskpart
list disk
select disk 1 -> Where disk 1 is your blank usb
clean
create partition primary
select partition 1
active
format fs=ntfs quick
assign
exit
xcopy e:\*.* /s/e/f f:\ -> Where e: is the source and f: destination