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

[KERNEL][09/11/2021] fsociety tribute for Google Pixel 4a [A11/A12]

Search This thread

momojuro

Senior Member
Jan 15, 2014
543
915
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
543
915
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
36
11
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
543
915
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
36
11
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
543
915
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
543
915
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
215
36
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
543
915
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
543
915
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:

Top Liked Posts

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

    First of all, my apologies for those who gave me their requests/questions above. I was not able to answer them on time, but I am glad that blu_spark and HolyDragon kernels' maintainers were able to give you their replies.
    It's with bitterness that I am writing the following words as I decided to stop working on the project. Due to personal reasons, I am no longer able to maintain it updated. I am keeping the source code available, and I am open to any discussion related to the Pixel 4a's kernel development. The Telegram group will also stay open if needed. Finally, I would like to thank everyone that has been involved in fsociety tribute, from the developers, to the testers and the donators.
    1
    The source code is posted, why don't you build your own kernel with features you deem necessary?
    1
    The source code is posted, why don't you build your own kernel with features you deem necessary?
    Why are binaries even posted here? Everyone should build their own kernels, roms, recoveries, tools etc. with features that they deem necessary!
  • 16
    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 13.0.2 + 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
    • Latest ARM64 architecture patches
    • CAF patches and fixes
    • The device passes bootloader SafetyNet check
    • Security fixes from GrapheneOS
    • VLA-free kernel
    • 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
    • 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 and automatic compaction
    • 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
    • Haptic Feedback level Control w/ Fingerprint Haptic Feedback Control support
      (thanks to @eng.stk)
    • exFAT filesystem support
    • TWRP support (LZMA/LZ4 ramdisk)
    • WireGuard support
    • Other misc. optimizations and fixes

    Download & Links

    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, Haptic Feedback level Control, Fingerprint Haptic Feedback Control

    Version Information
    Status:
    Stable
    Current Stable Version: 1.99
    Stable Release Date: 2021-09-11

    Created 2021-04-06
    Last Updated 2021-09-11
    9
    Hello friends,

    First of all, my apologies for those who gave me their requests/questions above. I was not able to answer them on time, but I am glad that blu_spark and HolyDragon kernels' maintainers were able to give you their replies.
    It's with bitterness that I am writing the following words as I decided to stop working on the project. Due to personal reasons, I am no longer able to maintain it updated. I am keeping the source code available, and I am open to any discussion related to the Pixel 4a's kernel development. The Telegram group will also stay open if needed. Finally, I would like to thank everyone that has been involved in fsociety tribute, from the developers, to the testers and the donators.
    9
    Hello friends,

    New update is up! Thanks to my Telegram testers for their useful feedback and reports.

    Changelog

    fsociety tribute stable#1.80

    Thanks to everyone involved in the following changes:
    • Fix an occasional kernel panic that had been affecting the previous versions
    • Revert "mm: compaction: Add automatic compaction mechanism"
    • Revert "qcacld-3.0: use power efficient workingqueue"
      (was causing higher idle battery drain due to its conflict with qcom_rx_wakelock disable)
    • Remove USB2 Fast Charge support
    • Add Haptic Feedback level Control w/ FPR Haptic Feedback Control support
      (thanks to engstk for their original work)
    • dsi: panel: add in-driver ULPS enabling (thanks to tbalden for their original work)
    • gpu: msm: Remove tracing
    • msm: camera: Stub out the camera_debug_util API and compile it out
    • cpuidle: enter_state: Don't needlessly calculate diff time
    • Revert "power: Reduce debug logging if logbuffer is still enabled"
    • defconfig: Disable Google logbuffer
    • defconfig: Set DISABLE_TRACE_PRINTK
    • defconfig: Disable Memory Dump driver
    • defconfig: Disable unnecessary errata
    • defconfig: Unset a bunch of debugging options
    • defconfig: Disable some sleep states debugging configs
      (thanks to Freak07 for their work)
    • qcacmn: Remove leftover debug function
    • arm64: vdso: Compile vDSO at O3 with Clang
    • arm64: dts: sdmmagpie: Disable debug monitoring
    • arm64: dts: sdmmagpie: Disable expedited RCU grace periods
    • arm64: dts: msm: disable kpti on sdmmagpie
    • arm64/dts: qcom: Disable CoreSight DT entries for sdmmagpie
    • hwtracing: coresight: Add entries from sdmmagpie-coresight
    Download & Links
    8
    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, 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