FORUMS
Remove All Ads from XDA

[KERNEL] [PIE] Twisted Kernel V5.5 [Dipper] [4.9.177] [19/05/2019]

287 posts
Thanks Meter: 601
 
By Twisted Prime, Senior Member on 24th February 2019, 12:06 PM
Post Reply Email Thread
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.177
- Upstreamed to CAF LA.UM.7.3.r1-07400-sdm845.0
- Spectrum and FK profiles
- Compiled using Clang 9.0.3
- Flash and forget

User features:
All these features can be used via EXKM app
- Vibration Control
- KCAL
- Klapse
- Sound Control
- Minimum Brightness Control
- High Brightness Mode Support
- MAC Randomization
- USB Fast Charge
- Boeffla Wakelock Blocker

CPU features:
- CPU Governors: Schedutil, Pixutil
- Dynamic Stune Boost tuned for smoother scrolling
- 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
- Improved GPU rendering

File system related features:
- NTFS, exFAT, sdFAT and F2FS file systems supported
- IO Schedulers: CFQ, BFQ, ZEN, Maple, SIO, FIOPS, NOOP, Anxiety, Deadline
- F2FS updated from Pixel 3
- RapidGC for better F2FS performance
- Host Performance Booster for better UFS performance
- F-sync toggle
- CRC disabled for better storage performance

Network features:
- TCP algorithms: Westwood, Reno, BBR, Cubic
- Westwood set as default TCP algorithm
- Wireguard VPN Support

Under the hood features:
- Safetynet Flags Removed
- Pixel 3 Energy Model
- Disabled IO Stats for less overhead
- Audit disabled for less overhead
- Faster app openings
- Disabled Gentle Fair Sleepers for a smoother UI
- Useless Drivers And Logging disabled for a lighter kernel


Requirements:
Magisk to run this kernel smoothly
SELinux permissive for Spectrum and FK profiles


Installation:
1.) Download the Kernel from second post
2.) Have Magisk and stock kernel installed
3.) Flash the kernel in recovery


Hit thanks to support my work

XDA:DevDB Information
Twisted Kernel, Kernel for the Xiaomi Poco F1

Telegram https://t.me/twistedkernel

Contributors
Twisted Prime
milouk for build fixes and scripts
blackened mod team for scripts
bgcngm, abhishek987 for maintaining LOS kernel
Akhil Narang for the latest touch drivers
nathanchance for maintaining linux stable repo
osm0sis for anykernel
SultanXDA
kdrag0n, tytydraco
flar2
Raphielscape, argraur
frap129
fransiscofranco
Lord boeffla
Everyone whom I cherry-picked from
Source Code: https://github.com/TwistedKernel/Twisted-845

Version Information
Status: Stable
Current Stable Version: V5.5

Created 2019-02-21
Last Updated 2019-05-19
The Following 25 Users Say Thank You to Twisted Prime For This Useful Post: [ View ] Gift Twisted Prime Ad-Free
 
 
24th February 2019, 12:08 PM |#2  
Twisted Prime's Avatar
OP Senior Member
Flag London
Thanks Meter: 601
 
Donate to Me
More
Downloads:
V5.5 2019-05-19
TwistedKernel

Changelog:
- Linux 4.9.177
- F2FS improvements @arter97
- Switched to Simple LMK @Kerneltoast
- IOMMU driver rewritten for better performance @Kerneltoast
- Removed Simple MSM Thermal driver due to instability. Uninstall the thermal fix from magisk.

TK Power Saver
TKPowerSaverV2.0 - Compatible with Twisted Kernel V4.1 and up
Note: This module sets SELinux to permissive to work
Old versions
V5.4 2019-05-14
TwistedKernel

Simple Thermal Fix required for V5.4

Changelog:
- Linux 4.9.175
- Simple MSM thermal driver
- Removed unnecessary GPU governors
- Enabled VDSO
- LOS upstream
Please download and flash the Simple Thermal Fix magisk module to run this kernel smoothly

V5.3 2019-05-02
TwistedKernelV5.3_Mi8

Changelog:
- Linux 4.9.172
- Added MAC randomization
- Compiler warning fixes
- Compiled with clang 9.0.3
twistedconfig.sh updated:
- Added a separate option for call vibration strength
- Added the option to enable MAC randomization
- Delete twistedconfig.sh and reboot after updating to get the new options.

Clean flash recommended

V5.2 2019-04-27
TwistedKernelV5.2_Mi8

Changelog:
- CAF tag LA.UM.7.3.r1-07400-sdm845.0 merged
- Linux 4.9.171 upstream
- Added a configurable boot script in internal storage /TKManager/twistedconfig.sh. Here you can change kernel settings with any text editor and reboot to apply them.

V5.1 2019-04-18
TwistedKernelV5.1_Mi8

Changelog:
- Linux 4.9.169
- Compiler optimizations

V5.0 2019-04-14
TwistedKernelV5.0_Mi8

Changelog:
- Switched to urandom RNG driver
- Switched to square root algorithm from Linux 5.0
- F2FS improvements
- Improved RAM management
- Disabled unused drivers
- Switched to DragonTC compiler

V4.9 2019-04-06
TwistedKernelV4.9_Mi8

Changelog:
- Linux 4.9.168

V4.8 2019-04-03
TwistedKernelV4.8_Mi8

Changelog:
- Linux 4.9.167
- Updated Klapse
- Removed frandom
- Reverted to stock square root algorithm
- Scheduler improvements

V4.7 2019-03-24
TwistedKernelV4.7_Mi8

Changelog:
- Linux 4.9.166
- Fixed USB tethering

V4.6 2019-03-24
TwistedKernelV4.6_Mi8
Changelog:
- Linux 4.9.165
- Updated anxiety IO scheduler
- Updated ION from android Q
- LOS upstream

V4.5 2019-03-19
TwistedKernelV4.5_Mi8
Changelog:
- Linux 4.9.164
- Lowered boost values to save battery

V4.4 2019-03-14
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


V4.3 2019-03-09
TwistedKernelV4.3
Changelog:
- Linux 4.9.162
- F2FS improvements
- Battery improvements
- Wireguard support
The Following 11 Users Say Thank You to Twisted Prime For This Useful Post: [ View ] Gift Twisted Prime Ad-Free
24th February 2019, 12:15 PM |#3  
Twisted Prime's Avatar
OP Senior Member
Flag London
Thanks Meter: 601
 
Donate to Me
More
Notes:

Applying custom settings

To apply custom settings on boot with a kernel manager, set the boot delay to 45 seconds.

TK Power Saver

TK Power Saver is a magisk module I created that automatically adjusts kernel settings based on the remaining battery percentage to reduce power consumption when battery is low.
This module is optional and should not be used if you want to tweak the kernel yourself or use spectrum profiles as this will automatically override kernel settings.


TK power saver profiles:

When charging:
- Dynamic stune boost disabled
- IOwait boost disabled
- Big cluster max 2.1 GHz

100 - 80%
- Dynamic stune boost 15
- Foreground boost 5
- Top app boost 20
- IOwait boost enabled
- Big cluster max 2.8GHz

79 - 61%
- Dynamic stune boost 12
- Foreground boost 5
- Top app boost 20
- IOwait boost enabled
- Big cluster max 2.8GHz

60 - 41%
- Dynamic stune boost 10
- Foreground boost 5
- Top app boost 15
- IOwait boost enabled
- Big cluster max 2.8GHz

40 - 31%
- Dynamic stune boost 7
- Foreground boost 3
- Top app boost 5
- IOwait boost disabled
- Big cluster max 2.8GHz

30 - 16%
- Dynamic stune boost disabled
- IOwait boost disabled
- Big cluster max 2.3GHz

15 - 1%
- Dynamic stune boost disabled
- IOwait boost disabled
- Big cluster max 2.1GHz


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/d...ap129.spectrum


USB Fastcharge

This feature increases the maximum charging current from a PC to 900 mA from the default value of 500 mA.
The Following 5 Users Say Thank You to Twisted Prime For This Useful Post: [ View ] Gift Twisted Prime Ad-Free
24th February 2019, 12:59 PM |#4  
nfsmw_gr's Avatar
Senior Member
Flag Salamina,Greece
Thanks Meter: 1,809
 
More
Ho ho, you actually made a thread.
Very nice man, welcome!
The Following 2 Users Say Thank You to nfsmw_gr For This Useful Post: [ View ] Gift nfsmw_gr Ad-Free
24th February 2019, 01:31 PM |#5  
Senior Member
Thanks Meter: 814
 
More
Thanks and welcome
25th February 2019, 02:10 AM |#6  
Junior Member
Thanks Meter: 0
 
More
sir my touchscreen not working,but in twrp my touchscreen working,,,sorry bad my english,,,,
and thanks for support
25th February 2019, 02:28 PM |#7  
Twisted Prime's Avatar
OP Senior Member
Flag London
Thanks Meter: 601
 
Donate to Me
More
Quote:
Originally Posted by xgurame

sir my touchscreen not working,but in twrp my touchscreen working,,,sorry bad my english,,,,
and thanks for support

Hi, please try this build and tell me if it works.
http://bit.ly/2tGk0Nf
25th February 2019, 04:40 PM |#8  
jigs4wkiller's Avatar
Senior Member
Flag Stuttgart
Thanks Meter: 850
 
Donate to Me
More
Works great with Havoc
27th February 2019, 07:39 AM |#9  
Senior Member
Thanks Meter: 74
 
More
Welcome and thanks for your hard work
Im using your kernel now on pe experience rom with pixutil gov and faced zero bugs so far

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
27th February 2019, 08:49 PM |#10  
Twisted Prime's Avatar
OP Senior Member
Flag London
Thanks Meter: 601
 
Donate to Me
More
Quote:
Originally Posted by darkwader18701

Welcome and thanks for your hard work
Im using your kernel now on pe experience rom with pixutil gov and faced zero bugs so far

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

This kernel is already tweaked for balanced battery and performance. For more battery lower dynamic stune boost values.
27th February 2019, 08:52 PM |#11  
Senior Member
Thanks Meter: 74
 
More
Quote:
Originally Posted by Twisted Prime

This kernel is already tweaked for balanced battery and performance. For more battery lower dynamic stune boost values.

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
Post Reply Subscribe to Thread

Tags
dipper, kernel, mi8, twisted

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes