• 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 there,

I have looked it up, and it seems that the WIreless Monitor Mode is enabled by default in newer Android powered devices with CONFIG_FEATURE_MONITOR_MODE_SUPPORT

However, I have pushed commits which would make the kernel work properly with nethunter. I will look up on the USB keyboard support when I will have more free time

I think that the USB keyboard should work as CONFIG_USB_GADGET is enabled by default. Let me know if it does!

Hey there,

I would like first to thank you all for your feedback and concern. Indeed, there is a version attached to the quoted post that has commits related to Nethunter as mentioned above. I would like you to test it instead as I did not and I would not push these changes to the main branch. The reason is that such changes do not concern the "average" daily life user.
 
  • Like
Reactions: d33dvb

momojuro

Senior Member
Jan 15, 2014
543
915
Samsung Galaxy A30
Google Pixel 4a
Hello friends, today's new update!

Changelog

fsociety tribute stable#1.11

Thanks to everyone involved in the following changes:
  • Revert changes from the recent updates that were causing possible stability issues
  • Cherry-pick last chipset patches from CAF
  • sched: fair: Modify capacity margins for sm7150ab.
  • Revert "ARM64: dts: magpie: Remove unused conflicting disp_rdump_memory region"
  • android: binder: add rate limit for possible excessive log
  • defconfig: Don't initialize early random pool
  • include: linux: Set nr_requests and read-ahead values back to default
    (thanks to eng.stk for their tuning approach)
  • sched: fair: Cover more WALT balancing cases.
  • diag: disable DIAG_DEBUG
Download & Links
 

d33dvb

Senior Member
Sep 30, 2007
713
165
Thanks for that quote I thought there was a version you built specifically with nethunter stuff, just couldn't find it. Is that version going to be compatible with lineage 18.1 like the new ones are?
 

d33dvb

Senior Member
Sep 30, 2007
713
165
Thanks for that quote I thought there was a version you built specifically with nethunter stuff, just couldn't find it. Is that version going to be compatible with lineage 18.1 like the new ones are?
I took the plunge and it does boot fine in lineage 18.1. I tested USB hid using USB keyboard from the nethunter store and also rocky to use as hid and had no luck. I am downloading the Kali image again and will test monitor mode and injection
 

d33dvb

Senior Member
Sep 30, 2007
713
165
I did have one major bug with 1.02 beta with those changes. Could not see any storage devices, Franco could not see my backups and would not play my music. I was able to see my download folder so I reflashed 1.1 manually and got it back. Really wish I had TWRP I get freaked out being out without a PC.
 
  • Like
Reactions: momojuro

Chrisnetika

Member
Jan 16, 2021
36
11
Google Pixel 4a
Dumb question,do I do anything with these settings in fkm or exkm? Some say enabled and disabled with a slider to the right.Not sure what they are for or if it's working with sliders off tho some say enabled.In Exkm it has both on/off button and a slider.. confusing xd.
 

Attachments

  • Screenshot_20210513-041500.png
    Screenshot_20210513-041500.png
    122.5 KB · Views: 48

momojuro

Senior Member
Jan 15, 2014
543
915
Samsung Galaxy A30
Google Pixel 4a
I did have one major bug with 1.02 beta with those changes. Could not see any storage devices, Franco could not see my backups and would not play my music. I was able to see my download folder so I reflashed 1.1 manually and got it back. Really wish I had TWRP I get freaked out being out without a PC.
That's why I have not thought of merging those changes into the main version's branch. I am glad you were able to sort that out! Feel free to join the Telegram group so that we may all find a workaround for Nethunter. I hope you do understand, however, that it is not one of my priorities to make it work.
Dumb question,do I do anything with these settings in fkm or exkm? Some say enabled and disabled with a slider to the right.Not sure what they are for or if it's working with sliders off tho some say enabled.In Exkm it has both on/off button and a slider.. confusing xd.
You should leave the settings as default.
 
Last edited:
  • Like
Reactions: CSmaug and d33dvb

momojuro

Senior Member
Jan 15, 2014
543
915
Samsung Galaxy A30
Google Pixel 4a
Hello friends, today's new update!
Please, don't forget to update FKM's custom json link as well.

Changelog


fsociety tribute stable#1.50

Thanks to everyone involved in the following changes:
  • Full source rebase from scratch
  • sched: fair: Fix load balancing for big tasks
  • msm: ipa: Add an option to allow IPA wakelocks (disabled by default)
  • msm: ipa_v3: Do not acquire wakelocks
  • msm: ipa_v3: block ipa_ws wakelocks
  • blkdev: Set QUEUE_FLAG_NONROT
Download & Links
 
Last edited:

Chrisnetika

Member
Jan 16, 2021
36
11
Google Pixel 4a
Just a suggestion, run 2 separate release channels, stable that is updated monthly that is tested and stable(with occasional hotfixes if needed) and beta that has all new changes and comes with reverts of features if needed. Reason why I ask, seeing reverts of some things that can cause instability. As someone who already had to deal with google support already to replace my device because of a green line on my screen .. just a bit cautious but I love this kernel. I know there are others here asking for xyz to be added and that is cool.. perhaps it can be added to beta channel and tested through the month before it gets added to stable release channel. Thanks for the consideration, Will donate when I can for your work.
 
  • Love
Reactions: momojuro

momojuro

Senior Member
Jan 15, 2014
543
915
Samsung Galaxy A30
Google Pixel 4a
Just a suggestion, run 2 separate release channels, stable that is updated monthly that is tested and stable(with occasional hotfixes if needed) and beta that has all new changes and comes with reverts of features if needed. Reason why I ask, seeing reverts of some things that can cause instability. As someone who already had to deal with google support already to replace my device because of a green line on my screen .. just a bit cautious but I love this kernel. I know there are others here asking for xyz to be added and that is cool.. perhaps it can be added to beta channel and tested through the month before it gets added to stable release channel. Thanks for the consideration, Will donate when I can for your work.
First of all, I appreciate your kind words and your suggestion.
The last rebase I did was to keep only the commits that I was sure of their reliability. Indeed, more than 300 commits from the previous main branch were removed. I wanted to start things on a good base, basing myself on all the experience I gathered up within the past month. The highly frequency of the updates, to be honest, could be explained by how much I have been enjoying myself to work on this project. You're right though, the releasing frequency will be slowed down and the primary testing will be entrusted to the Telegram group users if needed.

Our ideologies go hand in hand. Before releasing the first stable version, I had been working during a whole week with my Telegram testers (that I kindly thank for their contributions) on private beta releases. The next updates that are coming will only contain changes that I am 100% sure of. Lastly, I would definitely appreciate your donation whenever you can, and with any amount you could think of. The thought alone is heartwarming and you have my gratitude for it.
 
Last edited:
  • Like
Reactions: sk8223 and d33dvb

momojuro

Senior Member
Jan 15, 2014
543
915
Samsung Galaxy A30
Google Pixel 4a
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
 
Last edited:

momojuro

Senior Member
Jan 15, 2014
543
915
Samsung Galaxy A30
Google Pixel 4a
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
 

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