Sony Xperia XA2 (sony-pioneer)

Contributors

 * Konrad Dybcio (@konradybcio)

How to enter flash mode
Enter Developer options on Android and enable OEM Unlock

Unlock your bootloader by following instructions here: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/

Hold and  until the LED becomes blue. Congratulations, you've entered fastboot.

Installation
Make sure to flash the latest stock ROM (via Androxyde's Flashtool or SONY Flash Tool (notice the space in the tool from SONY))

Then, flash the latest ODM binaries for Nile platform via

Follow the Installation guide