[KERNEL][20 Jan] ə aka schwa [Android 12] - OnePlus 8T ROMs, Kernels, Recoveries, & Other Deve

{
"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

Related

[KERNEL][EAS] HyperPlus Kernel For Mate 9

HyperPlus Kernel For Huawei Mate 9​
{
"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"
}
The HyperPlus project first started as an initiative to bring a custom kernel to the Huawei P10 Plus. The HyperPlus project brings amazing battery life and performance to your device. To check reviews please visit the original thread for the P10 Plus here
Compatibility
- Huawei Mate 9 running Android Oreo
Features
- Upstreamed to the latest v4.4.130 kernel version
- Compiled with latest Linaro 4.9 toolchain
- Energy aware scheduling support
- Added the fingerprint boost driver, the fingerprint sensor is literally on steriods at this point. Its LIGHTENING FAST
- Added Impulse, blu_active governors, Schedutil
- Added zen, fiops I/O schedulers
- Boeffla wakelock blocker
- ExFat has been updated
- Fsync can be toggled
- Huawei specific optimizations
- CPU and power usage optimizations
- IO Optimizations
- Selinux Permessive
- Removed unwanted log spams
- O3 Optimizations
- Frandom support
- Uses 300HZ base timer frequency
- Multi-Queue Block I/O Queuing Mechanism tweaked for better responsiveness
- Wireguard added
- Enabled Advance TCP congestion algorithms
- Westwood is used as default tcp algorithm
- Lot of under the hood changes for performance improvement
Disclaimer
This kernel has been tested and working but this will void your warranty and any modifications you do to your device, you do at your own risk. I will not be held responsible for anydamage such broken sdcards, your phone causing world war iii etc...
Download
RadioActive Smoothie - Download
Use TWRP to flash the zip, one zip for all builds - Big thanks to @osm0sis
NOTE: Please let the device go through one proper charge cycle and drain to let the Schedutil governor settle in.
How to flash
- Backup your stock ramdisk and kernel
- Download the ZIP
- Flash via TWRP
Credits
* Rommco05, ytgbg and v0ne - for helping me a lot with the building of this kernel
* CertifiedBlyndGuy
* Lord Boeffla - andip71
* ZaneZam
* flar2
* arter97
* nathanchance
* Grarak
* sultanxda
* Entropy512
* Faux
* FranciscoFranco
* Ak
* Osm0sis
* Blackball
* frap129
* Meticulus
* spezi77
* RenderBroken
* joshuous
XDA:DevDB Information
HyperPlus Kernel, Kernel for the Huawei Mate 9
Contributors
ajituchiha
Source Code: https://github.com/UchihaDev/HyperPlus
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: RadioActive Smoothie
Stable Release Date: 2018-05-12
Created 2018-04-14
Last Updated 2018-05-12
Q&A
What is Energy Aware Scheduling : Go through this amazing thread https://forum.xda-developers.com/oneplus-5/development/kernel-renderzenith-t3659850
Here is a review on the new kernel with EAS : post #184
Q. After flashing the latest build with EAS there is a slight impact on battery life.
A. This is an expected behavior, please do not worry. Let the device go through and drain and then a full charge and another drain. This will allow EAS to settle in and adjust frequencies. After that you will notice amazing battery life.
Q. I am getting partition error while flashing the zip file.
A. Please use the latest TWRP recovery for the P10 Plus. The P10 Plus recovery will work on P10 as well (as reported by some users)
Q. What should I use to modify the kernel settings ?
A. I personally use EX Kernel Manager, but here is a free and amazing kernel manager that works with this kernel
Kernel Manger (To change kernel settings and setup the tweaks) :
Click Here
Q. Not able to change Internal I/O scheduler ?
A. This post will clarify why : Post #53
For any futher queries join the telegram group : https://t.me/joinchat/GA1bhE9sJ3_81ZxdHAI84A
Some Reviews :
@v0ne - Had a SOT of over 8 hours with a single charge !!
https://forum.xda-developers.com/showpost.php?p=75800123&postcount=49
@ytgbg
https://forum.xda-developers.com/showpost.php?p=75791222&postcount=44
https://forum.xda-developers.com/showpost.php?p=76136107&postcount=184
Reserved
Great to see it up and now I don't have to be quiet about it.
Says selinux permissive, any chance to run it in enforcing mode?
Woooow is amazing ..
I'm running AOSP, 8.1, on US Mate 9, with Magisk but stock recovery. I have backups of kernel and ramdisk. Is there any reason not to flash this kernel with adb rather than installing TWRP?
I'm getting a partition error when trying to flash this. Tried both Blackball's 3.2.1 and TWRP-3.0.3-for_Oreo.img with the same error. Recovery.log attached.
Edit: Used the recovery from this thread and it flashed successfully. Thanks for the kernel!
edjocute said:
I'm getting a partition error when trying to flash this. Tried both Blackball's 3.2.1 and TWRP-3.0.3-for_Oreo.img with the same error. Recovery.log attached.
Click to expand...
Click to collapse
Here. This one works.
https://androidfilehost.com/?fid=818070582850499350
---------- Post added at 05:44 PM ---------- Previous post was at 05:37 PM ----------
Flashed this on Saturday. It's Monday now and I'm thinking of flashing back my original kernel. Although the battery life is somewhat better, my phone lags on this kernel. The degradation in performance is noticeable when it comes to scrolling in general. It also generally lags after turning the screen on for a few seconds (I'm guessing it takes a few seconds to change the CPU frequency back into something higher?).
It's also worth mentioning that my phone restarted itself one time after freezing. (Wasn't doing anything special, just browsing Reddit and it suddenly froze and restarted.)
Oh, and my Antutu score running this kernel is 20,000 points lower than my stock._.
Running on MHA-L09C185B372 if you're wondering.
Thanks for your work though! It's good to see that someone's working on something for Huawei devices.
backb0ne5p1d0r said:
Here. This one works.
https://androidfilehost.com/?fid=818070582850499350
---------- Post added at 05:44 PM ---------- Previous post was at 05:37 PM ----------
Flashed this on Saturday. It's Monday now and I'm thinking of flashing back my original kernel. Although the battery life is somewhat better, my phone lags on this kernel. The degradation in performance is noticeable when it comes to scrolling in general. It also generally lags after turning the screen on for a few seconds (I'm guessing it takes a few seconds to change the CPU frequency back into something higher?).
It's also worth mentioning that my phone restarted itself one time after freezing. (Wasn't doing anything special, just browsing Reddit and it suddenly froze and restarted.)
Oh, and my Antutu score running this kernel is 20,000 points lower than my stock._.
Running on MHA-L09C185B372 if you're wondering.
Thanks for your work though! It's good to see that someone's working on something for Huawei devices.
Click to expand...
Click to collapse
Will be releasing a new build soon, should fix these issues
Changelog
HyperSmoothie
HyperSmoothie cause it's smooth, get it ? Ok, i'll just put the changelog here and leave
- Upstreamed to latest v4.4.128
- More EAS Patches
- Added new values for lot of kernel settings
Download : https://drive.google.com/file/d/1aLlJck9Hc5eJNmu-iQIEVKyMP_I6FlnF/view?usp=sharing
prestonmcafee said:
I'm running AOSP, 8.1, on US Mate 9, with Magisk but stock recovery. I have backups of kernel and ramdisk. Is there any reason not to flash this kernel with adb rather than installing TWRP?
Click to expand...
Click to collapse
how stable is it and how did u root it with magisk does hide work and how is the camera quality and does it have dual sim ?
sorry for asking a lot i really want to use AOSP but i dont know if its stable
I'm happy with it. The things that aren't fully working for me are SD card (only files and VLC see it and read/write) and headphones (which aren't recognized except unless I make or receive a call first). Here is a lengthier explanation:
https://forum.xda-developers.com/showpost.php?p=76231795&postcount=23
I did root with Magisk so that I could install the Huawei camera, which now has full functionality and high quality photos. Magisk reports passing the safetynet checks. I haven't had an app crash, or a full crash for that matter in two days of use. I only have one sim so I don't know if the second works; the system asked me if I was using one sim and I said yes, so evidently the OS thinks it supports two sims. I'm much happier with it, won't go back.
Thanks my friend. Finally a custom kernel for our beloved mate 9.
?
Still cannot save any fingerprints
Hi there, running RR-O-v6.0.0-20180402-bkl-OpenKirin. Everything seems to work except still cant save fingerprints. Anyone faced and fixed this issue?
thank you so much yours KERNEL>zip
my mate 9-oreo 8.1xCarbonROM | cr-6.1 berkeley flash Your >ZIP via TWRP 3.2.1 error 1
how to Fix ?????????
allanjohnkemp said:
Hi there, running RR-O-v6.0.0-20180402-bkl-OpenKirin. Everything seems to work except still cant save fingerprints. Anyone faced and fixed this issue?
Click to expand...
Click to collapse
I don't support trebel roms, built for stock emui
nakul said:
thank you so much yours KERNEL>zip
my mate 9-oreo 8.1xCarbonROM | cr-6.1 berkeley flash Your >ZIP via TWRP 3.2.1 error 1
how to Fix ?????????
Click to expand...
Click to collapse
Go through thread the answer has been posted, if it doesn't work then it's probsbly because of trebel so nothing I can do to help with that
Never mind, used another method.
ajituchiha said:
Go through thread the answer has been posted, if it doesn't work then it's probsbly because of trebel so nothing I can do to help with that
Click to expand...
Click to collapse
Dear dev. It's possible to add some features to display tuning?

[r21] arter97 kernel for OnePlus 6

{
"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"
}
arter97 kernel for OnePlus 6/6T running OxygenOS​
/* Details */
Fully rebased kernel with OnePlus' debugging code out
Latest CAF msm-4.9 kernel fully merged
This kernel contains more cutting-edge changes from Qualcomm than the regular sdm845 tag
Latest Linux 4.9 subversion merged
Use CONFIG_HZ = 300
- This changes context switching interval from 10ms to 3.33ms
- Pixel used this for years and Google recommends other vendors to do the same for fewer jitters
Memory management improved(from Pixel 2 & 3)
Pixel's lowmemorykiller used
DM-verity fully disabled (you can remount /vendor to R/W properly)
Scheduler commits cherry-picked from Pixel 3
Timer optimizations
Additional power savings applied to the display panel
Heavily optimized touch panel source code resulting in reduced touch latency
RTL8152/8153 USB LAN adapter support
TWRP integrated with proper f2fs support (see below)
Other various optimizations from Paranoid Android
Permissive SELinux
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
Westwood as default TCP network congestion control
UFS optimizations
Entropy hook on storage removed
Latest mainline f2fs support with GC fixes
CFQ I/O scheduler backported from mainline
Systemless installation (the kernel doesn't touch /system or /vendor)
Modules support disabled for lighter kernel
WireGuard support
Removed RTB(interrupt) logging entirely
Various changes merged from the Razer Phone 2 and Snapdragon 855
/* Notice */
Both OnePlus 6 and 6T is supported.
Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
Unlike my OnePlus 5/5T kernels before, you are free to flash Magisk after installing the kernel. Kernel does not include Magisk by default.
/* f2fs */
This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.
See here as to why you might want f2fs.
TWRP is not integrated to the kernel.
Please use a TWRP installer to install TWRP on top of my kernel.
To use f2fs, download zip files from http://arter97.com/browse/f2fs
Flash f2fs_tools_for_twrp.zip from TWRP. This won’t format your /data partition.
This will replace TWRP's f2fs tools with the latest version and pass the correct parameter to mkfs.f2fs, which is necessary.
This needs to be done everytime you enter TWRP, if you want to re-format to f2fs.
After formatting, or flashing a new ROM or an OTA, /vendor’s fstab needs to be changed.
Flash f2fs_fstab.zip to convert fstab to f2fs again. This won’t format your /data partition.
/* Disclaimer */
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 kernel
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. Hard. A lot.
/* Thanks to */
TheCrazyLex
xboxfanj
Tim Murray
RenderZenith
nathanchance - for android-linux-stable
/* Instructions */
You can use the zip file to flash the kernel from your existing TWRP recovery.
If you don't have TWRP installed already, you can use the img file to flash the kernel directly from your PC via fastboot.
Both methods will install both kernel and modified TWRP recovery.
You can check if the modified TWRP is installed by looking at TWRP's version name.
It should say "arter97-f2fs".
If you use fastboot method(directly flashing img), you will not pass SafetyNet.
/* Swap variant */
This kernel has a swap variant for memory-hungry users.
- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant
- Ditched conventional zram swap approach and taken zswap+vnswap for more efficient memory operations
- Backported zsmalloc memory allocator from mainline
- Backported zswap compressed page cache from mainline
- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
/* Downloads and links */
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 6, Kernel for the OnePlus 6
Contributors
arter97
Kernel Special Features:
Version Information
Status: Stable
Created 2019-01-14
Last Updated 2019-10-28
Reserved
/* Changelog */
r21
Boot issue fixed caused by improper switch to AK3
Brightness issue on exiting AOD fixed
LA.UM.8.3.r1-06300-sdm845.0 merged
Diag USB interface enabled for QPST
r20
Swap compressor backend(LZ4) updated
LA.UM.8.3.r1-06100-sdm845.0 merged
Linux v4.9.196 merged
Wi-Fi drivers updated to 5.1.1.74O
Latest f2fs-stable merged
r19
OnePlus changes merged including support for DC dimming
Linux v4.9.189 merged
Wi-Fi drivers updated to 5.1.1.73W
LA.UM.7.3.r1-08200-sdm845.0 merged
LA.UM.7.8.r1-06900-SDM710.0 merged (includes various scheduler improvements)
r18
Linux v4.9.186 merged
Wi-Fi drivers reverted back to stock Snapdragon 845 ones to resolve signal strength issues
Swap variant's LMK aggressiveness adjusted to use the stock values
r17b1
Linux v4.9.185 merged
LA.UM.7.3.r1-07900-sdm845.0 merged
LE.UM.3.2.1-00910-SDX24 merged
Wi-Fi drivers updated to 5.2.03.10Q
More debugging features removed from Wi-Fi drivers
Wi-Fi regulatory database taken from OnePlus to fix slow handshakes with 5 GHz APs (by LuK1337)
Faulty Low Memory Killer fixed to work better and resolve wake-up delays
General scheduler improvements backported
Virtual memory allocator performance improved
Task scheduler debugging disabled properly for lower overheads
Many parts of the kernel converted to use hotplug state machine
WireGuard updated to 20190702
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan) (total of 46 patches)
Debugging features disabled for Adreno GPU drivers to improve performance
Fixed an issue that was causing charging to be stopped randomly (details)
Rewritten IOMMU by Sultan reverted to resolve screen flickerings
Introducing a new swap variant for memory-hungry users
- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant
- Ditched conventional zram swap approach and taken zswap+vnswap for more efficient memory operations
- Backported zsmalloc memory allocator from mainline
- Backported zswap compressed page cache from mainline
- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
r16
Linux v4.9.180 merged
Wi-Fi drivers replaced with Snapdragon 855 drivers
- Switched from 5.1.1 to 5.2.03 release
- 1810 files changed, 851191 insertions(+), 187458 deletions(-)
- I've been internally using this for 3 weeks and noticed multiple improvements like faster handshakes and higher throughput without any issues
Fixed several memory management issues from previous releases
- This fixes multiple issues including performance regressions(wake-up delays, etc) and radio malfunctions
- Thanks to @habylab for testing multiple builds prior to release)
Latest f2fs-stable merged
LA.UM.7.8.c3-06800-QCS605.0 merged
LE.UM.3.2.1-18400-SDX24 merged
Removed f2fs debug tracing codes added by Qualcomm
qseecom performance improved
Re-enabled kernel tracers for avoiding janks
32-bit vDSO added for improving performance on arm32 programs
Audio kernel updated LA.UM.7.3.r1-07800-sdm845.0
r15b1
Linux v4.9.175 merged
Wi-Fi drivers updated to 5.1.1.71H
Latest f2fs-stable merged
LA.UM.7.3.r1-07400-sdm845.0 merged
LA.UM.7.8.r3-01400-SDM710.0 merged
Fixed a Qualcomm issue that prevented audio-app stune creation
Fixed an improper timer operation in fuelguage driver causing battery statistics to not update until 20 minutes after boot
Merged various patches from Proton kernel by kdrag0n to lower overheads and improve responsiveness (thanks to kdrag0n, sultanxda and ab123321)
Applied various optimizations to the touch panel drivers
Now VLA-free
RCU boost enabled for better responsiveness
New patches made to f2fs for more efficient GC and trim
FBE(File Based Encryption) now works with f2fs
r14
Wi-Fi drivers updated to 5.1.1.71C
Disabled some debugging options to improve performance
Added vibration control
Added wcd934x sound control
r13
Reverted a problematic Wi-Fi drivers optimization causing Wi-Fi to not turn on after some period of time
r12
Fixed a faulty memory region removal causing kernel panics
(Thanks to @habylab for directly testing builds)
r11
Reverted a minor Wi-Fi drivers improvement causing kernel panics
r10
AnyKernel2 is now being used
Linux v4.9.168 merged
Fixed a major memory management regression
Linux CMA pool size increased for better CMA efficiency
Improved memory allocation from the Wi-Fi drivers to reduce memory fragmentation
Fixed occasional kernel crashes(entering dumpmode) on shutdowns
r9
Linux v4.9.166 merged
LE.UM.3.2.1-11600-SDX24 merged
Use CONFIG_HZ = 300
- This changes context switching interval from 10ms to 3.33ms
- Pixel used this for years and Google recommends other vendors to do the same for fewer jitters
Some changes from Pixel 3’s Q preview kernel
Some mainline performance improvements to procfs merged
Removed RTB(interrupt) logging entirely
WireGuard updated to 20190227
Stock LowMemoryKiller parameter restored to hopefully fix wake-up delay and general lags
Fixed bq27541 fuelguage driver to properly work with CONFIG_HZ != 100
(Fixes various battery-related issues such as displaying -22% on initial boot)
Reverted a problematic memory management commit causing CMA allocation errors
Merged LA.UM.7.8.r1-05000-SDM710.0
Merged LA.UM.7.3.r1-06900-sdm845.0 audio kernel
Various changes made to f2fs rapid GC to make it more efficient
dirty_expire_centisecs set to 30 seconds to reduce flash wearouts and power consumption
Various changes merged from the Razer Phone 2 and Snapdragon 855
Kernel is now built with -O3 optimization flag
r8
Linux v4.9.163 merged
LE.UM.3.2.1-08000-SDX24 merged
Wi-Fi drivers updated to 5.1.1.70J
f2fs updated to 5.1 mainline version
Disabled qcom_rx_wakelock (details)
Reworked msm_geni_serial driver
- Lighter resource usage
- Lower power consumption upon wake(ISR)
- Fixed an issue preventing suspend indefinitely
Various changes from Proton kernel by kdrag0n
- Use flatmem to save kernel memory usage
- Use optimized memcmp
- Optimize rbtree
- Disable erratum 843419 properly
- Delay vmstat updating interval to avoid jitter
- Disable I/O stat accounting completely for lower overheads
- Reverted a cpuidle change for possible fix for power consumption regression during sleep
- Faster crypto algorithms ported(chacha20, sha2, crc32)
A bit lower power consumption by using WFE for long delays
Add accelerated crc32 routines
Use -O3 for input drivers for avoiding overheads
r7
Linux v4.9.160 merged
LA.UM.7.3.r1-06900-sdm845.0 merged
LA.UM.7.8.r1-04800-SDM710.0 Wi-Fi drivers merged
A totally new kernel base merged - LE.UM.2.3.2-05800-SDX24
- Total of 1153 commits and about 25,000 lines of code difference
- A lot has changed ranging from scheduler, memory management, device encryption, GPU and panel handling, UFS device driver, ION, cpuidle, binder and a whole lot more
OnePlus changes to OxygenOS 9.0.12 merged
- This includes display panel changes and may affect screen on/off delays
IRQ balancer settings updated to include UFS interrupts for better overall smoothness
Some of upstream camera commits applied for more reliable camera operations
Sultan’s display wake-up optimization re-applied after a bug fix revision
1.5
Linux v4.9.158 merged
Kernel configuration fixed for proper scheduler operation
OnePlus changes to display panel settings merged
Faulty screen optimization from Sultan reverted to fix occasional screen-on misses
Mainline f2fs fixes merged
LA.UM.7.8.r3-01100-SDM710.0 merged
- This new tag for Snapdragon 710 includes multiple enhancements over sdm845 tag, most notably scheduler improvements
WireGuard updated to 20190123
seccomp disabled in favor of less system-call overheads
Minor issue with f2fs rapid GC fixed
Fixed an issue with execprog causing readahead settings to be ignored on some boot
Modified IRQ balancer settings added for better smoothness
1.4
Linux v4.9.154 merged
ULPS during suspend disabled for (possibly)lower panel power consumption during screen-off
Audio HAL reworked to fix Type C audio adapter (thanks to @Nezorflame for testing)
Patch level set back to 2019-01
1.3
Linux v4.9.153 merged
ZIP installation now uses proper security patch level to bypass SafetyNet
(If you install the kernel by fastboot/IMG method, it won't bypass SafetyNet)
Merged several changes from Sultan's Pixel 3 kernel
- Numerous memory leaks fixed
- GPU performance improved with corrected priority
- Faster display wake-up
- Lower power consumption
1.2
OnePlus 6T support added - thanks to freshgiammi and nezorflame for testing
Security level is set to 2025-12(details)
1.1
CAF tag LA.UM.7.3.r1-06700-sdm845.0 merged
Linux v4.9.151 merged
Wi-Fi issue fixed (thanks to pappschlumpf for tipping me the culprit)
pstore kernel log is now properly saved
Custom TWRP integrated
Readahead set to 128kB to minimize page thrashing
IMG file is now provided for direct fastboot installation
1.0
Initial release
Reserved 2
Reserved 3
Reserved 4
Damn. Waited for this. If you switch to f2fs, you will format data right?
joakimbo said:
Damn. Waited for this. If you switch to f2fs, you will format data right?
Click to expand...
Click to collapse
Yes
Im use arter kernel alot when on hlte. Keep up a good work.
Nice work!
Got bricked or something.
Was on blu_spark. Booted to recovery > flashed rom -> latest blu_spark recovery -> reboot recovery -> flashed magisk 18.0 -> flashed kernel
After this I booted but found that Magisk is not instaled, pressed "boot to recovery" and now can't do enything with phone, it's not booting even wit hard boot (like volume down and power).
Edit: booted, seems like some problems with blu_spark recovery.
@arter97 audio via Bluetooth is significantly reduced. Tryied with Apple AirPods and others Bluetooth headphones but nothing changed. Max volume corresponds to about half of the original volume.
iPsychoGeek said:
Got bricked or something.
Was on blu_spark. Booted to recovery > flashed rom -> latest blu_spark recovery -> reboot recovery -> flashed magisk 18.0 -> flashed kernel
After this I booted but found that Magisk is not instaled, pressed "boot to recovery" and now can't do enything with phone, it's not booting even wit hard boot (like volume down and power).
Edit: booted, seems like some problems with blu_spark recovery.
Click to expand...
Click to collapse
You should flash the recovery after the kernel again.
tibcsi0407 said:
You should flash the recovery after the kernel again.
Click to expand...
Click to collapse
Actually I think there is some problems with Magisk instalation. I had this issue before, and i couldn't boot in to recovery because Magisk wasn't installed.
iPsychoGeek said:
Actually I think there is some problems with Magisk instalation. I had this issue before, and i couldn't boot in to recovery because Magisk wasn't installed.
Click to expand...
Click to collapse
I always flash TWRP after kernel flashing.
What I usually do:
boot twrp
flash the kernel
flash twrp
reboot to twrp
flash magisk
reboot
Can anyone confirm this kernel working on any custom roms, as yet?
In the notes section of the OP, he mentions flashing Magisk after the kernel. Testers should try that during install. See if it boots smoothly.
DarKAngel1234 said:
Can anyone confirm this kernel working on any custom roms, as yet?
Click to expand...
Click to collapse
Read the goddamn OP
I did and it mention's douche bag, that it may work with other roms.
joakimbo said:
Read the goddamn OP
Click to expand...
Click to collapse
@arter97 This kernel also breaks latest blu_spark TWRP for me

[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][ONEUI/GSI][10][A750x] Quantum Kernel v2.5 (Updated: 13.09.2020)

{
"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"
}
- This kernel works only on A750FN, A750F and A750G, A750GN. I'm not responsible for any damage if you flash on other devices.
- I am not responsible about any damage of any kind that this kernel may cause.
- You are allowed to use this kernel in your project with proper credits and links to the thread or source code.
- Bugs can be reported in XDA or via my Telegram Group. Make sure you provide detailed info when reporting bugs (device variant and logcat).
- If you like my work please hit the "Thanks" button and feel free to donate to me via my paypal.
- Built from A750FNPUU4CTE3 source code
- Upstreamed Linux 4.4.218
- Supports Android GSI
- Hktweak app for kernel tuning
- WireGuard Support
- OC Little to 1.7Ghz
- UC big/Little to 200/500MHz
- DriveDriod Support
- Multi CPU Governors
- Multi I/O Schedulers
- Multi TCP Algorithms
- Wakelock Blocker v1.1
- Power Efficient Workqueue
- Updated zsmalloc driver
- StateNotifier & SysfsHelper
- Fsync Toggle on/off
- Removed broken ZSWAP, VNSWAP
- Enabled ZRAM, ZSTD compressor
- Cpumask for BIG and LITTLE CPU clusters
- Security Related Features disabled
And many more !
- SM-A750F
- SM-A750FN
- SM-A750G
- SM-A750GN
1. - Install a Custom Recovery with Odin3
2. - Download the kernel zip
3. - Copy the kernel zip into your phone
4.- Reboot in Recovery Mode
5. - Flash the Kernel Zip
6. - Enjoy!
Download links in Post #2
- Samsung for kernel sources
- @corsicanu for support and hktweak tuning app
- @Voytec83 and @nepAnkit for all support and testing kernel
​
XDA:DevDB Information
Quantum Quack, Kernel for the Samsung Galaxy A7 (2018)
Kernel Sources: https://github.com/prashantpaddune/android_kernel_samsung_jackpotlte
Contributors
prashantp01
Version Information
Status: Stable
Current Stable Version: v2.5
Created 2020-04-20
Last Updated 2020-09-13
v2.5:
- Zsmalloc workaround for mapping pages
- IRQ affinity masks to have only one CPU
- Disabled Modules
- Disabled Audit
- Disabled TRACE_PRINTK
- Improved fingerprint wake performance
- Updated new Wakelock list
- Disabled Quota
- Removed more samsung security
- Updated WireGuard v1.0.20200908
- Fixed Bluetooth issues on GSI
Note: If you get a warning "There's a internal problem with your device, contact you manufacturer", simply ignore it
v2.0:
- Rebased on A750FNPUU4CTE3
- Added option to on/off Fsync (disabled by default)
- Fixed MTP on GSI
- Added option to on/off CRC check (disabled by default)
- Enabled Power Efficient Workqueue
- Enabled WireGuard
- Enabled DriveDriod support
- Enabled Wakelock Blocker v1.1
- Added Toggle for disabling newly added USB devices
- Better deep sleep
- Disabled some samsung security functions
- Removed broken ZSAWP, VNSWAP
- Optimised Performance
- Enabled ZRAM, ZSTD compressor
- Marked decon and mali IRQs and kthreads as performance critical also Enabled IRQ time accounting
- Better display rendering, touch response, reduces jitter
- Added cpumasks for BIG and LITTLE CPU clusters.
.....and many more
v1.0:
Initial Release
Github
​
Reserved​
Thank you sir
do we need to be on stock android 10 to flash this?
ErayBalyemez said:
do we need to be on stock android 10 to flash this?
Click to expand...
Click to collapse
its for Android 10, soo yeah
I have updated my phone to android 10 one UI 2.0 can I install a gsi with this kernal?
AmanDevil77 said:
I have updated my phone to android 10 one UI 2.0 can I install a gsi with this kernal?
Click to expand...
Click to collapse
I try it but not booted in any gsi
AmanDevil77 said:
I have updated my phone to android 10 one UI 2.0 can I install a gsi with this kernal?
Click to expand...
Click to collapse
glenskie_05 said:
I try it but not booted in any gsi
Click to expand...
Click to collapse
You need A/B Gsi and not A-only, flash OneUI 2 stock fully and then flash A/B GSI without wipe
prashantp01 said:
You need A/B Gsi and not A-only, flash OneUI 2 stock fully and then flash A/B GSI without wipe
Click to expand...
Click to collapse
A/B?
I read that A750-FN is A-only... and manage to install GSI-s android 9...
see table on link: https://github.com/phhusson/treble_experimentations/wiki
g0didit said:
A/B?
I read that A750-FN is A-only... and manage to install GSI-s android 9...
see table on link: https://github.com/phhusson/treble_experimentations/wiki
Click to expand...
Click to collapse
After Oneui 2 (Android 10) update your device became system-as-root, soo unfortunately you have too flash A/B gsi too boot as system as root
any GSI support ultra wide cam in Q after this time?
cause i cant use mine in P before, or is the experience gonna be the same after all?
How to remount /system to RW on stock rooted (Magisk) image?
Great job @prashantp01, especially U don't personally have A750x device!
Let's hope it is just the first step?
Kernel works great with custom OneUI 2.0 roms
I'm getting problem Booting ExpressLuke GSI's after updating to 10 ( they used to boot fine before one UI 2.0) other gsi boot with your kernal but they are having same problem like no working camera and no Web page loading. Idk what's causing it.
prashantp01 said:
- This kernel works only on A750FN, A750F and A750G, A750GN. I'm not responsible for any damage if you flash on other devices.
- I am not responsible about any damage of any kind that this kernel may cause.
- You are allowed to use this kernel in your project with proper credits and links to the thread or source code.
- Bugs can be reported in XDA or via my Telegram Group. Make sure you provide detailed info when reporting bugs (device variant and logcat).
- If you like my work please hit the "Thanks" button and feel free to donate to me via my paypal.
- Built from A750FXXU4CTBC source code
- Upstreamed Linux 4.4.218
- Supports Android GSI
- Hktweak app for kernel tuning
- Overclock Little to 1.7Ghz
- Underclock big/Little to 200/500MHz
- Multi CPU Governors
- Multi I/O Schedulers
- Multi TCP Algorithms
- StateNotifier & SysfsHelper
- Security Related Features disabled
And many more !
- SM-A750F
- SM-A750FN
- SM-A750G
- SM-A750GN
1. - Install a Custom Recovery with Odin3
2. - Download the kernel zip
3. - Copy the kernel zip into your phone
4.- Reboot in Recovery Mode
5. - Flash the Kernel Zip
6. - Enjoy!
Download links in Post #2
- Samsung for kernel sources
- @corsicanu for support and hktweak tuning app
- @Voytec83 and @nepAnkit for all support and testing kernel
​
XDA:DevDB Information
Quantum Quack, Kernel for the Samsung Galaxy A7 (2018)
Kernel Sources: https://github.com/prashantpaddune/android_kernel_samsung_a7y18lte
Contributors
prashantp01
Version Information
Status: Stable
Current Stable Version: v1
Created 2020-04-20
Last Updated 2020-04-20
Click to expand...
Click to collapse
Aight... Can i know what is the security features that got disabled?
thanks for this great work
but
igot this problem after flashing it
your Phone is Locked Because the Payment Service was Uninstalled without authorisation
and i cant use my phone untile i reflash stock
nizaro713 said:
thanks for this great work
but
igot this problem after flashing it
your Phone is Locked Because the Payment Service was Uninstalled without authorisation
and i cant use my phone untile i reflash stock
Click to expand...
Click to collapse
Just Install the payments app manually download the apk and put it in system/app via twrp's file manager and you will be able to use the phone
nizaro713 said:
thanks for this great work
but
igot this problem after flashing it
your Phone is Locked Because the Payment Service was Uninstalled without authorisation
and i cant use my phone untile i reflash stock
Click to expand...
Click to collapse
It happend to me to. I think in the script it deletes KnoxGuard and that happens.
There is solution when that happens:
https://forum.xda-developers.com/android/general/phone-locked-payment-service-uninstalled-t4018177
I didn't try it,but if anybody needs it...
I did try to instal it like boot.img in twrp, but i had random reebots here an there so i went back to stock.
Thanks for replying
I did that and it didn't work
Because ididnt find that line in the mentioned file
---------- Post added at 11:52 PM ---------- Previous post was at 11:48 PM ----------
AmanDevil77 said:
Just Install the payments app manually download the apk and put it in system/app via twrp's file manager and you will be able to use the phone
Click to expand...
Click to collapse
Thanks for replying
Iam going to do it soon

[R1.5.6][P][Q][HMP]MengT-Kernel-For-Lavender

MengT-Kernel | Stability | Performance | Battery-Friendly​by sYYLG​
{
"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:
/*
*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 Kernel
* before flashing it! YOU are choosing to make these modifications
*/
MengT-Kernel is an HMP kernel that have aim to get fully balanced with battery and performance usage without need any configuration to use.​
Changelog
Code:
MengT-Kernel-R1.5.6
[*]Upstreamed Kernel to v4.4.229
[*]Dm-crypt: Increase threads
[*]Zram: try to avoid worst-case scenario on same element pages
[*]Fix DEBUG_FS compatibility
[*]Disable GFS for better UI performance
[*]Fix error when CONFIG_QCOM_SHOW_RESUME_IRQ not defined
[*]TCP Optimisations
[*]Move to async probe
[*]Delete unnecessary checks before three function calls
[*]Many Many other fixes and improvements
Old Changelog
Code:
[*]Disable vdd restriction
[*]Remove POPP
[*]Import binder from android-4.19
[*]Incrase more the frequency for better audio quality
[*]Disable core control and its mitigations & hotplug REV
[*]Kill userspace CPU boosting entirely
[*]Update firmware from MIUI 20.5.13
[*]Disable DIAG_DEBUG
[*]Backport lmk from 4.9
[*]Fixed slow charge
[*]Add 5 Ghz rules for Kazakhstan (KZ)
[*]Dynamic fsync
[*]Raise weak charge current to 900mA
[*]Improved Multi tasking
[*]Fixed Lineage OS Fingerprint Bug
[*]Removed some unneeded drivers
[*]Added Live display CABC driver for LOS Official support
[*]Powersuspend Implementation
[*]Fixed WiFi Speed Issues
[*]Default 270 Kcal saturation for more vibrant colors
[*]Eliminate ESD checks
[*]Fixed broken LED in some roms
[*]Fixed dt2w broken in some roms
[*]Disabled Auditing
[*]Built with Proton Clang 11
[*]Fixed OTG
[*]Fixed Offline Charging Bug
[*]TTL Fixation is working
[*]Disable GPU wakeup on touch event for battery saving
[*]CPU & GPU Undervolted
[*]Enabled BCL for better battery life
[*]Enabled -O3 Optimizations for performance
[*]Further Reduced ZIP Size
[*]GPU and CPU Optimisations
[*]Removed various debugging and logging
[*]Removed high priority workqueue flags
[*]Implemented Super Fast LZ4 ZRam Compression Algorithm
[*]Implemented Kcal
[*]Disable unused drivers
[*]Implemented power efficient workques
[*]Disabled unused debugging and logging
[*]Disabled CRC Check for faster file operation
[*]Added Fsync Toggle and by default it is disabled
[*]More Accurate Battery Calculation
[*]Panel tweaks for battery saving
[*]Removed unnecessary wakeups
[*]Introducing Westwood TCP and it is also default now
[*]Introducing USB Force Fast Charge
[*]Added mic gain control along with sound control
[*]Many Many other fixes and improvements
Compatibitlity
AOSP / LOS Based ROM
MIUI 10 / MIUI 11 / MIUI 12
Flash MIUI Q Fix patch to fix wifi and cam issues on MIUI 11 / MIUI 12 (Android 10 Vendor)
How To Install
Flash using recovery mode, reboot, done
Downloads
MengT-Kernel
MIUI Q Fix patch
Credits
All developers who have their commits or contributions picked
Telegram Support
Telegram Channel
Telegram Group Support
XDA:DevDB Information
MengT-Kernel For Redmi Note 7 by sYYLG, Kernel for the Xiaomi Redmi Note 7
Contributors
sYYLG
Source Code: MengT_kernel_lavender
Kernel Special Features: HMP
Version Information
Status: Stable
Current Stable Version: R1.5.6
Stable Release Date: 2020-07-02
Created 2020-07-02
Last Updated 2020-07-02
MengT
testing. thank you!
Can be used on MIUI Global 11.0.6?
adrymagliocca325 said:
Can be used on MIUI Global 11.0.6?
Click to expand...
Click to collapse
yeah
Excellent kernel I installed it yesterday and today was a very pleasant experience, very good fluidity, excellent battery of the best that I have seen, in multitasking without lag and very smooth, I recommend it.
Hi! can this be flashed over xiaomi.eu rom (miui 12)? i'd like to try this
skellum said:
Hi! can this be flashed over xiaomi.eu rom (miui 12)? i'd like to try this
Click to expand...
Click to collapse
Yes
Great kernel and gave me highest benchmark of any kernel on Masik 8.5
skellum said:
Hi! can this be flashed over xiaomi.eu rom (miui 12)? i'd like to try this
Click to expand...
Click to collapse
Xiaomi.eu miui12 is safe? Because I hear it get randomly reboot (out off topic of this kernel)
MattHdH said:
Xiaomi.eu miui12 is safe? Because I hear it get randomly reboot (out off topic of this kernel)
Click to expand...
Click to collapse
i have never experienced random reboot. the only issue for miui 12 is that it charge so slow that's why i wanna try this kernel
fingerprint didn't work on xiaomi.eu 20.7.9 MIUI 12 (MengT-R1.6.0-OldCam)
Edit: OMG sorry its because TWRP Tools to remove DM-Verify and Force Encrypt. But I don't know why, because I know issue after use that tools
Anyway xiaomi.eu (MIUI 12) is huge memory consumption,, 500MB free RAM (3GB variant) even use this kernel. on MIUI 11, I get about 1.1MB free RAM. Its annoying because some apps force stop on background like YouTube apps. I hope MIUI 12 officially released.
Hey dev thanks for your hard work, this is very good kernel but there is a problem and I tried it in different ROMs, the download speed is very slow, and when the phone goes in sleep mode it stops downloading. Same with the latest version, is anybody else facing this or just me ??
Wow the lastest get extremely smooth on Xiaomi.eu MIUI 12 stable! R1.6.2 ... Sir I have request. Can you improve multitask ability and doze the useless file system. because the MIUI 12 eat huge RAM.
But anyway I love this kernel!
wifi disconnects with this kernel? I've tried others and they give me the same problem, I don't know where to bang my head
madame vulva said:
wifi disconnects with this kernel? I've tried others and they give me the same problem, I don't know where to bang my head
Click to expand...
Click to collapse
Flash patch to fix wifi
hi! Thanks for the Hard work! I'm still not using but if you could answer my question, it will be really nice <3
I'm on MIUI 12.1 xiaomi.eu 20.8.6 beta (android 10Q) + Orange Fox + Magisk 20.4
I did a full backup of my phone with orange Fox, if thing gets weird, you know.
But 1. Can I backup only the kernel part, and if something goes wrong flashing this, I could just flash the old back?
2. Is it everything working on MIUI 12.1? even Camera? Can I use it for daily usage ?
Thanks for the replys <3 much appreciate
Ragadocs said:
hi! Thanks for the Hard work! I'm still not using but if you could answer my question, it will be really nice <3
I'm on MIUI 12.1 xiaomi.eu 20.8.6 beta (android 10Q) + Orange Fox + Magisk 20.4
I did a full backup of my phone with orange Fox, if thing gets weird, you know.
But 1. Can I backup only the kernel part, and if something goes wrong flashing this, I could just flash the old back?
2. Is it everything working on MIUI 12.1? even Camera? Can I use it for daily usage ?
Thanks for the replys <3 much appreciate
Click to expand...
Click to collapse
The kernel part is inside boot.img , which can be found in the rom zip you are using.
So anything that goes wrong by flashing a different kernel can be fixed by installing the boot.img as boot image, or in worst case by dirty flashing the whole rom again. In both cases you shouldn't lose the data.
*After flashing boot image you need to re flash magisk.
Walden0 said:
The kernel part is inside boot.img , which can be found in the rom zip you are using.
So anything that goes wrong by flashing a different kernel can be fixed by installing the boot.img as boot image, or in worst case by dirty flashing the whole rom again. In both cases you shouldn't lose the data.
*After flashing boot image you need to re flash magisk.
Click to expand...
Click to collapse
But I can do a dirty flash of old boot.img, right?

Categories

Resources