Development [KERNEL][06/12/2022] fsociety tribute for Google Pixel 5a 5G [A12/L] - Google Pixel 5a

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello, friend.
Inspired by @wrongway213's original custom kernel for Pixel 4/XL, I decided to make my own project starting with the PIxel 4a 4G, and then wanted to expand the support to the Pixel 5a 5G. 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 Sultan kernel, Arter97 kernel, Kirisakura and many more.
Features
General features
Built with Google Clang version 14.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
ARM64 architecture optimization and performance patches
Merged security and code fixes from Qualcomm - CAF
Filesystem (ext4/f2fs) optimizations
Scheduler code improvements for better CPU tasks assigning
Disabled several debugging cruft
Network related features
Set BBR as the default TCP network congestion control and switch to fq_codel queue discipline
(this combination improves network speed and reliability - thanks to @kdrag0n)
Enable support for TTL spoofing
Update Wireguard to its latest release
Power-saving related features
Display "power-saving tweaks" merged-in (from Proton kernel)
Reduce the GPU idle timeout set to 64 ms and implement GPU power-saving changes from Sultan kernel
battery: Tweak QG SOC to be more linear/monotonic (from Proton kernel)
That fixes the stock kernel's unlinear battery level curve, especially between 100% and 90%. The device will need a few charge-discharge cycles to take it into consideration
Performance related features
Faster system call filtering using BPF JIT (from Proton kernel)
Implement LRNG and enable it as default for better performance (more info at: https://www.phoronix.com/scan.php?page=news_item&px=LRNG-Random-2021-v41)
fuse: give wakeup hints to scheduler to speed up compress/decompress in internal storage (from Qualcomm,
found in P6's Kirisakura kernel)
Disable the GPU memory usage tracing (which was enabled for debugging purposes)
Other under the hood changes
Extra features
KCAL Color Control support (from ElementalX/Cleanslate - thanks to @savoca, @tbalden, and @flar2)
Vibration Control support (from ElementalX)
Download & Links
#1.57 ZIP download: https://sourceforge.net/projects/fsociety-tribute/files/pixel5a-5g/fsociety-tribute-stable#1.57.zip/download
Android 12/L Franco Kernel Manager custom json: https://github.com/fsociety-tribute/barbet/raw/a12-rebase/fkm/fkm.json
Support: Telegram group
Donations: PayPal
Credits go to
LineageOS and GrapheneOS for providing their initial source drops
@wrongway213 for inspiring me to achieve this project and his contributions (especially this thread template)
@eng.stk for blu_spark kernel, for his contributions and his personal pieces of advice
@tbalden for Cleanslate kernel, KCAL support, providing the building script and his contributions
@Freak07 for his guidance in solving my first kernel compiling issues and for his amazing contributions
@kdrag0n for Proton kernel and his innovative contributions
@Sultanxda for Sultan kernel and his outstanding contributions
@arter97 for Arter97 kernel and his efficient contributions
@osm0sis for AnyKernel3 and his contributions
@flar2 for ElementalX and his contributions
@nathanchance for his compilation guides and repos
Thanks to
@Anonshe, @peikojose and all my Telegram's group members for being the awesome testers they are
@lacia-chan and @JoshuaDoes for their technical support and the discussions we had together
Every person that submitted a donation, including Shane that gave me his financial contribution which pushed me to work on redbull
XDA:DevDB Information
fsociety tribute for Pixel 5a 5G, Kernel for the Google Pixel 5a 5G
Contributors
momojuro
Source code: Github repository
Kernel Special Features: KCAL, Vibration Control, Wireguard
Version Information
Status: Stable
Current Stable Version: 1.57
Stable Release Date: 2022-06-12
Created 2022-02-22
Last Updated 2022-06-12

Reserved #1

Is root required to flash this kernel?

pawlik79 said:
Is root required to flash this kernel?
Click to expand...
Click to collapse
Yes. You will then be able to flash the kernel using a kernel flasher like FKM or EXKM!

Flashed and running good. Thanks for your support.

momojuro said:
Yes. You will then be able to flash the kernel using a kernel flasher like FKM or EXKM!
Click to expand...
Click to collapse
I have flashed your kernel as well and I'm very pleased how smooth and stable my phone is now. Is it possible to implement smart charging feature?

Am I still able to use Pixel-specific features like call screening with this kernel?

pawlik79 said:
I have flashed your kernel as well and I'm very pleased how smooth and stable my phone is now. Is it possible to implement smart charging feature?
Click to expand...
Click to collapse
What do you mean by "smart charging" feature? Thanks for your feedback!
MetalJulia said:
Am I still able to use Pixel-specific features like call screening with this kernel?
Click to expand...
Click to collapse
I don't believe flashing the custom kernel shall have any consequence on that, so yes! Don't forget to use the SafetyNet fix from kdrag0n to spoof your root status, just in case.
The next build is currently being tested on the Telegram group. It shall be released on XDA very soon!

momojuro said:
What do you mean by "smart charging" feature? Thanks for your feedback!
Click to expand...
Click to collapse
I believe they mean the phone limiting the charging rate overnight based on usage patterns and the set alarm, so that it only reaches 100% just before the alarm goes off.

MetalJulia said:
I believe they mean the phone limiting the charging rate overnight based on usage patterns and the set alarm, so that it only reaches 100% just before the alarm goes off.
Click to expand...
Click to collapse
I appreciate your answer. The kernel follows stock's initial set of features, so that should be usable with fsociety tribute as well.

momojuro said:
What do you mean by "smart charging" feature? Thanks for your feedback!
Click to expand...
Click to collapse
Smart charging was one of the feature in A11 custom kernel to set limit cut off charging(e.g. 80%) to extend battery life cycles.

pawlik79 said:
Smart charging was one of the feature in A11 custom kernel to set limit cut off charging(e.g. 80%) to extend battery life cycles.
Click to expand...
Click to collapse
fsociety tribute's has got A12 stock's implementation of what you're asking for: https://www.xda-developers.com/google-pixel-battery-charging-limit-feature/

Hello friends,
Here we are for a new update!
The project which started with the Pixel 4a 4G, then extended its support to the Pixel 4a 5G, Pixel 5 and Pixel 5a, has reached 2000+ downloads over 60+ countries, and it is a milestone I wouldn't have reached without your support! Thank you.
You're kindly asked to make sure you're using the stable v24.3 of Magisk before flashing fsociety tribute!
Changelog
fsociety tribute stable#1.43
- Full code rebase for better stability and address the previous reported issues on #1.00
- Android 12L - March 2022 security patch ready (thanks to @lacia-chan for providing the complementary merges)
- Merge the fix for the dirty pipe exploit (more info at: https://dirtypipe.cm4all.com/)
- Reduce the GPU idle timeout from 64ms to 58ms (stock is 80ms)
- Reset zRAM's disksize to stock's default
- Update the compiler from Clang 14.0.1 to Google's latest Clang 14.0.2
- Implement LRNG and enable it as default for better performance (more info at: https://www.phoronix.com/scan.php?page=news_item&px=LRNG-Random-2021-v41)
- Misc. under-the-hood changes
Download & Links
Android 12/L ZIP download: https://sourceforge.net/projects/fsociety-tribute/files/pixel5a-5g/fsociety-tribute-stable%231.43.zip/download
Android 12/L Franco Kernel Manager custom json: https://github.com/fsociety-tribute/barbet/raw/a12-rebase/fkm/fkm.json
Telegram group: https://t.me/fsociety_tribute_barbet
Donations: https://paypal.me/momojuro

momojuro said:
Hello friends,
Here we are for a new update!
The project which started with the Pixel 4a 4G, then extended its support to the Pixel 4a 5G, Pixel 5 and Pixel 5a, has reached 2000+ downloads over 60+ countries, and it is a milestone I wouldn't have reached without your support! Thank you.
You're kindly asked to make sure you're using the stable v24.3 of Magisk before flashing fsociety tribute!
Changelog
fsociety tribute stable#1.43
- Full code rebase for better stability and address the previous reported issues on #1.00
- Android 12L - March 2022 security patch ready (thanks to @lacia-chan for providing the complementary merges)
- Merge the fix for the dirty pipe exploit (more info at: https://dirtypipe.cm4all.com/)
- Reduce the GPU idle timeout from 64ms to 58ms (stock is 80ms)
- Reset zRAM's disksize to stock's default
- Update the compiler from Clang 14.0.1 to Google's latest Clang 14.0.2
- Implement LRNG and enable it as default for better performance (more info at: https://www.phoronix.com/scan.php?page=news_item&px=LRNG-Random-2021-v41)
- Misc. under-the-hood changes
Download & Links
Android 12/L ZIP download: https://sourceforge.net/projects/fsociety-tribute/files/pixel5a-5g/fsociety-tribute-stable%231.43.zip/download
Android 12/L Franco Kernel Manager custom json: https://github.com/fsociety-tribute/barbet/raw/a12-rebase/fkm/fkm.json
Telegram group: https://t.me/fsociety_tribute_barbet
Donations: https://paypal.me/momojuro
Click to expand...
Click to collapse
Hi,
Love your kernel changes. Much smoother and my pixel 5a doesn't overheat as much.
However, when I flashed 1.43, my wifi stopped working completely. Like it won't let me toggle wifi on and off.
I reverted to my patched stock kernel and wifi worked again. Same goes for 1.0 release of f-society.
Does anyone else have this issue?

grandpajiver said:
Hi,
Love your kernel changes. Much smoother and my pixel 5a doesn't overheat as much.
However, when I flashed 1.43, my wifi stopped working completely. Like it won't let me toggle wifi on and off.
I reverted to my patched stock kernel and wifi worked again. Same goes for 1.0 release of f-society.
Does anyone else have this issue?
Click to expand...
Click to collapse
I've been experiencing the same issue too. Everything works on stock patched/ #1.00.

aR_ChRiS said:
I've been experiencing the same issue too. Everything works on stock patched/ #1.00.
Click to expand...
Click to collapse
I'm having exact same problem.

pawlik79 said:
I'm having exact same problem.
Click to expand...
Click to collapse
join the telegram group download the 1.3 release

Here is V1.3
Momo in barbet - fsociety tribute kernel - Pixel 5a 5G
t.me

Does this kernel add support for usb wifi adapter?

Hello everyone!
I hope you're all doing well. First of all, thank you for your support as always. I would also like to apologize for the sudden communication silence which wasn't planned. Sometimes life gets in the way, and you've got to make choices.
I fortunately found a part-time job and the first weeks were mentally and physically draining. If everything goes well, I will be able to buy a Pixel 5a soon in June, so that I may work again on the redbull/barbet kernel builds while also keeping my 4a 4G as my second device to maintain the original fsociety tribute project!
Excited to come back and exchange with the lots of you, but also address the reported issues.

Related

[KERNEL] Nebula OOS/AOSP: (OP 6 & 6T) Latest on TG, Or Official Latest on sourceforge

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changelogs​
18.0.3: Fixed HBM mode switch, a few other small fixes, and improvements.
Qcacld now uses a profile system ported from CAF's qcacld-3.0 msm8996.
18.0.0: Updated Touchscreen & FP, Changed name of Zip Name, Latest OP sources with 4.9.159:
17.1.0: Built 100% CLANG: Last official for the 4.9.158 series.
17.0.2: Rebased whole new kernel, Updated commits, Build Fully With Clang 9 'DragonTC'.
16.8.3: Reformated code style, For faster optimized code, Now built with POLLY Thanks to @xanaxdroid
Reworked FP. Removed some unneeded TCP CONGS and some debugging code.
16.8.0: Removed most debugging stuff, toned down FP, updated a few other areas.
16.7.0: Fixed the data corruption issue, reworked some things. Calmed down CPU, Pocket Protection works again.
16.6.0: Rebuilt from previous edition. Smoother and faster.
16.4.0: Rebuilt from scratch under fresh new source.
16.3.0: This kernel is being released as is, I made many many changes, I would take heed
when installing this kernel, keep an eye on it. Some things I am not very happy about.
(Then why release? Because I need to make sure its not just me.)
16.1.9: Re-based Kernel, made some cosmetic changes, also reworked defconfig,
Gesture Controls for AOSP based ROMs, will not work, But OOS it will.
WiFi has been tested to work on .10 but many have complained that it will
only work when they upgrade to .11 (Keep this in mind when you report problem)
16.5.0: Both Stock and Custom AOSP Gestures work, (depending on your ROM)
16.1.0: New Download Location added: Also, this is probably my best release yet.
qcacld-3.0 is now compiled inline with Kernel.
Attention​
This is strictly created for OOS, but it has been tested on Custom AOSP based ROMs,
on AOSP, everything works, But WiFi and Gestures, (WiFi uses stock WLAN module) (Gestures, need the API, I never added yet)
One day I will add that in the near future if people on AOSP based ROMs request so.
Compilers Used​
Clang Compiler: DragonTC 9.x Compiled by me w/Polly
GCC Compiler: Uber 9.x <-- We build w/100% CLANG.
Features​
Linux 4.9.159 (w/latest OP/Linux)
CAF: LA.UM.7.3.r1-06700-sdm845.0
Linker: CLANG_LD <-- Yeah thats right, 100% CLANG
Makefile: Optimized to use POLLY
SafeStack (Disabled for now)
qcacld-3.0: (Compiled inline with Kernel)
CPU (New Overclocked Freq Table) (Added: 838mhz and 767mhz) By @pappschlumpf of SmurfKernel (Doesnt work as expected)
GPU (w/Overclock Freqs 767, 838)
AUDIT (Disabled) <Better Performance>
PROC_STRIPPED (Enabled)
Memory Compaction (Disabled)
DEBUG_ALIGN_RODATA (Enabled) <Better Performance>
FRAME_POINTER (Disabled) <Better Performance>
OPTIMIZE_INLINING (Enabled) <Better Performance>
gcma Guaranteed Contiguous Memory Allocator (default)
Simple Low Memory Killer By @Sultan (seems to work) (Causes Camera Issues)
CPU Input Boost By @sultan (Updated)
DevFreq Boost By @Sultan (Updated)
KLapse V4.0 - A kernel level livedisplay module by @tanish2k09
HZ=1000 (This is for now)
Memory Optimizations
Frame Pointers Disabled
Adreno Booster 2.2 By @tbalden
KCAL Color Control
Sound Control (w/gain Controls)
Touch Boost (W/Dynamic SchedTune Boost)
Boeffla WakeLock Blocker (v1.10)
Backlight Minimun Brightness (int)
High Brightness Mode (On/Off)
Override System VIB Settings (On/Off)
OnePlus Gesture Vibration (On/Off)
USB Fast Charge (On/Off)
Notification LED Fade/Speed/Intensity (On/Off)
Notification Vibration
Call Vibration
Sweet2Sleep Vibration​
Available Gestures​
Double Tap To wake
Sweep To Wake
OnePlus Gesture Vibration
Sweep To Sleep
Available IO/Scheds​
noop
anxiety
deadline
cfq (default)
fiops
sio
zen
maple
bfq
Available TCP Congestion Algorithms​
agilesd
westwood (default)
cubic
vegas
sociopath
Downloads​
OnePlus 6-6T (Nebula)
Links to my other Nebula Kernel Threads​
Nebula Telegram Group
OnePlus 6T Nebula Kernel Thread
OnePlus 6 Nebula Kernel Thread
XDA:DevDB Information
OnePlus 6/6T Nebula Kernel, Kernel for the OnePlus 6
Contributors
Eliminater74, theknux
Source Code: https://gitlab.com/devoneplus/android-linux-stable-op6t_20190222/tree/oneplus/SDM845_P_9.0_CAF_WIP_20190224
Kernel Special Features:
Version Information
Status: Stable
Created 2018-12-21
Last Updated 2019-02-27
Reserved
Reserved 2
Nice to have another kernel with good set of options. Is this for OOS/HOS or custom ROMs? You might want to specify it in OP
@Eliminater74
Glad to see you here. I'm excited what you make possible on the OnePlus 6.
Best Regard's
Alex1911
Is this kernel for custom ROMs or only oos?
Will testing now.
Welcome aboard! I fallowed you from htc 10 days , great work !!
Update: Nebula 16.0.0 has been released, 4.9.147 + CAF: LA.UM.7.3.r1-06300-sdm845.0 Merged in:
Rebased alot of stuff, and some fixes as well, added a few more things as well.
Eliminater74 said:
Update: Nebula 16.0.0 has been released, 4.9.147 + CAF: LA.UM.7.3.r1-06300-sdm845.0 Merged in:
Rebased alot of stuff, and some fixes as well, added a few more things as well.
Click to expand...
Click to collapse
I remember you from the HTC 10 days!! Not that long ago!
Is this a EAS kernel?
Eliminater74 said:
Update: Nebula 16.0.0 has been released, 4.9.147 + CAF: LA.UM.7.3.r1-06300-sdm845.0 Merged in:
Rebased alot of stuff, and some fixes as well, added a few more things as well.
Click to expand...
Click to collapse
Lets give it a try right now ! an see how the beast behaves
Why when I want boot into TWRP it freeze at twrp logo?
I been working on making This Kernel OMNI, meaning to work on both AOSP and OOS..... Had it tested on AOSP under 2 dif custom roms, and only thing that was wrong was WIFI not working, and Gestures not working,
reason WIFI not working, because I used STOCK module, as for gestures, because I am using STOCK gestures implantation.. I need to add the custom AOSP Kernel API for gestures then gestures will also work on custom roms..........
As for WIFI, I maged to get qcacld-3.0 to build and compile with kernel, Booted up, and seems to be working, because the stock module shows empty when I check with 'lsmod'...
but I do have wifi, so the built into kernel qcacld-3.0 wifi seems to work fully........ But I need to keep my eye on it and test it out.......... see what lays ahead............. If all checks out.
ill be releasing next build with built in wifi.. and get other peepz opinions..
Pressing the fingerprint is mapped as a home buttons....
How can I disable this ?
Also thanks for this amazing kernel.
Damn, your kernel was dope on LG G3 coupled with XenonHD ... Gonna give it a try !
Update: Nebula Kernel 16.1.0​
Get it in Downloads........
Thank you. It would be great to be able to use this kernel with AOSP as well. If a single image is not achievable, other developers approach was to include an image for OOS/HOS and another for custom ROMs in the same zip, to overcome the incompatibility issue. Anykernel2 can detect the OS and flash the right image.
Read up a few posts. He's working on it.
Will try.
Floodland said:
Thank you. It would be great to be able to use this kernel with AOSP as well. If a single image is not achievable, other developers approach was to include an image for OOS/HOS and another for custom ROMs in the same zip, to overcome the incompatibility issue. Anykernel2 can detect the OS and flash the right image.
Click to expand...
Click to collapse
Yeah im not into detecting OS and having 2 DTB's in ZIP.. I think thats just pointless, I know this kernel at its earlier stages was tested on AOSP based rom, and only thing that didnt work was wifi and gestures.
I have solved the WIFI issue but building qcald-3.0 inline with kernel, and it seems to work.. many changes done to the qcald for it to work like that.. anyhow.........
next is gestures which is pretty easy to fix. but I dont wanna lose STOCK gestures support, so im trying to figure out a way to keep them both together.

[KERNEL][P-S] riseKernel for A5|A7 2017

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Dear folks, today I'm presenting my very own custom kernel for the Galaxy A5 and A7 2017!
This kernel provides many features and a lot of customization.
*To change settings, it's recommended to use HkTweaks by @corsicanu
because it is made especially for Exynos7880 devices. Other apps like kernel adiutor or Mtweaks
do work too, but they may miss some settings.[/CODE]
DISCLAIMER
Code:
*Im NOT responsible for bricked devices, dead SD cards or any damage done to your device.
Compatibility
This kernel is compatible to all variations of A5 2017 and A7 2017.
Only A520F is well tested as I have this device.
Features
Latest A720SKSU5CTL2 kernel release
Linux 3.18.140
Support for AOSP 12, AOSP 11.0, AOSP 10.0, Treble 11.0, Treble 10.0 and Rise-Q
CRC control
Frandom
UKSM (Ultra kernel samepage merging)
ARCH power
USB charging default changed to 900mA
CPU and GPU voltage control
DevFreq voltage control
CPU overclock to 2002 Mhz
GPU overclock to 1034 Mhz
Configurable wakelocks
Boeffla wakelock blocker
Wireguard
Dynamic Fsync
Lots of CPU governors
Lots of I/O schedulers
Powersuspend
and more
Installation
Make sure to have the latest version of TWRP/SHRP/Orangefox installed
Boot to recovery
Make a backup of your current boot partition in case something goes wrong
Flash the installer zip
The installer will detect your phone variant and which ROM you have installed
Optionally, flash Magisk or any other mod right after.
Reboot
Downloads
Moved to post #2
Donations
If you like my work feel free to send me a donation.
Credits
Thanks to @Option58 for the work on the official lineage sources for our device. Custom-kernels wouldn't be possible without him!
Also thanks to @corsicanu because I integrated some of hadesKernel's features into this kernel.
Thanks to everyone who worked on the features that this kernel contains.
All testers
Contributors
Simon1511
Source Code: GitHub
Downloads
v1.10: Google Drive | Androidfilehost | Github release with single-images
Old versions: Google Drive folder | Androidfilehost folder
Which version do I have to download?
For any AOSP 12.0 ROM use the latest version
For any recent AOSP 11.0 ROM (atm only LineageOS 18.1) use the latest version
For any recent AOSP 10.0 ROM (like LineageOS 17.1, crDroid 6.X, RessurectionRemix 8,...) use the latest version
For older AOSP 10.0 ROMs (like PixelExperience, EvolutionX,...) use v1.4
For 11.0 and 10.0 GSIs (riseTreble Q and R) use the latest version
For Rise-Q use the latest version
For any AOSP 9.0 ROM (LineageOS 16, crDroid 5.X, ....) use v1.4-1
The installer zip contains all versions of this kernel and will automatically choose which kernel version to install depending on your device and installed ROM. Contact me if you face any problems with the installer.
Changelogs
Latest: v1.10
Spoiler: Latest version
Corrected voltage ranges for GPU and CPU voltage control
Reverted lineage's kernel changes and A720SKSU5CUJ2 merge as they broke deep sleep
Added a survival script for the kernel to stay installed after lineage's OTA updates
Spoiler: Old changelogs
riseKernel combined zips
Spoiler
v1.9
Spoiler
AOSP 12 support (Lineage 19)
Switched to AOSP GCC
Abort installation if ROM's Android version is newer than the kernel's
v1.8
Spoiler
Merged latest A720SKSU5CUJ2
Merged latest kernel changes from LineageOS and Google kernel/common
v1.7
Spoiler
Set Enforcing for Lineage 18.1 since SePolicy has been written for some time already
Merged latest kernel changes from LineageOS (including ones for Xbox One and PS4 controllers)
Added a missing error message for users running a non-treble ROM while still having treble files in their /vendor partition
Picked a missing patch for FB notifier callback and enabled it globally
Small misc stuff
v1.6
Spoiler
Added AOSP 11 and Treble 11 support
Enabled power efficient workqeue
Improved installation script
Added input boost and fingerprint boost
Added devfreq voltage control
v1.5
Spoiler
Updated to latest A720SKSU5CTL2 kernel release
Updated to Linux 3.18.140 (thanks to @Option58)
Combined source of AOSP, Treble and OneUI kernel
Added a version with support for OneUI 2.X
Removed support for AOSP Pie, use v1.4.1 if you need it
Made zSwap use only LZ4 as compression method
Added a workaround that prevents Magisk mount leakage (Not my own workaround)
Updated UKSM and disabled it by default
Enabled CPU bandwidth control (CFS_BANDWIDTH) for OneUI as it's expected to be enabled
v1.4-1 / v4
Spoiler
Updated to latest A720S kernel (NOTE: Only use v1.4-1 on LineageOS and crDroid. For PixelExperience, etc use v1.4)
Enabled LZ4 ZRAM compression
Included Lineage's FB notifier fix (Will allow to disable the touchscreen in e.g. Phone calls)
riseKernel Android 10.0
Spoiler
v1.4 / v4
Spoiler
Fixed CPU overclock
Fully re-made under the hood
Removed broken stuff
Combined Pie, Q and Q-treble kernel in one zip instead of one per kernel
v1.3
Spoiler
Enabled zSwap/zRAM
Changed to SeLinux Enforcing as default
v1.2
Spoiler
Disabled Knox, Tima, Verity
Updated to work on latest LineageOS and crDroid
v1.1
Spoiler
Added some fixes which slightly improve phone call audio (This will also be merged into the stock lineage/crDroid kernel)
Updated wireguard
Faster booting
Disabled low memory killer because we use memcg
Other minor improvements
v1.0
Spoiler
Initial support for Android 10.0
Early mount EFS
riseKernel treble
Spoiler
v1.3
Spoiler
Updated to A720S kernel with Linux 3.18.91
Forced SeLinux Permissive
Enabled zSwap/zRAM
Removed Wireguard due to incompatibility
riseKernel Android 9.0
Spoiler
v3
Spoiler
Updated wireguard
Added early system mount
Underclocked GPU to 160Mhz
Increased charging levels
General power and performance improvement
Removed broken/buggy governors
v2
Spoiler
Disabled optimize for size
Re-enabled CPU hotplug
Overclocked OSCCLK
Added charging controls
Better UI performance
Disabled CRC check
General performance improvements
v1
Spoiler
Initial release
Wow, nice, good job, will try it out!
A520l will try tomorrow
Working Great with pixel experience ROM, I've upped the voltage on GPU and CPUs , Played COD mobile default all is good , used GLtools to get max graphics , and again all is good
Just flashed it. Already encountered a bug, hk keeps on loading. Looking forward on your developments. Good luck
And unlocking the phone through fingerprint seems slower now for some reason. Opening apps is also slower now. Btw im using Google pixel Pie Plus
Flashed it and working good so far. I think you're the first to make a custom AOSP kernel for this phone.
Magisk 20 is working for me, it just takes a few tries to boot sometimes.
---------- Post added at 07:26 AM ---------- Previous post was at 07:25 AM ----------
MitchiePitchie said:
Just flashed it. Already encountered a bug, hk keeps on loading. Looking forward on your developments. Good luck
And unlocking the phone through fingerprint seems slower now for some reason. Opening apps is also slower now. Btw im using Google pixel Pie Plus
Click to expand...
Click to collapse
Idk, it's all working good for me. Hk is working good too. I am on PE.
MitchiePitchie said:
Just flashed it. Already encountered a bug, hk keeps on loading. Looking forward on your developments. Good luck
And unlocking the phone through fingerprint seems slower now for some reason. Opening apps is also slower now. Btw im using Google pixel Pie Plus
Click to expand...
Click to collapse
Unlocking the phone takes longer because the CPU clocks down on all cores when the screen is off. Therefore it needs longer to unlock. At least this is the explanation that makes the most sense.
That apps are opening slowly sometimes is also a bug I encountered, forgot to mention it in my OP thread. This can be fixed by simply reinstalling/updating the app or doing a clean flash (install ROM, then kernel right after)
Simon1511 said:
That apps are opening slowly sometimes is also a bug I encountered, forgot to mention it in my OP thread. This can be fixed by simply reinstalling/updating the app or doing a clean flash (install ROM, then kernel right after)
Click to expand...
Click to collapse
Will do. Thanks
Cpu hotplug does not work for me
Never1488 said:
Cpu hotplug does not work for me
Click to expand...
Click to collapse
You mean hotplug in general or the governor called hotplug?
Simon1511 said:
You mean hotplug in general or the governor called hotplug?
Click to expand...
Click to collapse
Hotplug in general
I'm laughing so hard thinking of this title as "Riiiiise and Shiiiine" Project
Good work btw
With crDroid and this kernel, I got 106k in antutu. I love the fast charging too. Such an upgrade compared to "stock" aosp.
Latecomer... flashed and rebooted first time on Magisk 20 using crDroid
Going to have a play with some features and report back if I find anything useful.
Thanks Simon
SnowFuhrer said:
With crDroid and this kernel, I got 106k in antutu. I love the fast charging too. Such an upgrade compared to "stock" aosp.
Click to expand...
Click to collapse
97117 for me. Going to tinker then have another go. Best score I've ever had on this device though.
Replacing the device soon though
Simon
So far so good. Been trying some settings I had on my Xperia SP about 4 years ago and they seem to be working well for a balance of performance and battery.
Simply put:
CPU governor - Interactive (max and min frequencies set at maximum and minimum accordingly)
I/O scheduler - Fiops with Internal Storage read ahead set to 1024KB
I/O scheduler - bfq with External storage read ahead set to 1024KB
No CPU hotplug (really only useful for stock Sammy kernel)
That's it
Feel free to try and report back with your own findings.
I'm finding little lag now (was getting some really big lags and micro freezes) and battery draining slower
moozer said:
97117 for me. Going to tinker then have another go. Best score I've ever had on this device though.
Replacing the device soon though
Click to expand...
Click to collapse
My results was with GPU overvoltaged and no apps other than hKtweaks, magisk and antutu. So hardly real world.
SnowFuhrer said:
With crDroid and this kernel, I got 106k in antutu. I love the fast charging too. Such an upgrade compared to "stock" aosp.
Click to expand...
Click to collapse
which magisk version u are using

[KERNEL][EAS][LAVENDER][9.0] || Clarity Kernel || HANA-CI

Clarity Kernel | Stability for performance ​From HANA-CI Build Project​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Clarity is an EAS based kernel that have aim to get fully balanced with battery and performance usage without need any configuration to use. and also, always up-to-date with CAF, AOSP/Common, F2FS & EXFAT, designed for flash & forget kernel :3.​
Features
Based on CAF Kernel Tag 'LA.UM.8.2.r1-05100-sdm660.0' & WLAN Tag 'LA.UM.7.2.c6-03700-sdm660.0'
Up-to-date for linux-stable (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git)
Up-to-date for f2fs stable branch (https://github.com/jaegeuk/f2fs-stable)
Up-to-date for exfat stable branch (https://github.com/arter97/exfat-linux)
Compiled using Clang 10.0.0 Proton Clang (Compat VDSO)
Merged EAS patch from several sdm660/636 devices
Use optimized energy model data for sdm660 (by @kdrag0n)
Schedutil, Blu_schedutil & Pwrutilx CPU Governor
CPUSets & Stune Assist (EAS Assist Management)
Optimized CPU Boost for EAS (Dynamic Stune Boost v3)
Introduce Energy Model Management Framework for legacy support
Upstreamed CFQ and BFQ I/O Schedulers
Updated LZO/LZ4 Compressor/Decompressor Module
Improved Power Efficient Workqueue
USB Fastcharge
Klapse
Backlight Dimmer
And any other improvement or feature that i forget to tell '_' (Check git for more details)
AnyKernel Features
Up-to-date for AnyKernel3 master branch (https://github.com/osm0sis/AnyKernel3)
Compatibitlity
AOSP / LOS Based ROM
MIUI 10 (Android 9 Vendor)
NOT Compatible MIUI 11 (Android 10 Vendor], request xiaomi to upload their latest source
How To Install
Flash using recovery mode, reboot, done
Downloads
Sourceforge
Credits
The Linux Foundation, CodeAurora
@rama982 - For stable kernel base
@krasCGQ - For several sdm660 specific fix and optimization
@alanndz - For majority help on some issue in kernel
@najahiii - For EAS bringup and optimizations on sdm636/660
@kradg0n - For proton clang 10.0.0 prebuilt
And all others who have their commits or contributions picked
Tell me if i'm miss with credits
Telegram Support
Telegram Channel
Telegram Group Support
XDA:DevDB Information
Clarity Kernel For Redmi Note 7 from HANA-CI Build Project, Kernel for the Xiaomi Redmi Note 7
Contributors
Nicklas Van Dam
Source Code: https://github.com/HANA-CI-Build-Project/kernel_xiaomi_lavender
Kernel Special Features: EAS
Version Information
Status: Stable
Current Stable Version: r13
Stable Release Date: 2020-01-13
Created 2020-01-17
Last Updated 2020-01-17
Changelogs​
r13 - 01-13-2020 (GMT+7)
Upstreamed to v4.4.209
Updated WiFi tags to 'LA.UM.7.2.c6-03700-sdm660.0'
Switch to Proton Clang 10.0.0 (prebuilt-20200104)
Disable LLVM Polly optimizations
Apply several scheduler & schedutil optimizations for EAS
Fix Backport of Energy Model Management Framework
Fix cpufreq stats leaks (thanks to @alanndz, for references. Based on celtare21)
Merge ion/iommu & Merge latest other optimization from @Kerneltoast
Backport Deduce Wakeup Reasons function to manage several wakeup issue on kernel
Optimize CPUSets for Big.LITTLE device (missmatched on older build -_-)
Remove POPP GPU power control level
Implement crypto NEON XOR accelerated + CRC32 performance
Removed Several VLA Usage on kernel
Revert a lot of old gpu optimizations (cleanup)
Removed direct references to HZ
Disable other left debugfs & debugging drivers
Disable sched_boost features on kernel
Other misc optimizations
Older changelog isn't available for public, due still experimental builds
FKM OTA Support Added for Clarity Kernel!
You can access it, by installing latest FK Kernel Manager from playstore
How to use:
- Go to flasher menu
- Click "import a kernel download configuration" option from menu "CUSTOM KERNEL CONFIGS"
- Then copy the json link below for mido or lavender, depending on your device
- Click download to automatically Download and install kernel through the apps
Lavender :
- Pie / Ten OTA (FKM)
Copy Here (https://raw.githubusercontent.com/N...3-3.18-2/readme/fkm-ota/lavender/jconfig.json)
Reserved
Reserved
This is not mido thread
Sent from my Redmi Note 7 using Tapatalk
SykoraLukas said:
This is not mido thread
Sent from my Redmi Note 7 using Tapatalk
Click to expand...
Click to collapse
Edited thread
I'm still modified this thread, xda has slow response unfortunately
No deep sleep at all when phone on idle,but SOT is good as most time at lowest freq
ivanliao said:
No deep sleep at all when phone on idle,but SOT is good as most time at lowest freq
Click to expand...
Click to collapse
What rom that you using it now?
I only have that problem on user that use miui
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Nicklas Van Dam said:
What rom that you using it now?
I only have that problem on user that use miui
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Click to expand...
Click to collapse
Yodita By kjjjnob sir.can i PM you at Telegram?
ivanliao said:
Yodita By kjjjnob sir.can i PM you at Telegram?
Click to expand...
Click to collapse
Yes you can, but maybe i can't response in quick time. Better ask here
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Same problem with no deep sleep on pe10 official
Qret said:
Same problem with no deep sleep on pe10 official
Click to expand...
Click to collapse
send last_kmsg or dmesg here, i can't predict any issue with that reason
I'm using PE 10 too now in my lave, deepsleep working fine here, just make sure you don't have any lot process of background or anything that prevent deepsleep happen.
I'll try to configure deepsleep time faster on next build if possible
Does it support fast charging (18 watts)?
I really can't live without fast charging..
AbboodSY said:
Does it support fast charging (18 watts)?
I really can't live without fast charging..
Click to expand...
Click to collapse
Don't know for that, never test. I'm just support usual usb fast charge support and it was disable by default.
So i don't know
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Thank you for this great kernel. Stable, good performance. no hanging or error. everything works as it should with LineageOS 16. Only the battery is empty 1 to 1.5 hours faster. Is maybe the tribute for the good performance.
Rangdrol said:
Thank you for this great kernel. Stable, good performance. no hanging or error. everything works as it should with LineageOS 16. Only the battery is empty 1 to 1.5 hours faster. Is maybe the tribute for the good performance.
Click to expand...
Click to collapse
Is battery a bit drain?
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Nicklas Van Dam said:
Is battery a bit drain?
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Click to expand...
Click to collapse
Only very little drain, compaired to mokee or stock. Kernel is super. In the moment my favourite.
Edit: 29.01.20. now battery not more drain.
I think, the mobile network signal was weak or something like that.
Thats my favourite kernel from mido. Good to see for lavender too. Thanks dev.
Nicklas Van Dam said:
Is battery a bit drain?
Sent from my Xiaomi Redmi Note 4 using XDA Labs
Click to expand...
Click to collapse
Now the battery not more drain.
I think, the mobile network signal was weak or something like that. Not a kernel problem. Thankx for this nice kernel.
Does Clarity kernel and Pixel Experience 10 supports EAS?

[KERNEL][CUSTOM] Eureka kernel for all variants of Galaxy A30 for android 10(Q) & 11(R) & 12(S) ROMs

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi all,
this is the thread for a custom kernel i made for Samsung Galaxy A30.
The custom kernel has been named Eureka which is a greek work which means "I have found the solution". This multi-purpose kernel is the solution for battery, gaming, performance for A30. On creating this kernel, I believed that 1 kernel can be all of the above if properly tweaked!
As from Eureka R9.0, four kernel variants are available inside 1 same zip. This has been made possible using AROMA Installer.
Compatibility:
This kernel is compatible with AOSP GSIs/ROMs, OneUI2 and OneUI3. As from R9.0, there is only 2 variants of zip to download. One is called EMS and the other one is called HMP. Continue reading to learn more about them.
FEATURES:
* Disabled Samsung security features
* Enabled all governors + added other governors
* Overclocked CPU as follows:
BIG Cores: from 1768 MHz to 2288 MHz.​LIL Cores: from 1586 MHz to 1794 MHz.​* Underclocked CPU as follows:
BIG Cores: from 936 MHz to 208 MHz.​LIL Cores: from 839 MHz to 208 MHz.​* Added GPU thermal and voltage control
* Added latest boeffla wl blocker V 1.1.0 and disabled some wakelocks
* Network speed improvement
* Enable zram support and set default compressor as zstd.
* Switch to a lower charging voltage more quickly.
* GPU max frequency overclocked from 845 MHz to 1300 MHz
* Implemented Dynamic FSync 2.0
* Implemented a custom hotplug driver to enhance battery management
* Implemented Power Suspend driver
* High torch brightness on custom roms/gsis
* Has Spectrum support
* Automatic detection of magisk - If u are rooted, u don't need to flash magisk after kernel.
* Upstreamed kernel version from 4.4.177 to 4.4.302
* Built with Vortex Clang 14 toolchain with LTO. Reason: Better performance
* Support for EMS (Exynos Mobile Scheduler) added
Please read the changelog on github for full list of changes.
KNOWN ISSUES:
* Maybe ADB cannot be used at the same time as MTP
SOME MINOR TWEAKS FOR BEST GPU PERFORMANCE:
* Set GPU power policy to "always on"
* Set min and max GPU frequency to 1200/1300 MHz
* Disable GPU thermal manager to prevent GPU frequency from dropping
* Games don't require high CPU frequency because they depend more on GPU. You can therefore decrease CPU max frequencies to reduce heating of the device.
We have developed our own kernel manager called EKManager which is a fork of HkTweaks. It is compatible only with Eureka Kernels. You can download it from here:
LINK: Download EKManager app
Contact info:
Developers of Eureka Team:
* Telegram: @Chatur27, @Gabriel260BR and @roynatech
Channel for Eureka future updates:
* Telegram: https://t.me/eureka_kernel
Official discussion group for A30:
* Telegram: https://t.me/GalaxyA30
I'm grateful to KineSight for designing the logo.
* Telegram: @Kinesight
Reference about EMS kernel:
Energy Aware Scheduling (EAS) gives the scheduler the ability to predict the impact of its decisions on the energy consumed by CPUs. EAS relies on an Energy Model (EM) of the CPUs to select an energy efficient CPU for each task. Allowing to save up battery even further. EMS aka Exynos Mobile Scheduler, is a fork of EAS for Exynos. We ported to our 4.4.y kernel. As written above, EMS kernel is good for battery saving. Some words from kernel official docs: - EAS operates only on heterogeneous CPU topologies (such as Arm big.LITTLE) because this is where the potential for saving energy through scheduling is the highest.
EMS kernel + pwrutilx governor is very good at battery saving according to our test.
Reference about HMP kernel:
It's just the stock scheduler that comes with stock kernel. Basically it's the normal kernel.
What kernel variant to flash once inside AROMA installer?
1) AOSP Legacy Q/R/S - If you are using an old Eureka ROM which was released before February 2022, choose this.
2) AOSP Q/R/S (New) - If you are using an Eureka ROM built as from February 2022, choose this.
3) OneUI 2 - For any OneUI 2 roms (stock/ports).
4) OneUI 3 - For any OneUI 3 roms (stock/ports).
Download link for A30 (Read above to know which version to download for your OS):
All releases of Eureka for Q/R/S ROMs/GSIs (including OneUI)
Source code for my kernel:
Kernel source on GitHub
If you love our work, thank us by donating. Your donation can help us rent a cloud sever to build kernels and roms faster
Link to PayPal: https://www.paypal.com/paypalme/chaturbaij
Ill test it
Just reporting that this does NOT work with A30 Devices rooted with Magisk and will lead to Download Mode every time you boot your phone...
Any help from the Developer would be really appreciated.
uTamii69 said:
Just reporting that this does NOT work with A30 Devices rooted with Magisk and will lead to Download Mode every time you boot your phone...
Any help from the Developer would be really appreciated.
Click to expand...
Click to collapse
Hi, this kernel has been tested and working fine on A30 devices. Do not come and say that its not working on A30 DEVICES. Its you who is getting an issue, not other A30 users.
If you didn't follow the instruction given in twrp which says to flash magisk 20.3.zip after flashing the kernel, then don't complain.
Now about this magisk20.4 issue. A fix has already been found and the next update will fix this.
Thank you.
Chatur27 said:
Hi, this kernel has been tested and working fine on A30 devices. Do not come and say that its not working on A30 DEVICES. Its you who is getting an issue, not other A30 users.
If you didn't follow the instruction given in twrp which says to flash magisk 20.3.zip after flashing the kernel, then don't complain.
Now about this magisk20.4 issue. A fix has already been found and the next update will fix this.
Thank you.
Click to expand...
Click to collapse
Hi there once again, first and utmost I appreciate your hard work on the Kernel.
I was so frustrated after a few hours of testing and trying to get it to work without any fruition..
I also wanted to ask if it is possible to replace kernels or not, and if it is possible would you provide instructions to replace the kernel I have at the moment with yours? in addition, I'm running Havoc OS 3.8
Thank you.
Edit1:
Thanks! i got it to work! ^^
uTamii69 said:
Hi there once again, first and utmost I appreciate your hard work on the Kernel.
I was so frustrated after a few hours of testing and trying to get it to work without any fruition..
I also wanted to ask if it is possible to replace kernels or not, and if it is possible would you provide instructions to replace the kernel I have at the moment with yours? in addition, I'm running Havoc OS 3.8
Thank you.
Edit1:
Thanks! i got it to work! ^^
Click to expand...
Click to collapse
Yw. You can flash magisk 20.4 later to upgrade your magisk
Chatur27 said:
Yw. You can flash magisk 20.4 later to upgrade your magisk
Click to expand...
Click to collapse
Thank you for your much-appreciated support <3 I switched to Kingutsi Kernel to enable MTP on my GSI running A305F device otherwise would be still on your kernel
uTamii69 said:
Thank you for your much-appreciated support <3 I switched to Kingutsi Kernel to enable MTP on my GSI running A305F device otherwise would be still on your kernel
Click to expand...
Click to collapse
My kernel has 2 versions. One is for ONEUI and the other one for 'GSIs &custom roms'.
Did you flash the GSI version of Eureka?
GSI version has mtp and adb fix.
Link to GSI version:
https://github.com/Chatur27/Eureka-...es/download/rev4.3/Eureka.R4.3_A305.GSI.Q.zip
Chatur27 said:
My kernel has 2 versions. One is for ONEUI and the other one for 'GSIs &custom roms'.
Did you flash the GSI version of Eureka?
GSI version has mtp and adb fix.
Link to GSI version:
https://github.com/Chatur27/Eureka-...es/download/rev4.3/Eureka.R4.3_A305.GSI.Q.zip
Click to expand...
Click to collapse
I'm sure I did try GSI Version but I will give it another try after getting home from work!
My device is SM-A305F android 9 rooted by boot image .... can i use thus kernel ??
uTamii69 said:
I'm sure I did try GSI Version but I will give it another try after getting home from work!
Click to expand...
Click to collapse
ok
DevilRiddhi123 said:
My device is SM-A305F android 9 rooted by boot image .... can i use thus kernel ??
Click to expand...
Click to collapse
Hi bro
Eureka kernel for A30 Pie has not been released yet.
Could you message me on telegram if you wish to try A30 Pie kernel?
You can contact me @Chatur2709 on telegram
Do I have to overclock if I want or It is already overclocked? (And How to overclock?)
roybartz said:
Do I have to overclock if I want or It is already overclocked? (And How to overclock?)
Click to expand...
Click to collapse
Hi
Overclocked frequencies can be changed in hktweaks app ( link in thread)
You will notice that some overclocked frequencies are not used. If you want max performance, then set CPU governor to userspace and set min and max Frequency of both big and little cores to same value
Chatur27 said:
My kernel has 2 versions. One is for ONEUI and the other one for 'GSIs &custom roms'.
Did you flash the GSI version of Eureka?
GSI version has mtp and adb fix.
Link to GSI version:
https://github.com/Chatur27/Eureka-...es/download/rev4.3/Eureka.R4.3_A305.GSI.Q.zip
Click to expand...
Click to collapse
I would like to Report MTP does in fact NOT work along with SD Card no matter how many times it is formatted.
I used GSI 4.4.3 on my GSI Havoc 3.8 Rom
can i use this kernel on A30s since both of them using Exynos 7904..
Hi, newbie here. Can I install this OneUI Kernel on Stock android 10 ? SM-A305F
installed and is great fixed, my rom was the problem xD sorry
BohArie said:
can i use this kernel on A30s since both of them using Exynos 7904..
Click to expand...
Click to collapse
No, you can't
But Eureka is also available for A30s
Search XDA
josearuchalissery said:
Hi, newbie here. Can I install this OneUI Kernel on Stock android 10 ? SM-A305F
Click to expand...
Click to collapse
Yes
Stock = ONEUI

[KERNEL][20 Jan] ə aka schwa [Android 12]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(for anyone wondering, yes i took a completly random photo lmao)​
How often will you update this kernel?
I won't release updates often, but i will still update source and
you are free to compile it yourself.
/*
* .NOTE:
* .If you plan to do so, don't contact me for help
*/
Is my ROM/device supported?
As long as it is OnePlus 8T or OnePlus 9R, and as long as your rom is based
on Android 12, then yes, it is supported.
/*
* .NOTE:
* .OnePlus 9R has not been tested, so I do not guarantee its full support.
* .The same thing goes for Android 11 ROMs (including AOSP one(s))
* .as i did test only on Android 12 AOSP ROM.
*/
Which toolchain did you use?
• Compiled with latest cutting-edge LLVM-Tools-14 (https://llvm.org/docs/ReleaseNotes.html), with LLVM_IAS (integrated assembler), with Clang compiler (refer to https://clang.llvm.org/) and with LD.LLD linker (LLVM linker, refer to https://lld.llvm.org/) to have increased performances and smaller zImage (aka kernel Image) size (which is around ~50MB, compared to the over ~100MB Image of other kernels.).
Toolchain link: https://github.com/ClangBuiltLinux/tc-build
Features
• Compiled with Full LTO (Link Time Optimization, https://llvm.org/docs/LinkTimeOptimization.html), which makes kernel Image bigger than with ThinLTO but also increase performances by a lot (https://docs.google.com/spreadsheets/u/0/d/1mhjyshujZz8jYI7dMoCe-yFbxymW-fWaC08vMhBbEmQ/htmlview).
• Compiled with CFI Clang (https://clang.llvm.org/docs/ControlFlowIntegrity.html) and with Shadow Call Stack (SCS, https://clang.llvm.org/docs/ShadowCallStack.html) to improve security by a lot, but with a little less performance and a little more overhead (around ~1% of overhead, https://source.android.com/devices/tech/debug/shadow-call-stack).
• Disabled STune (SchedTune) in favor or UClamp (UtilClamp) to achieve less jank (jitter) and less fps drops (refer to https://www.linuxplumbersconf.org/e...hments/328/552/UtilClamp_usage_on_Android.pdf).
• Disabled WALT in favor of PELT, even if benchmarks clearly say that WALT is better, i did not see any lag or latency issue (refer to https://www.slideshare.net/linaroorg/walt-vs-pelt-redux-sfo17307.
• Upstreamed F2FS (/data filesystem) to latest (5.16) available mainline port for linux 4.19 (https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable.git/tag/?h=5.16-rc1-4.19).
• Upstreamed EXT4 (/system, /vendor, /odm, /product filesystem) to latest commits found in linux mainline.
• Use EAS (Energy Aware Scheduler) along with Schedutil governor to improve battery backup and keep high performances.
• Improved cfq I/O scheduler to reduce jitter by a lot.
• Disabled some debugging and tracing features such as Coresight (https://developer.arm.com/ip-products/system-ip/coresight-debug-and-trace).
• Disabled most debugging functions treewide to achieve less overhead and a smoother experience (as debug prints logs in dmesg, there may ve high I/O Disk usage, leading to a notable performance lose): Android binder, mm, drivers, ion, techpack drivers...
• Built qcacld-3.0 (network driver) and most techpack drivers as user and disable useless debug.
• Compiled with LLVM-Polly up-to-date flags to tweak LLVM-Tools and so to get smaller Image and better performances (refer to https://polly.llvm.org/ and to https://polly.llvm.org/performance.html).
• Tweaked UDFPS (Under Display FingerPrint Scanner, aka FOD, Fingerprint On Display) to faster unlock experience (https://github.com/FraSharp/kernel_oneplus_sm8250/commit/6fbf5a20fc78f954818649eb9048a63077bc0f0f).
• Disabled many unused configs to reduce kernel Image.
• Compiled some kernel parts with -Ofast to increase performance on critical points, such as fingerprint and display (https://www.phoronix.com/scan.php?page=article&item=gcc_47_optimizations&num=2).
• Upstreamed kernel to latest ACK (Android Common Kernel, https://android.googlesource.com/kernel/common/+/refs/heads/android-mainline) tag and to latest CAF (Code Aurora Forum, https://source.codeaurora.org/quic/la/kernel/msm-4.19) tag to address latest CVE and to improve kernel treewide.
• Built vdso32 to get better battery backup and better performances according to Google (refer to https://source.android.com/devices/architecture/kernel/config#vdso32-on-arm64)
• Fixed PD (Power Delivery) charging, you can now charge phone with your laptop now at a reasonably good speed (~1400 mAh, tested with OnePlus warp cable and MacBook Air).
• Disabled pstore (logging and debugging feature) as it doesn't work.
• WireGuard VPN tunnel support and upstreamed to latest commits from mainline (https://www.wireguard.com/).
• Upstreamed ZSTD and LZ4 compression algorithms to latest commits from mainline.
• Tweak scheduler to achieve less overhead and better latency (lower).
• Added USB-2.0 fast charge upto ~900mAh (https://github.com/FraSharp/kernel_oneplus_sm8250/commit/1669d653a321f8a491df02b42f5a472fa177db9e).
• Added better number generator, LRNG (Linux Random Number Generator) (https://www.chronox.de/lrng/doc/lrng.pdf).
Very cool, you put some random features, but how to install this?
First of all, make a backup!!! I don't want to be blamed if you lose your data.
1. Download kernel zip from the link in thread.
2. Now you have 2 ways to flash this:
.A) Use Franco Kernel Manager (https://play.google.com/store/apps/details?id=com.franco.kernel&hl=it&gl=US)
.Go to flasher and then press on "Manual Flasher" button, select kernel zip and press "flash and reboot".
.B) Use adb sideload from recovery: Press on apply update, adb sideload, and then execute this command within pc's terminal:
Spoiler: command
adb sideload <drag n drop kernel zip here>
.If you get "Signature verification failed", change recovery.
3. Flash dtbo with
Spoiler: command
fastboot flash dtbo dtbo.img
/*
* .NOTE:
* .This is an AnyKernel3 zip, so you won't need to
* .flash Magisk again if you have it installed.
*/
Source moment
Kernel source ("main" branch): https://github.com/FraSharp/kernel_oneplus_sm8250
Credits
@osm0sis - AnyKernel3 (https://github.com/osm0sis/AnyKernel3).
@franciscofranco - FKM (https://play.google.com/store/apps/details?id=com.franco.kernel&hl=it&gl=US).
@YumeMichi - Base kernel source (https://github.com/YumeMichi/kernel_oneplus_sm8250).
@Bicet - For providing me ROMs to test kernel on and to assist me for everything.
LLVM - LLVM Tools and Clang.
OnePlus - Stock kernel source code (https://github.com/OnePlusOSS/android_kernel_oneplus_sm8250/).
GitHub - For hosting kernel source.
@ Any other person who i picked commits from without them knowing xD.
Where to contact you?
I hope you won't need to contact me, but if you need,
you can do it by sending a message to @airfraa on Telegram.
and no i don't have a support group.
Donations?
Well, no. No donations to me. But if you feel the urge to donate to someone
you can donate to the Human Rights Campaign @ https://www.hrc.org/
And finally, download link
You can download kernel zip in GitHub releases at this link:
Kernel direct link -> https://github.com/FraSharp/kernel_oneplus_sm8250/releases/tag/schwa-gm
Releases link -> https://github.com/FraSharp/kernel_oneplus_sm8250/releases
Dtbo direct link -> https://github.com/FraSharp/kernel_oneplus_sm8250/releases/download/schwa-rc4/dtbo.img
CHANGELOG IS ALWAYS ON THE 2ND POST
Support group: https://t.me/schwakernel
Changelog as of 27/01/2022:
* Upstreamed to latest linux-4.19.y (https://github.com/FraSharp/kernel_oneplus_sm8250/commit/0ba5a5c8e0755cbfa2ddc5fdb28def6ec8703fcb).
* Upstream rwsem/locking/irq/rcu to reduce latency (jitter) (https://github.com/FraSharp/kernel_...578a8ce4749cd81b7dbd+505&branch=golden-master and after until https://github.com/FraSharp/kernel_...578a8ce4749cd81b7dbd+435&branch=golden-master).
* Remove more logging (https://github.com/FraSharp/kernel_...578a8ce4749cd81b7dbd+436&branch=golden-master).
* Upstream lzo (https://github.com/FraSharp/kernel_...578a8ce4749cd81b7dbd+436&branch=golden-master).
* Set filesystem to noatime by default, https://opensource.com/article/20/6/linux-noatime (https://github.com/FraSharp/kernel_oneplus_sm8250/commit/7893d9ad850529ce59bf0b35b5ee2667d61fee60).
* Fix an issue that made google photos to lag while reproducing videos (https://github.com/FraSharp/kernel_oneplus_sm8250/commit/8c160c0aab46ba8cec3cf5d3e25f6d1d0d92c9b3).
* Fix PD charging and WARP/DASH charging (https://github.com/FraSharp/kernel_oneplus_sm8250/commit/e3172a61a8e0ca8c2a62fe0ac1ea5c31dc6148ca).
* Optimize memmove (https://github.com/FraSharp/kernel_oneplus_sm8250/commit/26faff502d719085a869ad200f587d08b63091d6), memcpy (https://github.com/FraSharp/kernel_oneplus_sm8250/commit/8141be99eb05435540926afbb6616fbf4c2e609a) and memset (https://github.com/FraSharp/kernel_oneplus_sm8250/commit/346a0a920da8878a638c56f38a2c4619d217779e).
* Revert https://github.com/FraSharp/kernel_oneplus_sm8250/commit/eb20099c21879fe0e208ab621fa6414f612f5211 as it was a regression for latency.
* Upstream crypto, network, sysfs-net and sysfs to 5.5-rc1.
Download: https://github.com/FraSharp/kernel_oneplus_sm8250/releases/tag/schwa-gm
doesn't works on pa
Can anyone please respond if it works on android 11 custom roms
wawanRedblack said:
doesn't works on pa
Click to expand...
Click to collapse
Note: Custom kernels are NOT supported unless the kernel says it supports PA and GMS is included!
this is a part of text found in https://forum.xda-developers.com/t/paranoid-android-ruby-beta-4-oneplus-8t.4206613/, it goes the same for aospa sapphire
hey,this kernel battery saving or performance?
takileo said:
hey,this kernel battery saving or performance?
Click to expand...
Click to collapse
it is a little more focused on performance than battery, but battery backup is very good
I really want to try this on Havoc but Havoc is still on android 11. I'm a bit scared, i might break my 8T
FraSharp said:
it is a little more focused on performance than battery, but battery backup is very good
Click to expand...
Click to collapse
already flashed on pe12,seems works great ,thanks for your working
takileo said:
already flashed on pe12,seems works great ,thanks for your working
Click to expand...
Click to collapse
you also must flash the dtbo i uploaded in github, https://github.com/FraSharp/kernel_oneplus_sm8250/releases/download/schwa-rc4/dtbo.img
Bumbae said:
I really want to try this on Havoc but Havoc is still on android 11. I'm a bit scared, i might break my 8T
Click to expand...
Click to collapse
it should boot, at most you will have some casual bugs (most likely non working wifi, but it's very unusual to happen), anyway it won't damage for phone. in the worst case it won't boot and all you have to do is reboot to recovery and flash a working kernel
FraSharp said:
you also must flash the dtbo i uploaded in github, https://github.com/FraSharp/kernel_oneplus_sm8250/releases/download/schwa-rc4/dtbo.img
Click to expand...
Click to collapse
flash dtbo in fastboot first and flash kernel in recovery via sideload,right?
Ohhh i see thank you so much! I'll update if it works on Havoc Os
FraSharp said:
it should boot, at most you will have some casual bugs (most likely non working wifi, but it's very unusual to happen), anyway it won't damage for phone. in the worst case it won't boot and all you have to do is reboot to recovery and flash a working kernel
Click to expand...
Click to collapse
Bumbae said:
Ohhh i see thank you so much! I'll update if it works on Havoc Os
Click to expand...
Click to collapse
thank you very much!
It booted on HavocOS 4.12, no problems found on a quick glance, however on a startup "there was an internal problem" notification popped up.
OP - you might want to include dtbo.img in kernel zip, as AnyKernel3 handles flashing dtbo too (it worked when I copied it), no problem with flashing using OrangeFox Recovery.
Immortalis said:
It booted on HavocOS 4.12, no problems found on a quick glance, however on a startup "there was an internal problem" notification popped up.
OP - you might want to include dtbo.img in kernel zip, as AnyKernel3 handles flashing dtbo too (it worked when I copied it), no problem with flashing using OrangeFox Recovery.
Click to expand...
Click to collapse
good about the no issues on android 11, the internal problem popup is there and we can do nothing about it , i didn't know that AnyKernel3 handled dtbo, so thank you for letting me know that, bye.
Bumbae said:
Ohhh i see thank you so much! I'll update if it works on Havoc Os
Click to expand...
Click to collapse
@Immortalis tried on HavocOS 4.12, as you can see from this post:
Immortalis said:
It booted on HavocOS 4.12, no problems found on a quick glance, however on a startup "there was an internal problem" notification popped up.
OP - you might want to include dtbo.img in kernel zip, as AnyKernel3 handles flashing dtbo too (it worked when I copied it), no problem with flashing using OrangeFox Recovery.
Click to expand...
Click to collapse
Hello OP, I'm going to try this on Havoc OS 4.12 (Android 11). If i'm going to flash using EX kernel manager or FKM. Do i still need to flash dtbo?
Bumbae said:
Hello OP, I'm going to try this on Havoc OS 4.12 (Android 11). If i'm going to flash using EX kernel manager or FKM. Do i still need to flash dtbo?
Click to expand...
Click to collapse
yes you will need to flash dtbo in every case
This booted on my 8pro without dtbo

Categories

Resources