[KERNEL][TW][SM-G930F/FD/W8/S/L/K] Primal Kernel v2.3.4 [DQH8][S7 + Ports] - Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri

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

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][TW & AOSP] PRIME-Kernel v2.1.2

{
"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"
}
​
List of Supported
Variants
SM-G930S/K/L/F/FD/W8
SM-G935S/K/L/F/FD/W8
ROMs
TouchWiz N base all ROMs (Stock, S8 port ROMs, Note 7/8 port ROMs)
AOSP 7.1.2 & 8.x base all ROMs (Lineage, RR, crDroid & AICP & more...)
Main Features
OSRC's latest Note-FE & S7 source code base.
Using the AnyKernel2(Flashing Tool).
Synapse support.
SELinux Permissive / Enforcing switchable (+ Fake Enforcing Mode).
Linux-stable 3.18.y upstream.
Compile with UBERTC 6.4.1 toolchain.
F2FS support (/data, /cache only).
Optimized for Exynos8890 using the Exynos-M1 flag for compile options.
Gametuner-Mod
Game Booster Mode
intelligent performance enhancement mode in conjunction with Samsung-Gametuner.
Fake KNOX.
chacha20 to random (entropy).
Linaro LSK-v3.18-Energy-Aware Scheduler (EAS) port.
EAS simplifies power and performance management through scheduler-driven tuning to manage more efficiently.
Linux-v3.18 already has EAS installed, but with the LSK-v3.18-EAS, the existing EAS has been further improved and the user can choose between tuning power efficiency and performance.
Linaro v3.18/topic/OPPv2 branch merge.
Lazytime mount options
improved storage performance and longevity.
Similar to DynamicFsync, but operates at the file system level and has no risk of data loss.
CPU/GPU UC & OC.
Limit the maximum overclock range according to the device's ASV value (device yield) to prevent excessive overclocking.
CPU/GPU/BUS voltage control.
GPU Performance Tuning.
Performance/balance/battery separated DVFS user settings.
Thunder Hotplug driver port.
HMP tuning Interface.
Detail charging circuit control allows faster charging.
Added I/O Scheduler 'bfq, fifo, fiops, row, sio, maple, tripndroid, zen'.
Enable Westwood tcp/ip congestion control (not default).
LED FADE control.
PWM Flicker free.
boeffla's generic wakelock blocker driver.
Qualcomm interactive (renamed cafactive) cpu governor porting.
Added battery-friendly 'relaxed' governors, and more.
Provides an add-on that keep kernel settings on unrooted devices.
Synapse: System Tweak add-on available.
Synapse: Provides configuration profile separated by performance/battery/stability.
Many other optimization applications.
How many users are there in this kernel and what is it with custom ROM?
* Go to User Statistics.
With this kernel, the following information is sent once to the developer's server at boot time.
variant, android serial number(not device serial), name of current firmware(ROM), country code, kernel version
* This information is Android apps can see without any special permissions.
* If you suspect other information transfer, open the '/res/synapse/actions/addon' file.
Description for AOSP ROMs
If you are using another developer's custom kernel, or if using ramdisk is corrupted kernel, you may encounter a bootloop or an unknown problem.
If you have a bootloop problem, flash the PRIME kernel after first flashing the builtin kernel in your ROM. (Or flash the ROM again)
This kernel is flashed AnyKernel method, for all kinds of AOSP ROM support.
Download
Latest Version | Older Version
Community
Telegram Group: https://t.me/primekernel
Naver Cafe (for Korean): http://cafe.naver.com/primeusers
How do I enable donation-only add-on features?​
Credit (Thanks. to)
@AndreiLux - Perseus8890 kernel.
@tkkg1994 - refer to some Commits.
@arter97 - cafactive & more.
@osm0sis - AnyKernel2.
@jesec - AOSP kernel source.
@Wootever - PWM Flicker Free.
All members of the PRIME-Kernel NaverCafe.
And all of commited in sources & all of xda developers.
XDA:DevDB Information
PRIME-Kernel, Kernel for the Samsung Galaxy S7
Contributors
Hyunwoo AHN
Source Code: https://github.com/dwander/Linaro-base/tree/herolte
Kernel Special Features: Linaro-LSK-3.18-EAS Port, Gametuner-MOD, Intelli-Performance
Version Information
Status: Stable
Current Stable Version: 2.1.2
Stable Release Date: 2017-12-17
Created 2017-09-23
Last Updated 2017-12-17
How do enable donation-only add-on features?
I only receive donations from your heart.
Do not donate if you intend to unlock synapses.
If you are unable to make a donation of 5.0 USD or more due to economic reasons, please do not donate and request me to unlock Synapse. Then you can use all the functions of synapse without donation.
How to request synapse unlock
Please tell [email protected] the following:
- A matter that is difficult for you to donate(eg economically difficult countries, students without money or credit card).
- The first five letters or screenshots of the KeyCode on the Synapse's first screen.
Change Log
v2.1.2
fixed bluetooth issue in AOSP 8.1
Linux upstream to v3.18.88
v2.1.1
Linux upstream to 3.18.87
Add Android O (8.x) support
Add new commit for AOSP support
Changed AOSP build to TouchWiz base (Integrated AOSP and TW kernel source code)
Fixed WiFi-Hotspot issue for N8 porting ROM
Fixed an issue where the charge state switching notification did not work
Note-FE GPU driver (r15p0) build droped
r12p1 GPU driver is built back into the package
Minor bug fixes
v2.0.1
Reuse AutoASV
Over clock limit relaxed
Removing the State Notifier Driver & Using the FB Driver
Fixed a bug where two big cores could not be used (v2.0)
Corrected the overclock value to actually apply when boosting the big core
Synapse: Memory: Z-Swap compression algorithm selection option removed
Synapse: Labs: gms drain patch removed
v2.0.0
base: Re-based on Note-FE source code
linux: upstream to v3.18.83
f2fs: Updated latest from f2fs-stable branch
init: Fixed video playback delay issues reported by some N8 porting users
tcp: Change the TCP congestion control algorithm default to Westwood (stock: bic)
Synapse: Fixed the problem that the Intelli-Performance setting is released after rebooting
GPU: Remove unnecessary ipa update code
exynos: Separate AutoASV in 5 steps
exynos: Changed AutoASV not to participate in overclock value(only used for big Core boosting)
mm: Change Z-Swap compression algorithm default to lzo(stock value)
Synapse: Memory: Added Z-Swap compression algorithm selection option
Synapse: Add Labs tab
Synapse: Storage: Resolve compatibility issues with DualSIM models
installer-zip: Include a RAMdisk for TouchWiz for all supported models in package(no need for stock kernel flashing)
installer-zip: After the kernel flashing is complete, it automatically flashes when Magisk or SuperSU files are found.
v1.9.3
Upstream to Linux 3.18.80
Synapse->Utility: Added Android ID management function
Synapse->Advanced: Added option to switch to Enforcing mode after booting
Synapse Add-on Updated to v6.4.2
selinux, Improved fake Enforcing
Use new random driver functions
Removing Gametuner-MOD from AOSP build
Minor bug fix
v1.9.0
Supported Note 8 Porting ROMs
Backported random(entropy) driver from Linux v4.14.rc7
Updated AnyKernel2 (bug fix)
Updated mptcp(Multipath TCP) driver (0.90.0 → 0.90.3)
installer, Prevent Magisk from being deleted when merging ramdisk
Reduced screen brightness during boot
r12p0/r15p0 GPU driver to separate build, packaged in one
! Please read the 'Attention to the GPU driver' part on the first page.
v1.8.2
Linux upstream to v3.18.78
Merge G935F DQJ1 firmware sources
Merge Note-FE AQI4 firmware sources
Fix SafetyNet bypass issue.
f2fs: fix potential panic during fstrim
selinux: Apply Fake-Enforcing mode
In Enforcing mode, it actually works in Permissive mode.
Thanks to @jesec
Synapse: minor bug fix
v1.8.0
• Linux 3.18.76 upstream.
• fully merged Note-FE AQH3 firmware sources.
- There are very very many improvements(bad sammy!)
- Not applicable for AOSP binaries​• Added boeffla's generic wakelock block driver. by @andip71
• Synapse > wakelock: Add generic wakelock.
• Synapse: Some English translation.
v1.7.0
• Linux 3.18.75 upstream
• Added IPA update for cafactive, ironactive, impulse governors.
• Added relaxed CPU governor
- Conservative based battery-friendly governer, with performance degradation.​• ironactive, impulse governor removal.
• Synapse: Added EAS-Tune tab.
- Boost support separated by global, top-app, background, and foreground items.​
v1.6.0
Linux 3.18.73 upstream.
Selinux: permissive/enforce mode switching support.
Synapse: Improved to work in Enforce mode.
Synapse: Improved the SynapseLoader add-on to work in Enforce mode.
Synapse: Added SELinux Enforce option.
- More complete SafetyNet bypass & KakaoBank compatible.​Synapse: Updated addon (v6.4.0)
Install-zip: Prevent Magisk from reverting kernel init files before.
Install-zip: Added init binary hexpatch to support f2fs conversion of cache partition.
v1.5.2
aosp: Reduce the haptic feedback strength default by 50%.
synapse: misc: Added haptic feedback intensity control to AOSP.
v1.5.1
Enable cgroup_schedtune.
- EAS Schedule tuning (energy or performance) automation support options.
- CFS boost setting is removed accordingly.​install-zip: Fixed some bugs in the flashing process.
v1.5.0
Linux 3.18.72 upstream.
G935F-DQIC firmware kernel source merged.
Support AOSP 7.1.2 based custom ROMs.
- Tested: LineageOS, crDroid, RR​Changed to AnyKernel method.
Updating the f2fs file system on the f2fs-stable branch.
workqueue improvement.
Apply ADJ_RBTREE to LMK.
Using ARM64 logic on SHA256 / 512.
PWM Flicker Free - Thank's to [email protected]
- information: https://forum.xda-developers.com/s7-edge/development/amoled-pwm-s7-edge-t3517739​Synapse - Added WakeLock control.
- Some are not supported in MTweaks, I recommend using Synapse.​Synapse: Added CPU Voltage margin setting.
There are many more minor changes.
v1.4.0
EAS: Adding a missing commit.
- Fixed temperature rise problem in some high-end games.​GPU: DVFS tuning.
Synapse: Correct default settings when selecting maple IO scheduler.
init: cfs_boost Adjust the default value to 0.
zip-installer: Mali-R12P0 & R15P0 Include the GPU driver in the package.
v1.3.2
Linux 3.18.71 upstream.
changed the source code base to G935FXXU1DQH8.
improved crypto.
fs: updated to the latest in the f2fs-stable branch.
f2fs: support for lazytime mounts.
fstab: support f2fs mount (/system not allowed).
ext4: fix fencepost error in lazytime optimization.
ramdisk: unified with G935FXXU1DQHY base without any 'flat/edge/kor/eur'.
v1.3.0
Disable Exynos-Swap, use ZSwap.
- ZSwap's efficiency is better.​Enable zswap_writeback.
Changed the toolchain to gcc-6.4.1 (UBERTC 6.4.1).
Remove the 'perfect C-state residency' related commits.
Back to r12p0 gpu driver.
- Battery efficiency issue of r15p0.​Fix synaps FC issue.
- In the case of genuine firmware, FC occurs at the first execution.​Optimized & bug fixes for old scripts in synapse.
Ramdisk divided build, global model and Korean model.
- Several issues related to global models.​
v1.2.0
Updated with DQH8 firmware source code.
Linux 3.18.15 ~ 70 upstream rework.
NIVIDIA CPU Relax Patch removal.
- In some games, FC or loading loop issue.​XPAD Joystick driver update (from Google AOSP 3.18 kernel)
ZRAM, KSM off
- ZRAM is duplicates with VNSWAP
KSM is inefficient​Synapse: English translation (90%)
Details(Korean): http://enfree.com/prime/?page=changelog&device=G930
New kernel , i'm going to test now
Tried both with my S8 ROM port.
Boots very slow
When devices i booted it takes some seconds till phone freezes and than reboots!
DirkStorck said:
Tried both with my S8 ROM port.
Boots very slow
When devices i booted it takes some seconds till phone freezes and than reboots!
Click to expand...
Click to collapse
Tell me the name of your custom ROM and the name of your device model.
Hyunwoo AHN said:
Tell me the name of your custom ROM and the name of your device model.
Click to expand...
Click to collapse
My device is SM-G930F and I am using BatMan-Rom V1.3.0
After flashing the kernel I have flashed Magsik 13.6
Thanks
DirkStorck said:
My device is SM-G930F and I am using BatMan-Rom V1.3.0
After flashing the kernel I have flashed Magsik 13.6
Thanks
Click to expand...
Click to collapse
Sorry, can you try again with v1.3.0?
Hyunwoo AHN said:
Sorry, can you try again with v1.3.0?
Click to expand...
Click to collapse
Sorry, my fault. MTweaks was still running what interfered.
Flashed v1.4 with stock GPU drivers. running fine so far but boot time is still longer than with other kernels.
Could you add a global slider to under volt CPU and GPU by a certain value?
EDIT:
In Synapse at "Game Tuner MOD" and "Utility" tab the last few settings are not in englisch
DirkStorck said:
Sorry, my fault. MTweaks was still running what interfered.
Flashed v1.4 with stock GPU drivers. running fine so far but boot time is still longer than with other kernels.
Could you add a global slider to under volt CPU and GPU by a certain value?
Will try this kernel now and report back.
EDIT:
In Synapse at "Game Tuner MOD" and "Utility" tab the last few settings are not in englisch
Click to expand...
Click to collapse
The global slider is hard to implement, because of the UI structure of Synapse.
If you are not comfortable with the Voltage setting, you can get the desired result by returning to Synapse after setting in MTweaks. If you do not know what I mean, try it.
What if it takes a long time to boot? If it is a symptom that only takes longer in the first Bootanimation, it will not be a problem from the second since it recreates the dalvik (ART) cache for some reason.
If it takes a long time to boot each time, it may be because used the G935F ramdisk in this kernel. I tried BatmanROM, but I did not have the problem you said.
In the next version, i will separate ramdisks by variant like v1.3.0.
Korean in the Gametuner-MOD and utility tabs are donation-only functions.
I will translate English donors if they say inconveniences.
Hyunwoo AHN said:
The global slider is hard to implement, because of the UI structure of Synapse.
If you are not comfortable with the Voltage setting, you can get the desired result by returning to Synapse after setting in MTweaks. If you do not know what I mean, try it.
What if it takes a long time to boot? If it is a symptom that only takes longer in the first Bootanimation, it will not be a problem from the second since it recreates the dalvik (ART) cache for some reason.
If it takes a long time to boot each time, it may be because used the G935F ramdisk in this kernel. I tried BatmanROM, but I did not have the problem you said.
In the next version, i will separate ramdisks by variant like v1.3.0.
Korean in the Gametuner-MOD and utility tabs are donation-only functions.
I will translate English donors if they say inconveniences.
Click to expand...
Click to collapse
Ok, tried that with MTweaks and noticed that it was already under volted by my previous settings.
Noticed that there is no tab to disable wakelocks. Do you plan to add this?
EDIT: for now I back to my previous kernel...sorry....
Thanks!
DirkStorck said:
Ok, tried that with MTweaks and noticed that it was already under volted by my previous settings.
Noticed that there is no tab to disable wakelocks. Do you plan to add this?
EDIT: for now I back to my previous kernel...sorry....
Thanks!
Click to expand...
Click to collapse
Kernel-level wakelocks work when requested by an Android system or app.
It is not desirable to force such requests to be ignored.
My Note4 kernel has a wakelock tab. However, it was added because of the deep-sleep problem in some variants of Note4.
If there is a deep sleep (wakelock) problem in our S7, I will add a wake-lock tab.
Again briefly, the wakelock control should not be abused. So, if there are no related problems, I will not add them.
update to v1.5.0
Thanks for supporting AOSP! ?
After flashing 1.5.0 I'm still at 1.4.0 :/
MK73DS said:
After flashing 1.5.0 I'm still at 1.4.0 :/
Click to expand...
Click to collapse
If flashing was completed and there were no errors, it is not possible.
If you rooted or unrooted the kernel after flashing, the old kernel would have been restored.
If you do not know, Flash the kernel after rooting.
Hyunwoo AHN said:
If flashing was completed and there were no errors, it is not possible.
If you rooted or unrooted the kernel after flashing, the old kernel would have been restored.
If you do not know, Flash the kernel after rooting.
Click to expand...
Click to collapse
Indeed, I rooted after flashing the kernel, thank you ^-^
you do a fantastic job with all the feature you added in your kernel(thunderplug,eas, pwm flicker free, etc...). v15 is very recommended
Hey man, thanks for this kernel! I tried it on AOSP for RR which boots but I noticed that flashing this kernel, disabled the option to adjust vibrate intensity. The option in Sound is there but Settings Force Closes when clicking on it. The reason I need to adjust it, is the vibration is back to really strong vibration when touching a key. Hope this details helps. On latest Prime 1.5.0
Andrw0830 said:
Hey man, thanks for this kernel! I tried it on AOSP for RR which boots but I noticed that flashing this kernel, disabled the option to adjust vibrate intensity. The option in Sound is there but Settings Force Closes when clicking on it. The reason I need to adjust it, is the vibration is back to really strong vibration when touching a key. Hope this details helps. On latest Prime 1.5.0
Click to expand...
Click to collapse
issue was raised on edge thread.
https://forum.xda-developers.com/s7-edge/development/kernel-prime-kernel-v1-4-0-t3678159/page5

[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][05.01.2023][Android 12] Kirisakura 1.0.1_S for Asus Zenfone 7/Pro aka Tequila

Kirisakura-Kernel for the Asus Zenfone 7/Pro
Hello everyone,
To keep it short: Here is Kirisakura - Kernel for the Asus Zenfone 7/Pro aka Tequila. The Zenfone line- up internal codenames are derived from alcoholic drinks, last year the Zenfone 6 bore the title Kirin.
I would appreciate if everybody that flashes the kernel, reads at least once through this opening post and the following ones.
Kirisakura - Kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!
If you expect a custom kernel to magically improve your devices battery life manifold and this is your only priority then this might not be the right place for you. Instead there is an option called battery saver in the options of your phone.
However the kernel is built to keep battery life close to the same as you would experience the on stock kernel while being tuned to perform better in various UI related benchmarks. The same benches are used by google to verify and ensure UI smoothness on the Pixel devices. The scheduler is tuned to yield lower jitter and reduce jank frames.
If that got your curious, I welcome you to continue reading if you´re still interested!
This project aims to keep most of the subsystems updated, way ahead of the stock kernel, thereby improving security and performance, while keeping stability as the foucs during testing! This includes Linux-Stable, CAF-Upstream and kernel/common.
Kernel Control Flow Integrity (Kernel-CFI), which is achieved by linking the kernel with LLD and Link Time Optimization (LTO), more precisely ThinLTO, are quite unique security features.
The recently released Kirisakura-Kernel for the OnePlus 8 Pro was featured on the XDA-Portal due to the inclusion of CFI. The featured article explains CFI in great details, is easy to understand and definitely worth to read.
If possible the latest Kirisakura-Kernel releases for various devices aim to include CFI in enforcing mode so users can benefit from this security features.
Another security feature is Shadow Call Stack (SCS).
SCS is another security patchset that is aimed at preventing attacks via return oriented programming (ROP).
ROP is a technique where the attacker gains control of the kernel stack to overwrite function return addresses and redirect execution to carefully selected parts of existing kernel code.
If you´re interested here are a few good links:
Google Security Blog explaining SCS.
LLVM doc about SCS
Android DOCs documenting SCS
If reading about upstream in the paragraph above got you curious,have a read about Linux-Stable and why it is important here. The stable-process is not the same for every subsystem, but the general idea, rule of thumb and benefits are applicable for other subsystems as well.
Quick explanation of CAF-Upstream. CAF is short for Codeaurora-Forums. This is the place where development from Qualcomm for their SoCs happens. This includes the Snapdragon 865/+ that´s built into the different SKUs of the Zenfone 7/Pro.
The kernel-bases available on the Codeaurora-Forums, are basically the foundations OEMs use, to build their own kernel additions on top for devices featuring Qualcomm SoCs.
The Qualcomm developers push regular updates to the bases of the different SoCs, a bit similar to how Linux-Upstream works. OEMs usually stop updating the initial base after the phone is released.
This kernel focuses amongst the other features to provide the latest CAF-Updates merged in a regular manner, to provide updates, improvements and enhancements for SoC specific drivers and subsystems! This might take a while, because a lot of device specific testing is done on my end to ensure stability.
The kernel includes a lot of improvements and contributions from other developers as well. Without this kernel would not exist.
A big part of improvements originate from @arter97´s, @kdrag0n´s and @Sultanxda´s work. Many others contributed in some way or another to this kernel.
A big thanks to all of them at this place!
Now lets continue with a list of features in the next paragraph!
Main Features:
- Based on latest kernel sources from Asus for Android 12 and intended for use on the latest Asus Stock-Firmware
- compiled with Clang 13.0.1 and built with -O3 speed optimizations
- Linux-Stable-Upstream included to 4.19.2240
- CAF base for the Snapdragon 865/+ (SD865/+) updated to upstream CAF
- Kernel Control-Flow-Integration (CFI) andLink-Time-Optimization (LTO) ported from 4.19 kernel/common and Pixel 5/4/XL Kernel
- Shadow Call Stack (SCS) Security-Feature
- Use ThinLTO which was first used in the Pixel 4 XL Android R-Preview Kernel instead of full LTO for full program visibility (needed by CFI)
- fix CFI-Violations found in various subsystems like Asus/device specific drivers and qualcomm drivers
- Link the kernel with LLD and use RELR-Relocation
- include important fixes/improvements from kernel/common
- Flashing the kernel will keep root!
- Flashable via EXKM, FKM or TWRP on a rooted system!
- Anykernel zip is based on the Anykernel3 release from @osm0sis
- disable various debugging configs, that are not needed in a perf build kernel according to google.
- disable selinux auditing (we don´t have to adress selinux denials running a stock rom)
- display tweaks to reduce power consumption on statically rendered images
- option to limit max cpu frequency (3 levels) also to cpu boosting during input, without enabling powersaver mode that restricts background data sometimes killing notifications
EAS related features:
- EAS implementation patched up to latest CAF state
- disable autogroups and use cgroups for more efficient task placement!
- updates from kernel/common
- scheduler updates from Googles Pixel kernel
- tune scheduler for improved jitter and less jank frames
- scheduler updates for RT tasks
- scheduler updates from sd888/ 5.4 kernel
- mainline scheduler updates for better load balancing on sched_idle cpus
CPU related features:
- Change various drivers (WLAN, MM, audio, charger, power, thermal, glink etc) to user power efficient workingqueues. This compliments EAS
- improvements to cpufreq/times/stats
- improve memory allocations in binder driver
- vdso32 patches as found on Google Pixel devices (brief documentation here)
- arm64: lse: Prefetch operands to speed up atomic operations, thanks @kdrag0n
- implement fast refcount checking
- remove RTB logging to reduce overhead
- remove event debug logging
GPU related features:
- GPU driver updated to latest CAF-State
- remove POPP functionality from GPU driver to avoid constant fight about downscaling with msm-adreno-tz
- don´t wake the gpu on touch input, instead wake when receiving an ioctl
- don´t copy fence names by default to save a bit of cpu-time (explanation)
- msm: kgsl: Stop slab shrinker when no more pages can be reclaimed
- gpu/kgsl improvements from pixel 4/pixel 5 kernel
- add low_prio_worker thread for gpu driver (Improves performance when tearing down processes (eg, via LMK) and not blocking currently running UI from submitting work to the GPU
File System related features:
- improve memory allocations in sdcardfs
- improve eventpoll logging to stop indicting timerfd (improves kernel wakelock readability)
- improve memory allocations in kernfs
- writeback: hardcode dirty_expire_centisecs=3000 based on this commit
- ufs improvements from pixel 4/ pixel 5 kernel
- default IO scheduler to CFQ and readahead to 128
- improve GC as to not interfere while user interaction is happening and prevent possible jitter or latency spikes
UI/UX/Usability:
- Backlight Dimmer (reduce minimal brightness on a solid white background from 2,3 lux to 1,6 lux)
- sweep to sleep
- touch sampling override option (set stock touchsampling rate from 120hz to 200hz for reduced touch latency)
Network related features:
- Wireguard Support (Details)
- advanced TCP algorithms enabled
- use bbr as default TCP congestion algorithm (fasted algo according to this excellent research from @kdrag0n found here )
- includes new bbr and bbr2
Memory related features:
- Speculative Page Faults left enabled (1. 2) (CAF default)
- various fixes for PSI-Monitor, which is used by the userspace lowmemorykiller-daemon
- Fix various memory leaks in different subsystems
- improved mm with patches from mainline
- various other changes from mainline
- included zstd as an option for ZRAM-algorithm (lz4 is probably the best all around, so only change it if you know why and what you are doing)
- improve memory allocations in various subsystems
- Backport to enable CONFIG_HAVE_MOVE_PMD (see here) , thanks @arter97
- Backport to enable CONFIG_HAVE_MOVE_PUD (commit here) , thanks @arter97
- allow max swappiness over 100, to favor swapping instead of dropping the cache
- free more RAM by removing unused reserved memory regions
Security related features:
- Control-Flow-Integration (CFI) and Link-Time-Optimization (LTO) ported from 4.19 kernel/common and Pixel 5 Kernel
- Use ThinLTO which was first used in the Pixel 4 XL Android R-Kernel instead of full LTO
- Shadow Call Stack (SCS) Security-Feature
- fix various CFI-Violations found in various subsystems like Asus/device specific drivers and qualcomm drivers
- enable init_on_alloc for even more security, more information can be found in the commit message
- Backport mainline Selinux commits for improved performance in the selinux subsystem, thanks @arter97 (you must be on magisk 21.0 or higher, otherwise the kernel won´t boot)
Misc Features:
TCP Congestion Algorithms:
- advanced algorithms enabled, enable them with your favorite kernel manager
- use bbr as default TCP congestion algorithm (fasted algo according to this excellent research from @kdrag0n found here )
- includes new bbr2
Wakelock Blocker:
- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- please read [URL="https://arstechnica.com/gadgets/2018/08/p-is-for-power-how-google-tests-tracks-and-improves-android-battery-life/"]this for further info
- blocking a kernel wakelock should only be done in case of firmware incompatabilities (WiFi network at work (can´t be changed) causes deep sleep to not work on the phone.) That´s the only use case I see for this feature. The kernel does not features this to improve battery life!
Other features:
- disable logging and debugging to make the kernel more lightweight in various places (includes binder, mm, vma, gpu, ipa etc)
- fix several coding issues detected by newer Clang-Toolchains
- implement ramoops functionality to be able to easily debug kernel panics
Feature section for the "non visible" but perceptible improvements:
- updated binder section (responsible for interprocess communication)
Flashing Guide, Download and Changelog
Requirements:
- unlocked Bootloader
- USB-Debugging in developer options enabled
- latest adb and fastboot binaries
- working adb and fastboot environment
- magisk root (magisk 22.0 or higher), usually magisk stable works best
- a backup of stock boot.img and dtbo.img so you can go back to stock conditions (simplest way is TWRP)
How to flash the Kernel:
1. Download the latest kernel.zip and make sure you have properly updated to the latest matching Asus Stock-Firmware. When the Zenfone 7/Pro receives an update it takes Asus a while to release the source code for the new OS and me a while to build a new kernel. If you don´t want to face any issues, wait until I either release an updated kernel or give green light because there were no kernel changes.
Always make sure to run the firmware the kernel is built for!
If you feel adventurous, make sure you have a backup ready!
2. Flash the kernel.zip via latest TWRP, EXKM or FKM app and do a full reboot.
3. Reboot and profit.
DOWNLOAD:
Download is located always in this folder:
Downloads for : -Android- Generic Device/Other | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Important: Read after Download
Please take a look at the second post after flashing the kernel!
Changelog:
Android 11
1.0.0 Initial Release
1.1.3 https://forum.xda-developers.com/t/...nfone-7-pro-aka-tequila.4269677/post-85018787
1.2.0 https://forum.xda-developers.com/t/...nfone-7-pro-aka-tequila.4269677/post-85369449
1.2.1 https://forum.xda-developers.com/t/...nfone-7-pro-aka-tequila.4269677/post-85432205
1.2.5 https://forum.xda-developers.com/t/...nfone-7-pro-aka-tequila.4269677/post-85797313
1.2.6 https://forum.xda-developers.com/t/...nfone-7-pro-aka-tequila.4269677/post-86238683
Android 12
1.0.0 https://forum.xda-developers.com/t/...nfone-7-pro-aka-tequila.4269677/post-87106135
1.0.1 https://forum.xda-developers.com/t/...nfone-7-pro-aka-tequila.4269677/post-87949953
Donations:
Donations are not mandatory but very welcome if you want to support development or just buy me a coffee/tea
If you like my work: http://paypal.me/freak07
Credits:
Asus for the development device, giving me the opportunity to create this project!
@osm0sis for all his work, including the ak3 installer!
@tbalden for being the best HTC, Pixel, OnePlus and now Asus wingman!
@LeeDroid and @mwilky for their awesome roms and work I used on multiple devices!
@Captain_Throwback for all the mentoring and guidance!
@Eliminater74 for bringing me into the game and the Inspiration
@nathanchance for his upstream guidance and assistance
@RenderBroken for helping me out
@flar2 for all his work
@joshuous for all the help he provided to me in the past!
@arter97 for giving me advice
@kdrag0n for his help and advices!
@topjohnwu for magisk!
Source Code: https://github.com/freak07/Kirisakura_TEQUILA_Zenfone_7
FAQ
F.A.Q:
Question: Why does the kernel version show as "unavailable" in settings after flashing it.
Answer: Asus does not allow for custom kernel names in their settings. Use a kernel manager to check the kernel version.
Question: Is root preserved when flashing this kernel?
Answer: Yes, the AnyKernel.zip will detect root and keep it.
Question: How do I return back to stock or another kernel.
Answer: Extract boot.img as well as dtbo.img from matching firmware you are on and flash the extracted boot.img and dtbo.img via fastboot. If you want to keep root flash back the magisk_patched_boot.img. Or dirty flash your rom.
Question: Why is having Magisk installed mandatory for this kernel?
Answer: Android 10s changes to partitions, doesn´t allow files in system/ and vendor/ to be replaced. This kernel is very far from the stock kernel. To account for this I can´t force load the stock kernel-modules for certain drivers as it happens on kernels that are closer to stock.
Instead we use Magisks function to overlay certain files during boot. Without a working Magisk environment the kernel cannot function.
Question: I have a phone that is converted from CN to WW and now there´s a warning from hardwarestub. Can I hide it?
Answer: Yes, I created a Magisk Module for those that want to hide the notification, so nobody needs to rely on paid apps.
The Magisk module can be found attached to this post.
Please note that refresh rate can´t be changed when the module is flashed. To able to change refresh rate or to remove the module, simple remove it in Magisk Manager and do a full reboot. I´ll attach it to the third post on this thread. There will be no support for this module from my side and no other support for converted devices.
Question: How to report bugs properly?
Answer: Have a look at post #3 in the linked thread. The linked guide is a pretty good starting point.
Before reporting any bug make sure you´re running on a stock configuration. That´s means you´re not using any mods, tweaks in kernel managers or other root tweaks , magisk modules, scripts or other modifications that alter various functions like sound mods, data traffic, sleeping behaviour, scheduler, magical battery tweaks etc.
Try to describe the issue as detailed as possible! Give your exact setup, like rom, magisk version, kernel version.
Is the issue reproducible? Does it happen frequently?
Provide logs, otherwise debugging is a lot harder. If you can already reproduce the issue and provide logs it greatly limits the amount of time I have to spent until I figure out how to reproduce it.
If the device force reboots/randomly reboots (that means you see the bootloader unlocked screen!) provide a .zip of /asdf.
Easiest way is immediately after booting up, with a root explorer navigate to /asdf. Copy the contents to your internal storage, zip it up and send it to me.
If the issue happens while the device is running provide a dmesg plus a logcat that you take while/shortly after the issue happens. This will log what´s running in the current session. Try to be as detailed as possible what´s happening when the issue appears. It will also help me in reading the log!
and this one too
and the final one, because one never knows.
In case anyone asks, make sure to update to the firmware that dropped today.
[210421] ZenFone 7 Pro / 7 _WW_30.41.69.51
【Version】 30.41.69.51 【Model Name】 ZenFone 7 Pro (ZS671KS) ZenFone 7 (ZS670KS) 【Release Date】 2021/04/29 Since the server pushes update notice to different serial numbers by batches, it may take some days for you to receive the FOTA notice. Thanks for your patience. You may tap “System...
zentalk.asus.com
Download link for full firmware is here:
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS670KS/UL-I002D-WW-30.41.69.51-user.zip
Thank you for this! The phone is much faster, but also warmer in daily use. DeepSleep is perfect.
Seosam said:
Thank you for this! The phone is much faster, but also warmer in daily use. DeepSleep is perfect.
Click to expand...
Click to collapse
My phone runs on the same temperature compared to stock kernel.
Whats your ambient temperature? Maybe it's related to that.
Or it's coincidence and an app is stuck in background or got recently an update. Give it a reboot or maybe a few days.
Freak07 said:
My phone runs on the same temperature compared to stock kernel.
Whats your ambient temperature? Maybe it's related to that.
Or it's coincidence and an app is stuck in background or got recently an update. Give it a reboot or maybe a few days.
Click to expand...
Click to collapse
I think this is due to the higher boost from the kernel compared to stock. There is also only a 4-5 degree Celsius difference. And only when using apps. You can feel it a little in your hand.
Reboot was carried out, of course. As I said, I think it's simply due to the higher frequencies overall and is completely within the limits.
Seosam said:
I think this is due to the higher boost from the kernel compared to stock. There is also only a 4-5 degree Celsius difference. And only when using apps. You can feel it a little in your hand.
Reboot was carried out, of course. As I said, I think it's simply due to the higher frequencies overall and is completely within the limits.
Click to expand...
Click to collapse
The kernel doesn´t boost anything higher than stock. The powerhal and all boosts on input are unchanged compared to stock. Improved UI performance isn´t due to higher boosting.
Might be that some of the scheduler changes, paired with your unique usage lead to overall higher used freqs and the mild temperature increase.
Interesting that it seems to be the case for you.
Temps are basically the same on my end also during benchmarks, because I monitored temps while verifying the improved UI performance.
Thanks for the report! There is still more to come (also for the scheduler)
Thanks for your work, but I noticed than the consumption of the battery was high.
How can I flash the original kernel, I'm always on the stock a11 rom but I will flash soon the omnirom.
gui3gui said:
Thanks for your work, but I noticed than the consumption of the battery was high.
How can I flash the original kernel, I'm always on the stock a11 rom but I will flash soon the omnirom.
Click to expand...
Click to collapse
See post #2
Ok but perhaps, can you provide this file ?
gui3gui said:
Ok but perhaps, can you provide this file ?
Click to expand...
Click to collapse
No, it's best if you extract them yourself.
If you followed the instructions in the OP you should have a backup from boot.img and dtbo.img made via TWRP.
If you don't have them download the full firmware and extract them via payload extractor. You will be able to find that on XDA.
Edit: to flash Omni you need to have stock rom on both slots anyway. So just flash stock rom twice (that will restore original boot.img and dtbo.img anyway) and follow the Omni instructions!
Feature Documentation:
Here´s a brief documentation about some of the features included in the kernel that can be changed as the user desires.
They can be accessed via either terminal, scripts or for example EXKM manager ( tools -> user settings).
CPU-Frequency Limiting
Another option is CPU-Freq Limiting. You can now limit the CPU frequency to a few different levels with a sysfs interface. Original implementation is from @tbalden, I only changed it to be accessible via traditional root methods.
Main Switch:
sys/module/cpufreq/parameters/batterysaver
Set this option to "1" to enable the feature
Max-Frequency Selection (Input boosts, such as scrolling boost or app launching boosts will still apply, if touch boost restriction is not set to 1)
sys/module/cpufreq/parameters/batterysaver_level
Set this to "1" to restrict the max CPU-Freqs to 1,7GHZ/2,1GHZ/2,49GHZ (Little Cluster/Big Cluster/Prime Core)
Set this to "2" to restrict the max CPU-Freqs to 1,6GHZ/1,7GHZ/2,0GHZ (Little Cluster/Big Cluster/Prime Core)
Set this to "3" to restrict the max CPU-Freqs to 1,49GHZ/1,4GHZ/1,6GHZ (Little Cluster/Big Cluster/Prime Core)
Touch-Boost Restriction
sys/module/cpufreq/parameters/batterysaver_touch limiting
Set this to "1" to restrict the powerhal from boosting over the limit defined in batterysaver_level
Set this to "0" to allow the powerhal to boost above the values defined in batterysaver_level, but only during interaction with the Phone!
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is for example very useful during gaming to prevent additional heat, if not the highest performance from the CPU is required. Check if the game is running fine on level 1 or 2, and you´ll notice much less heat. Powerdraw will be reduced as well.
Another very useful trick while doing video calls or long extended navigation sessions with google maps to preserve battery or keep the phone from heating. Especially during summer if the ambient temperatures are high.
This is a very easy way to preserve battery or reduce heat without toggling the battery save mode in settings as that restricts background data usage, which can lead to delayed notifications.
Hey everybody,
I was a bit busy. Regarding new firmware update:
all changes from the 30.41.69.66 were already present in my kernel by merging CAF-Upstream.
So just flash away on the new firmware, link is here:
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS670KS/UL-I002D-WW-30.41.69.66-user.zip
Freak07 said:
Hey everybody,
I was a bit busy. Regarding new firmware update:
all changes from the 30.41.69.66 were already present in my kernel by merging CAF-Upstream.
So just flash away on the new firmware, link is here:
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS670KS/UL-I002D-WW-30.41.69.66-user.zip
Click to expand...
Click to collapse
Hi,
I'm considering to get a zenfone 7 Pro but I would like to know do your kernel support permissive mode with fully /system write?
TheEndHK said:
你好,
我正在考慮購買 zenfone 7 Pro,但我想知道您的內核是否支持完全 /system 寫入的許可模式?
Click to expand...
Click to collapse
no
TheEndHK said:
Hi,
I'm considering to get a zenfone 7 Pro but I would like to know do your kernel support permissive mode with fully /system write?
Click to expand...
Click to collapse
That's not related to the kernel any longer.
Permissive selinux can be set via terminal or a script.
Read/write is difficult on devices with dynamic partitions. Magisk modules are the easiest solution for this. They allow to systemlessly replace files during bootup.
However there are solutions like this:
[Closed] Universal SystemRW / SuperRW feat. MakeRW / ro2rw (read-only-2-read/write super partition converter)
Welcome to the one and only, the original, universal, System-RW / Super-RW feat. Make-RW / ro2rw (read-only-2-read/write super partition converter) by lebigmac Also known as: THE-REAL-RW, FULL-RW, EXT4-RW, EROFS-RW, EROFS-2-RW, F2FS-RW...
forum.xda-developers.com
I'd be very cautious of stuff like this, it has the potential to mess up the device completely, so it can be only restored by wiping everything including all data on the device.
Any new updates? On the actual 78 firmware, the cores don't reduce the frequences on my phone.
Thank you
Double post

Categories

Resources