Install /e/OS on a Sony - Xperia XZ3 akatsuki
This guide installs /e/OS on your akatsuki. Read it through once before you start, so you don’t hit surprises partway in. Downgrading from a newer OS version than the /e/OS build you’re about to install can cause instability or brick some devices — check your current OS version first. Flashing is done at your own risk: /e/OS builds are provided as best effort, without any guarantee, and the /e/OS project takes no responsibility for the consequences.
Requirements
- Back up your important data to an external storage device — some of the steps below format the phone, wiping any backup left on it.
- Charge your phone above 50%.
- Enable
adbandfastbooton your PC — setup instructions. - Download every file listed in the Downloads section below before you start.
- Use a real data cable — some cables only charge and can’t transfer data.
- Enable USB debugging on your device — instructions.
- Confirm your exact model in the Device Selector: where shown, hover the device name for the supported model number, and check it matches yours exactly.
- Boot the stock OS at least once and check everything works — SMS, calls, and both over WiFi and LTE if available (some devices need VoLTE/VoWiFi used once on stock to provision IMS). Whatever’s broken on stock stays broken on /e/OS.
Downloads for akatsuki
Each build includes /e/OS Recovery — no separate download needed.
Not sure which one to pick? See official vs. community builds.
Check the Pre-Install Instructions section below for some additional downloads for your device.
Before following these instructions please ensure that the device is on the latest Android 10 firmware.
If your device is currently using a newer or older version than the required version, please upgrade or downgrade to the required version before proceeding with your /e/OS installation.
The required version is Android 10 , which may be lower than the /e/OS version you are about to install - this is not an error! If there are multiple updates of that version (e.g. security updates), make sure to use the latest!
If you need to upgrade or downgrade your device, please search online for guides. We are unable to provide specific instructions here and on our support platforms.
Unlocking the bootloader
These steps only need to be run once per device. Not sure what unlocking changes on your device? See Bootloader relocking.
On the device, dial
*#*#7378423#*#*(*#*#SERVICE#*#*) to launch the service menu.Go to
service info>configurationand checkrooting status- you can only continue if it saysBootloader unlock allowed: Yes.Connect the device to your PC via USB.
On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
adb reboot bootloaderFollow the instructions on Sony’s official unlocking website to unlock your bootloader.
Use your code to unlock the bootloader of your device:
fastboot oem unlock <your_unlock_code>Since the device resets completely, you will need to re-enable USB debugging to continue (Settings->About Phone->Build version, and then you can go to Settings->Developer options to enable USB debugging).
Temporarily Booting a custom recovery using fastboot
Connect your device to your PC via USB.
On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
adb reboot bootloaderOnce the device is in fastboot mode, verify your PC finds it by typing:
fastboot devicesFlash a recovery image onto your device
fastboot flash boot recoveryfilename.imgReplace the
recoveryfilenamewith the name of the recovery image you downloaded in the previous sectionManually reboot into recovery mode
- With the device powered off
- hold Volume Down + Power
Ensuring all firmware partitions are consistent
In some cases, the inactive slot can be unpopulated or contain much older firmware than the active slot, leading to various issues including a potential hard-brick. We can ensure none of that will happen by copying the contents of the active slot to the inactive slot.
To do this, sideload the copy-partitions-20220613-signed.zip package by doing the following:
Download the
copy-partitions-20220613-signed.zipfile from here. It should have a MD5 sum of79f2f860830f023b7030c29bfbea7737or a SHA-256 sum of92f03b54dc029e9ca2d68858c14b649974838d73fdb006f9a07a503f2eddd2cd.Sideload the
copy-partitions-20220613-signed.zippackage: * On the device, selectApply Update, thenApply from ADBto begin sideload. * On the host machine, sideload the package using:adb sideload copy-partitions-20220613-signed.zipNow reboot to recovery by tapping
Advanced, thenReboot to recovery.
Installing /e/OS from recovery
Before proceeding ensure you have downloaded the /e/OS for your device, from the link given in the Downloads section above
If you aren’t already in recovery mode, reboot into recovery mode
- by typing the below command in the console of an adb enabled PC
adb reboot recoveryIn recovery, return to the main menu, then tap
WipeNow tap
Format Dataand continue with the formatting process.Here a new screen may show where you will have to type
Yesand confirm the action by clicking a button.
Return to the previous menu and tap
Advanced Wipe.Select the
CacheandSystempartitions to be wiped and thenSwipe to WipeSideload the /e/OS .zip package.
Total xfer: 1.00x, the transfer completed successfully.- On the device in recovery,
> select `Advanced`, `ADB Sideload`, then swipe to begin sideload.
- On the host machine, in the console , start the sideload of the package by typing
```shell
adb sideload filename.zip
```
- Once installation has finished, return to the main menu, tap Reboot, and then System
To find some troubleshooting tips… click here
adb
- Getting a
Total xFer ':' 0.01xmessage - Try to upload the /e/OS to internal storage and retry to install adb ':' sideload connection failed ':' insufficient permissions for deviceerror - Try to execute the commandsadb kill-serverandadb start-serverand retry- Getting an
insufficient permissionserror - Try the solution given here - When running "adb devices" in bash a device is shown as "unauthorized" - Try the solution given here
Connectivity
- Trying to troubleshoot mobile connectivity issues - Read this guide
Please share your experience , suggest tips or changes to this install guide documentation by visiting the Xperia XZ3 specific topic on our community forum. To report issues in /e/OS please refer this guide
This documentation “Install /e/OS on a Sony - Xperia XZ3 - “akatsuki”” is a derivative of “install LineageOS on akatsuki” by The LineageOS Project, used under CC BY.