• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

rkla

New member
Jun 18, 2021
2
0
with LOS15.1 on D2303 I noticed that WiFi is sometimes lost and the network that I was connected to is not detected anymore. A restart is required to fix it.

Did anyone report such issue before? Maybe it is also not related to the OS
 

matjon

New member
Oct 13, 2020
1
0
Hello,

Lots of thanks to f2065 for developing this firmware!

In the "known bugs" section on the firmware webpage it is written:
Filesystem encryption does not work – it is impossible to encrypt the storage/microSD.
There are two ways storage may be encrypted on Android: "file-based encryption" (files are encrypted on the filesystem layer) and "full-disk encryption" (the whole Linux block device is encrypted). Does this note mean that only "file-based encryption" does not work and "full-disk disk encryption" functions correctly? Or is it that both are unusable? If the latter, is it possible to make this work using adb / command line / etc?

I tried to take log as you while in bootloop said, but adb couldnt find my device during boot
So I couldnt take the log
Maybe something like this will work:
Code:
adb wait-for-device; adb logcat
adb will wait for the device to be available and then instantly run logcat after getting connection to it.
 

f2065

Senior Member
Sep 5, 2007
216
116
Moscow
f2065.ru
with LOS15.1 on D2303 I noticed that WiFi is sometimes lost and the network that I was connected to is not detected anymore. A restart is required to fix it.
I don't have such a problem. Therefore, I cannot fix this.
Maybe this is due to regional restrictions on channels 11-14. Maybe some of your applications do it. There may be an incompatibility with the router. Maybe with Bluetooth (they are interconnected in the system).
You need to look for the reason in the logcat.


Does this note mean that only "file-based encryption" does not work and "full-disk disk encryption" functions correctly?
The standard device encryption feature does not work.
Settings – Security & privacy – Encryption & credentials – Encrypt phone…
The process starts, requires a reboot, after reboot nothing happens.
I have not investigated this problem, maybe there is some simple and obvious solution, but so far there are more significant problems (there are plans to change the kernel, and there will immediately be a completely different list of bugs).
If encryption works, it must be connected to TWRP… And with adoptable storage in TWRP…
 
  • Like
Reactions: rkla

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.06.18
    • Source LineageOS updated to 2021-06-18, security update from 5 June 2021.
    2021.05.16
    • Source LineageOS updated to 2021-05-16, security update from 5 May 2021.
    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-06-18

    Created 2019-04-09
    Last Updated 2021-06-18
    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…