This webpage contains the official download links for the Sony Xperia Z5 Compact (E5823) stock ROM (firmware) flash files. The firmware files can be original firmware or updates that have since rolled out for your device at a later date.

Every device that runs on the Android operating system will receive over the air software updates that roll out of the device automatically, so all you need to do is accept them, and the software then gets installed. The number of software updates that roll out this way will depend on a few things, including the device, carrier, location, etc. But every device is always going to get at least a few before it’s no longer supported.

Many of those same firmware files that install automatically are going to become available for you to flash manually instead, by using a flashing tool that is made for your Sony Xperia Z5 Compact (E5823) device. This is known as flashing the stock ROM manually. The reasons for wanting to do this manually vary from wanting to remove root access, changing a custom recovery image back to the stock recovery image, wanting to downgrade since OTA’s are always upgrades, so forth. But before you do update the Sony Xperia Z5 Compact (E5823) stock ROM manually, there are some things you should know.

For starters, everyone should understand that developers of custom recovery images and rooting files don’t usually support official software updates, whether they are OTAs or being flashed manually. This is because a lot of people with root access and custom recovery images make changes to the system partition—something that doesn’t happen when all you’re doing is installing official updates. Just the act of flashing a custom recovery image or getting root access alone doesn’t make changes to the system partition unless you have root access on some of the older versions of Android that used to go through the system partition. But some of the root applications such as BusyBox or Titanium Backup can make system partition changes. You can use a search engine such as Google to find out more about what makes changes to the system partition in Android to find out more if you’re unsure.

What Is Android Firmware?

Firmware is the operating system and its applications that control how the smartphone or tablet that runs on Android operates. While you may see the words “software update available” on your device’s display, we call it firmware to highlight its close relationship with the device manufacturers hardware.

If you prefer technical jargon, firmware is the specific programming that gets written to a device’s non-volatile memory. The firmware gets added to the device during the manufacturing process and is the middleman in helping software run on the hardware. Firmware can be written as read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory.

The Android operating system is more open than much of its competitors in iOS, Windows 10 Mobile, and Tizen. You always get firmware running on your device out of the box, but if you do not like it, you can swap it over with custom firmware or other firmware versions that were made for your device. This flexibility helps with troubleshooting, or if you know you would prefer a different Android version that was made available.

Why Reinstall Stock Firmware?

Did you think you may need to restore the stock firmware on your device? Here are some of the things that you can achieve with stock firmware files:

  • Upgrade or downgrade the version of Android on your device
  • Fix common mobile device-related problems, such as unbearable bugs in the software
  • Remove custom recovery images such as TWRP
  • Unroot the Android operating system, regardless of what method/tool you may have used to get root access
  • Unbrick your smartphone or tablet
  • Reinstall the operating system
  • Fix invalid IMEI problems

Sony Xperia Z5 Compact E5823 Firmware Flash File Download Links

File name: Sony_Xperia_Z5_Compact_E5823_32.3.A.0.372_1298-7260_Customized_AU

Android Version: Android 7.0 (Nougat)

Firmware FileDownload flash file

How to Flash Sony Xperia Z5 Compact E5823 Stock ROM Using Sony Mobile Flasher

1. Download the Sony Xperia Z5 Compact E5823 USB driver and install it onto your computer.

2. Download the Sony Mobile Flasher application that is made to work with your operating system brand in mind—i.e., grab the version for Windows if your computer is running Windows.

3. Download the Sony Xperia Z5 Compact E5823 stock firmware package onto your computer and then extract it by right-clicking on it and then choosing the option to extract it from the menu.

4. Follow the setup wizard until you have successfully installed the Sony Mobile Flasher tool on the computer.

5. Open it up and look for the “Flash” button.

6. Browse the computer for the firmware file that you have downloaded and extracted and then upload it to this location, making sure you have selected the actual firmware file and not just its folder.

7. Click on the “Flash” button.

8. Start with the Sony mobile device turned off, and then connect it to the computer with its USB cable while holding the “Volume Down” button.

9. The flashing should now begin automatically.

For a more detailed guide with screenshots, you can check out the how to flash Sony Xperia firmware article.

Important Notes

Back Up Your Data: You should always back up your data before you begin flashing new firmware files to your Sony smartphone or tablet. All of your pictures, music, videos, documents, etc. should be still on your device after you have updated the firmware, but you may need to restore the contacts and applications from a backup.

Wipe Cache and Factory Reset: Some people claim that taking a factory reset isn’t necessary after updates, but at the very least you should wipe the system cache after installing new firmware. This way you can help eliminate any performance issues and battery draining bugs. Taking a factory reset is the best way of avoiding common problems many users face after applying software updates.


There are some common questions people have before installing firmware files. Here are the ones we are regularly asked:

How to Unroot Sony Xperia Z5 Compact E5823 When Installing New Firmware

There can often be a variety of ways to unroot a device that runs Android, and they depend on what method you used to get root access. If you installed SuperSU for root access, then you can open the app and find the option to unroot directly from SuperSU’s settings. On the other hand, if you do not have SuperSU, and you do have a Sony smartphone or tablet, then you can always unroot by installing the stock firmware. Once you have followed the guide above, your device will automatically be unrooted. You can verify that is the case by installing one of the many applications from Google Play that checks for root access. As long as you are using a reliable app, then typically it will not lie about the root status of your mobile device.

How to Restore Stock Recovery on Sony Xperia Z5 Compact E5823 When Installing New Firmware

One of the most common reasons for installing the stock firmware is to remove a custom recovery image and revert to the stock recovery. There is nothing you need to do extra to reinstall the stock recovery on your device; when you install the stock firmware, it will automatically install the stock recovery partition on the device once again.

Additional Firmware

You can download Android firmware for other Android devices if you have another smartphone or tablet from a different manufacturer.

Related Tutorials