• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][STABLE][10] LineageOS 17.1 for Xperia SP

Search This thread

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,959
Île-de-France
adriandc.github.io

2okPze5.png


Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android,​
which is designed to increase performance and reliability over stock Android for your device.​
All the source code for LineageOS is available in the LineageOS GitHub repo.​
And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.​
Official LineageOS website : http://lineageos.org

Downloads Links
LineageOS 17.1 (Unlocked Bootloader) :
Xperia SP (Huashan) - Development : https://mega.nz/folder/r11xAbSL#Lwt5FOvHpV1POu_3OHU6Uw
Google Applications (optional) :
OpenGApps : https://opengapps.org (Use packages for ARM, Android 10.0, pico)​
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.​
Recommended Recovery (optional) :
Disable the default Low-RAM features (optional) :
Low-RAM Property Patcher : http://forum.xda-developers.com/-/-t3737373
Tools required for bootimage patches such as root :
Informations and references :
About LineageOS updates : ChangeLog available on https://download.lineageos.org/huashan/changes/
About LineageOS device side : See my GitHub trees linked below​

Flashing and updating
LineageOS clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool​
- (Optional) Install TWRP Recovery to the FOTA partition (Read the TWRP thread)​
- (Optional) Wipe the data & cache (Backup to make sure not to lose data)​
- Flash the LineageOS ROM zip from recovery​
- (Optional) Flash a GApps package to have the Google Applications​
- (Optional) Every additional zip you want to flash​
- Reboot​
LineageOS update / upgrade :
- (Warning) Do not update / upgrade between OFFICIAL and UNOFFICIAL builds​
- (Information) Do not wipe anything unless you want to​
- Flash the latest LineageOS ROM zip from recovery​
- (Optional) Flash a GApps package on first install / upgrade. Not required later, but do update sometimes​
- (Optional) Every additional zip you want to flash​
- Reboot​

About the builds

Issues and reports
- Report issues only if you use the ROM original kernel
- If an additional mod is installed, make sure it is unrelated, and mention it
- Make sure the issue was not discussed earlier in the thread
- Acquire ADB logcat logs to a file : how-to-take-logs-in-android
- If the device crashed and rebooted, retrieve this file from the device : /proc/last_kmsg
- Use Permissive Kernel Patcher and share logcat logs if it solves issues

Legal
About LineageOS Legal : http://lineageos.org/legal/
The LineageOS team would like to thank everyone involved
in helping with testing, coding, debugging & documenting! Enjoy!

LineageOS available for Xperia SP also thanks to :
- Google AOSP​
- The LineageOS Team​
- Arne (arco68)​
- Everyone involved in working and testing​

XDA:DevDB Information
LineageOS 17.1, ROM for the Sony Xperia SP

Contributors
AdrianDC

Version Information
ROM OS Version: Android 10
ROM Kernel: Linux 3.4.x
Status: Stable
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,959
Île-de-France
adriandc.github.io
ALSO WORKING ON SONY HUASHAN
  • YouTube Presentation :


IMPORTANT FEATURES TO KNOW
  • Boot sequence : Once the LEDs light up :
    - Press Volume - to open LineageOS Recovery,
    - Press Volume + to open the FOTA recovery (TWRP usually) if available
  • Powered-off alarm : When you have set an alarm
    - If you power down the device, it will wake automatically 5 minutes before
    - If you let the device charge offline, it will automatically reboot 5 minutes before
  • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
  • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,959
Île-de-France
adriandc.github.io
FEATURES AND ISSUES
Code:
Boot                       : Ok
GApps                      : Ok (OpenGApps Pico recommended)
Partitions (Data, Cache)   : Ok
Bluetooth                  : Ok
WiFi                       : Ok
WiFi Hotspot               : Ok
RIL - Phone - Data         : Ok
GPS                        : Ok
Camera                     : Ok
Camcorder                  : Ok
Lights                     : Ok
MicroSD                    : Ok
Accelerometer              : Ok
Compass                    : Ok
Gyroscope                  : Ok
AOSP sensors               : Ok
Touchscreen                : Ok
FM Radio                   : Ok
Vibrator                   : Ok
Microphone                 : Ok
Audio & music              : Ok
Bluetooth audio            : Ok
Video playback             : Ok
NFC                        : Ok
Kernel                     : Ok
Graphics                   : Ok
3D Rendering               : Ok
Clock                      : Ok
DRM                        : Ok
Offline Charging           : Ok
USB                        : Ok
USB OTG                    : Ok
Encryption                 : Ok
SEPolicies                 : Ok (Enforced)
Kernel CVE                 : Partially outdated (ToDo)
Root                       : Ok (with ADB, supported with Magisk + BootBridge)
TWRP                       : Ok (TWRP 3.5.0 recommended, system restore may need a ROM reflash due to a TWRP internal issue)

CHANGELOG
Code:
Future release:
  - Kernel CVEs updates to check

28/12/2020:
  - Update release on Security level 2020-12-05

25/10/2020:
  - Update release on Security level 2020-10-05

20/09/2020:
  - Upgrade release on Security level 2020-09-05 (android-10.0.0_r46 August)
  - Back gesture navigation with keyboard swipe conflicts resolved (topic:ten-back-gesture-go)

30/08/2020:
  - Multiple kernel optimizations and debugging features cleanups (thanks Tomoms)
  - Previously patched SEPolicies included and now considered stable

27/08/2020:
  - Patch regarding SEPolicies for FM Radio support (extends the 26/08/2020 patch)

26/08/2020:
  - Patch regarding SEPolicies for FM Radio support and sensors detection

23/08/2020:
  - Migration to userspace Low Memory Killer daemon (LMKD) instead of the old kernel LMK
  - Massive kernel updates against upstream, especially LZ4 and ZRAM (257 commits)
  - Additional SEPolicies updates

20/08/2020:
  - Updates to enforced SEPolicies
  - Actionbar previous button in DeviceSettings fixed
  - High Touch Sensitivity (Glove mode) reimplemented in display settings

19/08/2020:
  - Enforced SEPolicies security with all rules refactored and cleaned up,
    if anything looks "blocked", please report with ADB logs

16/08/2020:
  - GPS legacy support fixed

15/08/2020:
  - Video playback fixed
  - ZRAM 768MB reenabled
  - Bootimage support for Magisk
  - RIL updates
  - Minor lights selection fix

13/08/2020:
  - Initial public release on Android 10.0.0_r41 June

11/08/2020:
  - Initial beta testers release on Android 10.0.0_r41 June

2019 - 2020:
  - Initial AOSP 10 / LineageOS 17.0 / 17.1 ports
  - Internal bringup
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,959
Île-de-France
adriandc.github.io
A new release 19/08/2020 is available :
  • Enforced SEPolicies security with all rules refactored and cleaned up (if anything looks "blocked", please report with ADB logs)
Huashan should be fine, everything looks to be working fine right now with the enforced security.
Please PM me ADB logs if you see anything not working / behaving as it should and explain what you did.
 

NyQuilXT

Senior Member
Jan 15, 2016
180
353
Hi AdrianDC,

first of all a BIG THANK YOU for putting so much effort in bringing LOS 17.1 to our good old huashan. I'm still running several devices and really appreciate to have LOS 17.1 on them. now..
Overall, it looks / runs really really good - so: :good: THUMBS UP :good:

One little thing I noticed: The upper left "back arrow" of the "Lights effects" settings menu does not work (which did on LOS 16.0) ... only standard android back button functionality does. I'll try to grab some logs, but maybe you can reproduce it yourself..

But again: Thank you for all the work you put into LOS 17.1 for huashan

NyQuilXT :)
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,959
Île-de-France
adriandc.github.io
One little thing I noticed: The upper left "back arrow" of the "Lights effects" settings menu does not work (which did on LOS 16.0) ... only standard android back button functionality does. I'll try to grab some logs, but maybe you can reproduce it yourself..

You're correct, it broke due to the refactoring of our DeviceSettings against Android 10 changes.
The back feature was not handled by the new activity.

Please try this patch on top of the latest release and let me know if it's fine for you too.
 

Attachments

  • lineage_huashan-DeviceSettings.apk-20200819-1318.zip
    2.6 MB · Views: 24

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,959
Île-de-France
adriandc.github.io
Yep, it's working now! Thanks a lot!

Good news.

This also made me notice Huashan was missing it's LineageOS High Touch Sensitivity option in displays,
(my DeviceSettings specific Glove setting activity was meant only for AOSP support, the service is common though),
this is now reimplemented for LineageOS and will be there in the next release.
 

NyQuilXT

Senior Member
Jan 15, 2016
180
353
After some testing, i must say: this release really kicks ass! I'm really amazed, how fast my devices now performs...Even the one, which suffers the "write amplification effect", is running much better now. Adrian, you are sooo awesome! I'm deeply impressed by the effort, you put into the development for this device! I cannot say that often enough!!!
 

Aequita

Member
Nov 21, 2018
24
4
Wow, I did not expect to find a 17.1 build for a device that old.
Good job!

As I'm using my Xperia SP basically 99% just as a backup for my 2FAs and stock-ROM does not support Google Authenticator 5.10 which introduced the "Transfer codes"-function, I'm very much looking forward to update.
But as I run into troubles with the camera-support of 17.1 on my Samsung Galaxy Tab 4 (bad resolution, couldn't read the big QR-Code) I want to shoot up a question before doing so:
Is the camera-support good enough to read complex/big QR-Codes?

Thanks in advance for any report on one's experiences!
Aequita
 
  • Like
Reactions: AdrianDC

Jadimo

Senior Member
Dec 31, 2014
71
43
After running the 20.08 and 23.08 builds for a bit i must say that they feel realy nice in daily usage :)

I've stumbled on a few minor things comparing to lineageOS 15,1 from which i updated:
- FM radio doesn't work, it displays a toast saying "currently unavailable" (log fragment from pressing play button below)
Code:
08-25 18:25:40.922  4384  4409 I android_hardware_fm: TurnOn, [freq=100]
08-25 18:25:40.922  4384  4409 I android_hardware_fm: Pwr_Up,[freq=100000]
08-25 18:25:40.922  4384  4409 D android_hardware_fm: BT soc is ''
08-25 18:25:40.922  4384  4409 D android_hardware_fm: open_dev, [fd=59]
08-25 18:25:40.922  4384  4409 D android_hardware_fm: Pwr_Up: cur_fm_state = 0
08-25 18:25:40.922  4384  4409 I android_hardware_fm: start_fm_patch_dl: start_fm_patch_dl = 59
08-25 18:25:40.922  4384  4409 D android_hardware_fm: start_fm_patch_dl: executed cmd
08-25 18:25:40.925  4384  4409 D android_hardware_fm: set versionStr done
08-25 18:25:40.927  4384  4409 D android_hardware_fm: set FM_MODE_PROP done
08-25 18:25:40.933  4384  4409 D android_hardware_fm: set FM_INIT_PROP done
08-25 18:25:41.042  4465  4465 I qcom-fm : /system/etc/init.qcom.fm.sh: In FM shell Script
08-25 18:25:41.092  4466  4466 I qcom-fm : /system/etc/init.qcom.fm.sh: mode: normal
08-25 18:25:41.120  4467  4467 I qcom-fm : /system/etc/init.qcom.fm.sh: Version : 199217
08-25 18:25:41.168  4468  4468 I qcom-fm : /system/etc/init.qcom.fm.sh: inserting the radio transport module
08-25 18:25:41.194  4469  4469 E libc    : Access denied finding property "ro.qualcomm.bt.hci_transport"
08-25 18:25:41.175  4469  4469 W fm_qsoc_patches: type=1400 audit(0.0:18): avc: denied { read } for name="u:object_r:bluetooth_prop:s0" dev="tmpfs" ino=6774 scontext=u:r:fm_dl:s0 tcontext=u:object_r:bluetooth_prop:s0 tclass=file permissive=0
08-25 18:25:41.223  4470  4470 E qcom-fm : /system/etc/init.qcom.fm.sh: FM QSoC firmware download and/or calibration failed: exit code 255
08-25 18:25:49.071   884   884 D ServiceStateProvider: subId=1
08-25 18:25:49.078   506   791 D AlarmManagerService: Kernel timezone updated to -120 minutes west of GMT
08-25 18:25:49.082  2248  2248 D CellBroadcastReceiver: onReceive Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 cmp=com.android.cellbroadcastreceiver/.CellBroadcastReceiver (has extras) }
08-25 18:25:49.990  4384  4409 E android_hardware_fm: FM patch downloader failed: -1
08-25 18:25:49.990  4384  4409 D android_hardware_fm: close_dev, [fd=-1] [ret=0]
08-25 18:25:49.990  4384  4409 D android_hardware_fm: TurnOn, [ret=-1]
08-25 18:25:49.993  4384  4384 D FmMainActivity: mHandler.handleMessage, what = 9,hashcode:150427765
08-25 18:25:49.993  4384  4384 D FmMainActivity: refreshStationUI, set station value null when it is first time
08-25 18:25:50.088  4384  4404 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
08-25 18:25:52.032   506   791 W NotificationService: Toast already killed. pkg=com.android.fmradio [email protected]
- it seems that the screen on/off animation is missing. There was a post in earlier lineageOS thread with details how to enable it, but i cant fing it :(

A major thing may be connected to phone deep sleep - i've had a situation after enabling the alarm, that it would ring only after lighting the screen up with power button. I will investigate this further as it does not happen every time.
Thanks again for the updates !
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,959
Île-de-France
adriandc.github.io
Wow, I did not expect to find a 17.1 build for a device that old.
Good job!

As I'm using my Xperia SP basically 99% just as a backup for my 2FAs and stock-ROM does not support Google Authenticator 5.10 which introduced the "Transfer codes"-function, I'm very much looking forward to update.
But as I run into troubles with the camera-support of 17.1 on my Samsung Galaxy Tab 4 (bad resolution, couldn't read the big QR-Code) I want to shoot up a question before doing so:
Is the camera-support good enough to read complex/big QR-Codes?

Thanks in advance for any report on one's experiences!
Aequita

I can scan simple or comple QR-Code properly here, can't tell much more though.

After running the 20.08 and 23.08 builds for a bit i must say that they feel realy nice in daily usage :)

I've stumbled on a few minor things comparing to lineageOS 15,1 from which i updated:
- FM radio doesn't work, it displays a toast saying "currently unavailable" (log fragment from pressing play button below)
- it seems that the screen on/off animation is missing. There was a post in earlier lineageOS thread with details how to enable it, but i cant fing it :(

A major thing may be connected to phone deep sleep - i've had a situation after enabling the alarm, that it would ring only after lighting the screen up with power button. I will investigate this further as it does not happen every time.
Thanks again for the updates !

Thanks for the report, FM Radio is now resolved with an incremental patch release for the 23/08/2020 release.
  • Patch regarding SEPolicies for FM Radio support and sensors detection

Regarding the screen on / off animations, this is due to the Android Go (Low RAM) configurations,
if you want to restore the related features with a bit of performance losses, look at my "Low-RAM Property Patcher" linked in the OP.
 

marce74

Member
Apr 9, 2020
20
1
I can scan simple or comple QR-Code properly here, can't tell much more though.



Thanks for the report, FM Radio is now resolved with an incremental patch release for the 23/08/2020 release.
  • Patch regarding SEPolicies for FM Radio support and sensors detection

Regarding the screen on / off animations, this is due to the Android Go (Low RAM) configurations,
if you want to restore the related features with a bit of performance losses, look at my "Low-RAM Property Patcher" linked in the OP.
Well, today I am surprised with this version that I never imagined that it would come out, I am using the 16 I will try to see how it goes with this on my old xperia sp
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23

    2okPze5.png


    Code:
    #include <std_disclaimer.h>
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    About LineageOS
    LineageOS is a free, community built, aftermarket firmware distribution of Android,​
    which is designed to increase performance and reliability over stock Android for your device.​
    All the source code for LineageOS is available in the LineageOS GitHub repo.​
    And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.​
    Official LineageOS website : http://lineageos.org

    Downloads Links
    LineageOS 17.1 (Unlocked Bootloader) :
    Xperia SP (Huashan) - Development : https://mega.nz/folder/r11xAbSL#Lwt5FOvHpV1POu_3OHU6Uw
    Google Applications (optional) :
    OpenGApps : https://opengapps.org (Use packages for ARM, Android 10.0, pico)​
    Information : Flash the GApps before the first boot. If not, a clean flash is recommended.​
    Recommended Recovery (optional) :
    Disable the default Low-RAM features (optional) :
    Low-RAM Property Patcher : http://forum.xda-developers.com/-/-t3737373
    Tools required for bootimage patches such as root :
    Informations and references :
    About LineageOS updates : ChangeLog available on https://download.lineageos.org/huashan/changes/
    About LineageOS device side : See my GitHub trees linked below​

    Flashing and updating
    LineageOS clean install :
    - (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool​
    - (Optional) Install TWRP Recovery to the FOTA partition (Read the TWRP thread)​
    - (Optional) Wipe the data & cache (Backup to make sure not to lose data)​
    - Flash the LineageOS ROM zip from recovery​
    - (Optional) Flash a GApps package to have the Google Applications​
    - (Optional) Every additional zip you want to flash​
    - Reboot​
    LineageOS update / upgrade :
    - (Warning) Do not update / upgrade between OFFICIAL and UNOFFICIAL builds​
    - (Information) Do not wipe anything unless you want to​
    - Flash the latest LineageOS ROM zip from recovery​
    - (Optional) Flash a GApps package on first install / upgrade. Not required later, but do update sometimes​
    - (Optional) Every additional zip you want to flash​
    - Reboot​

    About the builds

    Issues and reports
    - Report issues only if you use the ROM original kernel
    - If an additional mod is installed, make sure it is unrelated, and mention it
    - Make sure the issue was not discussed earlier in the thread
    - Acquire ADB logcat logs to a file : how-to-take-logs-in-android
    - If the device crashed and rebooted, retrieve this file from the device : /proc/last_kmsg
    - Use Permissive Kernel Patcher and share logcat logs if it solves issues

    Legal
    About LineageOS Legal : http://lineageos.org/legal/
    The LineageOS team would like to thank everyone involved
    in helping with testing, coding, debugging & documenting! Enjoy!

    LineageOS available for Xperia SP also thanks to :
    - Google AOSP​
    - The LineageOS Team​
    - Arne (arco68)​
    - Everyone involved in working and testing​

    XDA:DevDB Information
    LineageOS 17.1, ROM for the Sony Xperia SP

    Contributors
    AdrianDC

    Version Information
    ROM OS Version: Android 10
    ROM Kernel: Linux 3.4.x
    Status: Stable
    16
    ALSO WORKING ON SONY HUASHAN
    • YouTube Presentation :


    IMPORTANT FEATURES TO KNOW
    • Boot sequence : Once the LEDs light up :
      - Press Volume - to open LineageOS Recovery,
      - Press Volume + to open the FOTA recovery (TWRP usually) if available
    • Powered-off alarm : When you have set an alarm
      - If you power down the device, it will wake automatically 5 minutes before
      - If you let the device charge offline, it will automatically reboot 5 minutes before
    • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
    • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
    16
    The next release will resolve these :

    13
    FEATURES AND ISSUES
    Code:
    Boot                       : Ok
    GApps                      : Ok (OpenGApps Pico recommended)
    Partitions (Data, Cache)   : Ok
    Bluetooth                  : Ok
    WiFi                       : Ok
    WiFi Hotspot               : Ok
    RIL - Phone - Data         : Ok
    GPS                        : Ok
    Camera                     : Ok
    Camcorder                  : Ok
    Lights                     : Ok
    MicroSD                    : Ok
    Accelerometer              : Ok
    Compass                    : Ok
    Gyroscope                  : Ok
    AOSP sensors               : Ok
    Touchscreen                : Ok
    FM Radio                   : Ok
    Vibrator                   : Ok
    Microphone                 : Ok
    Audio & music              : Ok
    Bluetooth audio            : Ok
    Video playback             : Ok
    NFC                        : Ok
    Kernel                     : Ok
    Graphics                   : Ok
    3D Rendering               : Ok
    Clock                      : Ok
    DRM                        : Ok
    Offline Charging           : Ok
    USB                        : Ok
    USB OTG                    : Ok
    Encryption                 : Ok
    SEPolicies                 : Ok (Enforced)
    Kernel CVE                 : Partially outdated (ToDo)
    Root                       : Ok (with ADB, supported with Magisk + BootBridge)
    TWRP                       : Ok (TWRP 3.5.0 recommended, system restore may need a ROM reflash due to a TWRP internal issue)

    CHANGELOG
    Code:
    Future release:
      - Kernel CVEs updates to check
    
    28/12/2020:
      - Update release on Security level 2020-12-05
    
    25/10/2020:
      - Update release on Security level 2020-10-05
    
    20/09/2020:
      - Upgrade release on Security level 2020-09-05 (android-10.0.0_r46 August)
      - Back gesture navigation with keyboard swipe conflicts resolved (topic:ten-back-gesture-go)
    
    30/08/2020:
      - Multiple kernel optimizations and debugging features cleanups (thanks Tomoms)
      - Previously patched SEPolicies included and now considered stable
    
    27/08/2020:
      - Patch regarding SEPolicies for FM Radio support (extends the 26/08/2020 patch)
    
    26/08/2020:
      - Patch regarding SEPolicies for FM Radio support and sensors detection
    
    23/08/2020:
      - Migration to userspace Low Memory Killer daemon (LMKD) instead of the old kernel LMK
      - Massive kernel updates against upstream, especially LZ4 and ZRAM (257 commits)
      - Additional SEPolicies updates
    
    20/08/2020:
      - Updates to enforced SEPolicies
      - Actionbar previous button in DeviceSettings fixed
      - High Touch Sensitivity (Glove mode) reimplemented in display settings
    
    19/08/2020:
      - Enforced SEPolicies security with all rules refactored and cleaned up,
        if anything looks "blocked", please report with ADB logs
    
    16/08/2020:
      - GPS legacy support fixed
    
    15/08/2020:
      - Video playback fixed
      - ZRAM 768MB reenabled
      - Bootimage support for Magisk
      - RIL updates
      - Minor lights selection fix
    
    13/08/2020:
      - Initial public release on Android 10.0.0_r41 June
    
    11/08/2020:
      - Initial beta testers release on Android 10.0.0_r41 June
    
    2019 - 2020:
      - Initial AOSP 10 / LineageOS 17.0 / 17.1 ports
      - Internal bringup
    10
    A new release 23/08/2020 is available, on my side, the performance and normal usage have improved a lot :

    • Migration to userspace Low Memory Killer daemon (LMKD) instead of the old kernel LMK
    • Massive kernel updates against upstream, especially LZ4 and ZRAM (257 commits)
    • Additional SEPolicies updates