[ROM][UNOFFICIAL][8.1] LineageOS 15.1, AICP | Development & Discussion | 2021.04.15

Search This thread

f2065

Senior Member
Sep 5, 2007
214
115
Moscow
f2065.ru
Unofficial build of LineageOS 15.1 (Android 8.1 Oreo) and AICP 13.1 (Android 8.1 Oreo) for the Sony Xperia M2 (eagle).

Disclaimer
Your warranty is now void!
You will be doing everything at your own risk.
I am not responsible for bricked or damaged devices.

Download
https://f2065.ru/android/Android_M2_en.htm

Changelog
2021.04.15
  • Source LineageOS updated to 2021-04-15, security update from 5 April 2021.
2021.03.08
  • Source LineageOS updated to 2021-03-08, security update from 5 Mart 2021.
2021.02.17
  • Source LineageOS updated to 2021-02-17, security update from 5 February 2021.
2021.01.18
  • For M2 Dual (D2302) – fixed the ability to disable the second SIM in the Settings.
  • Source LineageOS updated to 2021-01-18, security update from 5 January 2021.
2020.12.22
  • Source LineageOS updated to 2020-12-22, security update from 5 December 2020.
2020.11.15
  • Source LineageOS updated to 2020-11-15, security update from 5 November 2020.
2020.10.11
  • Source LineageOS updated to 2020-10-11, security update from 5 October 2020.
2020.09.30
  • Source LineageOS updated to 2020-09-30, security update from 5 September 2020.
  • Minor kernel changes.
2020.08.23
  • Source LineageOS updated to 2020-08-23, security update from 5 August 2020.
2020.07.23
  • Source LineageOS updated to 2020-07-23, security update from 5 Jule 2020.
2020.06.10
  • Source LineageOS updated to 2020-06-10, security update from 5 June 2020.
2020.05.25
  • Optimization of memory settings for system services by analogy with Android Go.
  • Minor kernel changes.
  • Source LineageOS updated to 2020-05-25, security update from 5 May 2020.
2020.05.01
  • Source LineageOS updated to 2020-05-01, security update from 5 April 2020.
2020.03.10
  • Source LineageOS updated to 2020-03-10, security update from 5 Mart 2020.
2020.02.11
  • Source LineageOS updated to 2020-02-11, security update from 5 February 2020.
2020.01.23
  • Source LineageOS updated to 2020-01-23, security update from 5 January 2020.
2019.12.12
  • Source LineageOS updated to 2019-12-12, security update from 5 December 2019.
2019.11.17
  • Source AICP updated to 2019-11-27, security update from 5 November 2019.
2019.11.17
  • Minor kernel changes.
  • Source LineageOS updated to 2019-11-17, security update from 5 November 2019.
2019.10.17
  • Source LineageOS updated to 2019-10-17, security update from 5 October 2019.
  • SDCardFS kernel driver.
  • Several hundred kernel commits (migrated from other kernels for msm8226, msm8960t, msm8916, msm8974).
2019.08.15
  • Sources AICP and LineageOS updated to 2019-08-15, security update from 5 August 2019.
2019.07.10
  • Experimental build – Android Go configuration (faster and more responsive, but less beautiful, and some have problems with notifications from the messengers).
2019.07.10
  • Sources AICP and LineageOS updated to 2019-07-10, security update from 5 Jule 2019.
2019.06.16
  • Adaptive LMK.
  • Several hundred kernel commits (migrated from other kernels for msm8226, msm8960t, msm8916).
  • Source LineageOS updated to 2019-06-16, security update from 5 June 2019.
2019.05.21
  • Build AICP (Source AICP updated to 2019-05-21, security update from 5 May 2019).
2019.05.16
  • 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
  • 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
  • Source LineageOS updated to 2019-03-11, security update from Mart 2019.
2019.02.28
  • 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.


XDA:DevDB Information
LineageOS 15.1 (and AICP) for Sony Xperia M2, ROM for the Sony Xperia M2

Contributors
f2065, galaxyfreak, Konstantinosj77, sgspluss
Source Code: https://github.com/f2065

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Based On: LineageOS

Version Information
Status:
Beta
Beta Release Date: 2021-04-15

Created 2019-04-09
Last Updated 2021-04-15
 
Last edited:

JuniorCaesar

Senior Member
Mar 22, 2014
723
354
Ankara
i am daily using my eagle to see how he handles light usage on this rom, and it is pretty good. there are visual lags when you switch between apps or launching apps (thats totally expected from 5 year old mid tier (now low-tier) phone, running new version of android). i have one problem though, and it happened on previous builds of 15.1 too, after some time equalizer kills itself and i can't get it work until i reboot the phone. also sometimes my phone ignores my sim card (popping it out and inserting it solves this), also this happened on 7.1.2 roms.


overall, i can say it is usable, you can enable android go mode if you want, it improves performance a lil bit. but i suggest 14.1 as it performs better compared to oreo. also do not flash gapps on this little fella it can't handle it lol


thank you for providing updates for our eagle :) do not let dis guy die

edit: using airplane mode overnight causes "No Service" issue
 
Last edited:

mantazzo

Senior Member
Feb 3, 2015
204
53
Pakruojis
First of all, thanks for keeping the device updated. It means a lot :)

Anyway. Right now I have installed your AICP build and I want to report everything working well so far, performance is decent even with nano gapps, no major glitches or hiccups. Magisk also works as it should, though if you want to update/install something you need Magisk Hide disabled, but after installing you can just re-enable it safely. I would say this works even better than RR, but then again, some very advanced settings might be missing.

(Also sorry for posting the stuff here, since there was no dedicated topic for that ROM, I guess it is okay to post some stuff here?)

Sent from my Xperia M2 Aqua using XDA Labs
 

f2065

Senior Member
Sep 5, 2007
214
115
Moscow
f2065.ru
since there was no dedicated topic for that ROM, I guess it is okay to post some stuff here?)
They have the same source, so all the bugs and changes in LOS 15.1 and AICP 13.1 are the same.
AICP continued to update the old Oreo, I think that in may-2019 (after the Android Security Update is done, usually by the middle of the month) we will have a new AICP-Oreo build along with LOS-Oreo.
But the RR-Oreo is not updated.
 

JORGETECH

Member
May 23, 2016
18
8
They have the same source, so all the bugs and changes in LOS 15.1 and AICP 13.1 are the same.
AICP continued to update the old Oreo, I think that in may-2019 (after the Android Security Update is done, usually by the middle of the month) we will have a new AICP-Oreo build along with LOS-Oreo.
But the RR-Oreo is not updated.

It's a pity RR is not updated, I use it as a daily driver and I love it.

Thanks for maintaining the device
 

JORGETECH

Member
May 23, 2016
18
8
What are the advantages of RR over AICP?
AICP has about the same large part of additional options.

Oh, if it has the same or more features then I don't care

EDIT: Is the I2C bug serious enough for being a reason not to upgrade to Oreo in this moment?
 
Last edited:

NieeLz

Senior Member
Sep 27, 2013
171
12
23
Jakarta
www.isiprinter.com
My honest review : This ROM have really good battery life, almost 24 hours still on. but when im using it for daily driver for opening apps its really slow, changing one app to other app slow too, i cant tell why. but i really appriciate the job, no bug, almost stable, but real annoying loading apps
 

f2065

Senior Member
Sep 5, 2007
214
115
Moscow
f2065.ru
but real annoying loading apps
It depends on the programs used (and installed!). Some users complain about this.
Sometimes cleaning up the Recent App helps.

The solution is to use Android 8.1 Go mode, there is no such problem there. But there are other problems there ... Probably in July-2019 there will be a public build in Android Go mode.

According to the Google specification for 1GB of RAM, it should be Android 8.1 Go mode.
But it looks ugly (lag scrolling in web browsers, It lacks some features, background tasks work more rarely)…

Upd:
You can try to change in build.prop dalvik.vm.heapgrowthlimit. Instead of 96m, put 128m.
It helps some.
 
Last edited:

JuniorCaesar

Senior Member
Mar 22, 2014
723
354
Ankara
also do not forget this phone falls into low-end segment nowadays so don't expect 1 second loading times. downgrading apps to their 2017-2018 versions can help.

AND do not use gapps, use microg instead or ditch google stuff altogether
 

mantazzo

Senior Member
Feb 3, 2015
204
53
Pakruojis
Huh, I don't know tbf what are you expecting from this phone, which is now 5 years old, originally. I think first of all we should be thankful to the devs who worked with this device, so that we now have Oreo still running on this phone.
Anyway, regarding my experience - still good so far. I'm currently using AICP May release, and everything works good so far, speed is very much acceptable for a device this old, and since it's still my main phone it's daily usage is nice (nowadays mostly Messenger Lite stuff, but also occasional Snapchating, but else mostly Reddit-Twitter-Browsing or taking pictures/videos).
Though not sure why or how, but I think my Reboot to Recovery broke - it worked after fresh install once or twice after I tried, but now if I try phone restarts, phone tries to enter recovery, but only led flashes orange (mostly orange), then it restarts again to normal. Strange.
And yeah, Magisk 19.3 still works, just need to disable MagiskHide if you want to install/update apps and restart after that. It does work with it enabled also if you don't plan to update apps for a bit.

Edit: Fixed a few typos.

Sent from my Xperia M2 Aqua using XDA Labs
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    Unofficial build of LineageOS 15.1 (Android 8.1 Oreo) and AICP 13.1 (Android 8.1 Oreo) for the Sony Xperia M2 (eagle).

    Disclaimer
    Your warranty is now void!
    You will be doing everything at your own risk.
    I am not responsible for bricked or damaged devices.

    Download
    https://f2065.ru/android/Android_M2_en.htm

    Changelog
    2021.04.15
    • Source LineageOS updated to 2021-04-15, security update from 5 April 2021.
    2021.03.08
    • Source LineageOS updated to 2021-03-08, security update from 5 Mart 2021.
    2021.02.17
    • Source LineageOS updated to 2021-02-17, security update from 5 February 2021.
    2021.01.18
    • For M2 Dual (D2302) – fixed the ability to disable the second SIM in the Settings.
    • Source LineageOS updated to 2021-01-18, security update from 5 January 2021.
    2020.12.22
    • Source LineageOS updated to 2020-12-22, security update from 5 December 2020.
    2020.11.15
    • Source LineageOS updated to 2020-11-15, security update from 5 November 2020.
    2020.10.11
    • Source LineageOS updated to 2020-10-11, security update from 5 October 2020.
    2020.09.30
    • Source LineageOS updated to 2020-09-30, security update from 5 September 2020.
    • Minor kernel changes.
    2020.08.23
    • Source LineageOS updated to 2020-08-23, security update from 5 August 2020.
    2020.07.23
    • Source LineageOS updated to 2020-07-23, security update from 5 Jule 2020.
    2020.06.10
    • Source LineageOS updated to 2020-06-10, security update from 5 June 2020.
    2020.05.25
    • Optimization of memory settings for system services by analogy with Android Go.
    • Minor kernel changes.
    • Source LineageOS updated to 2020-05-25, security update from 5 May 2020.
    2020.05.01
    • Source LineageOS updated to 2020-05-01, security update from 5 April 2020.
    2020.03.10
    • Source LineageOS updated to 2020-03-10, security update from 5 Mart 2020.
    2020.02.11
    • Source LineageOS updated to 2020-02-11, security update from 5 February 2020.
    2020.01.23
    • Source LineageOS updated to 2020-01-23, security update from 5 January 2020.
    2019.12.12
    • Source LineageOS updated to 2019-12-12, security update from 5 December 2019.
    2019.11.17
    • Source AICP updated to 2019-11-27, security update from 5 November 2019.
    2019.11.17
    • Minor kernel changes.
    • Source LineageOS updated to 2019-11-17, security update from 5 November 2019.
    2019.10.17
    • Source LineageOS updated to 2019-10-17, security update from 5 October 2019.
    • SDCardFS kernel driver.
    • Several hundred kernel commits (migrated from other kernels for msm8226, msm8960t, msm8916, msm8974).
    2019.08.15
    • Sources AICP and LineageOS updated to 2019-08-15, security update from 5 August 2019.
    2019.07.10
    • Experimental build – Android Go configuration (faster and more responsive, but less beautiful, and some have problems with notifications from the messengers).
    2019.07.10
    • Sources AICP and LineageOS updated to 2019-07-10, security update from 5 Jule 2019.
    2019.06.16
    • Adaptive LMK.
    • Several hundred kernel commits (migrated from other kernels for msm8226, msm8960t, msm8916).
    • Source LineageOS updated to 2019-06-16, security update from 5 June 2019.
    2019.05.21
    • Build AICP (Source AICP updated to 2019-05-21, security update from 5 May 2019).
    2019.05.16
    • 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
    • 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
    • Source LineageOS updated to 2019-03-11, security update from Mart 2019.
    2019.02.28
    • 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.


    XDA:DevDB Information
    LineageOS 15.1 (and AICP) for Sony Xperia M2, ROM for the Sony Xperia M2

    Contributors
    f2065, galaxyfreak, Konstantinosj77, sgspluss
    Source Code: https://github.com/f2065

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.4.x
    Based On: LineageOS

    Version Information
    Status:
    Beta
    Beta Release Date: 2021-04-15

    Created 2019-04-09
    Last Updated 2021-04-15
    4
    New build LineageOS 15.1 published.
    4
    LineageOS 15.1 build 2019-06-16 released:
    Numerous kernel fixes, and LMK reconfigured. The kernel has become better.
    The kernel fixed bugs due to which the Android Go mode worked incorrectly earlier. Android Go is not included in these builds, but now you can enable it.
    3
    New build LineageOS 15.1 published.
    Returned SDCardFS. It was a very long time ago, but in those days because of it there were errors with microSD and they refused SDCardFS (they used FUSE). Now I imported the latest version of SDCardFS, checked for 2 weeks - I did not find any bugs with microSD.


    Does anyone have unexpected reboots (on any previous versions of LineageOS) - once every few days?
    It has always been with me (both in my builds and in old builds of other authors). Now I began to investigate - the reason is the overflow of the sensor buffer. The place of the fall is in the LineageOS source. But the root cause is most likely in our sensor drivers, or in multihal ...
    We need to find patterns - on which revisions of M2 there is this problem.

    Crash log is saved in /data/system/dropbox…
    pid: 922, tid: 3000, name: SensorService >>> system_server <<<
    signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x9d180000
    r0 9d17fe50 r1 9d17fff0 r2 fffb89c8 r3 00000000

    backtrace:
    #00 pc 00018f04 /system/lib/libc.so (memcpy+168)
    #01 pc 0000f431 /system/lib/libsensorservice.so (android::SensorService::SensorEventConnection::sendEvents(sensors_event_t const*, unsigned int, sensors_event_t*, android::wp<android::SensorService::SensorEventConnection const> const*)+448)

    This place is in frameworks/native/services/sensorservice/SensorEventConnection.cpp - android::SensorService::SensorEventConnection::sendEvents на memmove(mEventCache, &mEventCache[numEventsDropped], (mCacheSize - numEventsDropped) * sizeof(sensors_event_t));

    int numEventsDropped = count - remaningCacheSize;
    countFlushCompleteEventsLocked(mEventCache, numEventsDropped);
    // Drop the first "numEventsDropped" in the cache.
    memmove(mEventCache, &mEventCache[numEventsDropped], (mCacheSize - numEventsDropped) * sizeof(sensors_event_t));
    Crash in memmove (memcpy - called inside memmove), due to going out of the segment (i.e. the queue size is incorrect).
    3
    no pie for this phone?
    There were experimental builds of LOS16, it works on M2 but there are minor bugs.
    I don’t have enough space to build LOS16, I need to remove two other builds (LOS14, LOS15, AICP) to build LOS16.
    LOS17 can also be builded, from neighboring (older and low-power models) it was builded…
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone