Sur le lien 3, la personne est sur windows, alors que sur le site de LineageOs, il donne la commande sur Linux ou mac avec root en cas de probleme :
Download a custom recovery - you can download TWRP. Simply download the latest recovery file, named something like twrp-x.x.x-x-pioneer.img.
Connect your device to your PC via USB.
On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
adb reboot bootloader
You can also boot into fastboot mode via a key combination:
With the device powered off, hold Volume Up and connect the USB cable. The notification light should turn blue.
Once the device is in fastboot mode, verify your PC finds it by typing:
fastboot devices
TIP: If you see no permissions fastboot while on Linux or macOS, try running fastboot as root.
Temporarily flash recovery onto your device and boot it once by typing:
fastboot boot twrp-x.x.x-x-pioneer.img
La methode est differente,le gars sur windows il donne :
press & hold the “Power button + Volume Down” at the same time for a few seconds.
2- Open the folder where ADB and Fastboot, and Copy the TWRP Recovery file on the ADB folder.
3- In an empty area, hold down the shift key and right-click with the mouse, the context menu will contain an entry Open command window here.
4- Type “Fastboot flash recovery TWRP-3.1.1-1.img” to flash the recovery TWRP:
5- Type “Fastboot reboot” to reboot your device in normal mode.
6- You can unplug your phone after Installed TWRP on your Sony Xperia XA2.
Restart your Sony Xperia XA2 in Recovery mode
il colle ensuite TWRP Recovery dans le dossier ADB.
Par contre a tu activé la mode developpeur et le debogage usb ? oups j'ai oublié de le mettre dans le tuto, du coup j'ai corrigé :rolleyes:
8)Activer le mode developpeur et le debogage usb dans le telephone, pour cela aller dans systeme, puis "A propos du telephone" ensuite taper 8 fois de suite sur "numero de buid", revenir et aller sur mode developpeur puis activer debogage usb.