[KERNEL][06/12/2021] fsociety tribute for Google Pixel 4a

Search This thread

momojuro

Senior Member
  • Jan 15, 2014
    522
    862
    Samsung Galaxy A30
    Google Pixel 4a
    Hello everyone, today's new update!

    Changelog

    fsociety tribute stable#1.02

    Thanks to everyone involved in the following changes:
    • sched/core: Free dead mm structs asynchronously in finish_task_switch()
    • sched/core: Free dead tasks asynchronously in finish_task_switch()
    • kgsl: msm: Prevent userspace from changing the GPU idle timeout
    • scsi: ufs: use WQ_HIGHPRI for gating work
    • sched: fair: placement optimization for heavy load
    • sched: Improve the scheduler
    • sched: fair: Improve the scheduler
    • sched/fair: Add timeout for detach_tasks() in load balance
    • ARM64: sdmmagpie: switch to calculated capacities
    • kernel: sched: Checkout energy to Common kernel
    • schedutil: Tune the down rate limits for better battery life using PK's tuning script v9 values (thanks to pkgnex and also engstk for the tuning method)
    Download & Links
     

    momojuro

    Senior Member
  • Jan 15, 2014
    522
    862
    Samsung Galaxy A30
    Google Pixel 4a
    Hello everyone, today's exciting new update!

    Changelog

    fsociety tribute stable#1.03

    Thanks to everyone involved in the following changes:
    • ext4: optimize file overwrites
    • lib/lz4: explicitly support in-place decompression
    • mmap() backports for better performance
    • mm, truncate: do not check mapping for every page being truncated
    • zsmalloc: switch from alloc_vm_area to get_vm_area
    • mm/zsmalloc.c: rework the list_add code in insert_zspage()
    • mm/zsmalloc.c: drop ZSMALLOC_PGTABLE_MAPPING
    • mm/zsmalloc.c: fix duplicated words
    • mm/zswap: fix passing zero to 'PTR_ERR' warning
    • mm/zswap: make struct kernel_param_ops definitions const
    • arm64: Add missing dependency for ARM erratum 1188873 workaround
    • arm64: dts: sdmmagpie: Implement RHEL's Low Latency Kernel cmdline
    • arm64: dts: sdmmagpie: Set silver cluster qos-cores for msm_fastrpc
    • arm64: dts: sdmmagpie-sde: Configure PM-QoS IRQ latency
    • arm64: dts: sdmmagpie: remove pm qos latency overrides
    • arm64: dts: sdmmagpie: use 67us latency for cdsp
    • drm/msm/sde: Remove redundant write memory barriers from IRQ routines
    • drm/msm/sde: Consolidate IRQ status reads into IRQ dispatcher
    • drm/msm/sde: Don't read and clear VBIF errors upon commit
    • disp: msm: Use the PM_QOS_REQ_AFFINE_IRQ feature to control SDE PM QoS
    • disp: msm: sde: add dt based support for pm qos irq latency
    • disp: msm: sde: modify Qos vote for irq latency during idle cases
    • disp: msm: sde: add pm QoS vote on CPU receiving display IRQ
    • sde: rotator: Remove PM-QOS usage
    • sched/rt: Optimize checking group RT scheduler constraints
    • scsi: ufs: Add simple IRQ-affined PM QoS operations
    • scsi: ufs: Scrap Qualcomm's PM QoS implementation
    Download & Links
     

    Chrisnetika

    Member
    Jan 16, 2021
    28
    10
    Google Pixel 4a
    Went from 1.0 stable to 1.03 stable and my dac is no longer recognizable.Using May ota.I tried blusparks kernel that released 10hrs ago to see perhaps if ota broke anything but it was not the case as everything works fine on that kernel.
     

    momojuro

    Senior Member
  • Jan 15, 2014
    522
    862
    Samsung Galaxy A30
    Google Pixel 4a
    Hello everyone, today's new update for the first month of fsociety tribute!
    Magisk 22.1 or newer is now required for root!

    Changelog


    fsociety tribute stable#1.04

    Thanks to everyone involved in the following changes, especially to @eng.stk:
    • Merge branch android-msm-sunfish-4.14-android11-qpr2 (May 2021.1)
    • Android: Implement Sony LowMemoryKiller TNG from 55.0.A.11.25
    • net/wireguard: merge v1.0.20210424
    • lib/lzo: implement run-length encoding (set as zRAM default's compression algorithm)
    • ext4: remove additional tracings added by CAF
    • mm: oom_kill: Reduce some verbose logging
    • bpf: Eliminate CONFIG_MODULES limitation from JIT for arm64
    • scripts/kallsyms: set relative_base more effectively
    • scripts/kallsyms: shrink table before sorting it
    • scripts/kallsyms: remove unneeded #ifndef ARRAY_SIZE
    • block: Disable preemption during IPI consideration
    • block: Track DISCARD statistics and output them in stat and diskstat
    • block: Add and use op_stat_group() for indexing disk_stat fields.
    • block: Define and use STAT_READ and STAT_WRITE
    • block: Add part_stat_read_accum to read across field entries.
    • block: make bdev_ops->rw_page() take a REQ_OP instead of bool
    • defconfig: further disable audit
    • kbuild: Don't try to add '-fcatch-undefined-behavior' flag
    • Makefile: add -fno-builtin-stpcpy
    • Revert "kernel: Add API to mark IRQs and kthreads as performance critical"
    • Revert "msm: kgsl: Mark IRQ as performance critical"
    • Revert "drm: Mark IRQ as performance critical"
    Download & Links
     
    Last edited:

    Chrisnetika

    Member
    Jan 16, 2021
    28
    10
    Google Pixel 4a
    Hello everyone, today's new update for the first month of fsociety tribute!
    Magisk 22.1 or newer is now required for root!

    Changelog


    fsociety tribute stable#1.04

    Thanks to everyone involved in the following changes, especially to @eng.stk:
    • Merge branch android-msm-sunfish-4.14-android11-qpr2 (May 2021.1)
    • Android: Implement Sony LowMemoryKiller TNG from 55.0.A.11.25
    • net/wireguard: merge v1.0.20210424
    • lib/lzo: implement run-length encoding (set as zRAM default's compression algorithm)
    • ext4: remove additional tracings added by CAF
    • mm: oom_kill: Reduce some verbose logging
    • bpf: Eliminate CONFIG_MODULES limitation from JIT for arm64
    • scripts/kallsyms: set relative_base more effectively
    • scripts/kallsyms: shrink table before sorting it
    • scripts/kallsyms: remove unneeded #ifndef ARRAY_SIZE
    • block: Disable preemption during IPI consideration
    • block: Track DISCARD statistics and output them in stat and diskstat
    • block: Add and use op_stat_group() for indexing disk_stat fields.
    • block: Define and use STAT_READ and STAT_WRITE
    • block: Add part_stat_read_accum to read across field entries.
    • block: make bdev_ops->rw_page() take a REQ_OP instead of bool
    • defconfig: further disable audit
    • kbuild: Don't try to add '-fcatch-undefined-behavior' flag
    • Makefile: add -fno-builtin-stpcpy
    • Revert "kernel: Add API to mark IRQs and kthreads as performance critical"
    • Revert "msm: kgsl: Mark IRQ as performance critical"
    • Revert "drm: Mark IRQ as performance critical"
    Download & Links

    Hey there,
    Next update will have May security patch merged. It hasn't been done yet that's why.
    Works now with new update,been using this kernel more regularly lately. thx, will see how new version is with reg use.Phone does not seem to run as hot like other kernels so far.
     
    • Like
    Reactions: momojuro

    momojuro

    Senior Member
  • Jan 15, 2014
    522
    862
    Samsung Galaxy A30
    Google Pixel 4a
    Hello everyone, today's new update!

    Changelog

    fsociety tribute stable#1.05

    Thanks to everyone involved in the following changes, especially to kerneltoast:
    • include: linux: Set nr_requests and read-ahead values to 64 and 256 respectively
      (thanks to pkgnex and HolyAngel)
    • cpufreq: Ensure the minimal frequency is lower than the maximal frequency
    • usb: gadget: f_mass_storage: Add Drivedroid Support
    • arm64: dts: msm: disable kpti on sdmmagpie
    • arm64: dts: sdmmagpie: Enable freq-energy-model
    • tcp: change pingpong threshold to 3
    • tcp: Refactor pingpong code
    • sched/fair: Compile out NUMA code entirely when NUMA is disabled
    • sched: Resolve sched_feat() at compile time to improve code optimization
    • sched: Add API to migrate the current process to a given cpumask
    • sched/idle: Micro-optimize the idle loop
    • sched/fair: Kill spam about max cpu_capacity
    • sched: core: silence no longer affine to cpu logspam
    • mm: Perform PID map reads on the little CPU cluster
    • scsi: ufs: Enable NO_FASTAUTO quirk for all vendor
    • BACKPORT: crypto: arm64/aes-modes - get rid of literal load of addend vector
    • crypto: arm64/aes-blk - add 4 way interleave to CBC-MAC encrypt path
    • crypto: arm64/aes-blk - add 4 way interleave to CBC encrypt path
    • crypto: arm64/aes-blk - remove configurable interleave
    • crypto: arm64/aes-blk - move kernel mode neon en/disable into loop
    • mm: compaction: avoid 100% CPU usage during compaction when a task is killed
    • BACKPORT: mm: process_reclaim: consider compound pages
    • Revert "sched: fair: placement optimization for heavy load"
    • Revert "qos: Execute notifier callbacks atomically"
    • Revert "drm/msm/sde: Wait for ctl_start asynchronously on cmd mode panels
    • Revert "disp: msm: Don't clear dim layers when there aren't any applied"
    • Revert "disp: msm: Use the PM_QOS_REQ_AFFINE_IRQ feature to control SDE PM QoS"
    • Revert "mmc: disable SPI CRC"
    • bpf: fix subprog verifier bypass by div/mod by 0 exception
    • bpf: fix net.core.bpf_jit_enable race
    • bpf, lpm: make longest_prefix_match() faster
    • msm: camera: utils: Demote unwanted logging to debug
    • msm: vidc: Silence video instance logging
    - Commits reverted until the kernel version gets upstreamed:
    • Revert "block: Disable preemption during IPI consideration"
    • Revert "block: Track DISCARD statistics and output them in stat and diskstat"
    • Revert "block: Add and use op_stat_group() for indexing disk_stat fields."
    • Revert "block: Define and use STAT_READ and STAT_WRITE"
    • Revert "block: Add part_stat_read_accum to read across field entries."
    • Revert "block: make bdev_ops->rw_page() take a REQ_OP instead of bool"
    Download & Links
     
    Last edited:
    • Like
    Reactions: EriecTan

    leo60228

    New member
    Jan 18, 2018
    4
    10
    DriveDroid doesn't seem to be working for me... I'm using LineageOS, if that helps. I get the same results as the default configuration, which is that only "Standard Android" can be chosen and I get a "No hosting devices" error when I do so.
     
    • Like
    Reactions: momojuro

    momojuro

    Senior Member
  • Jan 15, 2014
    522
    862
    Samsung Galaxy A30
    Google Pixel 4a
    DriveDroid doesn't seem to be working for me... I'm using LineageOS, if that helps. I get the same results as the default configuration, which is that only "Standard Android" can be chosen and I get a "No hosting devices" error when I do so.
    Thank you for your feedback. I added the needed commit to make it work, but that wasn't enough apparently. The implementation will be removed in the next update unfortunately.
     

    Zaxx32

    Senior Member
    Mar 23, 2019
    188
    32
    Morgantown
    Moto G5 Plus
    Moto G7
    Gotta quick question...and I may be waay wrong.

    Seems as though I remember that back when I was first starting to mess with my Moto G5 Plus that after unlocking bootloader, it was possible to flash the kernal without actually rooting with Magisk. Is this possible or have I smoked one too many as a rookie Androidsman? Won't know if I don't ask! If I'm mistaken...go easy on me plz! If we had a workable, normal TWRP recovery option I'd be rooted and havin' my cake and eating it too! Never tried Lineage but it's starting to look inviting...do u guys like it? I am also wanting to play with 12 when it's done...lol Damn it Google, give your geek user base a hand here!! /rant
     
    • Like
    Reactions: momojuro

    momojuro

    Senior Member
  • Jan 15, 2014
    522
    862
    Samsung Galaxy A30
    Google Pixel 4a
    Gotta quick question...and I may be waay wrong.

    Seems as though I remember that back when I was first starting to mess with my Moto G5 Plus that after unlocking bootloader, it was possible to flash the kernal without actually rooting with Magisk. Is this possible or have I smoked one too many as a rookie Androidsman? Won't know if I don't ask! If I'm mistaken...go easy on me plz! If we had a workable, normal TWRP recovery option I'd be rooted and havin' my cake and eating it too! Never tried Lineage but it's starting to look inviting...do u guys like it? I am also wanting to play with 12 when it's done...lol Damn it Google, give your geek user base a hand here!! /rant
    Hey there,

    We've all been there! It would be a pleasure to answer your questions.
    You will need to be rooted in order to flash the kernel. I advise you to use Franco Kernel Manager available on the Play Store to do so. Concerning LineageOS, I invite you to check its dedicated thread to check the opinions about it!
     
    • Like
    Reactions: kkjb

    momojuro

    Senior Member
  • Jan 15, 2014
    522
    862
    Samsung Galaxy A30
    Google Pixel 4a
    Here we go again, another update for today!

    Changelog

    fsociety tribute stable#1.10

    Thanks to everyone involved in the following changes:
    • qcacld-3.0: Free a bunch of pkts at once (to reduce CPU consumption)
    • qcacld: disable qcom_rx_wakelock (to reduce power consumption)
    • fs: Override default relatime mount flag for noatime (to improve FS performance)
    • Revert "usb: gadget: f_mass_storage: Add Drivedroid Support"
    Download & Links
     

    d33dvb

    Senior Member
  • Sep 30, 2007
    713
    165
    Finally had a chance to flash this and check out nethunter hid support and I cannot get USB keyboard working. Is there something else I need to do? Any way you can test for me?

    I cant remember, was there a special build you posted that had these commits? Or was it the main version?
     
    Last edited:

    d33dvb

    Senior Member
  • Sep 30, 2007
    713
    165
    Does this kernel include monitor mode built in?
    I could not get airmon-ng to put it in monitor mode. I wish it did, it is after all called fsociety :) I thought for sure it was a nethunter kernel. It is a great kernel so far however and can confirm it works on lineage 18.1
     
    Last edited:

    Sunfish_4a

    New member
    Apr 11, 2021
    4
    0
    41
    USA
    www.deeznutz.com
    I could not get airmon-ng to put it in monitor mode. I wish it did, it is after all called fsociety :) I thought for sure it was a nethunter kernel.
    I always thought it had to a) modem had to be compatible and b) it must be built into the kernel if modem was compatible. Sometimes I read people were able to turn it on using cmds.
     

    d33dvb

    Senior Member
  • Sep 30, 2007
    713
    165
    I always thought it had to a) modem had to be compatible and b) it must be built into the kernel if modem was compatible. Sometimes I read people were able to turn it on using cmds.
    It's supposed to be enabled by default, but not sure if our chipset is capable. I would imagine a usb wireless adapter would work.
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 7
      Hello friends,

      FIrst of all, I would like to thank @Chrisnetika for their kind donation. It was heartwarming and definitely helped to cheer myself up. I would also like to thank my testers on Telegram, especially @beeshyams who has been working with me the whole month to make sure of today's update stability.

      Changelog

      fsociety tribute stable#1.65

      Thanks to everyone involved in the following changes:
      • treewide: Merge tag 'android-11.0.0_r0.85' of
        https://android.googlesource.com/kernel/msm (June 2021 security patch)
      • Merge fixes from CAF
      • Merge security fixes from GrapheneOS
      • wireguard: Update to version 1.0.20210606
      • Implement josenk's srandom driver (faster than random and urandom - https://github.com/josenk/srandom)
      • Implement zRAM deduplication with arter97's changes
      • mm: compaction: Add automatic compaction mechanism
      • techpack: audio: Merge last update
      • mbcache: Speed up cache entry creation
      • msm/sde/rotator: Remove unneeded PM QoS requests
      • drm/msm/sde: Remove unneeded PM QoS requests
      • msm: kgsl: Remove L2PC PM QoS feature
      • scsi: ufs: Add sultanxda's simple IRQ-affined PM QoS operations
      • scsi: ufs: Scrap Qualcomm's PM QoS implementation
      • qcacld-3.0: use power efficient workingqueue
      • qcacld-3.0: Nuke as much debug bloat as possible
      • qcacmn: Disable all of qdf_trace when WLAN_DEBUG is disabled
      • sched: fair: consider all running tasks in cpu for load balance
      • cpuidle: don't disable cpuidle when entering suspend
      • defconfig: Disable EDAC
      Download & Links
      1
      @momojuro Thanks for your efforts.
      I hope you would be able to add "battery idle mode" for ACCA module

      Take care
      @Freak07 knows, he's implemented in Kirisakura kernel for OP7
    • 12
      Hello, friend.

      Inspired by @wrongway213's original custom kernel for Pixel 4/XL, I decided to make my own project once I grab my hand on a Google device myself. The naming is a tribute to both his ideas and Mr. Robot. fsociety tribute's goal is to give the device a set of useful features while ensuring its stability for a daily life usage. Those features and changes are pulled from different places like blu.spark, Sultan kernel, Kirisakura and many more.

      Features
      • Built with Google Clang version 12.0.6 + LLD linker
      • Full -O3 build with chipset's flags included (thanks to @eng.stk and @Sultanxda)
      • AnyKernel3 powered installation to stay OTA and flashers (EXKM, FKM...) friendly
      • ARM architecture performance and battery patches
      • CAF patches and fixes
      • Security fixes from GrapheneOS
      • Powersaving workqueues enabled by default
        (thanks to @Freak07)
      • CPU uses freq-energy-model with calculated capacities
      • Disabled several debug and logging options
      • 250 Hz timer frequency
      • BPF JIT compiler enabled by default
      • Implement Sony LowMemoryKiller TNG from 55.0.A.11.25 update
      • Implement josenk's srandom driver (faster than random and urandom)
      • Implement zRAM deduplication with arter97's changes
      • BBR v2 set as the default TCP network congestion control
      • ZEN v2 set as the default I/O scheduler with slight changes
        (read-ahead set to 512 for specific blocks)
      • GPU idle timeout set to 64 ms
      • KCAL - Advanced color control for Qualcomm MDSS v2
        (RGB calibration and post-processing features)
      • KLAPSE v5.0 support
      • Backlight min. brightness and HBM option (thanks to @flar2)
      • Boeffla wakelock blocker enabled
      • USB2 Fast Charge (up to 900mA with MTP on)
      • exFAT filesystem support
      • TWRP support (LZMA/LZ4 ramdisk)
      • WireGuard support
      • Other misc. optimizations and fixes

      Download & Links

      Installation instructions
      • To be added soon.

      Credits go to

      @eng.stk for their clean sourcedrops' bases, their personal pieces of advice and also for their contributions
      @wrongway213 for inspiring me to achieve this project, their precious free time and also for their contributions (especially this thread template)
      @Freak07 for their guidance in solving my first kernel compiling issues and for his amazing contributions
      @arter97 for their contributions
      @kdrag0n for Proton kernel and their innovative contributions
      @osm0sis for AnyKernel3 and their contributions
      @Sultanxda for their outstanding contributions
      @flar2 for their clean contributions
      @HolyAngel for HolyDragon kernel and their contributions
      @tytydraco for their contributions
      @pkgnex for their tuning script and contributions
      @nathanchance for their compilation guides and repos
      @badaas for being a great tester
      @beeshyams for being an awesome tester as well

      XDA:DevDB Information
      fsociety tribute for Pixel 4a, Kernel for the Google Pixel 4a

      Contributors
      momojuro
      Source Code: https://github.com/fsociety-tribute/pixel4a

      Kernel Special Features: Boeffla Wakelock Blocker, KCAL, KLAPSE, Wireguard

      Version Information
      Status:
      Stable
      Current Stable Version: 1.65
      Stable Release Date: 2021-06-12

      Created 2021-04-06
      Last Updated 2021-06-12
      7
      Hello friends,

      FIrst of all, I would like to thank @Chrisnetika for their kind donation. It was heartwarming and definitely helped to cheer myself up. I would also like to thank my testers on Telegram, especially @beeshyams who has been working with me the whole month to make sure of today's update stability.

      Changelog

      fsociety tribute stable#1.65

      Thanks to everyone involved in the following changes:
      • treewide: Merge tag 'android-11.0.0_r0.85' of
        https://android.googlesource.com/kernel/msm (June 2021 security patch)
      • Merge fixes from CAF
      • Merge security fixes from GrapheneOS
      • wireguard: Update to version 1.0.20210606
      • Implement josenk's srandom driver (faster than random and urandom - https://github.com/josenk/srandom)
      • Implement zRAM deduplication with arter97's changes
      • mm: compaction: Add automatic compaction mechanism
      • techpack: audio: Merge last update
      • mbcache: Speed up cache entry creation
      • msm/sde/rotator: Remove unneeded PM QoS requests
      • drm/msm/sde: Remove unneeded PM QoS requests
      • msm: kgsl: Remove L2PC PM QoS feature
      • scsi: ufs: Add sultanxda's simple IRQ-affined PM QoS operations
      • scsi: ufs: Scrap Qualcomm's PM QoS implementation
      • qcacld-3.0: use power efficient workingqueue
      • qcacld-3.0: Nuke as much debug bloat as possible
      • qcacmn: Disable all of qdf_trace when WLAN_DEBUG is disabled
      • sched: fair: consider all running tasks in cpu for load balance
      • cpuidle: don't disable cpuidle when entering suspend
      • defconfig: Disable EDAC
      Download & Links
      6
      Hello everyone, today's new update for the first month of fsociety tribute!
      Magisk 22.1 or newer is now required for root!

      Changelog


      fsociety tribute stable#1.04

      Thanks to everyone involved in the following changes, especially to @eng.stk:
      • Merge branch android-msm-sunfish-4.14-android11-qpr2 (May 2021.1)
      • Android: Implement Sony LowMemoryKiller TNG from 55.0.A.11.25
      • net/wireguard: merge v1.0.20210424
      • lib/lzo: implement run-length encoding (set as zRAM default's compression algorithm)
      • ext4: remove additional tracings added by CAF
      • mm: oom_kill: Reduce some verbose logging
      • bpf: Eliminate CONFIG_MODULES limitation from JIT for arm64
      • scripts/kallsyms: set relative_base more effectively
      • scripts/kallsyms: shrink table before sorting it
      • scripts/kallsyms: remove unneeded #ifndef ARRAY_SIZE
      • block: Disable preemption during IPI consideration
      • block: Track DISCARD statistics and output them in stat and diskstat
      • block: Add and use op_stat_group() for indexing disk_stat fields.
      • block: Define and use STAT_READ and STAT_WRITE
      • block: Add part_stat_read_accum to read across field entries.
      • block: make bdev_ops->rw_page() take a REQ_OP instead of bool
      • defconfig: further disable audit
      • kbuild: Don't try to add '-fcatch-undefined-behavior' flag
      • Makefile: add -fno-builtin-stpcpy
      • Revert "kernel: Add API to mark IRQs and kthreads as performance critical"
      • Revert "msm: kgsl: Mark IRQ as performance critical"
      • Revert "drm: Mark IRQ as performance critical"
      Download & Links
      6
      Hello everyone, new update!

      Changelog

      fsociety tribute alpha#1.01
      • Reverted some under the hood commits to prepare for future updates
      • Different cpuidle fixes and optimizations (thanks to @wrongway213)

        Thanks to @eng.stk for these changes:
      • Merge branch android-msm-sunfish-4.14-android11-qpr2 (Apr 2021.1)
      • BACKPORT: GKI: hwtracing: Add a driver for disabling coresight clocks (backport from Pixel 5, less idle draw)
      • Revert "f2fs: Fix deadlock between f2fs_quota_sync and block_operation"
      • f2fs: shrink node_write lock coverage
      • Revert "kbuild: disable clang's default use of -fmerge-all-constants"
      • techpack: data: don't build emac-dwc-eqos
      • Remove some logspam in net/sched
      Download & Links
      5
      I'm honored that my project (& one of the greatest TV shows of all time) inspired you! Thanks for the shout out & for asking me before dropping the kernel! Best of luck with Sunfish 😁