Skip to content
Flash tool for new Sony flash tool protocol (Xperia XZ Premium and further)
C Other
  1. C 99.8%
  2. Other 0.2%
Branch: master
Clone or download

This experimental software allows you to flash firmwares acquired through XperiFirm to Sony phones including and newer than the XZ Premium.


  • Place the newflasher executable into the firmware folder (usually created by XperiFirm)
  • Run Newflasher. Everything inside the folder will be flashed, so remember to remove files you don't want on your device beforehand.

Build (native)

Install development versions of zlib and expat. On Debian-based systems such as Mint and Ubuntu, this means:

sudo apt-get install libexpat-dev libz-dev

Download, build and install, assuming that ~/bin is in $PATH:

git clone ~/.local/share/newflasher
make -C ~/.local/share/newflasher
ln -s ../.local/share/newflasher/newflasher ~/bin

Build (cross, static)

make newflasher.[exe/x64/i386/arm32/arm64], exe referring to a Windows build, the rest being for Linux and Android.


XDA Thread.

You can’t perform that action at this time.