blob: d60c3940bdb9220256714a16e893aee9f21b5f73 [file] [log] [blame]
---
layout: device
title: "Sony Xperia XA2"
codename: pioneer
downloadfolder: pioneer
supportstatus: Current
maintainer: LuK1337
devicetree: https://github.com/TeamWin/android_device_sony_pioneer.git
oem: Sony
---
{% include disclaimer.html %}
{% include supportstatus.html %}
NOTE: Montly security updates may break decrypt in TWRP. MTP does not work at this time, but you can use adb to transfer files.
{% include download.html %}
<div class='page-heading'>Installation:</div>
If you already have TWRP installed:
Download the latest zip and install the zip using TWRP.
If you do not already have TWRP installed:
Download both the img and the zip. You will need to have fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader. Connect the device to your PC. Open a command window and run the following command from the proper location:
fastboot boot path/to/twrp.img
This will temporarily boot TWRP on your device. Use adb to push the zip onto your device:
adb push path/to/twrp.zip /
Go to install and browse to the zip and install the zip. The zip will install TWRP to both boot slots. Installing TWRP at this time will remove root if you are currently rooted.
If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.