[KERNEL] [Q] Twisted Kernel V28 [Dipper] [30/06/2020] - Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev

This kernel supports ROMS based on Android 10 only.​
Main features:
- Upstreamed to Linux 4.9.228
- Spectrum profiles
- Compiled with Clang 11 + LLD + Polly
- Flash and forget
User features:
All these features can be used via EXKM app
- Vibration Control
- KCAL (Colour control)
- Sound Control
- Minimum Brightness Control
- USB Fast Charge
CPU features:
- CPU Governors: Schedutil
- Schedutil updated with patches from newer Linux versions
- Using PELT scheduler mechanism
- CPU idle improvements by kerneltoast
- CPU input boost
- RCU boost
File system & memory related features:
- NTFS and F2FS file systems supported
- f2fs Rapid GC
Network features:
- Westwood set as default TCP algorithm
- TTL
Other features:
- Xbox and Dualshock controllers supported with drivers updated to the latest
- Safetynet Flags Removed
- DTS Ultra support
- Wireguard support
- VDSO for better performance in 32 bit apps
- Unused Drivers And Logging removed for a smaller image
Requirements:
Magisk for recommended kernel configuration to set
First Time Installation (clean flash):
1.) Download the Kernel from second post
2.) Have Stock kernel and ramdisk installed, if you are coming from another kernel, follow 'Restore stock boot partition guide' below
3.) Flash Magisk (optional)
3.) Flash the kernel in recovery
Upgrading the kernel:
1.) Download the kernel from the second post
2.) Dirty flash the kernel (this means flashing the kernel without wiping anything)
Restore stock boot partition guide:
This guide will show you how to restore your ROMS stock kernel and ramdisk without losing any data. It will also uninstall Magisk which can be flashed again. Follow this guide if coming from another custom kernel or if something is not working like spectrum or the config file in twisted kernel.
Method 1:
1) Dirty flash your current ROM. This means installing the ROM without wiping anything.
2) Flash Magisk if desired.
3) You are now ready to flash a custom kernel.
Method 2:
1) Extract boot.img from your currently installed ROMs zip file.
2) Go to the install page in TWRP > Flash image > Select the boot.img you extracted and flash it to the boot partition.
3) Reflash Magisk if desired.
4) You have now restored your stock kernel and ramdisk and can now flash a custom kernel.
Hit thanks or donate to support my work
Donators:
Hellboy4
Amnon Nir
Ricardo
Thomas Boll
Peter Goudschmidt
PM if you want your XDA profile linked on this list
XDA:DevDB Information
Twisted Kernel, Kernel for the Xiaomi Mi 8
Telegram https://t.me/twistedkernel
Contributors
Twisted Prime
YTG, Hellboy4, Rommco05, Dahake, Spyronos for testing
bgcngm, abhishek987 for maintaining LOS kernel
oipr for sched backports
Raphielscape for backports
osm0sis for anykernel installer
SultanXDA for Simple LMK, CPU input boost
kdrag0n for lots of stuff
flar2 for vibration control and sound control
Arter97 for f2fs enhancements
frap129 for Spectrum
Everyone whom I cherry-picked from
Source Code: https://github.com/TwistedKernel/Twisted-845
Version Information
Status: Stable
Current Stable Version: V22
Created 2019-11-21
Last Updated 2020-03-02

great! i will try it

Downloads:
Download

Notes:
USB Fastcharge
This feature increases the maximum charging current from a PC to 900 mA from the default value of 500 mA.

Thank you. I hope you will support Miui Q soon.

khanhdx said:
Thank you. I hope you will support Miui Q soon.
Click to expand...
Click to collapse
I agree

hisham2630 said:
I agree
Click to expand...
Click to collapse
Try the latest nightly build

Delete please.

Twisted Kernel 11.0 B991 - Q:
- Rebased on los17 source. The base is now pure Android Q CAF.
- Linux 4.9.206
Download (https://drive.google.com/drive/folders/1k4VJxpE4VY5nNAe01DWNBcSHG0m59QlC?usp=sharing)

Twisted Kernel 13.0 B1030 - Q:
- Updated audio drivers
- Updated FTS touch screen drivers
- Removed Linux updates after 4.9.203 (caused black screens)
- iommu optimised by kerneltoast
- Removed volume key toggles from installer
- Rewrote TKManager to /TKManagerV4 in internal storage
- Moved charge limiter toggle to TKManagerV4/charging
- Moved low power saver toggle to TKManagerV4/powersaver
Download (https://drive.google.com/drive/folders/1k4VJxpE4VY5nNAe01DWNBcSHG0m59QlC?usp=sharing)

I'm try on mi8 miui
Sound works
But camera doesn't work

Hi, amazing job with this kernel!
I had just a on question - could you add some overclocking option (shouldn't be by default just an option in app), like on Pocophone? Because there are no options for MI 8 with overclocking
With this feature that amazing kernel would be a beast!

Good jobs
Good jobs bro.I like this kernel very much.

Twisted Kernel 14.0 B1067 - Q:
- Updated more drivers from Xiaomi
- Scheduler updates from Linux 4.14
- Switched to PELT
Download (https://drive.google.com/drive/folders/1k4VJxpE4VY5nNAe01DWNBcSHG0m59QlC?usp=sharing)

Does this kernel work with pixel experience?

Manelit said:
Does this kernel work with pixel experience?
Click to expand...
Click to collapse
Yes it's for Android Q, I'm using it now in experience

Is it working for MIUI Q?

roanepv said:
Is it working for MIUI Q?
Click to expand...
Click to collapse
Yes. But stock camera don't work. Alternative you can use gcam

Twisted Kernel 15.0 B1084 - Q:
- Fixed random reboots
Download (https://drive.google.com/drive/folders/1k4VJxpE4VY5nNAe01DWNBcSHG0m59QlC?usp=sharing)

İs Working camera with last eu beta ?

Furak07 said:
İs Working camera with last eu beta ?
Click to expand...
Click to collapse
Yes

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][TW][SM-G930F/FD/W8/S/L/K] Primal Kernel v2.3.4 [DQH8][S7 + Ports]

{
"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 Primal Kernel project for the Exynos Galaxy S7 (SM-G930F/FD/W8/S/L/K) running TouchWiz based ROMs (Nougat only currently).
The aim of this project is to provide a rock solid, ready to use tweaked kernel, without useless features.​
Introduction:
Primal Kernel, formerly known as The Outsider Kernel, is the first S7 kernel for TouchWiz based ROMs sporting the AnyKernel2 installation approach.
The most widespread method consists of flashing a complete prebuilt boot image (this means that it will be flashed straight away without any modification).
This is the most practical method for providing a working kernel, but it has disadvantages too:
1) the installation package will be bigger.
2) the developer must keep the ramdisk updated with the newest from stock kernels. This requires rebasing the patches and keeping up with the newest firmwares sometimes with frequent releases.
3) it makes the compatibility with older ROMs a little more complicated as a newer ramdisk could add modifications not supported by the older ROM.
4) for the ported ROMs the developer has to manually patch the ramdisk with the required changes from the ported device's one. So you have to create a different boot.img for every ported device for every S7 variant.
But we have an alternative...
AnyKernel2 is a different approach to the installation of the kernel: the package only contains the prebuilt zImage (the actual kernel), the dtb (basic hardware instructions like reserved memory and so on) and the patches for the stock ramdisk. AnyKernel while installing unpacks the previous kernel and replaces zImage, dtb and, after patching it, the new ramdisk.
This implies various benefits:
1) smaller installation package.
2) you can always have the most updated ramdisk without the need of waiting an update from the developer.
3) better compatibility as you can flash it on top of any stock (or close to) boot image.
4) it makes life a lot easier for the developer with many ready to use patching functions.
5) with some efforts from me, the package can adapt the stock S7 ramdisk to work on any S8 or Note FE ported ROM, making it even more adaptable.
All this sounds great (and it is great) but introduces a problem: you can't flash it on top of another custom kernel. This because custom kernels almost always have scripts and other modifications to the ramdisk, which might not be compatible with my kernel.
Installation instructions:
If you correctly follow these instructions you'll be able to run Primal on any ROM (as above).
If it doesn't work, read twice and try installing again before asking for help.
● Instructions for BatMan ROM (S8 port) users:
1) install the ROM (you can dirty flash if you already have it installed) make sure to choose stock kernel (so it doesn't install the new GPU libs, which aren't supported by Primal).
3) after the ROM flashing process has been completed flash the Primal kernel zip for your device.
4) flash your preferred root method.
5) reboot and be patient as first boot might take a little more time.
● Instructions for any other ROM (any other S8 and Note FE ported ROM and, obviously, any S7 ROM) running a custom kernel:
1) make sure you have the stock S7 kernel zip (or any stock boot.img from any S7 Odin package or ROM zip containing the stock kernel) and Primal Kernel zip.
2) if you have a boot.img flash it to the boot partition using Flashify or TWRP itself.
3) if you have the flashable stock kernel zip and Primal Kernel zip reboot to recovery and flash in this order: stock kernel zip, Primal Kernel zip and then your preferred root method.
● Instructions for any S7 ROM running stock kernel:
1) reboot to recovery and flash in this order Primal Kernel and your root method of choice.
If you get into a bootloop...
● if you're running a port make sure it says dream2lte (if an S8 port) or gracerlte (if a Note FE port) in the build.prop; if there isn't any add a line at the bottom, "primal=dream2lte" for S8 or "primal=gracerlte" for Note FE.
● make sure your ROM doesn't come with the new GPU libs installed, if it does restore the old libs somehow (flashable zip coming soon!).
Thanks and Credits:
● Samsung OSRC for the kernel source code
● @Tkkg1994 and @jesec for their clear and vast source code and scripts
● @flar2, @UpInTheAir, @franciscofranco, @eng.stk, @osm0sis, @andip71 and others for their great contributions to the community and Android
Features:
● based on the latest Samsung kernel source code G935FXXU1DQH8 merged with G935SKSU1DQG1
● always have the latest ramdisk for your specific model and variant, thanks to AnyKernel2
● ported ROMs are supported (like S8 and Note FE based ROMs)
● compiled with custom built Uber Toolchain 6.4.1 (20170826) and optimization flags
● custom scripts with tweaks applied at boot, optimizations and wakelock fixes
● init.d support
● added a few tested and updated CPU governors (blu_active, conservative, ondemand, powersave, interactive, performance).
default: interactive
● added a few tested and updated I/O schedulers (noop, deadline, row, cfq, bfq, zen)
default: cfq with custom parameters
● added a few TCP congestion algorithms (westwood, reno, bic, cubic, htcp, lia, olia, wvegas)
default: westwood
● full f2fs support from jaegeuk's f2fs-stable plus OnePlus improvements
● fstab mount tweaks for both ext4 and f2fs
● fixed various bugs in the Linux code like improved cyptography algorithms, filesystems, network...
● architecture specific fixes
● cpuidle improvements
● random (entropy) generation improvements
● power managemnet, schedulers, governor and memory management improvements
● unlocked lower CPU frequencies with correct voltages and set recommended defaults (312MHz big - 338MHz LITTLE)
● schedule workqueues on awake CPUs enabled
● improved hotplug and idle with interactive governor
● added 112MHz minimum GPU frequency and clock control
● voltage control for GPU
● LED control with fading option
● voltage control for big and LITTLE clusters
● preset I/O scheduler tunables
● disabled SWAP and ZSWAP for best performance
● preset VM tunables
● SELinux permissive
● Knox 0x0, Samsung security checks and SafetyNet spoofed to pass
● Fsync switch added
● Software CRC control switch added
● and many other changes (too many to be listed here)...
Notes:
● If you want root, you need to flash the root zip after flashing this kernel (Magisk is recommended to pass SafetyNet).
● If you want to access the advanced kernel controls MTweaks by @morogoku is the only app which supports all the features (download it here).
Everything has always been stable, and almost bug free, so no notes on that side at the moment :laugh:
Latest stable version is 2.3.4.
If you want to flash an older version see Archive in the download links below.
Source > GitHub
Commits (kind of a changelog) > GitHub
Download:
herolte (S7 SM-G930) > Android File Host
Support:
If you want to receive support, find and share settings, report bugs and try Beta versions, join our Telegram group:
TouchWiz Projects by kylothow | Official Group
You're welcome
XDA:DevDB Information
Primal Kernel, Kernel for the Samsung Galaxy S7
Contributors
kylothow
Source Code: https://github.com/kylothow/universal8890-NN-G935
Kernel Special Features: Stable f2fs porting, tweaked with recommended settings, a few but working governors, schedulers and patches are just some of the awesome features.
Version Information
Status: Stable
Current Stable Version: 2.3.4
Stable Release Date: 2017-09-13
Created 2017-04-26
Last Updated 2017-09-14
Changelogs:
From version 2.3.3 to 2.3.4:
Code:
● added fstrim on boot
● added Knox and other security check props spoofing inside the kernel
● added Google Play services drains fix
● added custom init.rc with tweaks (cfq with tunables preset, read ahead 128 and 256 for external, rised base CPU frequency a little (you can lower it if you want)
● recent patch to cpufreq added
● updated AnyKernel2 with the latest goodies from osm0sis
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.
Old changelogs (for The Outsider):
Version 2.2.1
Code:
- added cleaning scripts at boot (automatic trim, sqlite optimization, cache and leftovers cleaning
- updated ramdisk and mcregistry to DQE7
- updated with latest Samsung changes (DQE7/DQEF)
- disabled swap and zsmalloc
- added row I/O scheduler
- increased default maximum frequency to 2.6GHz
- updated to Linux 3.18.55
- switched to custom built Uber Toolchain 6.3.1 (20170528)
- switched to a whole new overclock/voltage management method based on ASV
- changed frequency policy especially regarding touch boost (for better battery)
- allow to enable Exynos swap
- add unstable power detection and charging/battery controls
- added notifiers for the future addition of CPU governors and removed old/broken implementations
- a few f2fs and other minor fixes to defconfig, schedulers, cpufreq
Version 2.1.6
Code:
- switched to GCC 6.3.1
- various build flags to optimize building
- enabled a few compression algorithms (GZIP, LZ4, LZMA...)
- enabled cryptographic drivers optimized for 64 bits
- defconfig tunings to reduce debug logging
- updated mcRegistry and ramdisk to DQD9 (for S8Port only the init file)
- drastically changed kernel default tweks/settings
Version 2.1.5
Code:
- fixes regarding stability and speed
- ext4 and fuse fixes
- crypto and drivers built uncompressed
- random numbers generation changes
Version 2.1.4
Code:
- the kernel has been redone from scratch; the features are in pair/more than the previous 1.x.x versions, and gives you an overall way better experience.
Version 1.4.1
Code:
- various bug fixes
- performance/reliability improvements for network, ext4, f2fs and cryptography
- enabled a few kernel modules for ipv6 and a few other optimizations
- trying out higher kernel timings
- set default governor to blu_active
Version 1.4.0
Code:
- first release for xda
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.1.1.0 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 (All the TouchWiz based ROMs force ext4 and format 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 and whatever you want.
Reboot and profit!
ROMs supporting f2fs formatted /system will be listed here when available.
Dishonored reference?
Sent from my Galaxy S7 using XDA Labs
XDevOS said:
Dishonored reference?
Sent from my Galaxy S7 using XDA Labs
Click to expand...
Click to collapse
Definitely [emoji6]
Sent from my SM-G935F using Tapatalk
kylothow said:
Definitely [emoji6]
Click to expand...
Click to collapse
Love that game :good: Will stay with this kernel as long as I can xD <3
Sent from my Galaxy S7 using XDA Labs
busy man
thanx boss
testing. ..
hotplug?
what Rom you running @kylothow
Calvin.manneson said:
busy man
thanx boss
testing. ..
hotplug?
what Rom you running @kylothow
Click to expand...
Click to collapse
At the moment only the stock hotplug. Further developments will need a specific app like Synapse or maybe a custom Kernel Adiutor -- which is the next step in the development.
I'm running latest Helios, the only thing that is preventing me to do my own custom ROM (basically it perfectly fits my needs).
Default settings are the best even for you?
I wanna try your work but don't have enough time for playing games with custom settings.
Thx a lot for you anyway
ig_df said:
Default settings are the best even for you?
I wanna try your work but don't have enough time for playing games with custom settings.
Thx a lot for you anyway
Click to expand...
Click to collapse
The point of this is to provide a great experience out of the box -- there is a few others helping me to decide which are the best settings, and I update them quite often because it's a continue pursuit of the best everyday settings profile.
The script applies at boot before anything else so you can change them in case you don't like.
The inexperienced user can update the kernel and enjoy always updated settings without even installing a kernel control app or rooting.
Sent from my SM-G935F using Tapatalk
+good kernal antutu 15xxxx
https://www.mx7.com/i/140/F2Pnl9.png
-battery unstable
rom s.....
Calvin.manneson said:
busy man
thanx boss
testing. ..
hotplug?
what Rom you running @kylothow
Click to expand...
Click to collapse
Those scores are with OC ? GPU and CPU?
Seems smooth even with PowerSaving mode(1.4.1)
Update: Battery is unstable <=60-50%
nalas said:
Those scores are with OC ? GPU and CPU?
Click to expand...
Click to collapse
yup,speed up everything for high score
New base D2/3 all score high.
with stock kernel and default settings score 140k.
May give it a try out at some point ATM I'm on superman ROM but curious as if it will break superman control app as I know a version of super kernel broken that app
Sent from my SM-G930F using Tapatalk
king118 said:
Seems smooth even with PowerSaving mode(1.4.1)
Update: Battery is unstable <=60-50%
Click to expand...
Click to collapse
hi
what is battery unstable you mean? it's less time than other kernel? please guide
tranphungan said:
hi
what is battery unstable you mean? it's less time than other kernel? please guide
Click to expand...
Click to collapse
The old 1.x.x version can have every problem imaginable (the only confirmed one is stutters for some users) but no one ever complained about battery.
Users just say things without proof, stats or logs, they don't even mention the settings they're using or which ROM are they on... Definitely not useful.
Sent from my SM-G935F using Tapatalk
kylothow said:
The old 1.x.x version can have every problem imaginable (the only confirmed one is stutters for some users) but no one ever complained about battery.
Users just say things without proof, stats or logs, they don't even mention the settings they're using or which ROM are they on... Definitely not useful.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Thank you.
In my opinion. I can see this kernel make my rom Super Man is smoother than superstock or tgpkernel or superkernel. Absolutely smoothly and not effect to battery much (still not recognize..). I push up all cpu frequency to max. Hehe
New update is available for download. It has been tested and reported to be stable and worth the upgrade from the great 2.1.6.
Here's the changelog:
Version 2.2.1
Code:
- added cleaning scripts at boot (automatic trim, sqlite optimization, cache and leftovers cleaning
- updated ramdisk and mcregistry to DQE7
- updated with latest Samsung changes (DQE7/DQEF)
- disabled swap and zsmalloc
- added row I/O scheduler
- increased default maximum frequency to 2.6GHz
- updated to Linux 3.18.55
- switched to custom built Uber Toolchain 6.3.1 (20170528)
- switched to a whole new overclock/voltage management method based on ASV
- changed frequency policy especially regarding touch boost (for better battery)
- allow to enable Exynos swap
- add unstable power detection and charging/battery controls
- added notifiers for the future addition of CPU governors and removed old/broken implementations
- a few f2fs and other minor fixes to defconfig, schedulers, cpufreq
> https://www.androidfilehost.com/?w=files&flid=171297
thanx for updating dev.
definitely the fastest custom kernel for me...
anyone know why ux score is 'red' in antutu?

[KERNEL] Wind Kernel - r2 [4.4.128][UV][UC]

Hi everyone, I would like to share my personal u11+ kernel here. I am an amateur and love to cook kernel (previously >LG Nitro HD Wind kernel) for my own daily device.
OFC, Performance, Battery life and Stability aimed.
Hopefully you enjoy!
Changelog
r2
undervolted & lower freq step [email protected],[email protected] (credit: freak07)
add kcal supported
add wq_power_efficient toggle & on by default (credit: matthewdalex)
add fsync toggle & off by default (credit: franciscofranco)
updated cfq i/o scheduler & set it to default
linux v4.4.128
removed some unused drivers in defconfig
misc patches added & reverted some patches/tweaks in r1
r1
base: u11+ tw 1.05.709.12
merged: u11 tw 2.42.709.1_R2
upstream: Linux v4.4.78 -> v4.4.126
lowmemorykiller commits for managing free ram properly
i/o scheduler: maple
tcp: westwood
power-efficient workqueues
boeffla's generic wakelock blocker
misc patches/hacks for responsiveness and battery, view commits for detail
>download here<
Installation
save in external sd
flash via TWRP
optional: backup boot partition
>source<
Credit
nathanchance - linux upstream conflict fixes
tbalden - verity patch
boeffla - generic wakelock blocker
osm0sis - anykernel2
and developers sharing their source
XDA:DevDB Information
Wind Kernel, Kernel for the HTC U11+
Contributors
lyfkevin
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: r2
Beta Release Date: 2018-04-06
Created 2018-04-06
Last Updated 2018-04-06
Which security update is this on?
bosmon said:
Which security update is this on?
Click to expand...
Click to collapse
Stock one. I didnt touch it yet.
I hope doing these progressively. I found difficult to debug if adding massive features or patches at once.
This is stable .
Thank you.
newyesor said:
This is stable .
Thank you.
Click to expand...
Click to collapse
Glad to hear. Feedback are welcome.
r2 is released!
undervolted & lower freq step [email protected],[email protected] (credit: freak07)
add kcal supported
add wq_power_efficient toggle & on by default (credit: matthewdalex)
add fsync toggle & off by default (credit: franciscofranco)
updated cfq i/o scheduler & set it to default
linux v4.4.128
removed some unused drivers in defconfig
misc patches added & reverted some patches/tweaks in r1
lyfkevin said:
r2 is released!
undervolted & lower freq step [email protected],[email protected] (credit: freak07)
add kcal supported
add wq_power_efficient toggle & on by default (credit: matthewdalex)
add fsync toggle & off by default (credit: franciscofranco)
updated cfq i/o scheduler & set it to default
linux v4.4.128
removed some unused drivers in defconfig
misc patches added & reverted some patches/tweaks in r1
Click to expand...
Click to collapse
HI mate, thank's for you work...please would tell me how make it work kcal ?....everytime i tried open the app just close. Thnak's
neofrost37 said:
HI mate, thank's for you work...please would tell me how make it work kcal ?....everytime i tried open the app just close. Thnak's
Click to expand...
Click to collapse
Which app are u using?
You may use Kernel Adiutor, EX Kernel Manager
Personally I am using Ex Kernel Manager.
@lyfkevin
This kernel camera can't be opened. Did you find this a problem?
poppy22 said:
@lyfkevin
This kernel camera can't be opened. Did you find this a problem?
Click to expand...
Click to collapse
Camera should work fine in my released version.
You compiled from my github?
They are buggy in CAF-merged branches.
The stock rom is not fully capable with updated CAF patches.
lyfkevin said:
Camera should work fine in my released version.
You compiled from my github?
They are buggy in CAF-merged branches.
The stock rom is not fully capable with updated CAF patches.
Click to expand...
Click to collapse
Yes, I am the CAF version compiled from your GITHUB, but I can't work with your compiled brush into my mobile phone camera.
poppy22 said:
Yes, I am the CAF version compiled from your GITHUB, but I can't work with your compiled brush into my mobile phone camera.
Click to expand...
Click to collapse
You mean version r2? Any logcat.
Because camera works for me in either r1 and r2.
If you mean caf-branches in github, it's normal because they are still under testing.
lyfkevin said:
Which app are u using?
You may use Kernel Adiutor, EX Kernel Manager
Personally I am using Ex Kernel Manager.
Click to expand...
Click to collapse
Thank's for answer !!, i'm using kernel adiutor and let me play with some parameters of the screen, but i'm looking for more bright, so is possible to "overwrite" the settings to let the brightness go higher?

[KERNEL] [PIE] Twisted Kernel V7.6 [Dipper] [21/11/2019-EOL]

This kernel supports MIUI and custom ROMS based on Pie only​
Main features:
- Based on the latest Pie source from LineageOS, Kernel is compatible with custom ROMs
- Upstreamed to Linux 4.9.202
- Upstreamed to CAF LA.UM.7.3.r1-08200-sdm845.0
- Spectrum profiles
- Compiled with GCC 9.2
- Flash and forget
User features:
All these features can be used via EXKM app
- Vibration Control
- KCAL (Colour control)
- Klapse
- Sound Control
- Minimum Brightness Control
- MAC Randomization
- USB Fast Charge
- Flicker free mod (DC dimming)
CPU features:
- CPU Governors: Schedutil
- Schedutil updated with patches from newer Linux versions
- CPU idle improvements by kerneltoast
- CPU input boost
- RCU boost
- Power Saving Work Queues
GPU features:
- 770 MHz and 820 MHz overclocked GPU steps available (optional) (Use at your own risk)
- ULPS enabled for display panel
File system & memory related features:
- NTFS, exFAT, sdFAT and F2FS file systems supported
- IO Schedulers: CFQ, ZEN, Maple, NOOP, Anxiety, Deadline
- F2FS updated from Pixel 3
- RapidGC for better F2FS performance
- Dynamic F-sync
- CRC disabled for better storage performance
Network features:
- TCP algorithms: Westwood, Reno, BBR, Cubic
- Westwood set as default TCP algorithm
- Wireguard VPN Support
- TTL
Under the hood features:
- Xbox and Dualshock controllers supported with drivers updated to the latest
- Safetynet Flags Removed
- Pixel 3 Energy Model
- Audit disabled for less overhead
- Faster app openings
- Disabled Gentle Fair Sleepers for smoother UI
- 32 bit VDSO
- Unused Drivers And Logging removed for a lighter kernel
Known bugs:
- DC dimming not supported, disable it in MIUI settings
Requirements:
Magisk for recommended kernel settings to set
First Time Installation (clean flash):
1.) Download the Kernel from second post
2.) Have Stock kernel and ramdisk installed
3.) Flash Magisk (optional)
3.) Flash the kernel in recovery
Upgrading the kernel:
1.) Download the kernel from the second post
2.) Dirty flash the kernel (this means flashing the kernel without wiping anything)
Restore stock boot partition guide:
This guide will show you how to restore your ROMS stock kernel and ramdisk without losing any data. It will also uninstall Magisk which can be flashed again. Follow this guide if coming from another custom kernel or if something is not working like spectrum or the config file in twisted kernel.
Method 1:
1) Dirty flash your current ROM. This means installing the ROM without wiping anything.
2) Flash Magisk if desired.
3) You are now ready to flash a custom kernel.
Method 2:
1) Extract boot.img from your currently installed ROMs zip file.
2) Go to the install page in TWRP > Flash image > Select the boot.img you extracted and flash it to the boot partition.
3) Reflash Magisk if desired.
4) You have now restored your stock kernel and ramdisk and can now flash a custom kernel.
Hit thanks or donate to support my work
Donators:
Ricardo
Hellboy4
PM if you want your XDA profile linked on this list
XDA:DevDB Information
Twisted Kernel, Kernel for the Xiaomi Mi 8
Telegram https://t.me/twistedkernel
Contributors
Twisted Prime for doing all this
YTG for testing and support
milouk for build fixes and scripts
blackened mod team for scripts
bgcngm, abhishek987 for maintaining LOS kernel
Akhil Narang for the latest touchscreen drivers
nathanchance for maintaining linux stable repo
osm0sis for anykernel installer
SultanXDA for Simple LMK, CPU input boost and Devfreq boost
kdrag0n for many optimisations
tytydraco for anxiety IO scheduler and DSBoost
flar2 for vibration control and sound control
Joshuous for Dynamic stune boost
tanish2k09 for Klapse
Arter97 for RapidGC and many improvements
Raphielscape, argraur for work on Kat kernel
frap129 for Spectrum
fransiscofranco for Fsync control
Lord boeffla for Boeffla wakelock blocker
Everyone whom I cherry-picked from
Source Code: https://github.com/TwistedKernel/Twisted-845-P
Version Information
Status: Stable
Current Stable Version: V7.6
Created 2019-02-21
Last Updated 2019-11-21
Downloads:
TwistedKernel
Notes:
Twisted Kernel configuration file (Magisk required)
A configuration file is stored in internal storage /TKManager/twistedconfig.txt. You can edit this file to change kernel settings such as, performance profiles, vibration strength, fsync, double tap to wake and SELinux modes. Whatever is set in this file will take effect on boot.
Twisted Kernel log file (Magisk required)
Every boot, a log file is created and stored in internal storage /TKManager/log.txt. It shows the date and time kernel settings are applied. Use this to verify if configuration options are applied.
Applying custom settings
To apply custom settings on boot with a kernel manager, set the boot delay to 50 seconds.
Profiles
Spectrum is a simple, profile oriented kernel manager that allows developers to create profiles to serve to their users. This is useful for users who are inexperienced with kernel tweaking or users who want something that's a single click away.
https://play.google.com/store/apps/details?id=org.frap129.spectrum
USB Fastcharge
This feature increases the maximum charging current from a PC to 900 mA from the default value of 500 mA.
F-sync
Disable this to improve memory speed at the risk of data loss during a system crash. I recommend leaving it enabled if you want to keep your data.
Ho ho, you actually made a thread.
Very nice man, welcome!
Thanks and welcome
sir my touchscreen not working,but in twrp my touchscreen working,,,sorry bad my english,,,,
and thanks for support
xgurame said:
sir my touchscreen not working,but in twrp my touchscreen working,,,sorry bad my english,,,,
and thanks for support
Click to expand...
Click to collapse
Hi, please try this build and tell me if it works.
http://bit.ly/2tGk0Nf
Works great with Havoc
Welcome and thanks for your hard work[emoji13]
Im using your kernel now on pe experience rom with pixutil gov and faced zero bugs so far [emoji106]
Dude could you post balanced and battery settings here or on the op because i want to tweak the kernel by myself?
greetings
Gesendet von meinem Mi 8 mit Tapatalk
darkwader18701 said:
Welcome and thanks for your hard work[emoji13]
Im using your kernel now on pe experience rom with pixutil gov and faced zero bugs so far [emoji106]
Dude could you post balanced and battery settings here or on the op because i want to tweak the kernel by myself?
greetings
Gesendet von meinem Mi 8 mit Tapatalk
Click to expand...
Click to collapse
This kernel is already tweaked for balanced battery and performance. For more battery lower dynamic stune boost values.
Twisted Prime said:
This kernel is already tweaked for balanced battery and performance. For more battery lower dynamic stune boost values.
Click to expand...
Click to collapse
oh ok its already 0 in ex kernel manager settings and deactivated, your magisk module do the same doesn't it?
Gesendet von meinem Mi 8 mit Tapatalk
darkwader18701 said:
oh ok its already 0 in ex kernel manager settings and deactivated, your magisk module do the same doesn't it?
Gesendet von meinem Mi 8 mit Tapatalk
Click to expand...
Click to collapse
TK power saver disables dynamic stune boost when battery is under 30%
Twisted Prime said:
TK power saver disables dynamic stune boost when battery is under 30%
Click to expand...
Click to collapse
ok get you thanks for all [emoji1787]
Gesendet von meinem Mi 8 mit Tapatalk
V4.2 is now available!
TwistedKernelV4.2_Mi8
Changelog:
- Linux 4.9.161
- Updated WiFi driver from CAF
- Added 770Mhz GPU freq
- f2fs improvements
TK Power Saver
TKPowerSaverV2.0 - Compatible with Twisted Kernel V4.1 and up
Very good
V4.3 is now available!
TwistedKernelV4.3
Changelog:
- Linux 4.9.162
- F2FS improvements
- Battery improvements
- Wireguard support
V4.4 is now available!
TwistedKernelV4.4_Mi8
Changelog:
- CAF LA.UM.7.3.r1-06900-sdm845.0 merged
- Linux 4.9.163
- F2FS updated from pixel 3
- F2FS verity enabled
- Updated CFQ
- Klapse support
- Reverted charging current increase
- Enabled tickless when idle
Thanks man.
Will test ASAP
Thanks for sharing.
best kernel for Mi8
nice battery and good performance

[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