Language: Русский English

Unofficial firmwares LineageOS for Sony Xperia M2

Here are unofficial builds LineageOS 14.1 (Android Nougat) and LineageOS 15.1 (Android Oreo) for Sony Xperia M2 (D2303 LTE, D2302 Dual, D2403 Aqua).

The firmware did not pass a long test, there may be a variety of new bugs…

Your warranty is now void! You use these firmware at your own risk, there are no guarantees. Theoretically, the phone can be damaged.
All questions and discussions write on the forum 4pda or forum XDA.

Known bugs, that have not yet been fixed


Changelog, Downloads LineageOS for Sony M2


Work on LineageOS for Sony M2 is not stopped, the builds will be published as security updates are released (usually once a month, in middle of month).

Changelog LineageOS 15.1 (Android 8.1 Oreo)
2019.05.16 lineage-15.1-20190516-UNOFFICIAL-eagle.zip - 341mb md5: bc8ed9d7f2fe37a8448dedbf7ada982e
  • In driver Wi-Fi enabled BondingMode (included WCNSS_qcom_cfg.ini with settings).
  • Implemented the ability to reboot into recovery.
  • Increased rear microphone sensitivity (camcorder is now well hears,
    for voice recorders - use RecForge-II with a choice of rear microphone).
  • Various changes in zRAM and swap (theoretically multitasking would be better).
  • Various changes in driver i2c (sensors will probably stop hanging).
  • Source LineageOS updated to 2019-05-16, security update from 5 May 2019.
2019.04.08 lineage-15.1-20190408-UNOFFICIAL-eagle.zip - 341mb md5: 2ed61cd94eccf7d669f83ce1e3e2b812
  • The function of recording a conversation is unlocked and is now available in the dialer.
  • Minor changes and optimizations in build configurations, temporarily added debug of i2c in dmesg.
  • Source LineageOS updated to 2019-04-08, security update from 5 April 2019.
2019.03.12 lineage-15.1-20190311-UNOFFICIAL-eagle.zip - 340mb md5: 64402d99d177b345c98226cbaabb7caf
  • Source LineageOS updated to 2019-03-11, security update from Mart 2019.
2019.02.28 lineage-15.1-20190228-UNOFFICIAL-eagle.zip - 340mb md5: 450ff29d3acc9e195742e9e0aa5298b3
  • Fixed problems with the video camera, built-in video camera works fine (video does not twitch, FullHD work).
  • Fixed problems with XTRA/AGPS, searching and fixing satellites is now as fast as on stock firmware.
  • The built-in firewall is fixed and works (in older versions this leads to an error and a bootlap after a reboot).
  • Source LineageOS updated to 2019-02-28, security update from February 2019.

Changelog LineageOS 14.1 (Android 7.1.2 Nougat)
2019.05.21 lineage-14.1-20190521-UNOFFICIAL-eagle.zip - 318mb md5: 5b00875854395bbb3cccbb1a0a4ad494
  • Enabled BFQ by default (unification with Oreo builds).
  • Unified kernel from Oreo builds (Updated BFQ driver, etc).
  • In driver Wi-Fi enabled BondingMode (included WCNSS_qcom_cfg.ini with settings).
  • Implemented the ability to reboot into recovery.
  • Increased rear microphone sensitivity (camcorder is now well hears,
    for voice recorders - use RecForge-II with a choice of rear microphone).
  • Various changes in zRAM and swap (theoretically multitasking would be better).
  • Various changes in driver i2c (sensors will probably stop hanging).
  • Source LineageOS updated to 2019-05-20, security update from 5 May 2019.
2019.04.08 lineage-14.1-20190408-UNOFFICIAL-eagle.zip - 318mb md5: c3846ceb4b9dbc70fc1a669c859c012c
  • The function of recording a conversation is unlocked and is now available in the dialer.
  • Minor changes in build configurations.
  • Source LineageOS updated to 2019-04-08, security update from 5 April 2019.
2019.03.12 lineage-14.1-20190312-UNOFFICIAL-eagle.zip - 317mb md5: a1efab4b83be32a2c07e530089ff565d
  • Source LineageOS updated to 2019-03-11, security update from Mart 2019.
2019.02.28 lineage-14.1-20190228-UNOFFICIAL-eagle.zip - 317mb md5: 1529e75805d30e4a44e1a0764634c7c9
  • Update gps.conf.
  • Source LineageOS updated to 2019-02-28, security update from February 2019.

Changelog, Downloads TWRP-images for Sony M2


Image recovery.img flash to Recovery-partition.

Changelog TWRP
3.3.0-2019.04.21 TWRP-eagle-20190421.rar - 14mb
  • Cleanup configs.
  • Various updates TWRP components.
3.2.3
  • Remove SuperSU from TWRP.
  • Support both md5 and md5sum file for ZIP files.
3.2.2
  • ADB backup fixes.
  • Minor tweaks to handling date/time on Qualcomm devices.

Quick Installation Guide


What is the difference between different Android firmware?

I installed and compared many different firmware - LineageOS (ex CyanogenMod), AEX (AOSP Extended), Resurrection Remix, Pixel, AOKP, AICP, dotOS, crDroid, Candy, XenonHD, MoKee and others.

LineageOS is one of the most popular firmware, regularly updated, but there are almost no additional configuration options - almost pure Android.
dotOS, Pixel, MoKee - do not have additional settings, different pre-designed themes.
In other firmware (AEX, AOKP, AICP, Resurrection Remix, XenonHD, etc.) there is a section of advanced settings, their composition is about the same for all. For example, you can include the output of the date and day of the week in the status bar near the clock. Configure traffic indicator. Adjust the battery indicator. In the menu of the latest applications show the occupied RAM. Configure the lock screen, disable the quick settings there. Customize the quick settings panel (size and number of icons, captions). And much more, only about a hundred of these options.

From the compared firmware, the maximum number of additional settings in the AICP and Resurrection Remix.

But almost all custom firmwares (except LineageOS) have a short support period, and in the spring of 2019 the compilation AICP and Resurrection Remix based on Oreo became impossible. Because parts inherited from AOSP have changed and become incompatible with old versions of AICP and RR, but the authors of AICP and RR did not update their Oreo firmware for new AOSP sources (they make firmware only for the latest versions - Pie). So regular builds of AICP-Oreo and RR-Oreo for Sony M2 are not expected. Although, AICP-Oreo builds will probably still be.

Firmwares Carbon and Omni - very different from the others, build on existing source config for M2 - they don't work…

LineageOS has a long term support, even KitKat update (as of 2019).


Changelog AICP 13.1 (Android 8.1 Oreo)
2019.05.21 aicp_eagle_o-13.1-UNOFFICIAL-20190520.zip - 345mb md5: f1b8e77d02c1cec54db25c6f371d06cb
  • In driver Wi-Fi enabled BondingMode (included WCNSS_qcom_cfg.ini with settings).
  • Implemented the ability to reboot into recovery.
  • Increased rear microphone sensitivity (camcorder is now well hears,
    for voice recorders - use RecForge-II with a choice of rear microphone).
  • Various changes in zRAM and swap (theoretically multitasking would be better).
  • Various changes in driver i2c (sensors will probably stop hanging).
  • The function of recording a conversation is unlocked and is now available in the dialer.
  • Minor changes and optimizations in build configurations.
  • Source AICP updated to 2019-05-20, security update from 5 May 2019.
2019.03.02 aicp_eagle_o-13.1-UNOFFICIAL-20190302.zip - 343mb md5: ea87a2081f8fbc8cdc9847ff0becd17f
  • Fixed problems with XTRA/AGPS, searching and fixing satellites is now as fast as on stock firmware.
  • Source AICP updated to 2019-03-02, security update from February 2019.


Changelog Resurrection Remix 6 (Android 8.1 Oreo)
2019.03.04 RR-O-v6.2.1-20190304-eagle-Unofficial.zip - 343мб md5: c8acd51578381fa85ae669a4c797edf5
  • Fixed problems with the video camera, built-in video camera works fine (video does not twitch, FullHD work).
  • Fixed problems with XTRA/AGPS, searching and fixing satellites is now as fast as on stock firmware.
  • The built-in firewall is fixed and works (in older versions this leads to an error and a bootlap after a reboot).
  • Source Resurrection Remix updated to 2019-03-04, security update from December 2018.

Sources unofficial firmwares for Sony Xperia M2

All builds is based on the sources from XDA - from galaxyfreak, Konstantinosj77, sgspluss, from July 2018.

Build LineageOS 15.1 Oreo 8.1
https://github.com/LineageOS/android -b lineage-15.1
https://github.com/f2065/android_kernel_sony_msm8226 -b lineage-all kernel/sony/msm8226
https://github.com/f2065/device-sony-eagle -b lineage-15.1 device/sony/eagle
https://github.com/f2065/device-sony-yukon -b lineage-15.1 device/sony/yukon
https://github.com/f2065/vendor-yukon -b lineage-15.1 vendor/sony
https://github.com/LineageOS/android_device_sony_common -b lineage-15.1 device/sony/common
https://github.com/LineageOS/android_external_sony_boringssl-compat -b lineage-15.1 external/sony/boringssl-compat
https://github.com/LineageOS/android_hardware_sony_timekeep -b lineage-15.1 hardware/sony/timekeep
https://github.com/LineageOS/android_device_qcom_common -b lineage-15.1 device/qcom/common
https://github.com/f2065/android_hardware_qcom_gps -b lineage-15.1 hardware/qcom/gps

Build LineageOS 14.1 Nougat 7.1.2
https://github.com/LineageOS/android -b cm-14.1
https://github.com/f2065/android_kernel_sony_msm8226 -b cm-14.1 kernel/sony/msm8226
https://github.com/f2065/device-sony-eagle -b cm-14.1 device/sony/eagle
https://github.com/f2065/device-sony-yukon -b cm-14.1 device/sony/yukon
https://github.com/f2065/vendor-yukon.git -b cm-14.1 vendor/sony
https://github.com/LineageOS/android_device_sony_common -b cm-14.1 device/sony/common
https://github.com/LineageOS/android_external_sony_boringssl-compat -b cm-14.1 external/sony/boringssl-compat
https://github.com/LineageOS/android_hardware_sony_timekeep -b cm-14.1 hardware/sony/timekeep
https://github.com/LineageOS/android_device_qcom_common -b cm-14.1 device/qcom/common

Build TWRP
https://github.com/f2065/platform_manifest_twrp_lineageos -b twrp-14.1
https://github.com/f2065/android_kernel_sony_msm8226 -b cm-14.1 kernel/sony/msm8226
https://github.com/f2065/device-sony-eagle -b cm-14.1-twrp device/sony/eagle
https://github.com/f2065/device-sony-yukon -b cm-14.1 device/sony/yukon
https://github.com/f2065/vendor-yukon -b cm-14.1 vendor/sony
https://github.com/LineageOS/android_device_qcom_common -b cm-14.1 device/qcom/common

Build AICP 13.1 Oreo 8.1
https://github.com/AICP/platform_manifest -b o8.1
https://github.com/f2065/android_kernel_sony_msm8226 -b lineage-15.1 kernel/sony/msm8226
https://github.com/f2065/device-sony-eagle -b aicp-13.1 device/sony/eagle
https://github.com/f2065/device-sony-yukon -b lineage-15.1 device/sony/yukon
https://github.com/f2065/vendor-yukon -b lineage-15.1 vendor/sony
https://github.com/LineageOS/android_external_sony_boringssl-compat -b lineage-15.1 external/sony/boringssl-compat
https://github.com/LineageOS/android_hardware_sony_timekeep -b lineage-15.1 hardware/sony/timekeep
https://github.com/LineageOS/android_device_qcom_common -b lineage-15.1 device/qcom/common
https://github.com/f2065/android_hardware_qcom_gps -b lineage-15.1 hardware/qcom/gps

Build Resurrection Remix 6 Oreo 8.1
https://github.com/ResurrectionRemix/platform_manifest -b oreo
https://github.com/f2065/android_kernel_sony_msm8226 -b lineage-15.1 kernel/sony/msm8226
https://github.com/f2065/device-sony-eagle -b rr-oreo device/sony/eagle
https://github.com/f2065/device-sony-yukon -b rr-oreo device/sony/yukon
https://github.com/f2065/vendor-yukon -b lineage-15.1 vendor/sony
https://github.com/LineageOS/android_external_sony_boringssl-compat -b lineage-15.1 external/sony/boringssl-compat
https://github.com/LineageOS/android_hardware_sony_timekeep -b lineage-15.1 hardware/sony/timekeep
https://github.com/LineageOS/android_device_qcom_common -b lineage-15.1 device/qcom/common
https://github.com/f2065/android_hardware_qcom_gps -b lineage-15.1 hardware/qcom/gps