All the source code for LineageOS is available in the LineageOS Github repo.
Important info:
ROM OS Version: 7.1.2 Nougat
ROM Kernel: Linux 3.4
- Note: Warning! You are the only responsible of your actions, and especially of your use of your phone. Neither I, neither XDA, are responsible of your handling with your phone.
- Note: You must have unlock your bootloader on sony's page
- Note: You need to use the stock bootloader. If you switched to the Open Device Bootloader (D2203), please flash again the old bootloader. Here you have FTF file: (https://drive.google.com/file/d/0B07I-JdP5dQzSWs3SW1uYXVsWjg/view?usp=sharing). If you don’t remember the process, you can check it on Google.
- Note: You must have unlock your bootloader on sony's page
- Note: You need to use the stock bootloader. If you switched to the Open Device Bootloader (D2203), please flash again the old bootloader. Here you have FTF file: (https://drive.google.com/file/d/0B07I-JdP5dQzSWs3SW1uYXVsWjg/view?usp=sharing). If you don’t remember the process, you can check it on Google.
All
Almost working
Known issues
Audio bugs:
- Songs may pause randomly after some time and continue after some secs.
- Some games might have a laggy audio problem (Pokémon Go for example).
Download
You have to download the latest version of boot.img, recovery.img and system.img or flashable zip from this link https://drive.google.com/drive/folders/0B07I-JdP5dQzM1FRbXY4bGt4VzQ?usp=sharing
For Google apps (Play Store, Google account...) go to http://opengapps.org/, choose Arm for Android 7.1 and select any variant you want. We recommend Pico variant as is the smalles one (you can choose stock if you want Pixel launcher).
Install
You need to install adb and fastboot. If you don’t know how to do that, click on the link down below.
https://forum.xda-developers.com/showthread.php?t=2588979
Then, in your file explorer, go to « This computer » and search for the file « adb ».
Next, put files in the folder « adb ». Hold shift and click (right click). Then click on « open terminal » or do « cd » (you need to find the location of your file « adb »).
Boot your phone in Bootloader/fastboot (this is the exact same thing but with different names depending on how you call it).
https://forum.xda-developers.com/showthread.php?t=2588979
Then, in your file explorer, go to « This computer » and search for the file « adb ».
Next, put files in the folder « adb ». Hold shift and click (right click). Then click on « open terminal » or do « cd » (you need to find the location of your file « adb »).
Boot your phone in Bootloader/fastboot (this is the exact same thing but with different names depending on how you call it).
In the terminal, type the command « fastboot devices »
You should see something like this for example :
Code:
CVH7N15B11004115 fastboot
go to Device Manager
Find your phone
Click on properties
Update the driver for your phone
Choose « Bootloader interface » and retry the command « fastboot device »
Find your phone
Click on properties
Update the driver for your phone
Choose « Bootloader interface » and retry the command « fastboot device »
Commands
Code:
1. fastboot flash boot "name of boot".img
2. (Starting from V4 - 2020-01-23) fastboot flash FOTAKernel "name of recovery".img
[COLOR="SeaGreen"]3. Boot TWRP with Vol - and flash LineageOS zip[/COLOR]
[B][COLOR="Red"]IMPORTANT:[/COLOR] Only if Magisk was automatically installed after flashing LineageOS zip and after the first reboot the ROM is not booting:[/B] [COLOR="SeaGreen"]Flash again any boot.img with fastboot or TWRP (using "Install image" option)[/COLOR]
[COLOR="red"][STRIKE]fastboot –S 256M flash system "name of system".img[/STRIKE] (that was for v1 && v2 )[/COLOR]
IMPORTANT!
If your Xperia E3 model is D2202 or D2212 (3G-only single and dual SIM variants) you may need to flash an additional firmware zip in order to get SIM card working if it does not work after the first boot. Here you have the link:
https://drive.google.com/drive/folders/0B07I-JdP5dQzRG83U2d2aXBmUWM?usp=sharing
Note that there is a zip for each variant, but this is only to avoid confusion. Both are the same zip and you can flash any of them.
Extras
Now all you have to do is to flash the GAPPs in the recovery.
For Magisk go to https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
and download Magisk app and zip (ONLY FOR VERSIONS BEFORE V4: using the boot named Magisk) and its corresponding Magisk version.
Contributors
@rmnhg Ramón Hernández
@infus38 Thomas
@Konstantinosj77
@galaxyfreak
@adfad666
@vinay
@jerpelea
@Dhruv
@jpzex
@Nicklas Van Dam
@madcodez
Changelog
- note only last change will be post ( change log for v1 and v2 was remove )
New release 14/02/20 v4.1
Fixed a sensors bug introduced on V4. Now sensors should work as before.
New release 23/01/20 v4
Recovery is now independent from Boot partition! Now you should flash recovery image to FOTAKernel using fastboot or to "recovery" partition using TWRP. With this measure you can flash any Magisk version without waiting us to update boot.img.
Camera fully working now! Torch also works. The only thing you can't do is to enable Noise Reduction on Snap as it is not supported on Stock ROM
Bluetooth and WiFi addresses are now fine. They should be the same as the stock ones.
Compass may work better.
New release 06/01/18 v3
Tethering works now (in WiFi, BT and USB)
NFC works perfectly now
Now no user needs to flash additional firmware blobs 
This is not always working.
Camera working partially (I recommend you taking photos with panoramic mode and videos with other apps, like Instagram)
TWRP 3.2.1
Magisk v15.2 is now supported
Sony's framework is preinstalled, you are able to download Sony's Apps from Google Play
Safety net passed using Magisk+Magisk Hide
New release 14/02/20 v4.1
Fixed a sensors bug introduced on V4. Now sensors should work as before.
New release 23/01/20 v4
Recovery is now independent from Boot partition! Now you should flash recovery image to FOTAKernel using fastboot or to "recovery" partition using TWRP. With this measure you can flash any Magisk version without waiting us to update boot.img.
Camera fully working now! Torch also works. The only thing you can't do is to enable Noise Reduction on Snap as it is not supported on Stock ROM
Bluetooth and WiFi addresses are now fine. They should be the same as the stock ones.
Compass may work better.
New release 06/01/18 v3
Tethering works now (in WiFi, BT and USB)
NFC works perfectly now
Camera working partially (I recommend you taking photos with panoramic mode and videos with other apps, like Instagram)
TWRP 3.2.1
Magisk v15.2 is now supported
Sony's framework is preinstalled, you are able to download Sony's Apps from Google Play
Safety net passed using Magisk+Magisk Hide
XDA:DevDB Information
LINEAGE-OS OMSv7, ROM for the Sony Xperia E3
Contributors
infus38, rmnhg
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Current Stable Version: V4.1
Stable Release Date: 2020-02-14
Created 2018-03-23
Last Updated 2020-02-14
Last edited: