[ROM][11.0][UNOFFICIAL] LineageOS-18.1 [PL2]

Search This thread

npjohnson

Recognized Developer
  • Finally got it working,... and realized I'm an idiot. When I reflashed TWRP after installing lineageos 18, i used the TWRP for android 10 again, and of course that won't boot. switched twrp image to the android 11 version after flashing lineageos to install mindthegapps, and everything went without problems. For those that have issues to flash twrp, first do:

    Code:
    fastboot flash recovery twrp-xx.img

    this will throw an error, but it this means it succeeded.

    Next do

    Code:
    fastboot boot twrp-xx.img
    and it will boot.

    And now I'm a happy lineageos 18 user. Thanks for the help everyone and the volunteer who made this build possible (y)

    Edit: will exfat support be added in the future? Not allowed due to licensing

    This is wrong.

    >this will throw an error, but it this means it succeeded.

    No, you don't have a recovery partition.

    Your options are fastboot boot it like you did right after that, or flash it to the boot image and reboot the device.
     

    ieperlingetje

    Member
    Oct 28, 2016
    17
    3
    This is wrong.

    >this will throw an error, but it this means it succeeded.

    No, you don't have a recovery partition.

    Your options are fastboot boot it like you did right after that, or flash it to the boot image and reboot the device.
    It's weird for sure. If I do 'fastboot boot...' without first 'fastboot flash recovery...' (like you say should work), the phone remains stuck at the android one logo.
     

    iffer42

    New member
    Jun 12, 2017
    1
    2
    I noticed, that my device often runs out of memory, so i had a look into swap on zram. I found, that the files provided on the vendor partition contain entries for creating swap on a zram device:
    Both /vendor/etc/fstab.qcom and /vendor/bin/init.qcom.post_boot.sh seem to do something for setting up zram and enabling swap.
    After boot however /sys/block/zram0/disksize shows "0".
    Can swap on zram be enabled automatically?

    I enabled zram and swap manually:
    Code:
    echo 1 > /sys/block/zram0/reset
    echo 2G > /sys/block/zram0/disksize
    mkswap /dev/block/zram0
    swapon /dev/block/zram0

    Afterwards my device feels much more responsive, when switching between apps.

    Except for doing these steps manually over the adb root shell, there remains one more thing, that might need tweaking: /sys/block/zram0/max_comp_streams should probably be set to 4 to allow usage of either the fast or the slow cpu cores.
     

    broccoli_2k

    New member
    May 27, 2021
    2
    2
    Firstly I wanted to thank all of the contributors for LineageOS and for the Nokia 6.1 version in particular. I've only been using this for a few weeks and it has been super easy to install, updates have all gone smoothly and my phone is mostly running very well with great battery life too (not a given on a second hand phone of this age).

    I have one nagging problem with playing music, and playlists in particular. The default Eleven music player allows me to create a playlist but crashes and closes when I try to add a song to it.

    I've tried Shuttle and Vinyl which seem to work but when you look at the playlist after adding songs, it is empty. Simple Music Player actually does work for this, so I've been using it (but it has other odd behaviours and it's not my favourite music player overall).

    If anyone can help with this I'd be be very grateful but if not you still have my thanks for a great OS overall.
     
    • Like
    Reactions: theimpulson

    theimpulson

    Forum Moderator - Recognized Developer
    Staff member
  • Firstly I wanted to thank all of the contributors for LineageOS and for the Nokia 6.1 version in particular. I've only been using this for a few weeks and it has been super easy to install, updates have all gone smoothly and my phone is mostly running very well with great battery life too (not a given on a second hand phone of this age).

    I have one nagging problem with playing music, and playlists in particular. The default Eleven music player allows me to create a playlist but crashes and closes when I try to add a song to it.

    I've tried Shuttle and Vinyl which seem to work but when you look at the playlist after adding songs, it is empty. Simple Music Player actually does work for this, so I've been using it (but it has other odd behaviours and it's not my favourite music player overall).

    If anyone can help with this I'd be be very grateful but if not you still have my thanks for a great OS overall.
    Thanks for the feedback. Can you please provide a logcat and steps to reproduce the issue?
     

    broccoli_2k

    New member
    May 27, 2021
    2
    2
    Thanks for the feedback. Can you please provide a logcat and steps to reproduce the issue?
    Sure, the steps to recreate are simple:
    1. Open the music app.
    2. Select the three dots next to a song and choose the 'add to playlist' option.
    Then it crashes.

    I've attached a logcat file but let me know if you need anything else.

    Thanks!

    P.S. I have tried to attach the text file and it seemed to be successful but I can't see an attachment on this post. Is there another way you would like me to send this?

    Another edit: I've tried a few times and the file isn't showing as attached to the post that I can see. This is the part of the logcat that from the crash, I'm not sure if you need any more but as it is a long file I've just copied out this part:

    --------- beginning of crash 05-28 06:45:25.961 6514 6514 E AndroidRuntime: FATAL EXCEPTION: main 05-28 06:45:25.961 6514 6514 E AndroidRuntime: Process: org.lineageos.eleven, PID: 6514 05-28 06:45:25.961 6514 6514 E AndroidRuntime: java.lang.SecurityException: org.lineageos.eleven has no access to content://media/external_primary/audio/media/651 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:2373) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:2357) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2340) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.content.ContentProviderProxy.bulkInsert(ContentProviderNative.java:573) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.content.ContentResolver.bulkInsert(ContentResolver.java:2230) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at org.lineageos.eleven.utils.MusicUtils.addToPlaylist(MusicUtils.java:1051) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at org.lineageos.eleven.utils.PopupMenuHelper.lambda$onMenuItemClick$0$PopupMenuHelper(PopupMenuHelper.java:362) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at org.lineageos.eleven.utils.-$$Lambda$PopupMenuHelper$Ya3f2d5UoZFaVt0jIhlMWJb1Kn0.onClick(Unknown Source:4) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1250) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AdapterView.performItemClick(AdapterView.java:330) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AbsListView.performItemClick(AbsListView.java:1187) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AbsListView$PerformClick.run(AbsListView.java:3179) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AbsListView$3.run(AbsListView.java:4097) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7660) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
     
    Last edited:
    • Like
    Reactions: theimpulson

    car1a

    New member
    Sep 26, 2014
    2
    1
    I find the widget for music player is unresponsive. Work around has been to start the music app, choose my song, then return to widget. Only then can I pause, play, forward etc.

    The mod is quite frankly....amazing. Not sure if it's the differences between Android 10 and 11 or just kick butt Lineage o/S but my battery life improved dramatically.

    Crossing fingers for Android security level patch Magisk boot image.
     
    • Like
    Reactions: theimpulson

    theimpulson

    Forum Moderator - Recognized Developer
    Staff member
  • Sure, the steps to recreate are simple:
    1. Open the music app.
    2. Select the three dots next to a song and choose the 'add to playlist' option.
    Then it crashes.

    I've attached a logcat file but let me know if you need anything else.

    Thanks!

    P.S. I have tried to attach the text file and it seemed to be successful but I can't see an attachment on this post. Is there another way you would like me to send this?

    Another edit: I've tried a few times and the file isn't showing as attached to the post that I can see. This is the part of the logcat that from the crash, I'm not sure if you need any more but as it is a long file I've just copied out this part:

    --------- beginning of crash 05-28 06:45:25.961 6514 6514 E AndroidRuntime: FATAL EXCEPTION: main 05-28 06:45:25.961 6514 6514 E AndroidRuntime: Process: org.lineageos.eleven, PID: 6514 05-28 06:45:25.961 6514 6514 E AndroidRuntime: java.lang.SecurityException: org.lineageos.eleven has no access to content://media/external_primary/audio/media/651 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:2373) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:2357) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2340) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.content.ContentProviderProxy.bulkInsert(ContentProviderNative.java:573) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.content.ContentResolver.bulkInsert(ContentResolver.java:2230) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at org.lineageos.eleven.utils.MusicUtils.addToPlaylist(MusicUtils.java:1051) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at org.lineageos.eleven.utils.PopupMenuHelper.lambda$onMenuItemClick$0$PopupMenuHelper(PopupMenuHelper.java:362) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at org.lineageos.eleven.utils.-$$Lambda$PopupMenuHelper$Ya3f2d5UoZFaVt0jIhlMWJb1Kn0.onClick(Unknown Source:4) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1250) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AdapterView.performItemClick(AdapterView.java:330) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AbsListView.performItemClick(AbsListView.java:1187) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AbsListView$PerformClick.run(AbsListView.java:3179) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AbsListView$3.run(AbsListView.java:4097) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7660) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
    The fix has been merged now. I assume the issue should be fixed with the next OTA.
     
    • Like
    Reactions: Oswald Boelcke

    npjohnson

    Recognized Developer
  • I noticed, that my device often runs out of memory, so i had a look into swap on zram. I found, that the files provided on the vendor partition contain entries for creating swap on a zram device:
    Both /vendor/etc/fstab.qcom and /vendor/bin/init.qcom.post_boot.sh seem to do something for setting up zram and enabling swap.
    After boot however /sys/block/zram0/disksize shows "0".
    Can swap on zram be enabled automatically?

    I enabled zram and swap manually:
    Code:
    echo 1 > /sys/block/zram0/reset
    echo 2G > /sys/block/zram0/disksize
    mkswap /dev/block/zram0
    swapon /dev/block/zram0

    Afterwards my device feels much more responsive, when switching between apps.

    Except for doing these steps manually over the adb root shell, there remains one more thing, that might need tweaking: /sys/block/zram0/max_comp_streams should probably be set to 4 to allow usage of either the fast or the slow cpu cores.
    We can look into it!

    EDIT: Oof - fix is merged lol - that was dead simple: https://review.lineageos.org/c/LineageOS/android_device_nokia_sdm660-common/+/311736

    Next build will have proper ZRAM working! haha.
     
    Last edited:

    Top Liked Posts

    • There are no posts matching your filters.
    • 2
      I noticed, that my device often runs out of memory, so i had a look into swap on zram. I found, that the files provided on the vendor partition contain entries for creating swap on a zram device:
      Both /vendor/etc/fstab.qcom and /vendor/bin/init.qcom.post_boot.sh seem to do something for setting up zram and enabling swap.
      After boot however /sys/block/zram0/disksize shows "0".
      Can swap on zram be enabled automatically?

      I enabled zram and swap manually:
      Code:
      echo 1 > /sys/block/zram0/reset
      echo 2G > /sys/block/zram0/disksize
      mkswap /dev/block/zram0
      swapon /dev/block/zram0

      Afterwards my device feels much more responsive, when switching between apps.

      Except for doing these steps manually over the adb root shell, there remains one more thing, that might need tweaking: /sys/block/zram0/max_comp_streams should probably be set to 4 to allow usage of either the fast or the slow cpu cores.
      2
      I noticed, that my device often runs out of memory, so i had a look into swap on zram. I found, that the files provided on the vendor partition contain entries for creating swap on a zram device:
      Both /vendor/etc/fstab.qcom and /vendor/bin/init.qcom.post_boot.sh seem to do something for setting up zram and enabling swap.
      After boot however /sys/block/zram0/disksize shows "0".
      Can swap on zram be enabled automatically?

      I enabled zram and swap manually:
      Code:
      echo 1 > /sys/block/zram0/reset
      echo 2G > /sys/block/zram0/disksize
      mkswap /dev/block/zram0
      swapon /dev/block/zram0

      Afterwards my device feels much more responsive, when switching between apps.

      Except for doing these steps manually over the adb root shell, there remains one more thing, that might need tweaking: /sys/block/zram0/max_comp_streams should probably be set to 4 to allow usage of either the fast or the slow cpu cores.
      We can look into it!

      EDIT: Oof - fix is merged lol - that was dead simple: https://review.lineageos.org/c/LineageOS/android_device_nokia_sdm660-common/+/311736

      Next build will have proper ZRAM working! haha.
      1
      Firstly I wanted to thank all of the contributors for LineageOS and for the Nokia 6.1 version in particular. I've only been using this for a few weeks and it has been super easy to install, updates have all gone smoothly and my phone is mostly running very well with great battery life too (not a given on a second hand phone of this age).

      I have one nagging problem with playing music, and playlists in particular. The default Eleven music player allows me to create a playlist but crashes and closes when I try to add a song to it.

      I've tried Shuttle and Vinyl which seem to work but when you look at the playlist after adding songs, it is empty. Simple Music Player actually does work for this, so I've been using it (but it has other odd behaviours and it's not my favourite music player overall).

      If anyone can help with this I'd be be very grateful but if not you still have my thanks for a great OS overall.
      1
      Thanks for the feedback. Can you please provide a logcat and steps to reproduce the issue?
      Sure, the steps to recreate are simple:
      1. Open the music app.
      2. Select the three dots next to a song and choose the 'add to playlist' option.
      Then it crashes.

      I've attached a logcat file but let me know if you need anything else.

      Thanks!

      P.S. I have tried to attach the text file and it seemed to be successful but I can't see an attachment on this post. Is there another way you would like me to send this?

      Another edit: I've tried a few times and the file isn't showing as attached to the post that I can see. This is the part of the logcat that from the crash, I'm not sure if you need any more but as it is a long file I've just copied out this part:

      --------- beginning of crash 05-28 06:45:25.961 6514 6514 E AndroidRuntime: FATAL EXCEPTION: main 05-28 06:45:25.961 6514 6514 E AndroidRuntime: Process: org.lineageos.eleven, PID: 6514 05-28 06:45:25.961 6514 6514 E AndroidRuntime: java.lang.SecurityException: org.lineageos.eleven has no access to content://media/external_primary/audio/media/651 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:2373) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:2357) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2340) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.content.ContentProviderProxy.bulkInsert(ContentProviderNative.java:573) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.content.ContentResolver.bulkInsert(ContentResolver.java:2230) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at org.lineageos.eleven.utils.MusicUtils.addToPlaylist(MusicUtils.java:1051) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at org.lineageos.eleven.utils.PopupMenuHelper.lambda$onMenuItemClick$0$PopupMenuHelper(PopupMenuHelper.java:362) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at org.lineageos.eleven.utils.-$$Lambda$PopupMenuHelper$Ya3f2d5UoZFaVt0jIhlMWJb1Kn0.onClick(Unknown Source:4) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1250) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AdapterView.performItemClick(AdapterView.java:330) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AbsListView.performItemClick(AbsListView.java:1187) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AbsListView$PerformClick.run(AbsListView.java:3179) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.widget.AbsListView$3.run(AbsListView.java:4097) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7660) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 05-28 06:45:25.961 6514 6514 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
      1
      I find the widget for music player is unresponsive. Work around has been to start the music app, choose my song, then return to widget. Only then can I pause, play, forward etc.

      The mod is quite frankly....amazing. Not sure if it's the differences between Android 10 and 11 or just kick butt Lineage o/S but my battery life improved dramatically.

      Crossing fingers for Android security level patch Magisk boot image.
    • 3
      Official builds will start rolling out soon. 1st post has been updated as required. The changelog can be seen here. Bug reports for the same are welcome on the official issue tracker.
      2
      Thanks, with that version I was now able to flash lineageos. If someone can help: Now I stumble on another issue. Since TWRP flashes to the inactive partition, how can I install gapps? Because the only way I can boot twrp is with

      Code:
      fastboot flash boot....
      , but that overwrites the boot image again, so then lineageos won't start.
      Yes, that took me long time to decipher too last two weekends. Anyway, you "simply":

      1. Go to fastboot
      2. Boot TWRP:
      Bash:
      sudo fastboot flash recovery "$IMAGE"; sudo fastboot boot "$IMAGE"
      3. Install LineageOS
      4. Hit Back
      5. Hit Reboot
      6. Change slot
      7. Hit Bootloader
      8. Boot TWRP:
      Bash:
      sudo fastboot flash recovery "$IMAGE"; sudo fastboot boot "$IMAGE"
      9. Install gapps
      10. Install Magisk (if you want root)
      11. Reboot

      In words - you are i.e. on slot A, go to TWRP and install LineageOS. It will be installed to B. You then change slot, go to fastboot and enter TWRP again. This time you will be on B slot so you can continue with Gapps and others.
      2
      I noticed, that my device often runs out of memory, so i had a look into swap on zram. I found, that the files provided on the vendor partition contain entries for creating swap on a zram device:
      Both /vendor/etc/fstab.qcom and /vendor/bin/init.qcom.post_boot.sh seem to do something for setting up zram and enabling swap.
      After boot however /sys/block/zram0/disksize shows "0".
      Can swap on zram be enabled automatically?

      I enabled zram and swap manually:
      Code:
      echo 1 > /sys/block/zram0/reset
      echo 2G > /sys/block/zram0/disksize
      mkswap /dev/block/zram0
      swapon /dev/block/zram0

      Afterwards my device feels much more responsive, when switching between apps.

      Except for doing these steps manually over the adb root shell, there remains one more thing, that might need tweaking: /sys/block/zram0/max_comp_streams should probably be set to 4 to allow usage of either the fast or the slow cpu cores.
      We can look into it!

      EDIT: Oof - fix is merged lol - that was dead simple: https://review.lineageos.org/c/LineageOS/android_device_nokia_sdm660-common/+/311736

      Next build will have proper ZRAM working! haha.
      2
      Well..I just upgraded from 17.1 to 18.1 and all I can say is: This rom rocks!
      This is actually better than 17.1, especially the perfomance, battery life and camera quality (even tho I use Google Camera app from playstore).
      I really like the recent apps UI, it looks great and the fact that you can screenshot apps individualy makes it even better.
      I'm impressed.
      Gotta test it more
      2
      I noticed, that my device often runs out of memory, so i had a look into swap on zram. I found, that the files provided on the vendor partition contain entries for creating swap on a zram device:
      Both /vendor/etc/fstab.qcom and /vendor/bin/init.qcom.post_boot.sh seem to do something for setting up zram and enabling swap.
      After boot however /sys/block/zram0/disksize shows "0".
      Can swap on zram be enabled automatically?

      I enabled zram and swap manually:
      Code:
      echo 1 > /sys/block/zram0/reset
      echo 2G > /sys/block/zram0/disksize
      mkswap /dev/block/zram0
      swapon /dev/block/zram0

      Afterwards my device feels much more responsive, when switching between apps.

      Except for doing these steps manually over the adb root shell, there remains one more thing, that might need tweaking: /sys/block/zram0/max_comp_streams should probably be set to 4 to allow usage of either the fast or the slow cpu cores.