Rooting Xperia E5

Updated: 2025-06-27


Aug 6, 2025

I spent the day today trying to root my Xperia E5. Since this is an older model, the XDA forums which contain the definite walkthrough for rooting the device doesn't seem to contain the essential files required for the rooting process. Nevertheless, I tried my best from the limited information I had.

Here's what I understand about rooting (might be wrong in making this assumptions, which might get updated in the future anyway).

The first step is to thus unlock the bootloader i.e. enable the feature that will allow us to flash custom ROM images in the boot sector of android. Sony devices make it very easy to do so as detailed in their website how-to.

Now comes the hard part that I am currently pausing this process on. Here's the things we need to do.

Here's where I'm stuck currently - I used Unsin to create a boot.img file, however, this isn't recognized by Magisk as a valid boot image. Maybe the way to do it is to create a 'super' boot image as the Unsin XDA forum says and then unpack it into individual partition images (using lpunpack?). I'm going to try and use a vanilla android (AOSP) ROM next (see here), but this work is postponed for now.