Related
/* This project is currently in hiatus at least until the new device and kernel trees are available and sufficiently stable. Thanks for your patience and your support. */
{
"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"
}
Welcome to the official thread for the Fire Opal Kernel project for the Galaxy S7 edge (SM-G935F/FD/W8/S/L/K) running AOSP-based ROMs.
The aim of this project is to provide a good alternative option to the limited stock AOSP kernel.
Thanks and Credits
> Samsung for their kernel source
> @jesec and @Fevax, 8890dev project developers and hero devices maintaners, for the device tree
> @Tkkg1994 for his clear and vast source code and scripts
> @lyapota for a few ideas
> @flar2, @UpInTheAir, @franciscofranco, @osm0sis and others for their great contributions to the community and Android
Note: the feature list refers to version 2.4.2. The new beta 3.1.0 is closer to stock, but with the new device trees things will change
Features
* based on latest 8890dev kernel sources
* updated with latest Samsung kernel base (DQCG)
* custom built ramdisk based on N2G47E with Resurrection Remix tweaks
* built with Linaro Toolchain 6.3.1 (aarch64-linux-android-6.3)
* updated with Linux patches up to the latest 3.18.48
* init.d support and init tweaks
* added a few CPU governors (elementalx, hyper, alucard, barry_allen, bioshock, bluactive, conservative_x, darkness, despair, electrodemand, impulse, intellicative, intellidemand, intellimm, interactive_pro, interactive_x, ironactive, lionheart, nightmare, ondemand_x, ondemandplus, pegasusq, smartass2, smartmax, smartmax_eps, yankactive and zzmoove) and enabled all the stock ones.
default: interactive
* added a few I/O schedulers (bfq, cfq, fifo, fiops, row, sio, sioplus, tripndroid, vr, zen)
default: cfq
* added a few TCP congestion algorythms (bic, cubic, westwood, htcp, hybla, vegas, scalable, lp, veno, yeah, illinois, dctcp, lia, olia, wvegas, balia)
default: westwood
* full f2fs support, ported from official OnePlus 3/3T kernel source
* fixed some misbehaving drivers
* complete implementation of Synapse, to have everything at your fingertip
* overclock and underclock support for both CPU and GPU
* full voltage control (CPU, GPU, BUS and so on...)
* notification LED fading control
* numerous performance and stability tweaks (defconfig, fstab and Makefile)
* SELinux set to Permissive by default (can be changed by the user if he wants to)
* enable extra compression algorithm and cryptography
* sqlite3, busybox and other binaries are integrated!
* Knox 0x0 and SafetyNet spoofed to pass
* ondemand and conservative governors updated for big.LITTLE architecture
* improved default voltage/thermal management
* enabled Swap (510MB, lz4, 4 compression streams)
* and more...
Notes
So good everything is working now :laugh:
In the near future I'll have fun improving Synapse (as soon as I have free time).
Download:
hero2lte > Android File Host
Support:
If you want to receive support, find and share settings, report bugs and try Beta versions, join our Telegram group:
Fire Opal Kernel | Official Group
XDA:DevDB Information
Fire Opal Kernel, Kernel for the Samsung Galaxy S7 Edge
Contributors
kylothow
Source Code: http://github.com/kylothow/android_kernel_samsung_universal8890
Kernel Special Features: Synapse support, stable f2fs porting, full voltage control, various governors, schedulers, tweaks and patches are just some of the awesome features.
Version Information
Status: Stable
Current Stable Version: 2.4.2
Current Beta Version: 3.1.0
Created 2017-02-26
Last Updated 2017-07-26
Changelogs
While searching the Internet you might also find versions which aren't listed here: these are Beta versions and their changelog isn't available (but included in the one of the next stable version, so you don't miss anything).
All the changes I made are listed on GitHub.
Version 2.4.2
Code:
- update sdcardfs
- updated build scripts and recovery scripts
- changed toolchain to a better version (Linaro Android gcc 6.3.1)
- widely improved ramdisk scripts
- updated ramdisk to latest version from RR with 7.1.2 support
Changelogs for previous versions:
Version 2.4.0
Code:
- updated with latest Linux patches
- various fixes (including thermal management and network communication)
Version 2.3.0
Code:
I'm constantly working to provide a better kernel. This implies a lot of research, testing and stressing my eyes staring at code. I'm adding a lot of small fixes.
So, try to understand me if I don't always have time to report a changelog.
As always, you can check GitHub for a detailed changelog.
Version 2.2.1
Code:
Sorry if I didn't write down a changelog for the last releases, I've been quite busy.
Anyway: since version 2.1.6b there are a LOT of changes, performance, battery, stability... Just check it out (and check GitHub for a full changelog).
Version 2.1.6b
Code:
- updated busybox and sqlite3 binaries with more convenient versions
- changed optimizations, enabled safety features and possibly fixed f2fs cryptography
- getting ready for the Synapse restyling
- build the kernel uncompressed
The latter fix solves most lagging issues and noticeably improve performance over compressed version; I'll look into the kernel size issue soon!
Version 2.1.5
Code:
- ramdisk rebased over RR's one
- kernel size reduced
Version 2.1.4
Code:
- updated interactive governor with Samsung optimized version
- implemented the AMOLED flicker free patch
- updated ramdisk for both herolte and hero2lte to the one from latest LineageOS builds
- updated ramdisk to be compatible with SlimROM (untested)
- removed a few redundant tweaks
- fireactive it's on its way to debut, but still disabled because incomplete, sorry :(
Version 2.1.2
Code:
- init: added a few tweaks
- ramdisk: changes in sepolicy
- ramdisk: try to fool safetynet and fix wakelocks
- updated to DQBO kernel source
- fstab: reworked mount options
- fs: add exfat support
- fs: implement optimised and stable f2fs (from oneplus/QC8996_N)
- enabled Swap (I had the idea while looking into the OP3 sources)
Version 2.1.0
Code:
Many beta versions came before this one, and all of them had their list of fixes... I'll try to summarize:
- some configs were tweaked
- enabled init.d support
- Synapse support
- implemented elementalx
- various fixes
- faked Knox 0x0 and try to hide from SafetyNet
- switched back to cfq as default scheduler
- probably other stuff I can't remember now... I need to sleep ahahah
Version 1.2.4
Code:
- temporarily reverted to Linux 3.18.14 (and so fixed the video playback issue)
- updated mount options to reduce I/O overhead
- tweaked the kernel configuration to have better performance
- enabled additional compression algorithms and cryptography utilities
Version 1.2.3
Code:
- updated zen sched driver to version 1.1
- SELinux is now set to Permissive by default
Version 1.2.2
Code:
- now using zen as default I/O scheduler
- changed the default frequency range for the CPU
- updated to Linux 3.18.17 (still working to bring the latest patches)
- switched to a custom Makefile optimised for our architecture
Version 1.2.0
Code:
- overclock and underclock support for both CPU and GPU
- voltage control (see notes in the OP [B][**][/B])
- moved to Uber Toolchain 7.x (aarch64-linux-android-7.x)
- improved recovery installation script
Version 1.1.0
Code:
- First public release
[TUTORIAL] How to set up your phone with f2fs
1) First you have to install a compatible recovery. Recent TWRP releases can format and mount f2fs, but they don't handle a few installation scripts correcty. I recommend TWRP 3.0.2-4 by @lyapota which has the correct patches. You can find it here.
2) Then you have to backup all your data (internal storage will be wiped too, so make sure to copy ALL your files in the INTERNAL storage). So, any TWRP backup should be taken on external SD card.
3) After this, reboot into TWRP. From Wipe / Advanced Wipe check only /data, then select Change Filesystem and check f2fs. Do the same for /cache. At the moment I don't think there are ROMs that support f2fs on /system too (LineageOS, for example, forces ext4 and formats despite settings).
4) Reboot into recovery once again, so we're sure that it can mount everything.
5) At this point you're done. Flash your ROM of choice, this kernel, any GApps and whatever you want.
Reboot and profit!
ROMs supporting f2fs formatted /system will be listed here when available.
Awesome. Will this make oasp run better as there based on proper drivers etc? Can this improve the camera? Sorry for questions I have really messed with aosp on s7e yet
Reuben_skelz92 said:
Awesome. Will this make oasp run better as there based on proper drivers etc? Can this improve the camera? Sorry for questions I have really messed with aosp on s7e yet
Click to expand...
Click to collapse
The idea is to have more customizations, features and overall a better user experience than the kernel the maintainers of our device provide. The changes I made are listed under features.
Sent from my SM-G935F using Tapatalk
Dosent work with slimrom
Thanks man. Runs fine on RR and it feels smoother right away.
rafik25 said:
Dosent work with slimrom
Click to expand...
Click to collapse
I'll have to look into the sources to see if they did specific changes to the kernel.
Sent from my SM-G935F using Tapatalk
Thx bro. Ur kernel works with RR i'ill install
Running very well on lineage thanks for the great kernel
Sent from my SM-G935W8 using XDA-Developers Legacy app
Am I right in saying kernels are the main things that help battery life
Sent from my SM-G930F using Tapatalk
Do I just Flash the .zip in TWRP to install kernel?
jacobw15 said:
Am I right in saying kernels are the main things that help battery life
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
They have an important impact for sure.
Sent from my SM-G935F using Tapatalk
dylanneve1 said:
Do I just Flash the .zip in TWRP to install kernel?
Click to expand...
Click to collapse
Yes. It's a simple .zip that just flashes the kernel (not rooting or anything, but maybe in a future I can upgrade to an aroma installer).
Sent from my SM-G935F using Tapatalk
I just posted in another thread regarding use of your kernel
https://forum.xda-developers.com/s7...extended-rom-v3-1-t3559696/page4#post71203867
I had hoped that using your kernel would allow for full functionality of Magisk -- unfortunately it did not
I really think that since Magisk works well with Stock ROMs it has to do with repacking of the boot img
Hopefully you would be willing to touch base with @topjohnwu to work on obtaining full Magisk compatibility with AOSP Galaxy S7 Edge ROMs
Thanks for you work
wow! thanks so much was hoping for a custom kernel for AOSP! i hope you will consider adding undervolting and synapse support. Thanks for your efforts!
kylothow said:
They have an important impact for sure.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Okay thanks also can this be used on g930f
Sent from my SM-G930F using Tapatalk
jacobw15 said:
Okay thanks also can this be used on g930f
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
Yes there is a link for both S7 and S7 edge.
EDIT: there is a separate thread for the S7 (flat) here
Sage said:
wow! thanks so much was hoping for a custom kernel for AOSP! i hope you will consider adding undervolting and synapse support. Thanks for your efforts!
Click to expand...
Click to collapse
The next in my to-do list are underclock and overclock, followed by voltage control.
I flashed it right now on RR . and im impressed as its smooth af. Im not too sure about battery life , but i fully admit its improvement on performence . good job dev . keep it going
{
"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"
}
Introduction
Oxygen Kernel is based on stock Samsung source code taken from Samsung Opensource Release Center with sole aim to provide better performance, stablity and battery backup than stock kernel. A kernel tells the hardware in your Android device how to behave, kind of like your mommy tells you how to behave. You can modify how fast your processor runs by over or under clocking it or optimize your system for battery life.
Oxygen Kernel is always up-to-date with latest patches from kernel.org
Known for maximum stability and smooth performance
All the Source Code is available on github
Kernel Info
LINUX: 3.18.138
SAFETYNET: Green
SELINUX: Permissive
TOOLCHAIN: Google's GCC 4.9
Compatible ROMS
All AOSP 8.1 and 9 ROMs
All OneUI Pie based ROMs
All Touchwiz 8.0 and 8.1 ROMs
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with the latest stable Linux version
Full -Ofast build with graphite optimisations
Removed a lot of useless debug and logging options
Disabled TIMA, KNOX, DM-VERITY,etc
Awesome battery life and smooth performance
ARM enhanced performance patches
Overclock CPU up-to 1.7GHz and GPU up-to 1146MHz
GPU Voltage Control
CPU Governors: conservative, interactive, ondemand, performance, powersave, userspace (default: interactive)
I/O Schedulers: bfq, cfq, deadline, maple, noop (default: maple)
Powersuspend and State Notifier drivers
Dynamic FSync, FS fsync toggle on/off
Frandom driver for 10-50x faster random number generation
Spectrum Support (a simple, profile based kernel manager || now integrated into Oxygen Control)
Disabled CRCs by default for 30% performance boost
CDROM emulation on mass_storage (compatible with DriveDroid)
Wireguard support
Boeffla Wakelock Blocker
Oxygen Control App Features
Full CPU and GPU Control
Boeffla Wakelock Blocker
Spectrum Support
Samsung Hotplug
CRC Control
And many more!
These features are only available through Oxygen Control App
Download Oxygen Control from Github Releases
Warning: If you come from some other custom kernel or have any issues, you should dirty flash your ROM before flashing Oxygen Kernel to avoid problems.
Reflash ROM -> Flash Oxygen Kernel --> Flash Magisk if you want to root
If you are upgrading between Oxygen Kernel versions, just flash the kernel zip. Also uninstall or clean data of any kernel control app you're using.
Going back to stock: You can backup your boot.img with TWRP before flashing Oxygen Kernel and restore the backup whenever you want to revert.
1] This kernel removes forced encryption, if you face "encryption process failed" error upon reboot then you need to format /data. This is generally needed if you are installing this kernel on stock tw rom.
2] In OneUI Pie ROMs you may get a warning at boot saying "There's an internal problem with your device". You can safely ignore this warning and causes no harm. It's due to some mismatching KNOX/mobicore stuff. I'll fix it soon.
Downloads
Kernel
Download
Oxygen Control
Download
Telegram Group
Join Oxygen Kernel Community group on Telegram here
Join Oxygen Kernel Channel on Telegram here
If you like my work donations are always welcome
Google Pay UPI ID: [email protected]
Paypal: https://paypal.me/SiddhantNaik
Don't forget to hit the thanks button, it's free.
Credits
Samsung Open Source Center for the Source code
@Oves786 and @SolarX_dev for numerous help and support
@osm0sis for AnyKernel2
@jesec for Fingerprint Fix
@morogoku for MTweaks
Everyone others from whom i have picked commits (credited on Github)
All those who test my builds before release
XDA:DevDB Information
Oxygen Kernel for J7 Prime, Kernel for the Samsung Galaxy J7
Contributors
DarkLord1731
Source Code: https://github.com/DarkLord1731/on7xelte
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: 6.0.138
Stable Release Date: 2019-04-26
Created 2017-10-14
Last Updated 2019-08-11
Changelogs:
Oxygen Kernel v6.0.138
Updated to Linux 3.18.138
Added support for OneUI Pie based ROMs
Disabled useless FIVE trustonic driver
Updated xpad drivers to support more controllers/joysticks
Heavily updated cpufreq driver for faster and better performance
Decreased time taken to enter sleep/idle mode
Some bluetooth tty driver updates
Disabled Gentre Fair Sleepers for better system responsiveness (You can enable it back using OC)
Enabled some TCP algorithms
Tuneup westwood and set it as default TCP protocol
Updated conservative governor
Optimised some other drivers like shed, cpuidle, devfreq, rcu, etc.
Disabled add_random and IO stats for better IO performance
Oxygen Kernel v5.1.131
Linux 3.18.131
Fixed kernel not booting on some TW oreo ROMs
Updated to latest kernel source
Updated the kernel to better support AOSP ROMs
Switched to Google's GCC 4.9 toolchain
Removed a lot of useless debug and logging options
Disabled TIMA, KNOX, DM-VERITY,etc
Check github source for more changes
I can't list all of the changes because i've rebased the source code completely. But believe me, this is a major update.
Older Changelogs
Oxygen Kernel v5.1.125
Linux 3.18.125
Oxygen Kernel v5.1
Added support for TW oreo ROMs
Enabled back Input Booster for a better responsive user experience
Oxygen Kernel v5.0
Updated to latest kernel source
Removed some useless CPU governors (Only the best ones are kept)
Removed unwanted IO Schedulers (Only the best ones are kept)
Linux 3.18.124
Enabled SDcardfs (Now O2 shall work fine on latest AOSP ROMs)
Switched to Linaro 7.3.1 Toolchain
Lots and lots of other optimizations and tweaks
AGAIN... I can't list all of the changes because i've rebased the source code completely. But believe me, this is a major update.:fingers-crossed:
Oxygen Kernel v4.0
Linux 3.18.109
Reduced screen on delay to 5 sec (AOSP)
Backported random driver from linux 4.2
Added Frandom
Added cpuquite driver
Added TCP congestion control
Updated statenotifier driver
Updates to cpufreq drivers
Updates to LZ4 compression
Added quickwakeup driver
Optimised many arm64 specific stuff
Optimisations to crypto drivers
Updates to memory handling
Updates to cfq ioscheduler
Hell lot of changes for performance and overall system stability
Check github source for more changes
Oxygen Kernel v3.0
Linux 3.18.106
Removed zzmove governor
Added wireguard VPN support(Google for more details)
Fixed Big Cluster tunables getting lost when turned off
Updated some cpufreq governing policy
Disabled broken Boeffla Wakelock Blocker(AOSP only)
V 3.0
Complete rebase of source code
Updated to G610FDDU1BRA4 kernel sources
Linux 3.18.105
Disabled some bad governors
Various other patches from some well-known kernel
Hell lots of others changes (check source code)
I can't list all of the changes because i've rebased the source code completely. But believe me, this is a major update.:fingers-crossed:
Reserved
Nice work
Thank a lot.. ??
Nice work
Spectrum app isn't working for me.. Anyone else?
great job thank sir[emoji7]
تم الإرسال من SM-N935L باستخدام Tapatalk
gp545 said:
Spectrum app isn't working for me.. Anyone else?
Click to expand...
Click to collapse
V1.1 updated
Changelogs
-Fixed Spectrum
-Fixed Aroma Advanced Settings failing to set
-Enabled front flash on G610M & other supported variants
Delete this moderators.. Posted by mistake
chichareal said:
Nice work
Click to expand...
Click to collapse
gp545 said:
Thank a lot.. ??
Click to expand...
Click to collapse
bilal6785 said:
Nice work
Click to expand...
Click to collapse
al.iraq said:
great job thank sir[emoji7]
تم الإرسال من SM-N935L باستخدام Tapatalk
Click to expand...
Click to collapse
Thanks Guyz:laugh:
Thanks for the awesome work, my friend!
One question: how to enable the real frontal flash for G610M? Here I keep getting just that white screen (virtual flash).
Kernel is working fine, but frontal flash isn't.
help
After flash kernel bootloop at logo samsung
Great work.
Which is the best CPU governor for balanced use?
artssa said:
Thanks for the awesome work, my friend!
One question: how to enable the real frontal flash for G610M? Here I keep getting just that white screen (virtual flash).
Kernel is working fine, but frontal flash isn't.
Click to expand...
Click to collapse
If you're on stock rom then it should turn on the real flash. If on custom rom then kindly ask the dev to add support in rom
John's Pantau said:
After flash kernel bootloop at logo samsung
Click to expand...
Click to collapse
Try formating /data after flashing kernel
Loved your kernel :good:
Only bug I'm facing : Camera effects are not working (both front and back).
Thank you.
Camera effects working for Me, maybe dirty flash?
ashwini215 said:
Loved your kernel :good:
Only bug I'm facing : Camera effects are not working (both front and back).
Thank you.
Click to expand...
Click to collapse
Does it work if u flash back stock kernel? Actually the kennel would not affect camera filters. Maybe check your rom for the act.
can i use this in 6.0?
sorry for stupid quesion . just asking. ty
{
"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"
}
Introducton
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, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
In this kernel, I strive for balance battery / performance, as well as it contains the latest patches for Linux and CAF.
Kernel i make for AOSP Q with Q blobs. How each version on MIUI Q works, i don't know and me it not interesting (if you want use this kernel, you always can flash and test, pls don't report what something don't work on MIUI).
Features:
Base on last sdm845 Q CAF tag
Merge Google Common 4.9-q
Upstream last linux version
Compiled with Proton Clang and Full LTO, LLD links, Shadow Call Stack (SCS) and RELR enabled.
Enable support for NTFS r/w, sdFAT filesystem, F2FS and Implement rapid GC
Kcal Advances Color Control
Enable TTL target
Sound Control by flar2
Add Wireguard Driver
Enable support Sony Dualshock PS3/PS4 and Xbox Controller
Disable unused drivers
Scheduler/schedutile improved (WALT)
SchedTune Assist and CPUSet Assist
Enable select TCP algorithm, westwood by default
Network Signal Guru app compatible.
Simple LMK
Optimize for Android Q
Many tweaks/optimize for battery/performance
AnyKernel3 flashable zip by osm0sis
Installation:
Flash in TWRP recovery, then re-flash Magisk.
If another custom kernel (or my old version, up to 4.2 inclusive) is already installed, then you need to flash stock boot.img first, then magisk and my kernel.
Tuning apps:
FK Kernel Manager
EX Kernel Manager
Downloads:
SourceForge (new build 9.5+)
AndroidFileHost (old build)
My Telegram Group:
https://t.me/joinchat/DNw0ZFHSLa3ObU3noUhSwQ
If you like my work, you can buy me Сoffee
Credits:
Bruno Martins (bgcngm)
Nathan Chancellor (nathanchance)
Francisco Franco (franciscofranco)
Danny Lin (kdrag0n)
Park Ju Hyung (arter97)
All of developers contributions which i picked from.
XDA:DevDB Information
MiPa, Kernel for the Xiaomi Mi Mix 2S
Contributors
palaych
Source Code: https://github.com/palaych/mipa_kernel_xiaomi_sdm845/tree/mipa-q-rebase
Version Information
Status: Stable
Changelog:
V5.5:
Merge Linux version 4.9.174
Revert some caf patches (kernel/fair)
Devfreq: upstream caf patch
Update code boost drivers by sultanxda
Other improves/fix
Click to expand...
Click to collapse
V5.4:
Merge Linux version 4.9.173
Removed useless patches
Add COMPAT_VDSO
Other improves/fix
V5.3:
Merge Linux version 4.9.171
Merge CAF tag 'LA.UM.7.3.r1-07400-sdm845.0'
Merge some CAF / Google patches
Merge some LineageOS repo commits
techpack: audio: checkout dipper-p-oos
Update code drivers by sultanxda
Add KLAPSE
Many other improves/fix
V5.2:
Removed a lot of useless and harmful patches
Crypto upstream bump
dipper: fix gps
Update cpu boost driver by sultanxda
Some other fix/changes
V5.1:
Merge Linux version 4.9.166
Merge many CAF patch
Upstream Google Common 4.9
Compile with Clang 9.0.2
Fix deepsleep with 898000.qcom,qup_uart wakelock
Add API to mark IRQs and kthreads as performance critical
V5.0:
Full re-write kernel tree, cleaner tree, removed many patch (useless and unnecessary), many other changes (patch's)
Merge Linux version 4.9.164
Compile with Clang 9.0.1
Updated Boost Drivers by sultanxda
V4.9:
Fix last merge caf/als
Updated fs/f2fs (support F2FS_FS_VERITY)
Compile with Clang 8.0.9
V4.8:
Merge Linux version 4.9.161
Merge CAF tag 'LA.UM.7.3.r1-06900-sdm845.0'
V4.7:
Upstream Linux version 4.9.160
Update and clean cpu_input_boost / devfreq_boost drivers
Revert some tweaks
Some optimize in defconfig
Other tweaks/fix/etc..too lazy to write.
V4.6:
Merge Linux version 4.9.155
Merge some last LOS commits
Revert: 'Dynamic SchedTune Boost v3'
Update cpu_input_boost driver
Some merge fix in wlan driver
Update camera drivers (cleaned patch)
Other tweaks/fix/etc..too lazy to write.
V4.5:
Upstream Linux version 4.9.154
Merge last LOS commits
Add some tweaks/fix/etc..too lazy to write.
V4.4:
Merge tag 'LA.UM.7.3.r1-06700-sdm845.0'
Merge Linux version 4.9.152
tweaks tcp_westwood
Add Dynamic SchedTune Boost v3
merge some last los commits
revert gpu 180mhz
revert some sched tweaks
other changes/tweaks
V4.3:
Merge Linux Version 4.9.151
Compile with Clang 8.0.7 and GNU GCC 8.2.1, add optimize for sdm845
GPU UC 180Mhz (test)
Enable LZ4 compression
Some update dts to dipper-p-oos
Fix Kcal
DTS: Adjust Energy Model to be inline with Pixel 3 (test)
Tweak's sched
Other changes
Updated drivers camera (maybe full fix portret mode in miui camera)
Full re-write boot scripts
V4.2:
fix freeze (don`t work) potrait mode in miui camera
some change/tweaks
disabled some debug in defconfig
block kernel wakelock 898000.qcom,qup_uart by default
add sound control by flar2
V4.1:
Update Linux version 4.9.148
drivers camera: checkout dipper-p-oos (fix OIS)
Enable support xbox controller
Some changes in anykernel2 script
V4.0:
Rebase on pie source (based on Bruno Martins commits)
Merge CAF tag 'LA.UM.7.3.r1-06600-sdm845.o'
Upstream Linux version 4.9.147
Compiled with Clang 8.0.6
Optimize defconfig
Add Boeffla Wakelock Blocker
Enable support for NTFS r/w
Enable support for sdFAT filesystem
Backlight Minimum Brightness Control
Kcal Advances Color Control
Enable ttl target
Vibration Control
Add Maple I/O Scheduler
Add Wireguard Driver
Enable support Sony Dualshock PS3/PS4
Boost Drivers by sultanxda
Fix Source Code
Some tweaks for battery/performance
Work only on Android Pie
V3.7:
upstream linux version 4.9.141
update techpack/asoc/elliptic driver (use xiaomi pie source, fix proximity sensor on polaris pie)
revert some commits
revert updated hid_sony
tweaks tcp_westwood
add lshrti3 library function
V3.6:
upstream linux version 4.9.140
removed boost drivers by sultanxda and some others tweaks
enable support sony controller (usb)
compile with Linaro 7.3.1
V3.5:
compiled with GNU GCC 8.2
merge commits binder
merge commits sdcardfs
merge linux version 4.9.137
merged tag "LA.UM.6.3.r4-05800-sdm845.0"
boost drivers by sultanxda
merge los commits fs: sdfat
V3.4.2:
compiled with GNU GCC 8.2.1
add cortex-a75/a55 flags
some fix source code
merge latest los commits
V3.3.1:
update camera drivers
V3.3:
add i/o schedulers maple (by default)
Kcal Advances Color Control (experimental features)
Vibration Control (experimental features)
Backlight Minimum Brightness Control (experimental features)
schedutil tweaks
fix brightness led notification (polaris)
maybe something else...
V3.2:
re-base linux-stable tree
Merge CAF tag 'LA.UM.6.3.r4-05300-sdm845.o'
Linux version 4.9.135
optimize defconfig
use last google toolchain 4.9
add boeffla wakelock blocker
ttl target
ntfs r/w support
exfat support
something fix/tweaks and etc...
V3.1:
not public realised, first realised for mi8
V3.0:
los-source based
Google TC 4.9
TTL target
update Linux version 4.9.131
merge caf tag LA.UM.6.3.r4-05300-sdm845.o
ntfs r/w support
wireguard driver
v.2.0:
completely rewritten tree kernel
a lot of changes regarding previous versions
I hope to fully fix random reboots, dt2w
v.1.4:
closed version
v.1.3:
update linux 4.9.125
disable lmk and use lmkd
v.1.2:
compile with clang 7.0 + gcc 8.2
update wireguard driver
v.1.1.1:
some fix cpu-boost and fsync (maybe fix xiaomi.eu)
v.1.1:
update linux version: 4.9.124
add devfreq-boost driver by sultanxda
reconfigured cpu-boost
some optimize/tweaks source
optimize defconfig
add exfat support
revert zram tweaks
maybe something else
v.1.0:
first public version
Source code v1.0-1.4: https://github.com/palaych/mipa_polaris
Reserved
Thanks for your work!
What roms can we use it with?
GREAT
Flatric said:
Thanks for your work!
What roms can we use it with?
Click to expand...
Click to collapse
Miui 9/10 global/chine and etc.
on 8.8.3 xiaomi.eu had problems with random reboots. on other (miui 10 global, miuipro ) such problem is not present
Unfortunately I'm using Android P global beta, thanks a lot for your work.
Bryandu13 said:
Unfortunately I'm using Android P global beta, thanks a lot for your work.
Click to expand...
Click to collapse
it remains only to wait when xiaomi will lay out source code for pie,i think only with the release of stable version
I'm on xiaomi.eu 8.8.3, as expected, a couple minutes after installing the kernel, phone rebooted by itself. I have disabled fsync since then and it's been working for a couple of hours now without reboots. I will update tomorrow if it reboots through the night.
ArctiX said:
I'm on xiaomi.eu 8.8.3, as expected, a couple minutes after installing the kernel, phone rebooted by itself. I have disabled fsync since then and it's been working for a couple of hours now without reboots. I will update tomorrow if it reboots through the night.
Click to expand...
Click to collapse
fsync?? interesting... write then how will it be with disabled
palaych said:
fsync?? interesting... write then how will it be with disabled
Click to expand...
Click to collapse
isn´t fsync supposed to be always on? I remember disablling it on my nexus 5 always caused random reboots.
Can I ask if it works on XE model with MIUI 10 global when Magisk installed?
I recall if I did so with stock kernel (BL unlocked), I ended up with bootloop.
I can have a try as it doesn't take me too much time but I would say if any one could give me an answer that would be appreciated.
palaych said:
fsync?? interesting... write then how will it be with disabled
Click to expand...
Click to collapse
It didn't reboot through the whole night. I will try turning fsync back on to check if it will start crashing again.
EDIT: After turning fsync on the phone rebooted itself after ~5 minutes, I then turned fsync back off and it's been 3 hours without a reboot.
Saiger said:
isn´t fsync supposed to be always on? I remember disablling it on my nexus 5 always caused random reboots.
Click to expand...
Click to collapse
Fsync prevents from data loss on system crash as far as I know.
ArctiX said:
EDIT: After turning fsync on the phone rebooted itself after ~5 minutes, I then turned fsync back off and it's been 3 hours without a reboot.
Click to expand...
Click to collapse
Ok, tnx for help. I do not know why yet. Still test and then add to the first post this info.
Maybe they are logs turned off / on. Because I disabled many debug logs at kernel level.
It have feature quick charge 3000+ mAh? *Like custom kernel Radon kernel by Umang*
Sent from my Mi Mix 2S using XDA Labs
NOS_bzone said:
It have feature quick charge 3000+ mAh? *Like custom kernel Radon kernel by Umang*
Click to expand...
Click to collapse
fast charge (qc3.0) implemented by xiaomi, replace with another driver or remove restrictions, i will not.
Thanks for your work, I tried a little but after some hours try to changing governors with elemental x I had reboots and system isn't stable, so I revert to stock kernel trough dirty flash, I'm on miui Pro 8.8.2.
it seems that mipa can work on dotos,thanks for your work.
EraserKing said:
Can I ask if it works on XE model with MIUI 10 global when Magisk installed?
I recall if I did so with stock kernel (BL unlocked), I ended up with bootloop.
I can have a try as it doesn't take me too much time but I would say if any one could give me an answer that would be appreciated.
Click to expand...
Click to collapse
Confirmed working.
If on stock kernel with SuperSU, just flash everything back to stock, then this kernel and then Magisk. Everything works.
@palaych
Thanks for this great kernel running on xiaomi.eu 8.8.3 :good: - for me it seems reboots occure due to zRAM...system was laggy and stuttered while scrolling. Deactivated zRAM via EXKM (fsync switched back on) and it seems to run smooth w/o reboots until now.
{
"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
{
"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