Install USB drivers?? https://developer.android.com/studio/run/win-usb
Install adb on Linux.
-
Get the latest TWRP image (twrp-*pioneer.img) from https://twrp.me/
-
Boot XA2 into fastboot mode (blue LED)
- Turn off the XA2
- Press and hold Volume Up
- Wait a few seconds, connect the USB cable and watch the LED turn blue
- Release Volume Up
- You may execute
fastboot devices
to verify
- Fastboot into TWRP
- Execute
fastboot boot twrp-3.3.1-4-pioneer.img
- XA2 leaves fastboot mode, turns off blue LED and starts TWRP.
Note:
- Don't flash TWRP, this would destroy Lineage! (Do NOT excute
fastboot FLASH boot twrp-ERROR.img
)
- Inquire firmware version from post https://forum.xda-developers.com/showpost.php?p=78973496&postcount=2
As of 2019-08: UK 50.1.A.12.123
As of 2019-12: 50.2 or 50.1 and pioneer_modem_bt_dsp_50.2.A.0.400.zip
-
Temporarily boot into TWRP!
-
Execute
adb shell twrp sideload adb sideload pioneer_modem_bt_dsp_50.2.A.0.400.zip
Get Lineage build from https://download.lineageos.org/pioneer
-
Temporarily boot into TWRP!
-
Execute
adb shell twrp sideload adb sideload lineage-16.0-20200106-nightly-pioneer-signed.zip
- Press Reboot, then press System
- Uncheck "Prompt to install TWRP"
- If you see "Swipe to install TWRP App": chose "Do not Install"
- If TWRP warns "No OS has been installed": ignore
- Flash Tool Emma https://developer.sony.com/develop/open-devices/get-started/flash-tool Firmware from 1311-2845 50.1.A.13.123 Firmware to 1312-3737 50.2.A.0.400 R4B Customized_UK
VOLUME DOWN Flash Firmware leads to Boot loop. Boot loop ends
- Bootloader mode = download mode = fastboot mode
- Baseband = ?
Your device is corrupt
It can't be trusted and will not boot
Your device will be powered off in 5 seconds
fastboot getvar current-slot
current-slot: _a
fastboot set_active b
fastboot set_active a