[KERNEL][STABLE][TW][O][8.0][ERH1][31.08.18][SM-G930F/FD] SuperStock-Kernel V3.1.0 - Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri

SuperStock-Kernel for SM-G930F/FD/K/L/S/W8 models
{
"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"
}
Supports Touchwiz (S7 Version) 6.0.1 from BPH6 and higher
IF YOU FOLLOW MY STEPS BELOW, YOU WILL LOSE YOUR WARRANTY, KNOX WILL DISPLAY 0x1! I'M NOT RESPONSIBLE FOR ANY DAMAGED DEVICE!
If you want to take my work and need it somewhere, or do other things with it, ask me first for the permission. Otherwise you are not allowed to take it! Thank you !
Features of this Kernel:
- Build with latest google toolchain 4.9
- Build with ERH1 kernel source!
- Latest Linux version 3.18.120, is always up to date
- Performance and Batterylife improved
- Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv (default), conservative
- Built with latest ramdisk sources from samsung (ERG2)
- I/O schedulers: CFQ (Default), No-op, Deadline, BFQ, ROW, fifo, fiops, sio, sioplus, tripndroid, zen, vr
- Fixed power efficient wq permission
- Critical TCP bug fixed
- Zram LZ4 enabled
- Allow ADB-Insecure
- TCP (Network) control: Bic (default), Reno, cubic, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah and Illinois
- Selinux is set to permissive
- All samsung related configs disabled (as knox, tima, restrict rooting)
Download:
Marshmallow V1.X:
V1.6.5 on AndroidFilehost
Nougat V2.X:
V2.11.0 on AndroidFilehost
Oreo V3.X:
V3.1.0 on AndroidFilehost
Download page on GrifoDev
All releases on AndroidFilehost
Bugs/Problems:
- None
Instructions:
1. Download kernel
2. Boot into recovery mode
3. Flash kernel
4. Flash any other file which affects ramdisk (such as supersu, xposed, magisk etc.)
5. Reboot
If you wanna join the beta tester group, download yourself telegram and click on the chat link: Telegram Group
Support:
If you like my work, feel free to hit thanks and/or give me a small donation by clicking the link right below. Thank you very much in any way! :good:
​
PayPal​
Credits/Thanks:
- Samsung for sources
- the great linus for his amazing kernel source
- arter97
- Jesec for his great fingerprint fix
- dorimanx
- AndreiLux
- halaskz
- neobuddy83
XDA:DevDB Information
SuperStock for herolte, Kernel for the Samsung Galaxy S7
Contributors
Tkkg1994
Source Code: https://github.com/GrifoDev/SuperKernel/tree/TW80-stock
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V3.1.0
Stable Release Date: 2018-08-31
Created 2016-09-02
Last Updated 2018-09-25

Changelogs
Old Changelogs:
SuperStock V1.3.5:
- Initial release on XDA
SuperStock V1.4:
- Ramdisk update to BPHJ
- Source update to BPHJ (including new HMP opimizations)
- Linux version updated to 3.18.42
SuperStock V1.4.5:
- Ramdisk update to BPIF
- Linux updated to latest 3.18.43
- added following ioscheds: BFQ, ROW, fifo, fiops, sio, sioplus, tripndroid, zen, vr
SuperStock V1.5:
- updated base to BPJ7
- updated ramdisk to BPJ7
- updated linux to 3.18.44
- patched CVE-2016-5195
SuperStock V1.5.5:
- Updated to BPJG latest source drop
- Updated to BPJG ramdisk
SuperStock V1.5.6:
- Samsung seems quite busy on nougat, no big changes in kernel since a while, however here's latest update
- Used lates BPL3 ramdisk (source code is still the same)
- Updated linux to 3.18.45 version
SuperStock V1.6:
- Small update to latest BPL3 source drop (mainly driver changes)
SuperStock V1.6.5:
- Rebased on latest BPLB Kernel source drop
- Updated ramdisk to latest BPLB
- Updated Linux version to 3.18.46
SuperStock V2.0:
- This is ONLY FOR NOUGAT, NOT FOR MM!!
- Based on latest DPLT source drop
- Including all previous features of SuperStock kernel
- Updated f2fs to latest backport available from jaegeuk
- Updated all mcRegistry files
- Updated ramdisk to DPLT
- Changed toolchain to my own cortex a53 optimized 6.3.0 (selfmade)
SuperStock V2.0.1:
- Possibly fixed wifi problem
- Some other small adjustments
SuperStock V2.0.2:
- Updated ramdisk to DQAS
- Updated linux to 3.18.47
- Added K/L/S variants separately (that's why the zip file is so big)
- No more variant choose, 1 file to support them all (exynos variants)
SuperStock V2.1.5:
- Ramdisk update to DQB3
- Source drop update to DQB3
- Linux update to 3.18.48
- mcRegistry updated to DQB3
- Use only F/FD kernels for all models (since K/L/S use F/FD roms too)
SuperStock V2.2.0:
- Based on latest DQB7 source drop release
- Updated to latest DQB7 ramdisk
- Fake knox 0x0 (as in superman-rom 2.2 or superstock-rom 2.5)
- Fixed init.d not working correctly sometimes
SuperStock V2.3.0:
- Updated to latest DQBO source drop
- DQBO ramdisk
- DQBO mcRegistry files
- Updated included kernel scripts
- Moved wakelock script into kernel ramdisk for better compatibility
- Fixed some more safetynet flags
- Added a deep sleep fix so let me know if your phone is consuming more or less battery over night
- Updated to latest GNU selfmade toolchain (since linaro always gave problems like VoLTE..)
SuperStock V2.4.2:
- Based on latest DQCG release
- Updated ramdisk to DQCG release
- DQGC mcRegistry files updated
- Added and reworked scripts to fake knox (should also work with supersu now)
- Added PWM flicker free patch
SuperStock V2.4.3:
- killed PWM flicker free (Reason; contrast is ugly, gear vr is broken, possibly some other unknown issues)
- fake encryption added (this may help for samsung pass to work, you have to test)
- resetprop has been updated
SuperStock V2.5.0:
- Source updgraded to DQD1 (same as DQD2)
- Ramdisk updated to DQD2
- mcRegistry updated to DQD2
- Disabled fake encryption (broke OTG on SuperStock-Kernel)
SuperStock V2.5.2:
- Ramdisk updated to DQD3
- mcRegistry files updated to DQD3
- Linux version updated to 3.18.51
SuperStock V2.6.1:
- Updated to DQEF source code
- Updated ramdisk to DQEF
- Added more flags to resetprop (secret mode in browser should work again, at least it did on the s8)
- Updated to most recent f2fs branch from official google supporter
- Updated Linux to 3.18.56
- Updated mcRegistry to DQEF
SuperStock V2.7.0:
- Based on latest DQFM source code
- Ramdisk updated to latest DQFM
- Updated linux to 3.18.60
- Reverted a patch in one of those linux updates which broke deepsleep in some cases
- Changed code for mcRegistries: they won't get replaced anymore, it just deletes the "bad" file
SuperStock V2.7.2:
- Based on latest DQG1 source code
- Ramdisk updated to latest DQG1
- Updated linux to 3.18.66
- Includes GPU libs, so there is no chance after another kernel this will bootloop!
- Since samsung is not updating their kernels very frequently on the s7, I thought I better push out some small updates
SuperStock V2.8.0:
- DQH8 source drop update
- DQHY ramdisk update
- Linux update to 3.18.70
- Toolchain update to GNU GCC 6.4.0 @djb77
SuperStock-Kernel V2.9.0:
- Finally an awesome update to DQIC with a much higher changelist!
- DQIC ramdisk update
- Linux update to 3.18.72
- Updated AIK to V2.9
SuperStock-Kernel V2.10.0:
- DQJ1 source drop update
- DQJ1 ramdisk update
- Linux update to 3.18.77
- 6.4.1 toolchain update to @djb77
SuperStock-Kernel V2.10.1:
- DQK1 source code shares the same source as DQJ1, that's why it's only a small change
- DQK1 ramdisk update
- Linux update to 3.18.83
- Toolchain updated thanks to @djb77
SuperStock-Kernel V2.10.5:
- DQLF still has the same kernel source code as DQK1
- DQLF ramdisk update
- Linux updated to latest 3.18.91
- Updated toolchain
- F2fs update to latest release
- AIK updated to v3.1
SuperStock-Kernel V2.11.0:
- DRAG source code update
- DRAG ramdisk update
- Linux update to 3.18.94
- Toolchain updated thanks to @djb77
SuperStock-Kernel V3.0.2:
- This kernel can only be used on OREO stock based roms (No ports!)
- Updated kernel source to most recent ERG2 code (rebuild from scratch)
- Updated ramdisk to ERG2
- Changed toolchain to google 4.9 for better compatibility
- Updated AIK to 3.3
- Updated f2fs to most recent available
- Updated linux to 3.18.118
SuperStock-Kernel V3.1.0:
- Source code based on ERH1
- Updated linux to 3.18.120
- Fixed samsungs mismatch in kernel compilation

Reserved

I will wait for the link )

king118 said:
I will wait for the link )
Click to expand...
Click to collapse
Link is already up and running
Sent from my SuperMan powered SM-G930F

Tkkg1994 said:
Link is already up and running
Sent from my SuperMan powered SM-G930F
Click to expand...
Click to collapse
Already installed

does it have the dimmable notification led mod ?

More choices in I/O scheduler would be much appreciated.
Cheers
Edit: does not have deadline scheduler

NQNH said:
does it have the dimmable notification led mod ?
Click to expand...
Click to collapse
kotaxor said:
More choices in I/O scheduler would be much appreciated.
Cheers
Click to expand...
Click to collapse
For this I got the superkernel. This here will always be as much stock as possible
Sent from my SuperMan powered SM-G930F

I think that Row scheduler whould be better than any other because:
The ROW I/O scheduler was developed with the mobile devices needs in mind. In mobile devices, we favor user experience upon everything else, thus we want to give READ I/O requests as much priority as possible. In mobile devices we won't have as much parallel threads as on desktops. Usually it's a single thread or at most 2 simultaneous working threads for read & write. Favoring READ requests over WRITEs decreases the READ latency greatly. The main idea of the ROW scheduling policy is: If there are READ requests in pipe - dispatch them but don't starve the WRITE requests too much.
Benefits:
- Faster UI navigation and better overall phone experience
- Faster boot times and app launch times
Disadvantages:
- Not great for heavy multitasking
- Slower write speeds
---------- Post added at 05:43 PM ---------- Previous post was at 05:41 PM ----------
CFQ:
Completely Fair Queuing scheduler maintains a scalable per-process I/O queue and attempts to distribute the available I/O bandwidth equally among all I/O requests. Each per-process queue contains synchronous requests from processes. Time slice allocated for each queue depends on the priority of the 'parent' process. V2 of CFQ has some fixes which solves process' i/o starvation and some small backward seeks in the hope of improving responsiveness.
Benefits:
- Has a well balanced I/O performance
- Excellent on multiprocessor systems
- Regarded as a stable I/O scheduler
- Good for multitasking
Disadvantages:
- Some users report media scanning takes longest to complete using CFQ. This could be because of the property that since the bandwidth is equally distributed to all i/o operations during boot-up, media scanning is not given any special priority.
- Jitter (worst case delay) can sometimes be very high because the number of competing with each other process tasks
- Under constant load, the phone will experience increased I/O latency due to the way how the scheduler tries to create 'fairness'
---------- Post added at 05:43 PM ---------- Previous post was at 05:43 PM ----------
What do you think?

Not to start an off-topic discussion on its pros and cons, but would you ever consider adding F2FS support?

Thank you for new kernel. I flashed it with Supersu and after reboot I have no root (Supersu has no binary)...
Can you show me files with I need flash after kernel (I have your superrom v12. With su and xposed)?
Sent from my SM-G930F using XDA-Developers mobile app

KaspaII said:
Thank you for new kernel. I flashed it with Supersu and after reboot I have no root (Supersu has no binary)...
Can you show me files with I need flash after kernel (I have your superrom v12. With su and xposed)?
Sent from my SM-G930F using XDA-Developers mobile app
Click to expand...
Click to collapse
With xposed you use magsik then. Reflash magisk, xposed and phhs root
lost_ said:
Not to start an off-topic discussion on its pros and cons, but would you ever consider adding F2FS support?
Click to expand...
Click to collapse
Not thought about it. Maybe I mean why not
king118 said:
I think that Row scheduler whould be better than any other because:
The ROW I/O scheduler was developed with the mobile devices needs in mind. In mobile devices, we favor user experience upon everything else, thus we want to give READ I/O requests as much priority as possible. In mobile devices we won't have as much parallel threads as on desktops. Usually it's a single thread or at most 2 simultaneous working threads for read & write. Favoring READ requests over WRITEs decreases the READ latency greatly. The main idea of the ROW scheduling policy is: If there are READ requests in pipe - dispatch them but don't starve the WRITE requests too much.
Benefits:
- Faster UI navigation and better overall phone experience
- Faster boot times and app launch times
Disadvantages:
- Not great for heavy multitasking
- Slower write speeds
---------- Post added at 05:43 PM ---------- Previous post was at 05:41 PM ----------
CFQ:
Completely Fair Queuing scheduler maintains a scalable per-process I/O queue and attempts to distribute the available I/O bandwidth equally among all I/O requests. Each per-process queue contains synchronous requests from processes. Time slice allocated for each queue depends on the priority of the 'parent' process. V2 of CFQ has some fixes which solves process' i/o starvation and some small backward seeks in the hope of improving responsiveness.
Benefits:
- Has a well balanced I/O performance
- Excellent on multiprocessor systems
- Regarded as a stable I/O scheduler
- Good for multitasking
Disadvantages:
- Some users report media scanning takes longest to complete using CFQ. This could be because of the property that since the bandwidth is equally distributed to all i/o operations during boot-up, media scanning is not given any special priority.
- Jitter (worst case delay) can sometimes be very high because the number of competing with each other process tasks
- Under constant load, the phone will experience increased I/O latency due to the way how the scheduler tries to create 'fairness'
---------- Post added at 05:43 PM ---------- Previous post was at 05:43 PM ----------
What do you think?
Click to expand...
Click to collapse
Row is developed by qualcom. Will see if I add it
Sent from my SuperMan powered SM-G930F

@Tkkg1994
Please, Sir, ... are all loggers (logcat, ...) disabled ?
Many thanks in advance

Just a question,is this the same kernel version included in superman rom?
Sent from my SM-G935F using XDA-Developers mobile app

spezl said:
Just a question,is this the same kernel version included in superman rom?
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
The same.. But the newest version.
Sent from my SM-G930F using XDA-Developers mobile app

enebro77 said:
@Tkkg1994
Please, Sir, ... are all loggers (logcat, ...) disabled ?
Many thanks in advance
Click to expand...
Click to collapse
No
spezl said:
Just a question,is this the same kernel version included in superman rom?
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
No, linux updated. Otherwise version number would be the same
Sent from my SuperMan powered SM-G930F

Thx. A version that's stable like this one with all the features of Super kernel would be great. Thus a Super kernel with stock values because when I lower values it stil freezes and I don't know stock values from many things.
Sent from my lightning fast SM-G930F (S7)

FlemishDroid said:
Thx. A version that's stable like this one with all the features of Super kernel would be great. Thus a Super kernel with stock values because when I lower values it stil freezes and I don't know stock values from many things.
Sent from my lightning fast SM-G930F (S7)
Click to expand...
Click to collapse
Yes I am thinking of disabling UC freqs and just OC the phone (on superkernel)

Tkkg1994 said:
Yes I am thinking of disabling UC freqs and just OC the phone (on superkernel)
Click to expand...
Click to collapse
Or set default/stock values and gives the user the choose.
Sent from my lightning fast SM-G930F (S7)

Related

[EOL][KERNEL][STABLE][TW][O][8.0][ERH1][31.08.18][SM-G930F/FD] SuperKernel V3.1.0

SuperKernel for SM-G930F/FD/K/L/S/W8
{
"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"
}
Supports all touchwiz roms 6.0.1 on BPH6 base and higher
IF YOU FOLLOW MY STEPS BELOW, YOU WILL LOSE YOUR WARRANTY, KNOX WILL DISPLAY 0x1! I'M NOT RESPONSIBLE FOR ANY DAMAGED DEVICE!
Please check Question and Answer Thread first!
If you want to take my work and need it somewhere, or do other things with it, please ask me first for the permission. Otherwise you are not allowed to take it! Thank you !
SuperMan-Rom, a Touchwiz based rom made by myself!
Features of this Kernel:
- Build with latest official google toolchain v4.9
- Build with ERH1 kernel source!
- Latest Linux version 3.18.120, is always up to date
- Performance and Batterylife improved
- Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv (default), conservative, zzmoove, barry_allen, nightmare, darkness, pegasusq, yankactive intelliactive, ondemandplus, intellimm, bioshock, lionheart, smartmax, smartass2, smartmax_eps, alucard, blu_active, cafactive, electrodemand, ondemand_x, hyper and intellidemand
- Built with latest ramdisk sources from samsung (ERG2)
- Frandom Support
- Thunderplug hotplug driver can be selected in aroma (only for advanced users!)
- Gzip compressed ramdisk (supersu, magisk etc will work fine)
- I/O schedulers: CFQ (Default), ROW, No-op, Deadline, BFQ, FIOPS, SIO, VR, ZEN, FIFO, maple and SIOplus
- UKSM (Ultra Kernel Samepage Merging)
- Zram can be set in synapse
- Gentle fair sleeper switch enabled
- StateNotifier included
- HTC's async added
- Fsync toggle
- LED Control
- Charging control
- HMP control
- Full CPU/GPU control in synapse
- DVFS in Synapse
- Many controllable wakelocks
- Underclock: big core to 312Mhz, little core to 338Mhz
- Overlock: depens on your ASV
- GPU OC to 806 Mhz
- Init.d Support
- NTFS file system enabled
- CIFS/NFS file systems enabled
- F2fs supported
- Allow ADB-Insecure
- Wlan Wakelock decreased
- Fully controllable with synapse
- TCP (Network) control: Bic (default), Reno, cubic, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah and Illinois
- Selinux is set to permissive
- Zen-Tune implemented
- All bad samsung drivers disabled (like tima or rkp)
- Force encryption disabled
- Knox faked to 0x0
- Boeffla wakelock control
Download:
Marshmallow V1.X:
V1.9.7 on AndroidFilehost
Nougat V2.X:
V2.11.0 on AndroidFilehost
Oreo V3.X:
V3.1.0 on AndroidFilehost
Download via GrifoDev
All old releases
Bugs/Problems:
- None
Instructions:
0. Make a backup of your current stock kernel in TWRP, just in case you want to go back
1. Install a custom recovery for your phone, like this one here:TWRP
2. Follow the instructions on the page above, until you get a working recovery
3. Download the Kernel from below and copy it to your external SD Card
4. Reboot to your recovery by pressing volume up, home button and power button at the same time.
5. Install zip/select the kernel
6. Flash supersu, phh's root, magisk and all things that modify your boot.img
7. Wipe cache and dalvik cache (recommand)
8. Reboot
If you wanna join the beta tester group, download yourself telegram and click on the chat link: Telegram Group
Support:
If you like my work, feel free to hit thanks and/or give me a small donation by clicking the link right below. Thank you very much in any way! :good:
PayPal​
Credits/Thanks:
- Samsung for sources
- the great linus for his amazing kernel source
- arter97
- Jesec (for the great FP fix!!)
- dorimanx
- AndreiLux
- halaskz
- neobuddy83
- UpInTheAir for his great Synapse implementation
XDA:DevDB Information
SuperKernel for herolte, Kernel for the Samsung Galaxy S7
Contributors
Tkkg1994
Source Code: https://github.com/GrifoDev/SuperKernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V3.1.0
Stable Release Date: 2018-08-31
Created 2016-05-30
Last Updated 2018-09-25
Changelog:
Old Changelogs:
SuperKernel V1.0:
- Changes compared to stock:
- updated CPUfreq drivers
- updated to latest stable linux (3.18.34)
- updated zram/zsmalloc and zswap for better ram management
- implemented tasks adj tree
- updated ext4
- updated crypto files
- added UKSM
- updated workqueue and sched features
- added gentle fair sleepers switch
- added new governors, ioscheds and tcp
- backports from 4.0 kernel
- many more things (already over 1000 changes compared to stock!!!)
- detailed history
SuperKernel V1.1:
- fixed fingerprint support, thanks to @Jesse Chan who found the right files to delete!
- arm64: mm: support ARCH_MMAP_RND_BITS
- int_sqrt.c: Correction square root algo with naming
- int_sqrt: Improve 3x faster integer sqrt
- mm: mmap: add new /proc tunable for mmap_base ASLR
- mmc: core: Expose use_spi_crc module parameter in sysfs (and disable it to gain perfomance)
- tima, knox and all "bad" samsung related configs are disabled now!
- over 100 updates in kernel/sched and in kernel/rcu to gain performance and better batterylife
- as always, visit github to see what exactly changed!
SuperKernel V1.2.1:
- Reverted back some changes I made in kernel/sched and kernel/time -> Probably fixed the random reboots (I never had one before, so you need to test this)
- Added the requested ROW iosched
- Added UC/OC frequencies thanks to @Jesse Chan (Kernel detects if you phone is capable or not for OC (jesses work), I added a check that only Grade A phones have full OC)
- added DAX to fs
- Many /mm and filesystem Updates (for ext4, ext3, ext2 and f2fs)
- Applied Jesse's fingerprint lag fix
- updated kernel/locking
- implemented Zen-tune V4.5
- cfq-iosched: fix the setting of IOPS mode on SSD
- More changes on github
SuperKernel V1.2.5:
- changed ramdisk compression from lz4 to gzip (which should fix systemless xposed)
- add a fsync toggle to enable and disable fsync
- added async from HTC
- Use erandom functions
- added wakup toggle for wlan
- mm: Allow for Exynos swap to be enabled
- enabled 2 additional lower CPU steps
- update "mm/zsmalloc: don't fail if can't create debugfs info"
- updated cifs/nfs/nfsd and filesystems
- updated memory management (page_alloc, vmstat, etc)
- added new z3fold driver
- probably made fingerprint scanner a little big faster
SuperKernel V1.3.1:
- Updated ramdisk to APF2
- Updated linux to 3.18.35
- removed the red latter at start up (you really really wanted that )
- Fixed random reboots from 1.3 in superman rom
- added a wakelock fix who should fix some google wakelocks
SuperKernel V1.4:
- completely reworked my w. Wipe cache and dalvik cache (recommand)
hole source code, now available under: Github
- Updated ramdisk with latest supersu patch
- many updates in /base/power/opp
- backports from 3.19 branch
- interactive updates (even more smooth now)
- added kasan for arm64 devices
- overall smoothness improved
- tested over one day, not a single reboot till now
SuperKernel V1.7:
- fixed phone turning on when offline charging
- Updated base and ramdisk to latest BPH6 source, this kernel will only work on BPH6 ROM!!!!
- added full synapse support, thanks to UpInTheAir (I adapted his implementation to work on S7)
- Updated linux to 3.18.39
- added f2fs support for /data
- fixed private mode not working after a reboot
- fully remade the whole source tree to get you the best experience!
- fixed the tcp bug which would otherwise make your phone vulnerable
- some other backports
- updated workqueue
- switched to 7.0 sabermod toolchain
- many more things I may forgot
SuperKernel V1.8.5:
- Started from scratch on BPHJ source code
- No more freezing, not a single problem left anymore!
- Updated to 3.18.42 linux (latest)
- Merged some new linaro patches into kernel
- f2fs should now work (and stay) on partitions you have chosen
- HMP opimizations added (tunable in synapse)
- GPU UC removed for now
- CPU OC/UC enabled, but stock freqs are default on first flash
- Disabled PEWQ (can be enabled in synapse)
- Updated thermal
- Disabled task ADJ tree
- enabled hmp packing
- crypto updated
- cpufreq some small updates
- BPIF ramdisk
- Selinux audit configurable
SuperKernel V1.9:
- Based upon BPJ7 source code
- Updated to linux 3.18.44
- added GPU OC to 806Mhz (thanks to @lyapota)
- updated ramdisk to BPJ7
- fixed some battery settings in synapse
- updated busybox to 1.26
- patched CVE-2016-5195
- changed behavior of cpu on high freqs a bit
SuperKernel V1.9.2:
- Updated to BPJG source drop
- Updated ramdisk to BPJG source
SuperKernel V1.9.5:
- This kernel is only for MM!
- Ramdisk base changed to BPL3 (source base is still the same)
- Updated linux to latest 3.18.45 version
- Backported most crypto drivers form 4.4 mainstream linux
- Enabled new crypto drivers and optimizations
- Updated random drivers
- Updated synapse, hopefully all is up to your needs now
- Added thunderplug hotplug (keep in mind that playing with thunderplug settings may lead to SOD)
- Added a special tab for hotplug drivers: Stock, disabled or thunderplug
- Updated busybox
- Updated script to create an init.d file if not existing
- Fixed LED fading in synapse
- statenotifier enabled again for thunderplug
SuperKernel V1.9.6:
- Based on latest BPL3 source drop release
- Fixed adaptable storage problem
SuperKernel V1.9.7:
- Rebased on latest BPLB Kernel source drop
- Updated ramdisk to latest BPLB
- Updated Linux version to 3.18.46
SuperKernel V2.0:
- Only for NOUGAT and TOUCHWIZ roms
- Rebased on latest DPLT base
- Latest DPLT ramdisk
- Latest f2fs backport from 3.18.y branch
- Maple iosched added (needs testing)
- selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables
- UPSTREAM: capabilities: ambient capabilities
- BACKPORT: full hardened usercopy backported
- mnt: Add filesystem private data to mount points
- New DVFS tab in synapse
- Updated all mcRegistry files to Nougat
- Changed toolchain to selfcompiled GNU 6.3 a53 optimized
- Sqlite binary updated
- Fstrim added
- Busybox changed to sbin/busybox (needs to be at this directory otherwise synapse won't work!)
- Some other things I may forgot
SuperKernel V2.0.1:
- Linux updated to 3.18.47
- busybox detection enhanced (you can now install to /sbin, system/xbin or su/xbin)
- State notifier disabled by default
- Allow all cores to go to highest freq
- People report working deepsleep so if it does NOT work for you, give me your wakelock stats, otherwise that's not helping anyone
SuperKernel V2.0.2:
- Updated ramdisk to DQAS
- Changed some settings in wakelock tabs for synapse (deepsleep issue was produced setting to extreme levels in synapse)
SuperKernel V2.1.5:
- Based on latest DQB3 release
- Updated Linux version to 3.18.48
- Updated ramdisk to DQB3
- Updated all mcRegistries to DQB3
- Added HID gadget keyboard/mouse patch
- Updated android binder driver
- Also one file to flash for all variants
SuperKernel V2.2.0:
- Based on latest DQB7 source drop release
- Updated to latest DQB7 ramdisk
- Fake knox 0x0 (as in superman-rom 2.2 or superstock-rom 2.5) (credits to @lyapota )
- Fixed init.d not working correctly sometimes
SuperKernel V2.4.2:
- Completly rebased on top of superstock kernel
- Based on latest DQCG release
- Updated ramdisk to DQCG release
- Added and reworked scripts to fake knox (should also work with supersu now)
- Updated conservative and ondemand govenror
- Added PWM flicker free patch
- Fixed safetynet failing sometimes
SuperKernel V2.4.3:
- Updated Zen-tune to V4.10 version (only minor changes)
- Fixed thunderplug showing errors in synapse
- killed PWM flicker free due to many broken stuff
- mcRegistry files have been upgraded to DQCG
- Reverted many sched patches, I think general performance is much better now (maybe placebo idk), please let me know your thoughts!
- Fixed some synapse errors here and there, still I haven't had the time to work on cortex brain staying offline, sorry guys
SuperKernel V2.5.0:
- Source updgraded to DQD1 (same as DQD2)
- Ramdisk updated to DQD2
- mcRegistry updated to DQD2
- Fixed external iosched error on Synapse
SuperKernel V2.5.2:
- Ramdisk updated to DQD3
- mcRegistry files updated to DQD3
- Linux version updated to 3.18.51
SuperKernel V2.6.1:
- Updated to DQEF source code
- Updated ramdisk to DQEF
- Added more flags to resetprop (secret mode in browser should work again, at least it did on the s8)
- Updated to most recent f2fs branch from official google supporter
- Updated Linux to 3.18.56
- Updated mcRegistry to DQEF
SuperKernel V2.7.0:
- Based on latest DQFM source code
- Ramdisk updated to latest DQFM
- Updated linux to 3.18.60
- Reverted a patch in one of those linux updates which broke deepsleep in some cases
- Changed code for mcRegistries: they won't get replaced anymore, it just deletes the "bad" file
- Added spectrum support, untested!
SuperKernel V2.7.2:
- Based on latest DQG1 source code
- Ramdisk updated to latest DQG1
- Updated linux to 3.18.66
- Includes GPU libs, so there is no chance after another kernel this will bootloop!
- Since samsung is not updating their kernels very frequently on the s7, I thought I better push out some small updates
SuperKernel V2.8.0:
- DQH8 source drop update
- DQHY ramdisk update
- Linux update to 3.18.70
- Toolchain update to GNU GCC 6.4.0 @djb77
SuperKernel V2.9.0:
- Finally an awesome update to DQIC with a much higher changelist!
- DQIC ramdisk update
- Linux update to 3.18.72
- Updated AIK to V2.9
SuperKernel V2.10.0:
- DQJ1 source drop update
- DQJ1 ramdisk update
- Linux update to 3.18.77
- 6.4.1 toolchain update to @djb77
SuperKernel V2.10.1:
- DQK1 source code shares the same source as DQJ1, that's why it's only a small change
- DQK1 ramdisk update
- Linux update to 3.18.83
- Toolchain updated thanks to @djb77
- Boeffla wakelock control added
SuperKernel V2.10.5:
- DQLF still has the same kernel source code as DQK1
- DQLF ramdisk update
- Linux updated to latest 3.18.91
- Updated toolchain
- F2fs update to latest release
- AIK updated to v3.1
SuperKernel V2.11.0:
- DRAG source code update
- DRAG ramdisk update
- Linux update to 3.18.94
- Toolchain updated thanks to @djb77
SuperKernel V3.0.1:
- This kernel can only be used on OREO stock based roms! (no ports)
- Updated kernel source to most recent ERG2 code
- Updated ramdisk to ERG2
- Changed toolchain to google 4.9 for better compatibility
- Updated AIK to 3.3
- Updated f2fs to most recent available
- Updated linux to 3.18.118
- Added battery store mode
- All previous features are included!
SuperKernel V3.0.2:
- Rebuild from scratch to fix some bugs
SuperKernel V3.1.0:
- Source code based on ERH1
- Updated linux to 3.18.120
- Fixed samsungs mismatch in kernel compilation
Q&A
Below I added some basic Q&A stuff which here so hopefully it will answer most of your questions!
Q: How to get into Download Mode?
A: Power off your phone, than hold: home + volume down + power on button until you see the download mode.
Q: How to get into Recovery Mode?
A: Power off your phone, than hold: home + volume up + power on button until you see the recovery mode.
Q: I get verification failed at start up!?!? My phone is broken now?
A: Yes, you have to buy a new phone now. Just kidding You did not disable force encryption in TWRP (how to do so you will find below in how to decrypt your phone).
Q: I get FRP LOCK? WHYYYYYY???
A: Very simple answer, you did not enable OEM Unlock in developer options. Now you need to flash full rom with odin again and start from scratch. But don't forget to enable OEM Unlock this time!
Q: I got FC's and other Problems with the kernel, what to do?
A: Take a logcat for me, developers use to say: without a log, it never happened . A logcat can be grapped with a PC and ADB installed, simply type: adb logcat > log.txt while your phone is connected and the error is happening.
Q: What kind of logs can I provide to help you?
A: Logcat: This one is for general infos about FC's
DMESG: this is for kernel related things
Last_Kmsg: this can be used after a random reboot
Q: How to get logs?
A: 1. Connect your phone to your pc
2. Make sure you got usb debugging enabled
3. Install Minimal ADB tool
4. After install open it and type: adb logcat > logcat.txt, adb shell dmesg > dmesg.log, adb shell cat proc/last_kmsg kmsg.log
5. Send me the file you got
Q: Which devices are supported at the moment?
A: Current supported devices are: SM-G930F/FD/W8. All other exynos models can work but are UNTESTED
Q: Is this kernel working on Snapdragon 820 variants?
A: No, sadly not.
Q: Help, I never had a code and now after installing the rom my phone asks for a password??
A: Your device is still encrypted, on step 0 it tells you to be sure you're not. So, what do you need to to in case you are still encrypted:
1. Boot into TWRP
2. Select Wipe
3. Select wipe data
4. Then you manually need to type "yes" with the keyboard
5. Confirm the wipe (this will remove the encryption)
6. Reboot your recovery
Q: Is there a way to get rid of encryption which is simpler?
A: Not really, you could also wipe data with stock recovery but this is quite a big hassle so above method works better.
Q: On TWRP there is an error about /data mount, what to do?
A: Your device is encrypted, follow the above steps to get rid of your encryption.
Q: Synapse shows no UCI support!
A: Reflash kernel, a script of you may overwrite my synapse config
Q: I want to switch kernel, how?
A: Since we have systemless xposed and systemless supersu, we have patches in ramdisk of boot.img. This means you have to reflash xposed and supersu after every change of kernel!.
Q: I lost root after installing this rom. What to do?
A: All mods (like supersu, phh's root, xposed and magisk) are stored in /ramdisk of kernel boot.img. So if you flash this rom, and after this another kernel (Which has supersu included by default) you can not do much. You have to stick to the two kernels provided in rom. Also when switching kernel, you need to flash all related zips again after changing it. Last tip: Do not use magisk until you really need it for android pay!
Q: I got random reboots, heeelp!
A: This is most likely from a custom kernel, if you face random reboots please check if you have the latest kernel installed or switch back to the stock kernel included in the rom.
Q: My screen is kind of yellow/orange and the touchscreen doesn't work at all!
A: You have chosen the wrong kernel in aroma selection. Reflash the rom without any wipe selecting the right kernel version.
First! DL now and flashing! Thanks for the hard work!
Sent from the silver bullet 930F Running Superman Rom
Will apps like easyHome (https://play.google.com/store/apps/details?id=com.jamworks.easyhome) work? It uses FP as capactive home button.
Flashed and running awesome so far, haven't messed with any of the settings yet though.
Sent from the silver bullet 930F Running Superman Rom
Quickvic30 said:
Flashed and running awesome so far, haven't messed with any of the settings yet though.
Sent from the silver bullet 930F Running Superman Rom
Click to expand...
Click to collapse
Would you be so kind to show antutu benchmark. I just want to see what it improves
Shuuin said:
Would you be so kind to show antutu benchmark. I just want to see what it improves
Click to expand...
Click to collapse
Benchmark doesn't show any hints of real-world results when it comes to kernels..
Sent from my SGP712 using XDA-Developers mobile app
Shuuin said:
Would you be so kind to show antutu benchmark. I just want to see what it improves
Click to expand...
Click to collapse
Here ya go
Sent from the silver bullet 930F Running Superman Rom
Great!!!!Thank you for your works!!!!
Thanks for this kernel. I like the zzmoove governor. But if i choose him on little my phone freezes and than it reboots. At big it's ok
Black_Focus_X said:
Thanks for this kernel. I like the zzmoove governor. But if i choose him on little my phone freezes and than it reboots. At big it's ok
Click to expand...
Click to collapse
Zzmoove does hotplug, but the little cores can't do hotplugging. So it will reboot
Sent with my SM-G930F powered by SuperMan
Tkkg1994 said:
Zzmoove does hotplug, but the little cores can't do hotplugging. So it will reboot
Sent with my SM-G930F powered by SuperMan
Click to expand...
Click to collapse
Any chance that you will add..
1) ARCH_POWER
2) ROW Scheduler
3) Make Power Efficient WorkQueues user-configurable in next version
4) Trim kernel and remove useless debuggers, bloated kernel drivers and so on for making the kernel as slim and battery / performance friendly as possible
5) (Perhaps) configurable C-States (Idle states) ?
Just as some bonus, useful stuff in v2.0?
Sent from my SGP712 using XDA-Developers mobile app
Destroyedbeauty said:
Any chance that you will add..
1) ARCH_POWER
2) ROW Scheduler
3) Make Power Efficient WorkQueues user-configurable in next version
4) Trim kernel and remove useless debuggers, bloated kernel drivers and so on for making the kernel as slim and battery / performance friendly as possible
5) (Perhaps) configurable C-States (Idle states) ?
Just as some bonus, useful stuff in v2.0?
Sent from my SGP712 using XDA-Developers mobile app
Click to expand...
Click to collapse
1. Arch power has been removed on mainstream kernel
2. ROW was my plan as well
3. It is enabled by default, but isn't it already tuneable?
4. This is always my goal
5. Haven't thought about that until now
Sent with my SM-G930F powered by SuperMan
Finally it's come!Will it be implement the FP function to the future build?
---------- Post added at 07:26 AM ---------- Previous post was at 07:24 AM ----------
krogoth said:
Will apps like easyHome (https://play.google.com/store/apps/details?id=com.jamworks.easyhome) work? It uses FP as capactive home button.
Click to expand...
Click to collapse
i don't think so coz it will totally stop the FP SVC when u flash this kernel
Another question. Can you add undervolting?
Tkkg1994 said:
1. Arch power has been removed on mainstream kernel
2. ROW was my plan as well
3. It is enabled by default, but isn't it already tuneable?
4. This is always my goal
5. Haven't thought about that until now
Sent with my SM-G930F powered by SuperMan
Click to expand...
Click to collapse
PowerEfficient WorkQueues seems to revert itself to "Enabled / On" even though I have tried to disable it..
Sent from my SGP712 using XDA-Developers mobile app
Black_Focus_X said:
Another question. Can you add undervolting?
Click to expand...
Click to collapse
I'm using the KTweaker app and it allows me to undervolt.
Sent from the silver bullet 930F Running Superman Rom
Black_Focus_X said:
Another question. Can you add undervolting?
Click to expand...
Click to collapse
Quickvic30 said:
I'm using the KTweaker app and it allows me to undervolt.
Sent from the silver bullet 930F Running Superman Rom
Click to expand...
Click to collapse
Yes it's already in the kernel but not all kernel apps can detect that. Will add stweaks and/or synapse support for this soon
Sent with my SM-G930F powered by SuperMan
Ok. With Kernel Adiutor i don't see it

[KERNEL][AOSP][SM-G930F/FD/W8/S/L/K] Fire Opal Kernel 3.1.0 [Nougat]

/* 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 (SM-G930F/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:
herolte > 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
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-27
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.
cool
I tried this on RR and saw for so good. I built-it into my RR build to get it to boot and love the different governors and features.
So cool, thank you !
I completed a new release with some stuff added:
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
The note i refer to, in short, says that voltage control is implemented but not reachable by the user.
Next steps in this kernel development are complete access to GPU overclock and voltage control, followed by latest Linux patches and eventual requests by the users.
Have a nice day
SafetyNet pass possible with Magisk Hide?
tidschi said:
SafetyNet pass possible with Magisk Hide?
Click to expand...
Click to collapse
Without root it passes but Magisk hide isn't working on our AOSP ROMs.
Sent from my SM-G935F using Tapatalk
kylothow said:
Without root it passes but Magisk hide isn't working on our AOSP ROMs.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Magisk doesn't work on AOSP Roms ?
Really cool ROM how ever it removes SuperSU on AOSP extended and you will need to reflash however since flashing this it seems my audio stuttering while in apps has I believe disappeared will test further hope to some sound config's (Faux sound or alternative if possible) keep up the good work
Sent from my SM-G930F using Tapatalk
dylem29 said:
Magisk doesn't work on AOSP Roms ?
Click to expand...
Click to collapse
Not on the ones for S7. Magisk hide doesn't work.
Sent from my SM-G935F using Tapatalk
Delete plz
I tried 1.2.0 on my g930w8 with RR and it won't boot. Gets stuck on the RR logo. I even tried clean flash and still won't boot. Yesterday I build the kernel directly into RR and it booted but since the change to 7.0 toolchain I can't even build because I am on Mac which Uber 7.0 doesn't support.
Andrw0830 said:
I tried 1.2.0 on my g930w8 with RR and it won't boot. Gets stuck on the RR logo. I even tried clean flash and still won't boot. Yesterday I build the kernel directly into RR and it booted but since the change to 7.0 toolchain I can't even build because I am on Mac which Uber 7.0 doesn't support.
Click to expand...
Click to collapse
Works for me, I'm using the latest RR on my G930W8 (apk3 bootloader) and I dirty flashed 1.2.0.
noob924 said:
Works for me, I'm using the latest RR on my G930W8 (apk3 bootloader) and I dirty flashed 1.2.0.
Click to expand...
Click to collapse
Yeah wonder what's going on. I am on same boot loader/modem and couldn't get it to work with 1.2.0.. I tried dual boot and even installing RR as main ROM and wouldn't work. I actually had to copy and use my boot.img from 02/26 that contained the OPs source built-in to get boot. If it works for others on official RR, maybe it's something with my custom build. I do use the same manifest as 8890dev. Thanks for letting me know.
W8 here as well had no problem just flashing kernel over everything I already had.. was first release. Waiting on new update assuming it's being uploaded cause download link don't work
New release announcement
New release uploaded while I finish some stuff. I spent yesterday on the Linux patches but I will have to do some "tricks" to make them work... and it's a long work.
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
Nice bro Thanks! No hurry BTW quality over quantity any day! Just happy for a new kernel for 7.1!!!
Good to see new kernel for s7, which app can I use with this kernel? Synapse ?

[Kernel][CAF][7.1] Neon kernel v23

Neon kernel for Oneplus One (bacon)
Disclaimer:
use this kernel at your own risk. Flashing it the wrong way might brick your device. I'm not responsible for any software/hardware damage.
Features/changelog:
v23 (June 8th)
kernel code base updated to Linux 3.4.32
DCACHE_WORD_ACCESS optimization for ARM devices
old releases:
v22 (May 13th)
AutoSMP hotplug
support for wakelock blocker (by franciscofranco)
code base updated to Linux 3.4.18
minor fixes & improvements
v21.1 (May 6th)
a couple of fixes for the GPU drivers
v21 (May 3rd)
CPU undervolting & overclocking
kexec-hardboot patch
zen I/O scheduler
impulse CPU governor
msm_limiter v5.4
sound control interface
miscellaneous fixes, tweaks & improvements
v20 (April 21st)
added State Notifier
added bricked hotplug
many miscellaneous improvements and fixes
a few security fixes
v19 (April 15th)
built from scratch on top of Sultan's latest sources - read this post for more info
built with QUVNTNM-TC (based on GCC 7)
f2fs backported from Linux 3.10
sdcardfs support
many architecture-specific improvements, tweaks and optimizations
many of the latest CVE fixes have been implemented
CPU underclocking (268,8 MHz)
unaligned memory access enabled
zen-tune scheduler tweaks
lots of minor updates, fixes and improvements (check Github for more details)
v18.5 (27th February)
security fixes
v18.4 (17th February)
minor updates & fixes for cpufreq and f2fs
v18.3 (14th February)
adreno crashes are possibly fixed
v18.2 (February 10th)
cpufreq governor tweaks
minor updates & fixes
v18.1 (February 4th)
cpufreq governor improvements & fixes
a few security updates
zen-tune scheduler tweaks
v18 (20th January)
lots of source updates (among which, spi & qseecom backports from 3.10)
minor optimizations and improvements
v17.1
a couple of security fixes
fixed some issues with the getrandom syscall
v17 (8th January)
f2fs driver backported from Linux 3.10
random number generator driver backported from Linux 4.1
several updates & optimizations for the ARM platform and our MSM8974 SoC
some security fixes
improved memory management parameters (might provide better battery life)
up-to-date with Sultan's kernel
new (and default) TCP congestion control algorithm: "ascarex" by Klozz
ZRAM, zcache, zsmalloc are supported (they are disabled by default)
v16.2 (27th December)
a few source updates
swap support
improved power consumption during suspension
v16.1 (24th December)
compiled with more GCC optimizations
fix for issues with Magisk modules
minor updates and improvements
v16 (21st December)
additional GCC optimizations
loads of source updates applied to: locking, cpuidle, binder and other parts of the kernel
AutoSMP has been re-added and updated
added & implemented quickwakeup
other minor, miscellaneous changes
v15 (December 15th)
improved memory compaction routine
some security fixes
patches by Nvidia to improve power usage
v14.1
minor security & bug fixes
improved automatic memory compaction algorithm
v14 (4th December)
up-to-date with Sultan's kernel
removed zzmoove governor, added ondemandplus and impulse
removed AutoSMP, added intelliplug by faux123
kernel/workqueue and cpufreq backports from Linux 3.10
directIO patches ported from Linux 3.16
random number generator improvements
CPU overclocking (disabled by default) and underclocking
max CPU freq. set to 1,9 GHz during the booting process
task scheduling algorithm updates & improvements
kexec-hardboot patch fixed
KCAL color control interface updates
binder updates
hundreds of minor security fixes, improvements, and optimizations
v13 (12th November)
Efficient unaligned memory access & dcache word access
random number generator driver backported from Linux 3.16
several backports for the kernel's task scheduling algorithm
memory management/lowmemorykiller source updates & backports
zzmoove CPU governor added
minor source updates, fixes and backports
v12 (5th November)
Spectrum support (profiles will be perfected in the next releases)
added the possibility to block certain wakelocks (thanks to franciscofranco)
UKSM v0.1.2.3 added and enabled by default
maple I/O scheduler tweaks
minor miscellaneous improvements and fixes
v11 (23rd October)
code base updated to Linux 3.4.113
I/O schedulers: maple
built with the most appropriate set of compiler optimizations for Krait CPUs
hundreds of source updates & backports, mainly related to the kernel's task scheduler
completely renewed and up-to-date sdcardfs driver
smarter AutoSMP hotplug
v10 (6th October)
kernel code base updated to Linux 3.4.108
I/O schedulers: fiops
built with an up-to-date gcc-5 based UBER Toolchain
v9.1
performance improvements (?)
v9 (27th September)
built with up-to-date GCC 5 UBER toolchain
kernel code base updated to Linux 3.4.83
v8 (21st September)
kernel code base updated to Linux 3.4.60
minor improvements (more details on Github)
v7 (9th September)
kernel code base updated to Linux 3.4.45
several minor optimizations and security fixes (see Github for more details)
f2fs driver updated
I/O schedulers: added cfq and zen (default)
kexec-hardboot fix (still not working)
v6 (28th August)
kexec-hardboot patch (not working at the moment)
support for charging at up to 2,5 A
up-to-date with Sultan's kernel
v5 (26th August)
kernel code base rolled back to 3.4.27
CPU memory bandwidth overclock & tweaks
added new compiler optimizations as suggested by the Linaro team
security updates & fixes
v4 (15th August)
kernel code base updated to Linux 3.4.64
minor improvements, fixes and optimizations
v3.1 (7th August)
rebased on top of Sultan's latest updates
"impulse" CPU governor
v3 (5th August)
CPU undervolting
battery charging limiter (learn how to use it here: https://forum.xda-developers.com/showpost.php?p=73126071&postcount=2)
kernel base updated to Linux 3.4.27
built with O3 optimizations
other misc improvements/fixes
v2 (2nd August)
built with krait and neon vfpv4 optimization flags (for Krait CPUs)
KSM is available
source updated to Linux 3.4.8
Gentle fair sleepers and Arch power toggles
Power-efficient workqueues
optimized Krait memcopy libraries
frandom support
other minor tweaks/improvements/fixes
v1 (22nd July)
built with UBER gcc 4.9 toolchain
no CPU underclocking
async fsync
sdcardfs support
franciscofranco's sound control
state notifier with PM suspension hooks
AutoSMP hotplug by mrg666 and neobuddy89
other minor improvements and optimizations (check commits on Github)
Compatibility
The kernel is fully compatible with Sultanxda's LineageOS 14.1. It should be compatible with all the other CAF/"sultanized" ROMs. If you decide to try it on any other ROM please report if it's working or not. The kernel is obviously not compatible with non-CAF ROMs.
Download
The kernel can be download from AFH: Neon kernel on AndroidFileHost
Credits to:
@franciscofranco
@neobuddy89
@faux123
@AdrianDC
@dorimanx
XDA:DevDB Information
Neon kernel for Oneplus One, Kernel for the OnePlus One
Contributors
Tomoms
Source Code: https://github.com/Tomoms/neon_kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 23.0
Stable Release Date: 2018-06-08
Created 2017-07-22
Last Updated 2018-06-08
Reserved
Not supported as of v19.
How to tweak the parameters that are not shown in Kernel Adiutor
battery charging limiter:
open
Code:
/sys/kernel/charge_levels/charge_level_ac
or
Code:
/sys/kernel/charge_levels/charge_level_usb
and write the maximum charging current you want (measured in mA). Obviously the -ac file applies the limit when charging via the wall charger, the -usb file when charging via USB. 0 = stock settings.
Reserved
Bugs:
in v19 there are no major bugs or known issues.
Does this kernel have LCD KCAL?
aocboe said:
Does this kernel have LCD KCAL?
Click to expand...
Click to collapse
Yes, indeed.
Fast charge
pankspoo said:
Fast charge
Click to expand...
Click to collapse
Is that a question or a feature request or whatnot? This kernel hasn't got fast charging and I'll probably add it soon.
Ok thanks. I just used sdcardfs with u r kernel and RRM sutenized rom is running snappiest ever. Thanks your kernel is really amazing.
pankspoo said:
Ok thanks. I just used sdcardfs with u r kernel and RRM sutenized rom is running snappiest ever. Thanks your kernel is really amazing.
Click to expand...
Click to collapse
Thank you! Yeah, I've noticed too that with this kernel and sdcardfs the phone really flies.
Tomoms said:
Thank you! Yeah, I've noticed too that with this kernel and sdcardfs the phone really flies.
Click to expand...
Click to collapse
Your kernel will work with aosp-caf?
Mr.Ak said:
Your kernel will work with aosp-caf?
Click to expand...
Click to collapse
I have no idea. I'm still a beginner in the world of OPO's ROM's. If AOSP-CAF uses Sultan's camera, my guess is that the whole kernel will probably work. If you try, let me know the result.
Autosmp was developed by mrg666.
Which thermal driver? And a way to use sdcardfs instead of fuse on sultan's los? And thank you for sharing this with us.
DerRomtester said:
Autosmp was developed by mrg666.
Click to expand...
Click to collapse
Thanks for the clarification. I'll correct the first post as soon as possible.
Lisko said:
Which thermal driver? And a way to use sdcardfs instead of fuse on sultan's los? And thank you for sharing this with us.
Click to expand...
Click to collapse
Sultan's thermal driver. To use sdcardfs on ROMs that normally use fuse, just add ro.sys.sdcardfs=true at the end of your build.prop and reboot.
Tomoms said:
I have no idea. I'm still a beginner in the world of OPO's ROM's. If AOSP-CAF uses Sultan's camera, my guess is that the whole kernel will probably work. If you try, let me know the result.
Click to expand...
Click to collapse
I don't think aosp-caf ROM that I'm using,is using sultan's camera.Here's the ROM that I'm using,
https://forum.xda-developers.com/oneplus-one/development/rom-aosp-caf-t3584633
I'll give your kernel a try and let you know what works and what not.Thanks for your work!
Mr.Ak said:
I don't think aosp-caf ROM that I'm using,is using sultan's camera.Here's the ROM that I'm using,
https://forum.xda-developers.com/oneplus-one/development/rom-aosp-caf-t3584633
I'll give your kernel a try and let you know what works and what not.Thanks for your work!
Click to expand...
Click to collapse
I don't think it will work.
Meanwhile i created video how to use sdcardfs with this kernel
MOD EDIT: YOUTUBE LINK REMOVED
But video recording is upside down in RRM CAF rom is it bug?
pankspoo said:
Meanwhile i created video how to use sdcardfs with this kernel
MOD EDIT: YOUTUBE LINK REMOVED
But video recording is upside down in RRM CAF rom is it bug?
Click to expand...
Click to collapse
Please take permission from OP before creating such videos,or,otherwise noted in OP.
---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------
Tomoms said:
I don't think it will work.
Click to expand...
Click to collapse
The camera or the whole kernel?
Mr.Ak said:
Please take permission from OP before creating such videos,or,otherwise noted in OP.
---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------
The camera or the whole kernel?
Click to expand...
Click to collapse
Only camera screen while taking video. But saved video is playing ok.
And regarding OPs permission if he is not Ok with my work he will tell me about that, but he don't. So nothing is wrong man! I ak just spreading his work so most of peoples will get in touch, i am not copying anything.
pankspoo said:
Only camera screen while taking video. But saved video is playing ok.
And regarding OPs permission if he is not Ok with my work he will tell me about that, but he don't. So nothing is wrong man!
Click to expand...
Click to collapse
It's a ROM bug. On my phone it doesn't happen.
Yeah no problem with the video, asking for permission is right when you need to mirror a file, or publish it somewhere etc. To show my work in a simple video is totally fine!

[KERNEL][LOS][v3.18.87] The Soda Kernel [15 DECEMBER] + firmware flashables

{
"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
Buying Mi 5 gave me opportunity to spread wings and maintain a (hopefully) better version of Linux kernel for this device.
The idea is to provide two levels of modification, one - the most up-to-date kernel upstreamed with official Linux changes (also Android) repo to provide bug-free and stable experience, second - tweaks and additional features placed in top of upstreamed version to give blazing efficiency and battery friendly experience.
I came with the idea while looking onto linux repo - there are so many fixes and optimizations done to the code which gonna never come up to any Android device. So why not to try and pick some of these changes?
Android device is one of many for which Linux kernel is developed. Adding hardware specific changes will give extra performance and battery backup as it's going to use the phone architecture better instead of generic implementation.
Click to expand...
Click to collapse
Compatibility
It is LOS forked repo so any LOS-based ROM should be compatible (not MIUI compatible).
Do not use it with any custom ROM or additional modifications as I'm not supporting them (and will not).
Of course, you can try flashing, if it works - enjoy.
Downloads
You can use 'Download' tab in the top or download from AFH .
Installation:
- download kernel zip and necessarily check MD5!
- boot into recovery
- flash the zip (always flash on clean ROM!!)
- (optionally you can wipe cache/dalvik)
- reboot to the system and taste the madnesss
Soda-Upstream - stock kernel upstreamed with official repos as much as it is possible.
Features of Soda-Upstream:
- Almost fully updated to v3.18.87
- Compiled with fresh Google's prebuild GCC 4.9
- A lot of official fixes and optimizations
- Updated crypto parts
- Updated lib parts (lots of performance improvements)
- Updated cpuidle
- Updated devfreq
- Updated Android drivers
- Updated pseudo file systems & JBD2
- Updated fs (up to 10% faster I/o)
- Updated arm64 deps
- Updated parts in net
- Miscellaneous scrpits update
- Stock frequency on 32gb model
- Own fix for mitigation task not initialized (testing)
- Other minor updates
Soda Kernel - upstreamed kernel compiled with fresh GCC, arch dependent flags, awesome tweaks and without any useless crap!
Features of Soda:
- All from Soda-Upstream
- Compiled with UBER TC 5.x (can't go higher due to s***ty drivers)
- Added arch optimization flags
- Changes in config
- Enabled by default net governor Westwood
- New IO scheds: ZEN, FIFO, FIOPS, Maple
- New CPU govs: ElementalX, ZZmove, Blu_Active
- Adreno Idler
- Adreno boost
- Disabled CRC
- Mi5 Lite has standard CPU frequency
- Added Frandom
- Backlight Dimmer
- Kcal v2
- Compiled with -O2
- Passing SafetyNet: GREEN
- Optimized functions
- Charge Control
- Boeffla Wakelock Blocker with predefined stuff
- Disabled FG wakelocks: update_sram, update_temp, memaccess, soc_work
- Default noatime mount flag
- Sound Control
- FingerPrint boost (it's not taking a lot of battery, but makes a difference at screen wakeup)
- Higher Slimbus frequencies to provide better sound quality (and truly it's working)
- Gentle Fair Sleepers, Arch Capacity interface
- Dynamic Sync Control 2.0
- USB OTG
- Alucard Hotplug
- IntelliThermal
- PowerSuspend
- Updated CPU boost
- Memory Compaction mechanism
Before you exit:
Don't get dishearten because of 'poor' features list. Main advantage of this kernel is upstream of many parts. Changes in Soda are chosen wisely, I implement thinks that are supposed to benefit. You don't need XYZ, you need Soda
Known issues:
Upstream:
None
Soda:
- Battery idle drain (investigation in progress)
- Speaker gain is broken
FAQ:
Could you add XYZ feature?
I will not add features I personally think are useless or unneeded. I can only promise I'll take it into consideration. If you're so single-minded about that just fork repo and pull request - I'll pick it gladly.
Could you upstream XYZ?
Ok, upstreaming is nice unless you fall into conflicts or totally new code structure. Don't expect me to update the kernel up to 4.13, haha! I'll keep in mind what you're asking me for, but if you're so desperate about this I'm waiting for pull request .
Why should I choose yours upstreamed version?
Don't expect it to change your Mi 5 into S7 edge =)
Think about like that - some time ago Google forked Linux kernel at version 3.18.31 and added their changes, then Qualcomm forked it and added their changes, then Xiaomi forked and added their changes. There are a lot of bugs, memory leaks and other bad stuff in here and probably nobody will take care about it... Oooch, except me! My aim is to keep the code as most up-to-date as possible - so without rewriting a half of proprietary drivers.
Does it make any sense?
In my opinion - yes.
Our phone will be more stable, not vulnerable to newest 0-days and hopefully a bit faster and battery friendlier. The key is bug-free optimized code; magical tweaks do not always take the first place in making a kernel better. As of my experience using upstreamed version gives more battery and smoothness!
"My phone freezees help meeee!!!!!!!11oneoneone..."
Description, logcat, kmesg or GTFO.
Could your changes damage my device?
I don't take any responsibility for broken devices, firing from work or nuclear wars. It's a hobby project maintained in my free time. I carefully pick up changes not to mess up anything and add features that are checked and provided to work correctly. There is a small range of cases when you can loose your phone completely, typically it will just freeze and reboot.
Where is version for MIUI and EAS?
MIUI won't be supported because Xiaomi haven't updated their repo for a long time. Building for MIUI would bring more problems than advantages.
EAS is in testing stage and will be released soon.
Remember to hit like button if you like my work as it motivates me a lot!
Play with it and post your experience please
Firmware:
Now I'm also providing updated firmware flashables.
You can easily download firmware packages from AFH .
Happy flashing!
Telegram:
I created Telegram Group where we talk about everything concerned with Android and kernels. Everyone is welcome!
--- Invite Link ---
Nightlies:
If you want to taste unreleased versions of Soda make sure to join my --- Telegram Channel --- where I post release candidates.
Donation:
I have spent lots of hours on debugging and feature adding. I'm developing this project in my free time but I put my heart and soul into it. I'll be glad to see you appreciate my work!
Buy me a coffee
Thanks to:
All LineageOS team @Lord Boeffla (aka andip71) @ZaneZam @bgcngm @frap129 #engstk @arter97 @jollaman999 @franciscofranco @TheCrazyLex
Special thanks to:
@mlira1 @SkiesOfAzel
XDA:DevDB Information
The Soda Kernel, Kernel for the Xiaomi Mi 5
Contributors
xNombre
Source Code: https://github.com/xNombre/android_kernel_xiaomi_msm8996
Kernel Special Features:
Version Information
Status: Stable
Created 2017-08-20
Last Updated 2017-12-15
The Soda-Upstream Kernel Changelog:
Code:
beta 1.0:
- initial release!
- upstreamed to v3.18.60
- upstreamed crypto section
version 1.1 (no beta anymore):
- upstreamed lib section (it includes a lot of optimizations done to the code)
- minor init fixes
- few block fixes
- updated ZRAM driver (with new LZ4 it's way much faster)
version 1.2:
- updated GCC from google's repo
- updated to linux 3.18.70
- updated cpuidle
- updated a bit in cpufreq
- updated devfreq
- [STRIKE]updated pseudofilesystems (like sysfs, proc etc.)[/STRIKE]
- updated Android drivers (a lot of changes)
- useless Adaptive LMK is removed
- updated sdcardfs
- merged LOS branch
version 1.2.1:
- BIG filesystems update (mainly pseudofilesystems)
version 1.2.2: --IT'S A HOTFIX---
- reverted a lot of crap
- fixed zram issues (need to be updated more carefully)
- minor updates in video, gpu
- minor updates in amba
- merged LOS tree
version 1.3:
- upstreamed to v3.18.84
- upstreamed with base
- updated android drivers (this time it's truly better)
- updated arm64 section
- own fix for broken mitigation task
- now you have stock freqs on 32gb model :)
- updated fs (up to 10% performance spike based on benchmarks)
- updated Linux scripts
- updates in net section (incomplete)
- kernel is now named soda :D
- updated GCC
- minor changes
version 1.3.1:
- fixed problems with F2FS
- fixed problem with kernel name unavailable
version 1.3.2:
- upstreamed with base (fixes potential touchscreen issues)
- upstreamed linux to 3.18.87
- updated AnyKernel2 (smaller package size)
The Soda Kernel Changelog:
Code:
beta 1.0:
- initial release!
- changes in config
- disabled CPU Boost
- disabled useless things
beta 1.1:
- added backlight dimmer
- added Kcal
- added Adreno Idler
- hard disabled CRC
- added frandom
- stock freqs on Mi5 Lite
- added blu active
- deleted LZO
- config changes
- based on newest Soda Upstream
beta 1.2:
- improved square root algo
- added FP boost
- SafetyNet: green
- improved imageblit func
- added parameter to change QC Fast Charge current
- added parameter to change charging current (900mA mod)
- added wakelock blocker
- added Sound Control
- added BL limits parameter
- default to noatime flag
- added Adreno Boost
- merged latest soda-upstream (with LOS changes)
- temporary fix for backlight dimmer (need more investigation)
- passing new flags to compiler
- updated toolchain
- disabled useless stuff in config
- less debugging more power
- higher freqs on slimbus
beta 1.2.1:
- FIXED high ram usage
- enabled bfq and cfq due to requests
- disabled useless wakelocks from FG
- updated blu_active
beta 1.3 (not released yet):
- rebased on top of upstream
added:
- Memory Compaction Mechanism
- Sound control ported to Xiaomi devices
- PowerSuspend
- Alucard Hotplug
- IntelliThermal
- Dynamic Sync Control
- updated and reenabled CPU boost
- removed log spamming
- changes in config (disabled useless things, added OTG support, enabled ondemand, wakelocks garbaging)
- fixed not working AudioFX!!
- tweaks to provide better battery life
- enabled arch capacity
- added knob to manipulate Gentle Fair Sleepers and Arch Capacity
- changed GPU initial power level
- fixed problems with temperature sensor
- introducing own Charging Control module
- minor changes
beta 1.3.1: (not released yet)
- fixed problems with battery drain (finally)
- changed toolchain to ?Linaro? 7.x
- refreshed compiler flags
- updated BFQ to v8r12
- disabled crap from compiling
- frandom is now utilized
- overall random api performance improvement
- c-state aware scheduler
- CFQ and BFQ compiled with hierarchical scheduling
- more silence
Reserved
How to tweak my kernel:
1. Charge control:
Path of all tunables is
Code:
/sys/kernel/fast_charge
You have 3 tunables as follows:
maximum_qc_current (DEFAULT: 2800) - it's very important one, its value controls QC3.0 charging current. Recently there are commons problems with screens and the assumption is that too high current causes that problem. Lowering the value would also make your battery's life longer!
force_fast_charge (DEFAULT: 0) - it's common known knob to force 900mA charging on unknown sources. I tweaked it a bit and now, if it's possible, driver will choose higher values depending on the source.
charge_limit (DEFAULT: 100) - it's very interesting one, its value controls maximum percentage of which your battery will be charged. After given limit charging will be stopped. Lowering this value could benefit in prolonged battery life as capacity wouldn't decrease that fast. Scientific researches recommend charging your battery to 80%.
3.Sound control:
You can tweak it using Kernel Adiutor.
4.Sched features:
I would like to resolve doubts connected with Arch Power. On kernel v3.18 there isn't such a feature. Cherry-picking old interface doesn't change anything in fair scheduler, the only thing you see is magic switch which does... nothing. Our kernel has feature named Arch Capacity which is *let's say* correspondent to previous one so I created two tunables - arch_capacity and arch_power. These are mirrored values so now you can enable/disable it in KA as known Arch Power but please remember that you're changing arch_capacity in fact.
My recommendation is to disable Gentle Fair Sleepers because you can save battery a bit.
You can also tweak it using Kernel Adiutor.
miui support please...
Aosp support ?
Did you add somes cpu governor ? And for you which its the best to have a better battery
Envoyé de mon MI 5 en utilisant Tapatalk
Aleluya! Not much kernel variety on our mi 5, pretty thanks I will test it early dev
cheers
Download link (I've found it, but it would be better in the description)? Governors? SOT?
Great news Sir,
I hope soon we could have good costum kernel with great stability and compability with newer rom.
I wish you could support AOSP based rom too
radnou974 said:
Did you add somes cpu governor ? And for you which its the best to have a better battery
Envoyé de mon MI 5 en utilisant Tapatalk
Click to expand...
Click to collapse
I just started Soda developing so you have to wait sometime for custom tweaks.
According to governors I think the most important thing is to configure it nicely, sth like AKT or GovTuner does. Stock interactive is good.
hans william said:
Great news Sir,
I hope soon we could have good costum kernel with great stability and compability with newer rom.
I wish you could support AOSP based rom too
Click to expand...
Click to collapse
AFAIK AOSP is based on LOS sources, it should work correctly
But some time it doesn't work properly on AOSP based rom, I used DragonXia as default kernel on every rom I flashed, but lately with latest release rom it's doesn't stable.
I hope you could made manually setting on/off the CPU core for better battery life, as hotplugging not save much battery life.
Overclocking was great too
I will test yours beta kernel right now Sir
CPU 0 and CPU 1 are stuck at 1593MHz.
Edit:
It seems like a restart solved it.
Edit2:
setting io scheduler to noop causes freeze.
abyssq said:
Edit2:
setting io scheduler to noop causes freeze.
Click to expand...
Click to collapse
On my phone everything works correctly.
Try typing in terminal/adb:
su
echo noop > /sys/block/sda/queue/scheduler
cat /sys/block/sda/queue/scheduler
If it says noop it's working...
xNombre said:
On my phone everything works correctly.
Try typing in terminal/adb:
su
echo noop > /sys/block/sda/queue/scheduler
cat /sys/block/sda/queue/scheduler
If it says noop it's working...
Click to expand...
Click to collapse
Yes it's working now. The test-iosched scheduler caused the problem.
will you add miui 9 support? miui lack of custom kernel support. thanks for dev gemini kernel.
which features does it have? quick charge? eas ?
"disabled CPU Boost" this is real great, i guess you know what i want. waitinng for a more stable realese and then give it a try
I pushed a first beta of Soda kernel. I added a few useful features, but battery usage reduction should be significant. Try it on your own
Thanks for your work! I will try and report back when possible.
Poor scores

[Kernel][8.0/8.1][J710X]HeliosPro Kernel V2.6

Welcome to The HeliosPro Kernel Thread for Galaxy J7 2016
Built with Various Oreo 7870 Source
Linaro GCC 6.1.1
Warning : Me nor XDA Are responsible for any damage that might be caused after flashing any file provided here. Please take caution and be aware of what you are doing. And Always backup !
​
-- Features --
[x]Fake Enforcing (Permissive and shows enforcing)
[x]Compiled with Linaro6.1.1
[x]Native BlueLight Filter To J710X Panel
[x]ADB Insecure
[x]Fake KNOX
[x]Private Mod support
[x]MultiCPU Governors
[x]Multi I/O Schedulers
[x]Multi TCP Algorithms
[x]Limited Wakelocks
[x]Dynamic Fsync 2.0
[x]Fsync
[x]PowerSuspend 1.5
[x]UKSM V1.23
[x]Boeffla wakelock blocker v1.1.0
[x]StateNotifier & SysfsHelper
[x]Optimized ZSwap
[x]Optimized Deadline I/O
[x]Better Input Booster
[x]Quicker Doze entry
[x]Other improvments for Batterylife and performance
[x]Support Android 8.0/8.1
[x]WireGaurd Support
[x]CPU VoltageControl
[x]CPU OC upto 1700MHz
[x]GPU OC Upto 1146MHz
[x]GCC 6/7 Support
[x]CRC Disabled by default
[x]Reduced Wakelocks
[x]GPU/CPU Voltage dropped
[x]Improved GPU Utilization
[x]Improved standby
[x]Adoptable SD patched
[x]Deodex oreo support
[x]Many ram improvments
[x]No sim breaking with 8.1 rooting
[x]Encryption Support for StockRoms
[x]And many more listed in changelogs below
[x]Pre-Rooted
The kernel comes included with EliteTuner to control various kernel parts.
--How to install--
If you have flashed Root through any means other than magisk, Please uninstall it (SuperSU>Full unroot)
Open developer options (Press aboutphone > build number 7 times) Enable OEM Unlock
Flash TWRP Recovery that can be found in J710 Section
Fully Wipe internal storage and format data (Must for first time flashing TWRP)
Copy Kernel to your desired Location
Install Zip > Select kernel.zip
Reboot and wait
First time rooting, Open magisk app Once to ensure root is working
--Basic Info --
This kernel is mainly for users who want more than just root, As permissive allows for more flexibility with some of the mods found on xda
You are free to use this kernel in any future rom aslong as you Link this thread / Github Source​
-- Credits --
@ananjaser1211 for this golden kernel and adding support for our device.
@BlackMesa123 and @corsicanu for working with my projects
@topjonhuw For Magisk
@geiti94 For Wifi password Fix
@Noxxxious For general help​And my Elite-Team for their contributions to my projects and being Awesome.​
Download <> Changelog <> More info In second Post
Github Source : https://github.com/ananjaser1211/Helios_7870​
XDA:DevDB Information
HeliosPro Kernel V2.6, Kernel for the Samsung Galaxy J7
Contributors
mohitmallick17, AnanJaser1211, corsicanu
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V2.6
Stable Release Date: 2019-02-27
Created 2019-02-27
Last Updated 2019-02-27
HeliosPro V2.6 Update​
This is TOUCHWIZ only. The new compiler greatly improves performance on both 8.0 and 8.1 Based roms.
Enjoy, i know im not making any roms due to time, but i can support this kernel.
Changelog :-
- Native BlueLight Filter To J710X Panel
- Compiled with Linaro 6.1.1 Compiler
- Performance and battery greatly improved with new compiler
- Fixed custom ramdisk scripts
- Deodex Supported well with magisk
- GMS Blocker
- 99Killer service (kills gms in idle for better sleep)
- NFC Should work now
- More precise cpu voltage
- Magisk 18.1 Included
Follow the Full change log on the Github source.
Download : Google Drive
Size : 29.1MB
HeliosPro Kernel V2.5
Android 8.0/8.1 Only
J710F/FN/G/M/MN/GM (And any J7(6) variant)
​Changelog :-
-Supports both 8.0 and 8.1.1 Stock/Ported TouchWiz Roms
- Updated drivers to latest J530F 8.1 Source
- Adoptable Storage (not tested)
- Encryption Support (on stock roms only)
- Improvements to GPU CPU Over clocking Thanks @renoxtv
- Ensure you have LATEST TWRP otherwise you wont be able to read Internal storage in TWRP
- Removed 160mhz GPU as it didnt work and caused issues
- Fixed CPU Undervolting (overvolting doesnt work well)
- GPU overclocking and Control now works on EliteTuner
- Updated Camera and WiFi to latest 8.1 Firmware
- Magisk 17.2 Included
- some other minor improvements to pretty much everything
Follow the Full change log on the Github source.
old changelog
HeliosPro Kernel V2.0
Android 8.0/8.1 Only
J710F/FN/G/M (And any J7(6) variant)
​
This can be used on any of my 8.0 Roms and tested on stock 8.1 Rom (does not break Simcard when rooting)
its based off multiple exynos7870 sources
P.S : GPU overclocking is not yet completed, you can use it manually with OxygenControl app
instead of EliteTuner app (included in zip)
HeliosPro v2.0 Changelog
- CPU Overclock upto 1.7GHz and VoltageControl
- GPU OverClock Upto 1146GHz
- Memory Mangment improvments
- MMC improvments
- Full Wakelock Control for wlan/bt and much more
- BoefflaWakelock Blocker With preconfigured WLs
- UKSM V1.2.3
- SecBattery control and Unstable current detection
- Powersuspend Driver for display
- Fsync Toggle
- Dynamic FSync
- Tons of I/O Schedulers
- Tons of CPU Governors
- StateNotifier Driver
- CPUFreq optimizations
- DisplayState hooks
- ondemand/conservative cache improvments
- Swap/VNSwap improvments
- WireGuard Support
- F2FS Support
- Frandom Support
- Muted useless debug msgs
- Tons other than can be tracked in commits
I/O Schedulers :-
- Maple
- BFQ
- ROW
- Fifo
- Fiops
- Sio
- SioPlus
- Tripandroid
- VR
- ZEN
CPU Governors :-
- Blu_Active
- CafActive
- hyper
- bioshock
- cultivation
- dancedance
- electrodemand
- impulse
- intellidemand
- ondemandX
- pegasusq
- smartass2
- smartmax
- wheatly2
Source : Github​
RefinedKernel (7.0/7.1.1)
V2.7
-WireGuard Support
-HotSpot Fix for Note 8 port
-CPU Boot frequency reduced
-GPU/CPU Frequency improvments
-InputBooster Changes
-Boosted charging limit
-Updated Ramdisk
-Magisk 16.3 included
---------------------------------
V 2.6
-CPU/GPU Overclocking support
-Support for more variants
-Fixed Magisk resetprop conflict
-Disabled DM-Verity from source
-Fixed KNOX 0X0 PATCH
-Removed Audit Spams in log
-Disabled Samsung RMM
-Disabled RKP/KAP/TIMA From source
-Slight increase to charging current
-Inputbooster ~ 1.2GHz
-CPU OC upto 1700MHz
-GPU OC Upto 1146MHz
-Allow CPU To go as low as 200MHz
---------------------------------
-V2.5
-Magisk V15.2
-Dynamic Fsync 2.0
-HTC Asynchronous Fsync
-PowerSuspend 1.5
-UKSM V1.23
-Boeffla wakelock blocker v1.1.0
-StateNotifier & SysfsHelper
-Optimized ZSwap
-Optimized Deadline I/O
-Better Input Booster
-Quicker Doze entry
-Other improvments for Batterylife and performance
----------------------------------------------------
-V2.0 Note 8 port
Rebuilt the kernel from latest source code : J530FXXU1AQI3
Added CPU Governors
Added I/O Sched
Added TCP Algorithms
Added FakeKnox
Added ResetProp
Added 7.1.1 Support
Added CPU Improvments
Reduced Wakelocks
----------------------------------------------------
-V1.0 Initial release
F.A.Q​Q : What benefits Does this have over stock kernel ?
A : This kernel is aimed at Android enthusiasts who like to get the most out of their phones. But also is user friendly and pre customized for the average user to figure it out
Q : Can i use Kernel Auditor ?
A : Yes, but to utilized the full potential of this kernel including overclock and many more, you should use EliteTuner included in the ZIP
Q : What is Overclocking ?
A : Basically, Slightly more performance For an extra consumption in battery. you can google it for more details
Q : Why is CRC disabled by default ?
A : The extra operations can cause a big hit on Block performance
Q : Is it safe to overclock ?
A : ive tested the kernel on the Max over clock setting (Without turning off the 4 big cores) without any problems for a month
Q : What is SamsungHotplug ?
A : its a feature from samsung that Auto-Disables Inactive Big Cores to reduce power consumption
Q : Why i cant See/set Big cores frequency?
A : thats due to hotplug removing the sysfs files that control the frequency and overwrite them by stock values
Q : Does this kernel Pass SafteyNet ?
A : Yes, The kernel has all the needed bypasses already so it can even bypass safteynet without Magisk
Q : Can i use Knox Apps ?
A : No, You cant use secure Storage, However it has PirvateMode Support built in (if your ROM supports it too)
Q : Can i use this on Stock Rom ?
A : Yes, it works on both Stock and Custom (including 8.0/8.1 Ports)
Q : What is the MAX mAH i can charge at ?
A : charging limits are changed from 1A to 1.5A​
--- Reserved ---​
--- Reserved ---​
WoW. Good Job!
And first comment
how to turn on the blue filter? Stock rom 8.1
alik23kz said:
how to turn on the blue filter? Stock rom 8.1
Click to expand...
Click to collapse
Simple. All you need to do is to push the BlueLightFilter apk from a supported rom 8.0/8.1 to priv-app and make a reboot. Add the toggle for it, or launch it via activity launcher.
Good kernel i installed in oreo fusion
Reset?
I am using Oreo Fusion, do I still need to factory reset or wipe my data?
chechemon said:
I am using Oreo Fusion, do I still need to factory reset or wipe my data?
Click to expand...
Click to collapse
No. You don't need to wipe data or factory reset.
Just flash it!
---------- Post added at 03:19 PM ---------- Previous post was at 02:36 PM ----------
This kernel is good for fix the bluelight filter on OreoFusion Rom. It really fixes it.
chechemon said:
I am using Oreo Fusion, do I still need to factory reset or wipe my data?
Click to expand...
Click to collapse
Flash and done
Can anyone please guide me to compile kernal for nethunter please andr also tell me from which i take source kernal for j710f and the compile it for nethunter
Iam using stock oreo rom 8.1.0 from samsung. I have rooted my phone with magisk and have installed oxygen kernel. Do i have to wipe data and flash this kernel or just flash it.
Sulltan Mehmood said:
Iam using stock oreo rom 8.1.0 from samsung. I have rooted my phone with magisk and have installed oxygen kernel. Do i have to wipe data and flash this kernel or just flash it.
Click to expand...
Click to collapse
Just flash it!
No one is replying me what the heck is that
please also we want a version for AOSP
Kindly update to version 2.7 as it is already released for j7 pro
Kindly compile it to work with some external wifi adapter(WLAN1) and enable ralink drivers please.
I want to use NetHunter with J710F.
Please enable these features kindly, request to OP.
Also port some goodies from oxygen kernel e-g spectrum, new kernel from source and gpu voltage and others please a humble request.. also make sure to increase battery timing with efficient performance with lowest consumption of battery.

Categories

Resources