[Shared] [Kernel] Tsing Kernel [A10 MIUI12] [Nethunter Project] [4.9.238] - Xiaomi Mi 8 Guides, News, & Discussion

Dipper Not Yet Dead!!!​This is not my work! I Just Sharing in Xda. All Credits goes to Chinese Dev "TsinPeng" (github)
Tested on Miui 12 Latest Eu rom!
Fast charge working!
Auto brightness working well!
Network traffic working!
Tested Rt3070, ath9k 9271, rt5572, rtl8812AU
All Others Check on Github!
New Update v2.2 (24.10.20)
## Tsing Kernel V2.2 Update log:
- Upstream to Linux 4.9.240
- Switch WALT to PELT EAS load tracking, more energy saving under the same task load
- Optimize Selinux to improve security
- Some drm optimization changes from 4.14 backport
- Some mm optimization changes from 5.4 backport
- Turn off more debugfs
- Remove some Cpu Input Boost trigger mechanism
- Add Afsync, switch Fsync intelligently according to the process to ensure data security
- Fix memory leak
- Support Nethunter full function
- Enable NTFS file system support
Support Nethunter Function
WIFI Injection IEEE80211 and support 2.4GHZ & 5GHZ
Support otg MTKMT7601U rt28xx/307x ar9170 rtl8187/8 ZD1201USB.....
Support rtl88xxau
HID attack and support DuckyHID
DriveDroid support
SYSVIPC (now you can run postgresql normally)
USB RNDIS
USB RTL8150/2/3 based ethernet device support
RFcomm tty support
USB/UART bluetooth device
RTL-SDR, AirSpy, Hackrf
USB serial (now it supports ch340 and pl2303)
Wireless extension compatible (now you can use iwconfig and set monitor mode)
Enable Qualcomm WiFi monitor mode, now you can set your network card "wlan0" to monitor mode(No injection support)
Release kernel Characteristic
Upstream latest Linux version (4.9.238)
Merge CAF tag 'LA.UM.8.3.r1-08100-sdm845.0'
Compiled with Clang 12 + LLD + Polly
Vibration Control
KCAL (Colour control)
Sound Control
Minimum Brightness Control
Klapse5.0
CPU Governors: Schedutil
Schedutil updated with patches from newer Linux versions
Using PELT scheduler mechanism
CPU idle improvements by kerneltoast
CPU input boost
NTFS and F2FS file systems supported
f2fs Rapid GC
BBR set as default TCP algorithm
TTL
Wireguard support
VDSO for better performance in 32 bit apps
Unused Drivers And Logging removed for a smaller image
GPU minimum frequency reduced to 180Mhz
GPU maximum frequency overclocked to 810Mhz
Increase Adreno boost, closed by default
SchedTune and CPUSet
Dynamic Stune Boost
Charge_Boost
boeffla_wakelock_blocker v1.1.0
Use lz4 as the default ZRAM memory compression algorithm
Kernel Source And Download Links.
[url]https://github.com/TsingPeng03/Tsing-845[/URL]
Latest Kernel V2.2
https://drive.google.com/file/d/1J1JQgISCyXnVkNjA0eGrtjeNjw8VXqqa/view?usp=drivesdk

Thank you very much I will try miui EU

Sounds promising. Thank you both.

i can only see the source code in the link provide
there is nothing in the release section

file not available

Removed

@flxas Telegram links aren't permitted as per the Telegram/WhatsApp guidelines. You can always download the file and upload it somewhere it can be downloaded without making people join a third party app just to download.
Regards,
shadowstep
Forum Moderator

New Update 24.10.20
Download Link in Op.
## Tsing Kernel V2.2 Update log:
- Upstream to Linux 4.9.240
- Switch WALT to PELT EAS load tracking, more energy saving under the same task load
- Optimize Selinux to improve security
- Some drm optimization changes from 4.14 backport
- Some mm optimization changes from 5.4 backport
- Turn off more debugfs
- Remove some Cpu Input Boost trigger mechanism
- Add Afsync, switch Fsync intelligently according to the process to ensure data security
- Fix memory leak
- Support Nethunter full function
- Enable NTFS file system support

Related

[Kernel] Devil2-2.3.2 [4.3/4.4] - Linaro 4.8.3 - Dualboot - 02/01

This Kernel is based off the sources of AndreiLux Perseus Kernel (alpha35).
If you consider to thank me, please also consider to thank him http://forum.xda-developers.com/showthread.php?t=1927852
This kernel only supports roms of android version 4.3 (sammy and aosp) and above!
if you were using this kernel on aosp based roms, and want to use another kernel, you need to reflash the rom, of course without any wipe, it's just to restore modified files
Features (changes compared to Perseus):
- merges samsung open source update12
- dual sound engine
- compiled with linaro gcc 4.8.3
- updated Linux Kernel base to 3.0.101
-zram, zsmalloc and lowmemorykiller updated from 3.9
- DevilQ cpu governor (default)
- block updated from Linux 3.3 (better i/o performance)
- row i/o scheduler updated from Linux 3.4
- fiops v2 i/o scheduler
- working for Aosp and Sammy at once (Big thx to Gokhanmoral for making this possible)
- Portet Ezekeel's Touchwake Feature (from nexus s)
- Oc up to 1.8 Ghz
- Backport from Linux 3.5 smp driver parts
- Wifi driver updated from note3
- backported zswap from linux 3.13 (this replaces zram now)
- backported cpu-boost driver
- possibility to set high/low power mode for wifi when screen is off
- LulzactiveQ cpu governor (from siyahkernel, thx again to Gokhanmoral)
- Hotplug Cpu Governor
- Proportional Rate Reduction for TCP
http://kernelnewbies.org/Linux_3.2#head-1c3e71416a9fdc2f59c1c251a97963f165302b6e
- improve memcopy/memmove
- Using Voodoo Sound and Boeffla Sound
- LED Control by yank555-lu
- ExFat support (thx to samsung for opensourcing the driver)
if your rom is based off PAC, Bam, Fusion, ... :
IMPORTANT: As per notice of 01.11.2013, my CM10.2 kernels do NOT support proprietary Custom Rom frameworks anymore. So if your Custom Rom did not implement the generic framework class framework-2.jar but his own naming convention, you will receive a boot loop. Do not cry about this here but advise your Custom rom cooker to fix this. I will not change this ever again.
The most prominent custom kernels for CM will follow the same approach (aligned between Yank555, Googy, LordBoeffla, Psndna, Temasek and me).
So please do pass this message along to your favorite ROM devs.
If they don't fix their rom, it won't be compatible with custom kernels any more!​
Kernel app http://forum.xda-developers.com/showthread.php?p=41346443#post41346443
How to post bugs:
http://forum.xda-developers.com/showthread.php?t=1520508
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Dualboot Faq:
For more detailed instructions, please take a look at this thread from RichMd (thank you for it):
Dualboot Faq thread
Important: if you want to use this kernel for dualboot, i highly recommend flashing my recovery as well.
General information about the recovery:
dualboot menu.
in this menu you can:
* create the secondary system partition (needed to be run once, if you want to install a second rom)
Install-zip menu:
you'll notice there is a new menu, where to select what you want to flash.
if you select kernel, rom or recovery, the zip gets installed as it is.
if you select zipt to pri./sec. filesystem, it is selfexplanary
if you select rom to secondary fs, the zip gets modified to install to the sec. fs. IF YOU WANT TO INSTALL IT TO PRIMARY FS LATER SOME TIME, YOU NEED TO REDOWNLOAD THE FILE!
if you select rom to primary filesystem, it gets installed there, and you can use the same zip later again.
How to install a second rom:
make sure you have already created ssecondary system partition! if not, go to dualboot menu and create it now (this may take some minutes)
The savest way is the way by using nandroids: if you don't have a nandroid already, create one now. Then just select your backup, and restore it to secondary filesystem.
you now should already be able to boot into primary or secondary rom (which are both the same now).
now you can install any other rom as primary.
if you want to install a new rom directly as secondary,
make sure there are no spaces in the filename!,
then just go to install zip. you'll notice there's a new menu at some point.
in this menu you can select where you want to install, and what type of file it is.
if you choose rom to sec. fs, your zip files itself gets modified to be installed to secondary fs. this may take a minute, because the files needs to get zipped again. Imporant: this file is permanently modified. if you think you need it later again, you should redownload it, because the modified one would always install as secondary.
installing a rom as primary, a zip to primary or zip to secondary fs, does not modify the zip.
Additional information:
roms coming with an aroma installer are hard to handle, as every dev can place own commands into it. It's impossible for me, to take care of every possibility. Because of this, it should be the best method, to flash a rom with aroma installer as primary one (and then move it to secondary, by using the nandroid method, if you want it to be secondary).
Click to expand...
Click to collapse
Many Thanks to:
- RichMD (I wouldn't have this device without him)
- Gokhanmoral
- Andreilux
- DAGr8
- simone201
- ptmr3
- Stratosk
- RolluS
- kasper_h
- all the others mentioned in the changelogs
N7100 users please use the N7100 kernel
N7105, At&T + Tmo users please use the t0lte Kernel
Changelog:
02.01.2014:
+ merged mk9 source drop
+ fixed usb connection
+ fixed execution of some init.d scripts
+ changed calculation of next freq in pegasusq (based off a commit by stratosk to ondemand governor, which giot merged into linux 3.11)
+ fixed gyroscope sensor again
+ reverted Sec Oom Killer (maybe causeing some random reboots)
+ switched to latest linaro toolchain (4.8.3 of 12/2013)
26.12.2013:
+ fixed video recording on aosp roms
25.12.2013:
+ cleanly merged update13 (thx to yank555-lu), my previous merge was messed up
+ addded async fsync by htc (ported by faux123)
+ fixed sensors again
24.12.2013:
+ merged samsung update13
+ switched back to O2 compiling mode (smaller kernel image, maybe better stability)
+ hardware keys backlight options working for samsung roms as well now
+ re-added oc up to 2 ghz (for those whos device can handle this, mostly added for note2)
+ re-added devil kernel boot logo
+ updated adbd binary to get rid of countless errors in logcat
+ reverted some config changes which may have introduced gpu crashes
12.12.2013:
+ samsung 4.3 roms: added new additional mountpoint for external sdcard ( /extSdCard)
+ aosp 4.4.x roms: export path of external storage, needed by some apis
+ merged samsung update for note2 (contains fixes for memory management, mali driver, lowmem killer option SEC_OOM_KILLER, new modem driver, ...)
+ backported cpu boost driver
Code:
When certain bursty and important events take place, it might take a while
for the current cpufreq governor to notice the new load and react to it.
That would result in poor user experience. To alleviate this, the cpu-boost
driver boosts the frequency of a CPU for a short duration to maintain good
user experience while the governor catches up.
Specifically, this commit deals with ensuring that when "important" tasks
migrate from a fast CPU to a slow CPU, the frequency of the slow CPU is
boosted to be at least as high as the fast CPU for a short duration.
Since this driver enforces the boost by hooking into standard cpufreq
ADJUST notifiers, it has several advantages:
- More portable across kernel versions where the cpufreq internals might
have been rewritten.
- Governor agnostic and hence works with multiple governors like
conservative, ondemand, interactive, etc.
- Does not affect the sampling period/logic of existing governors.
- Can have the boost period adjusted independent of governor sampling
period.
+ improve swap per google's suggestion
+ enabled SEC_OOM_KILLER:
Code:
This enables 'Android-Style oom-killer'
The way to select victim by oom-killer provided by
linux kernel is totally different from android policy.
Hence, it makes more sense that we select the oom victim
as android does when LMK is invoked.
+ switched to zswap (backported from linux 3.13) + vnswap instead of zram
03.12.2013:
+ gpu control: voltages are applied as deltas internally (no noticable change for users, this just was needed for the second change below)
+ gpu control: if gpu freq. gets changed by user, only reset its matching voltage, all other voltages stay untouched.
+ reverted adb binary to the one from samsung's 4.3 release (seems to be the most compatible and should fix some mtp issues)
+ disabled: swap, zram, zcache, cleancache and frontswap to see if this fixes lags for some users
30.11.2013 part2:
+ fixed boot for omni rom again
29.11.2013 part2:
+ fixed apllying of custom gpu voltage
+ removed intellyplug driver (wasn't working properly, consumed much battery, made boot up take longer and it was unstable)
29.11.2013:
+ added support for omni rom (primary or secondary)
+ fixed: secondary rom no longer stuck at max freq.
+ n7100: fixed gps
+ gpu control: automatically set voltages according to changend freq (ported from yank555-lu), you can apply your own voltages after you have changed all freq (changing a freq, causes the voltages to be reset again)
recovery: bug fixes, to be sure never to wipe/backup/restore the wrong filesystem
24.11.2013:
+ partial updated mali driver from SEA update 1 (this also fixes a typo in original implementation)
+ properly applied dualsound engine support, boeffla and scoobidoo (unlike other devs, this implementation only allows one sound mod to be active at a time. if you switch on boeffla (in boeffla app for example), scoobidoo gets disabled automatically. if you turn on scoobydoo in deviltools (new option), boeffla gets disabled automatically)
+ fixed hardware keys backlight settings and added more options to Deviltools
+ small mdnie related corrections
+ added gpu control, needs to be set manually for now.
+ ARM: SMP: use a timing out completion for cpu hotplug
+ init.d support for sammy 4.3
+ dualboot support for all supported roms (i couldnt try this. be careful!)
21.11.2013
kernel:
+ merged samsung update12
+ updated wifi driver from note3
recovery:
+ fixed installing zips
+ added support for android 4.4
24.10.2013
+ backport interacctive governor from googles linux 3.4 kernel source + enabled it
+ updated zzmove cpu governor
+ cpufreq: Save and restore min and max frequencies.
+ cpufreq: Save user policy min/max instead of policy min/max during hotplug
+ cpufreq: Only apply driver limits for scaling_min/max_freq writes
+ linux 3.0.101 (last update)
22.10.2013
+ revert: zram: use zram->lock to protect zram_free_page() in swap free notify path
+ added support for latest cm nightlies
+ some cleanup by removing non used code
20.10.2013
+ linux 3.0.100
+ added support for pac rom
+ reverted some autohotplug related commits which aren't useful if there are only governors with own hotplug logic
+ reverted cpu oc from 2000 to 1800 (stability testing in connection to undervolting)
+ zram: use zram->lock to protect zram_free_page() in swap free notify path (thx to stsdema28 for suggeting this patch)
+ some patches to improve general swap performance (especially zram)
+ minor update to block kernel subsystem (io schedulers)
03.10.2013
+ linux 3.0.98
+ fixed zram kernel crashes
+ fixed triangle away (thx ckh469)
+ memcopy improvement (also thx to ckh469)
30.09.2013
+ linux 3.0.97
+ added additional sysfs for controling vibration on 4.2.2 roms by using device settings or devil tools
+ zram: re-added code for using multiple cores for (de)compression, which should be significantly faster now
+ zram: upstreamed to linux 3.12
+ zcache: fix booting by syncing code with faux123
+ re-enabled cleancache
+ block/io-schedulers: big update to row and cfq scheduler from linux 3.4 (thx to andreilux for squashing the commits)
+ fixed adb root options after data wipe
+ added options to turn of hardwarekeys backlight on screen touch, thx to yank555-lu (for now, this isn't added to deviltools, please see below for the sysfs path/command)
this doesn't affect samsung roms!
* /sys/class/sec/sec_touchkey/touch_led_handling (rw)
*
* 0 - handled by ROM (newer CM10.2, default)
* 1 - handled by kernel (older CM10.2)
*
* /sys/class/sec/sec_touchkey/touch_led_on_screen_touch (rw)
*
* 0 - hardware keys backlight only lights up if h/w keys are used
* 1 - hardware keys backlight lights up if h/w keys are used or screen is touched (default)
Click to expand...
Click to collapse
18.08.2013
- added exfat support
- support for android 3.4 (only primary rom or single boot)
- linux 3.0.91
10.08.2013
- fixed sysfs of led control to be readable/writable by deviltools
- re fixed mtp/ums and adb root
09.08.2013
- backported zram_for_android from linux 3.4 (i9500) and enabled it again
- updated zram to latest official version (linux 3.11
- updated android binder driver
- added led control by yank555-lu
05.08.2013
- linux 3.0.89
- disabled uksm (cam failure on i9300)
- updated/backported zsmalloc, zram and lowmemorykiller from 3.9 (disabled zcache and zram_for_android because of this)
- fixed a bug in ashem driver, caused by samsung, which could lead to deadlocks
- mmc: fix the workqueue overload battery waste (thx to aagit)
- fixed adb root
- fixed mtp/ums issues after wipe
31.07.2013
- updated to linux 3.0.88
- added andreilux's abb control
- updated and activated zram (thx to yank555), zcache, cleancache and frontswap (most probably not very important on note2)
- enabled uksm by default (http://www.phoronix.com/scan.php?page=news_item&px=MTEzMTI)
- added experimental support for android 4.3 (only i9300 for now)
- reduced wifi wakelocks a little bit more
25.0.7.2013
- cpufreq: zzmoove governor 0.6 (thx to zanezam)
- include most of touchwake 1.1 changes. thanks to yank555-lu
- bcmdhd: update back to version used by andreilux. …
big thx to xda forum member gondsman: http://forum.xda-developers.com/member.php?u=3740419 (this should drastically reduce wifi wakelocks)
24.07.2013
- reverted compiler option "optimze_for_size" to fix cam on aosp roms
23.07.2013
reverted wifi driver to cm version, to fix wifi tethering, additional disabled multicast in suspend for power savings
22.07.2013
- linux 3.0.86
- disable touchwake during call
- se linux support
- wifi driver from andreilux sammy kernel (should reduce wakelocks)
27.06.2013
- linux 3.0.83
- fixed mounting of internal sdcard on secondary 4.2.2 aosp roms
- reverted JRcu
- dyn fsync updates from faux123
- two upstream fixes to row i/o scheduler
- added latest cm changes (UMS: f_mass_storage: Added cdrom option to UMS-lun-devices, Samsung i9300 Update 10)
12.06.2013
- linux 3.0.81
- fixed internal storage on 4.2.2 secondary roms
- reverted cpufreq driver back to "default", to try fixing being stuck at max. freq for some users
06.06.2013
- merged update9 changes from cm team
- wifi changes which hopefully reduce wakeup time
- built nfs as module (was built-in before)
29.05.2013
- update to linux 3.0.80
- reverted a commit from 3.0.79 which caused the cpu to be stuck at max. freq
- fix touchwake/proximity sensor for i9300
- cpufreq: fix handling of offline cpus
- dynamic fsync: fixes from faux123, to prevent data loss, in case of kernel panic/unexpected shutdown
- CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug (from francisco franco)
- freezer: allow tasks to be frozen faster (1ms if possible, instead of 10 ms)
- freezer: skip waking up tasks with PF_FREEZER_SKIP set, to make suspend/resume more efficient
- t0ltecdma: fixed sprint compatibility
15.05.2013
important: please uncheck in deviltools to apply settings on boot! gpu voltage changes would cause the device to freeze on startup!
- reverted gpu voltage to be displayed as before (this fixes incompatibility with trickstermod or other apps)
- DevilQ: turn/keep second core online on screen touch
- add PM_SUSPEND_FREEZE powerr state (if used, it does save little less power, but PM_SUSPEND_FREEZE has less resume latency
•Erik Gilling - sync: don't log wait timeouts when timeout = 0
•Ørjan Eide - sync: Fix race condition between merge and signal
•Erik Gilling - sync: add Documentation/sync.txt
•Erik Gilling - sync: add tracepoint support
•Erik Gilling - sync: refactor sync debug printing
•Erik Gilling - sync: use proper barriers when waiting indefinitely
•Erik Gilling - sync: update new fence status with sync_fence_signal_pt
•Erik Gilling - sync: protect unlocked access to fence status
•Erik Gilling - sync: dump sync state of fence errors
•Erik Gilling - sync: improve timeout dumps
•Erik Gilling - sync: use correct signed type when handling SYNC_IOC_WAIT
•Erik Gilling - sync: dump sync state to console on timeout
•Erik Gilling - sync: clean up compiler warnings
•Erik Gilling - sync: fix erase-o in sync_fence_wait
•Erik Gilling - sync: change wait timeout to mirror poll semantics
•Rebecca Schultz Zavin - sync: Fix error paths
•Erik Gilling - sync: add reference counting to timelines
•Erik Gilling - sync: add internal refcounting to fences
•Erik Gilling - sync: optimize fence merges
•Erik Gilling - sync: reorder sync_fence_release
•Erik Gilling - sync: export sync API symbols
•Erik Gilling - sync: allow async waits to be canceled
- ext4: prevent kernel panic in case of uninitialized jinode
- mutex: dynamically disable mutex spinning at high load Date Thu, 4 Ap… … (faux123)
- mutex: restrict mutex spinning to only one task per mutex … (Waiman Long)
- mutex: Make more scalable by doing less atomic operations … (Waiman Long)
- hrtimer: Prevent enqueue of hrtimer on dead CPU When switching the hr… … (franciscofranco)
- hrtimer: Consider preemption when migrating hrtimer cpu_bases When sw… … (franciscofranco)
- fs/buffer.c: remove redundant initialization in alloc_page_buffers() … … (clouds-yan)
- time: cast ->raw_interval to u64 to avoid shift overflow We fixed a b… … (faux123)
- vmscan: comment too_many_isolated() Comment "Why it's doing so" rathe… … (Wu Fengguang)
- mm/vmscan.c: avoid possible deadlock caused by too_many_isolated() Ne… … (Wu Fengguang)
- input: evdev: Move wake_lock_destroy call … (halaszk)
- wakelock: use single threaded workqueueus … (halaszk)
12.05.2013
- linux 3.0.78
- added own cpu governor, DevilQ (based off lulzactiveq by gokhanmoral)
- improved touchwake (acting like swipe2wake now, if delay is set to 0, to prevent false wake ups)
- pegasusq: readd some of andreilux's changes
- gpu: allow oc up to 800 mhz
- added option to disable touch boost
- updated wifi driver from s4 (commit by cm team)
- disabled swap, zram and cleancache
28.04.2013
- linux 3.0.75
- fixed cam preview on note2 lte
- new tunables for pegasusq:
* early_demand: to enable this functionality (disabled by default). ( echo 1 > sys/devices/system/cpu/cpufreq/pegasusq/early_demand, to enable it. 0 disables it)
* grad_up_threshold: over this gradient of load we will increase
frequency immediately. ( echo xx > sys/devices/system/cpu/cpufreq/pegasusq/grad_up_threshold, to set value. xx has to be betwenn 11 and 100, default 50)
27.04.2013
- updated block to linux 3.3
- updated row i/o scheduler to linux 3.4
- added fiops v2 i/o schedler
25.04.2013
- readded gokhanmorals sammy/aosp mod more cleanly
- lulzactiveq: small fixes
- cpufreq_pegasusq.c: revert to stock
- Enabled AIO support
- improved aio: Asynchronous I/O latency to a solid-state disk greatly increased between the 2.6.32 and 3.0 kernels. By removing the plug from do_io_submit(), we observed a 34% improvement in the I/O latency.
- added zzmoove governor
- Andreilux:
* mdnie-control: Digital brightness control
* s6e8aa0: Allow manual brightness to 300 candela
* ARM: decompressor: Enable unaligned memory access for v6 and above
19.04.2013:
- Fixed patch: "LOAD_FREQ (4.61 s) avoids loadavg Moire (thx to Klaus Ripke)", many thx to AndreiLux for pointing and fixing this
- Added Franciscofranco's Touch Boost Control (input boost frq., when screen touched can be set with trickster mod app), including the additions from simone201, but fixed to not beeing stuck at high freq.
- removed LCDFreq scaling mechanism (using touch boost instead)
- fixed charging while device off
- applied a bluetooth patch from cm (might help with bt issues some users were reporting)
Click to expand...
Click to collapse
more to come ...
The t0lte kernel is just 116kb? Hmm, weird.
Edit: It is 7.7MB now, I guess you were still uploading it since it was showing 116kb, it's all good now, no biggie
slick4mitch said:
The t0lte kernel is just 116kb? Hmm, weird.
Click to expand...
Click to collapse
I just have downloaded it with my note, and it is 7,some mb.
Please try downloading again
Gesendet von meinem GT-N7105 mit Tapatalk 2
Aosp and Sammy at once means it's truly dual boot am I correct ?
Sent from my SGH-T889 using xda premium
diamantericos said:
Aosp and Sammy at once means it's truly dual boot am I correct ?
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
not yet
just flashed it on tmo note 2...voodoo sound app says kernel didnt support it
also..kernel version is listed as "unavailable"
diamantericos said:
Aosp and Sammy at once means it's truly dual boot am I correct ?
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
No it means universal kernel, which means possibly big options in future releases.
Sent from my SAMSUNG-SGH-I317 using Tapatalk HD
Hey how is this I think I am going to flash it but debating on a phew right now
Sent from my GT-N7105 using xda premium
Everything working nicely for N7100 version on TW rom. Is it possible to add features like swipe to wake.
jdiddy_ub said:
just flashed it on tmo note 2...voodoo sound app says kernel didnt support it
also..kernel version is listed as "unavailable"
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
Nice you thought it was time to open your own thread .... Awesome ... DerTeufel1980
Sent from my SGH-T889 using xda premium
deeznutz1977 said:
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
Nice you thought it was time to open your own thread .... Awesome ... DerTeufel1980
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
yeah i downloaded that too...i just also happened to have the official voodoo sound app so i opened that one..and it said unsupported
Working unreal on ATT beanstalk asop 4.2.2 much alohas
Sent from my GT-N7105 using Xparent Red Tapatalk 2
flashed latest 7100 kernel on MIUI V5 3.4.12, working well so far, will test throughout today and report back...
Vodoo sound app pro says module not loaded... I guess this means control of Vodoo sound is done through Trickster control app only ??
Sent from my GT-N7100 using Tapatalk 2
nice kernel .faster than perseus and stable like perseus
thanks op
Sent from my GT-N7100 using xda premium
jdiddy_ub said:
yeah i downloaded that too...i just also happened to have the official voodoo sound app so i opened that one..and it said unsupported
Click to expand...
Click to collapse
It's the voodoo implementation which is named scoobydoo_sound. You can change the name of the sysfs to voodoo_sound, if you do the following :
echo 0 > sys/devices/virtual/misc/scoobydoo_sound_control/enable
echo voodoo_sound > sys/devices/virtual/misc/scoobydoo_sound_control/enable
After that you can use voodoo app
Gesendet von meinem GT-N7105 mit Tapatalk 2
antt00 said:
Everything working nicely for N7100 version on TW rom. Is it possible to add features like swipe to wake.
Click to expand...
Click to collapse
I had added it, but it was only working by using a wakelock, which means no deep sleep. Hence I thought, touchwake is more useful, as it only sets a wakelock for the time you specify it.
Maybe I could modify it, to act like s2w, if the time is set to unlimited. I'll check this
Gesendet von meinem GT-N7105 mit Tapatalk 2
Nice job, going to have to give this one a whirl!! Have been following, lurking on the Thread that richMd started. :thumbup: dual boot
And I know this kernel, it's only going to get better & better with time
Thanx for all your hard work and time on this..
Just my 2¢®
Sent from my SAMSUNG-SGH-I317 using Xparent SkyBlue Tapatalk 2
sds fix included??
Working great on my N7100 Great work !

[KERNEL][ALL ROMS][SEP 14] Glitch for Flo/Deb - r574

These kernels are provided as-is without warranty. I'm not responsible for any problem you may encounter with your phone or tablet or if your cat suddenly dies.
Although, don't expect support even if I will eventually help because I love cats.
{
"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"
}
​
Overview & features :
"With great power comes great responsibility". Don't go crazy with overclocking, only the best devices will be able to get 2.3 GHz stable or even bootable, though heat will be your main issue.
- Based on Google AOSP 3.4.0 and LineageOS's kernel sources for MSM devices
- CPU OC up to 2.3Ghz with OV/UV support / minimum frequency down to 81 MHz (configurable)
- L2/bus speed OC up to 1.49GHz / 4.8GBPS
- GPU OC up to 627 MHz with OV/UV support
- CPU governors : Faux's intellidemand, interactive, ondemand, smartmax, intelliactive, conservative, elementalx
- I/O schedulers: noop, deadline, cfq, fiops, sio, BFQ, zen
- Kernel based intelli-thermal driver by Faux123
- Kernel based msm hotplug driver by Fluxi
- tni.andro's battery life extender support
- Magnetic on/off setting
- USB fast charge support
- USB OTG charge hack support by flar2
- FauxSound support
- LineageOS's PCC color tweaking
- Fsync switch on/off
- Touchscreen patches by Showp1984
- Touchscreen wake/sleep gestures by flar2
- Kali Pwn Pad experimental support
- Optimized algorithms and libraries
- Various performance and power saving tweaks
- NTFS, NFS and exFAT support
- F2FS support up to all-F2FS with automatic ramdisk patching at flash time (reflash if you change partition format !)
- Kexec-hardboot support for Multirom compatibility
- Full package comes with Aroma installer to set core features at flash time (L2 OC level, CPU OC, etc.)
- Pure package will restore Aroma settings backup if present, or else will offer you a balanced preset for day to day usage
- Custom Synapse support with various settings and core features tweaks
- Compiled with Linaro 6.1.3 toolchain with various optimizations
- SELinux Permissive patch (Disabled by default, can be enabled in Aroma)
- Wifi firmware overrider to fix wifi on 4.4.3 & lower or on roms using old wifi firmware (up to r226 - Kitkat only)
CHANGELOGS IN #2 POST
You can tweak multiple options of this kernel with TricksterMod, FauxClock, Kernel Adiutor, Synapse(r500 and up, definitely recommended to get the most available options) or similar apps. (They are all available on the PlayStore)
Note to MultiROM users : don't use the kernel sharing feature. Flash the kernel on each rom instead. Also, it may take more time booting on secondary roms when using F2FS. Don't worry and wait for a bit ​
Downloads (all kernels are compatible with both flo and deb)
Grab your build from here :
Glitch kernel r574 download - For AOSP 6.0.1/7.x.x and LineageOS 14.1​
Mirror + older builds : Mediafire​
FAQ :
What are the differences between "Full" and "Pure" builds ?
The "Full" builds are using Aroma Installer so you can tweak various options at flash time. At the end of the process, a file containing your settings will be created (/sdcard/glitch-settings.conf). The "full" builds are also able to restore your settings from Aroma after a rom flash or wipe for example.
On the other hand, "Pure" builds aren't coming with Aroma and will try to restore your settings from your SDcard, or use a default profile if none is found. Both Full and Pure builds are coming with a custom Synapse support to let you tweak all the core options on the fly once booted.
If you flash a "Pure" build without a profile, the default preset will be applied. It's been tweaked for a good balance between performance, power consumption, stability and functionality for day to day usage. The default settings applied are as follow :
- 1.7GHz max CPU freq (from 1.5GHz stock) / 1GHz max CPU freq when the screen is off / "Balanced" L2 OC
- msm_hotplug driver in place of msm_mpdecision
- 450MHz max GPU freq (inline with other Snapdragon 600 devices - from 400MHz stock)
- Safe CPU and GPU undervolting for lower heat and power consumption
- Deadline I/O sched / Interactive CPU governor
- Doubletap to wake and fastcharge enabled (Doubletap to wake will slowly drain power during suspend, so disable it if not used)
- Everything else is kept stock
What do I have to do to use F2FS on one (or more) of my partitions ?
First, BACKUP your data if needed, especially if you're planning to use F2FS on DATA partition, as changing filesystem will wipe the partition. Change partition formats as needed in your recovery. It is NOT recommended to convert system partition as F2FS as it'll be slower than EXT4 to begin with (as the partition is mostly read only) and will alter compatibility with many roms (especially CM/LineageOS based). The last thing to do is to flash any Glitch kernel with a revision number past r150. You can restore your settings from SDcard if any, the install process will detect the partitions and modify the ramdisk accordingly so you can finally boot and use your fresh FS.
What L2/cache OC setting should I use ?
This setting will overclock bus speed and RAM so it's a bit delicate to tweak, yet it can give a nice "free" global performance boost. A simple test to check for stability is to run the camera app 3 or 4 times in a row while waiting for 10 seconds between each launch. If your device freezes, it's unstable ! It's also the only setting you can't change on the fly once booted, either from Synapse or sysfs, and requiring a reflash (using Aroma or changing the value in /sdcard/glitch-settings.conf).
Let me give you some details about the available settings so you can choose wisely :
Stock (1.13GHz-4.26GBps) is the regular, out of the box, non OC setting.
Improved (1.19GHz-4.26GBps) is the same as "ElementalX" setting in Flar2's kernel.
Balanced (1.22GHz-4.66GBps) is the same as "Ultra" setting in Flar2's kernel.
Fast (1.35GHz-4.66GBps) is a nice jump over "Balanced", yet stable for most devices. A kind of sweet spot.
Extreme (1.43GHz-4.80GBps) is were most users will start to get issues. Provides a great boost if stable.
Glitchy (1.49GHz-4.80GBps) pushes your hardware to the limits. Will be unstable for most devices.​
Thanks to everyone helping me to debug and find new useful things to integrate !
Without all of you, this kernel wouldn't be !​
XDA:DevDB Information
Glitch kernel for Flo, Kernel for the Nexus 7 (2013)
Contributors
Tk-Glitch, Google, animania260, CyanogenMod, TeamDouche, flar2, Faux123, franciscofranco, Showp1984, Team-Hydra, sixstringsg, Poondog, ZeroInfinity, Fluxi, arter97, neobuddy89, alesaiko, 228aye, AndreiLux, amarullz ,followmsi, and all my community
Source Code: https://github.com/Tk-Glitch/Flo_AOSP
Kernel Special Features: CPU OC/UV 2.3 GHz, GPU OC/UV 627MHz, FauxSound, S2W/S2S/DT2W, Bus speed OC
Version Information
Status: Stable
Created 2013-09-19
Last Updated 2017-09-13
logs
Git commits for nerdz & lolcats​
Latest release's changelog with words for humans :
14/09/2017 - r574 :
- Synced with latest LineageOS 14.1;
- Updated toolchain to Linaro GCC 7.1.1-2017.08;
- Added touchscreen-calibration fix patch by parrotgeek1;
Previous changes below :
17/07/2017 - r572 :
- Synced with latest LineageOS 14.1;
11/07/2017 - r571 :
- Synced with latest LineageOS 14.1;
29/06/2017 - r570 :
- Synced with latest LineageOS 14.1;
- Updated toolchain to Linaro GCC 7.1.1-2017.05.
03/06/2017 - r566 :
- Synced with latest LineageOS 14.1;
- Changed the behaviour of the permissive/not permissive switch to either force permissive or keep rom default (instead of forcing enforcing before) to prevent issues with some implementations;
- Added a service that restarts GMS (Google Mobile Services) post boot to fix memory leak/battery drain linked to them - Curently working in permissive mode only (like init.d and some advanced Synapse settings);
- Updated toolchain to Linaro GCC 6.3.1-2017.05.
07/05/2017 - r565 :
- Synced with latest LineageOS 14.1;
- Added a simple check for the MPDecision service starting mechanism used by your rom : If it's using the same trigger as LineageOS (init.flo.power.rc), you'll be able to enable/disable the service at will after boot. If it's using a different trigger, the binary will be nuked the old way (renamed to mpdecision_bck) if you're using the in-kernel msm_hotplug driver (effectively preventing you to play with it after boot). It's not a solution that pleases me, but it will fix cases of both hotplug drivers loaded at the same time on non-LOS-based roms, and that's all that counts for now.
14/04/2017 - r564 :
- Synced with latest LineageOS 14.1;
- Corrected HZ reference in touchscreen driver.
30/03/2017 - r563 :
- Fix potential touchscreen inconsistencies on some panel revisions
- Fix gesture switch (S2S/S2W/timeout)
27/03/2017 - r561 :
- Synced with latest LineageOS 14.1;
- Backported high-resolution support for sched-clock;
- Fixed CPU detection on subsystem_restart;
- Make rpm clocks sleeping clocks;
- Pushed updates from franco kernel regarding GPU, CPU freq and video;
- Added Zen I/O scheduler (pretty nice sched to say the least);
- Enabled I/O is busy flag for msm_hotplug driver by default (boosts CPU freq during heavy I/O load -> big smoothness gains in many apps and games);
- Added compiler fixes and optimizations from alesaiko (breakfast kernel);
- Moved to latest Linaro GCC 6.3.1 compiler (as the changes above fixed high power consumption issues on GCC5+);
- Consolidated Synapse support. The path of the generated config file is now /data/synapse instead of ramdisk to keep it safe during rom upgrades and reboots. If you get a "No UCI support" message on first Synapse launch, just kill the app and relaunch it. It'll not happen again after that unless you wipe data or I'm forcing a regen in a future update.
- Fixed init.d injection not using the correct path for busybox since a few releases and updated the execution process to N standards;
- Changed the way we get rid of mpdecision to prevent the service from starting in the init process instead of renaming the binary. This enables the possibility to enable or disable mpdecision on the fly after boot, even if using msm_hotplug as default hotplug driver.
- Fixed missing options in Synapse;
- Added various smaller performance patches and optimizations as well as a few more variables to play with for nerdz and lolcats (see github commits);
- Tweaked debugging config;
12/03/2017 - r544 :
- Sync with latest LineageOS 14.1
- Disabled backlight dimmer by default - Added a note to Aroma installer about potential issues with some panel revisions
23/12/2016 - r543 :
- Sync with latest CM14.1
18/12/2016 - r542 :
- Enable RPFILTER (CM14.1 tethering fix)
05/12/2016 - r541 :
- SElinux switch now works on boot without needing root access. As a result, also removed related post-boot script hooks
- Added prebuilt config file for Synapse for faster launch and fix possible error on first launch (clear Synapse data if you get issues)
04/12/2016 - r540 :
Due to some of the changes in this build, restoring settings from sdcard backup (by flashing Pure Edition or restoring through Aroma) may lead to different settings being applied depending on what you set before. It is strongly suggested to use the Full installation at least once to update your settings or delete glitch-settings.conf on the root of your sdcard before flash to use the default preset.
- Post CM14.1 merge cleanup pass. It was definitely needed ! Including, but not limited to :
- Removed Lazyplug and Intelliplug hotplug drivers (due to conflicts leading to performance issues)
- Removed Dynamic Fsync / Added switch to disable Fsync (after corrupting ~15 installations with DynFsync, I don't feel like it's worth the slight I/O perf boost)
- Replaced Showp1984's DT2W by flar2's S2W/S2S/DT2W (the touchscreen issues I faced with it aren't reproducible anymore)
- Removed LZ4 and use XZ compression instead
- Removed WQ_POWER_EFFICIENT (couldn't see a measurable gain with it enabled)
- Removed ROW ioshed
- Rollback'd to older Intellidemand governor​- Reworked settings application and restoration system to work with CM14.1/without SuperSU and load it early during boot by init hooking (CM14.1 PCC livedisplay related race condition "fix" included). Note : MultiROM users, you may want to disable MultiROM menu if you have it enabled to further reduce the chances to trigger the issue (completely fixed it on my side). Feel free to report your findings on the matter.
- Added flar2's ElementalX governor
- Updated default profile (the one you get while flashing Pure package or using restoration option in Aroma without sdcard backup)
- Updated thermal profiles
- Updated available options in Aroma
- Updated busybox to 1.25.1 YDS and moved from /sbin to the more convenient and standard /system/xbin
- Updated Selinux switches to work with more roms (now working on CM14.1)
- Moved Synapse files from /data/synapse to /res/synapse in ramdisk
- Updated Synapse presets
- Updated Synapse settings (Aroma installer will give more gestures-related options though, at least for now)
29/11/2016 - r534 :
This kernel will only work with AOSP 7.x and latest CyanogenMod 14.1 based roms. If you get incorrect colors and slow UI, rollback to r533 CM.
- Rebased using CM14.1 tree
- Updated color controls to mimic CM's PCC implementation (Thanks @flar2)
07/11/2016 - r533 :
- Added SDCardFS support
- Fix for CVE-2016-3903
- Fix for CVE-2016-3934
- Fix for CVE-2016-7117
- Added LazyPlug switch and settings to Synapse (hotplug tab)
- Added DT2W switch to Synapse (misc tab)
- Fix GPU voltage range formatting in Synapse
- Fixes regarding power efficiency
- Contextual fixes and speedups
- Now building CM variant of the Nougat kernel too. AICP is the first N rom on this device to require a CM compatible kernel.
14/09/2016 - r530 :
- Modified rom injection/flash time mods logic to be more robust and universal. Fixes inconsistent boot or even bootlooping on hybrid F2FS roms like CyanogenMod or PureNexus THIS CHANGE MAY FORCE YOU TO REFLASH YOUR ROM TO BE ABLE TO BOOT (even on a non-hybrid rom - no wipe required)
- Fixed settings not applying after setting them through Aroma/glitch-settings.conf
- Security patch to avoid invalid access to ashmem area
- Security patch for vulnerability CVE-2016-2059
- Removed deprecated binary injection code
- Default thermal presets calibrated for better efficiency and performance (they were too aggressive in r520)
- Little naming change for the builds. Full is still "Full", but "Restore" is now "Pure". Pure edition is now fully standalone and doesn't require a previously generated profile from Full edition (but will gladly restore it as before if found during install). It can be fully tweaked through config file and/or Synapse like Full edition.
- Nougat build "Full edition" now has a Nougat themed splash screen for Aroma
- Synapse presets are now working. Make sure to press apply when Synapse comes back if you want to keep it ! (Make sure to clear Synapse data after first boot to force a regeneration !)
- Small things you won't notice
24/08/2016 - r520 :
- Rebase from latest AOSP sources
- Synapse support with many more features and personnalization available than ever before ! Aroma settings are a joke compared to what you'll have in Synapse. Don't flash UKM on top by the way, and make sure to clear Synapse data if you've flashed one of the previews. Even more to come soon.
- Updated Neobuddy89's msm_limiter driver to latest from Nexus 6
- Updated Neobuddy89's state_notifier driver to latest from Nexus 6
- Moved to Faux123's Intelli-thermal driver
- Added some memutils optimizations and more for performance
- Updated Xbox One gamepad driver
- Removed loads of dead code and buggy merges
- Switched to Linaro 4.9.4 toolchain - After weeks of testing, my tab runs cooler, stabler, and longer than with 5.x for an invisible performance difference. Worth it !
10/08/2016 - Preview r516 is available here. More options available in Synapse which is now also enabled with the "full" build, merged android-6.0.1_r0.105, and various other tweaks for speed and power savings. Full changelog here.
04/08/2016 - A preview (r513) is available here. Synapse part still needs some work. Notably, some hotplug drivers options are missing and you can't apply presets. The kernel itself should be stable enough for day to day usage.
12/07/2016 - r499 :
- Fix for glitch settings not applying if the rom doesn't use the init.trace.rc file (Dirty Unicorns is one of them)
- Sync fstab with latest cm13 (may fix usb otg on cm13 based roms in some specific configurations)
11/07/2016 - r478 r498 :
- Synced source up to android-6.0.1_r0.98 changes (latest)
- Getting ready for rebase and Synapse-compatible release
- Removed deprecated libs from r478 installer (fixes setperm errors on some custom/recent roms)
- Fixed CM compatibility
10/12/2015 - r412 :
- Merged with android-6.0.1_r0.1 changes
- PowerHAL patch to fully disable touchboost calls when Qualcomm MPdecision isn't used. This gets rid of the touchboost log spam and (small) overhead.
- Updated F2FS
- Installer scripts fixes and cleanups
- Added back CM build - untested
02/12/2015 - r410 :
- Updated base to linux 3.4.110
- Merged with android-6.0.0_r0.1 changes
- Added Neobuddy89's MSM Limiter driver, enabling max/min/suspend frequencies tweaking on the fly. No more need to reflash for that (/sys/kernel/msm_limiter/ for who's interested). Also added his state notifier driver for further tweaking.
- Removed MSM Sleeper as it's covered by MSM Limiter already
- Changed how settings are applied (moved from init.d script to service) to prevent permission denied issues (Thx Flar2). Due to changes to the way your settings are handled, it's recommended to make a full installation. Settings aren't retrocompatible with previous Glitch kernels !
- Performance and stability improvements by removing coresight from Adreno drivers and better CPU management/scaling through MSM Limiter
- Aroma slight changes to reflect internal changes (note : CPU uV is now applied for both 384MHz step and lower ones)
15/09/2015 - r361 :
- Fixed no mobile network issue on DEB
- Disabled unnecessary debugging
13/09/2015 - r360 :
- Merged with android-5.1.1_r0.17 changes
- Added Lazyplug hotplug driver by Arter97 (you may need to make a full installation if you want to switch to this driver)
- Updated F2FS
- Updated BFQ to v7r8
- Added experimental Nvidia relaxed power savings
- More fixes and various optimizations regarding performance and efficiency
09/09/2015 - r353 :
Note : CM related issues some are encountering aren't adressed with this update. CM team is breaking more and more stuff while using AOSP bases for the kernel and I won't make a CAF based version again. The updated toolchain and added fixes in this release may or may not help, but I won't provide support for CM related issues anymore. Sorry for the inconvenience.
- Fixed SELinux switches (You'll need to use the restore function in full package or just the restore package to switch between permissive and enforcing modes. Enabling it in glitch-settings.conf isn't enough for it to work.)
- Disabled Android Logger by default for less overhead
- Updated toolchain to Linaro GCC 5.2.0 with LTO support
- Tiny fixes
02/07/2015 - r350 :
- Merged with android-5.1.1_r0.13 changes
- Fixed missing governors from previous release
- Added native support for Xbox One controller from Linux 3.17
- Fixed a potential instability case in idle state
- Updated base to linux 3.4.108
- Under the hood fixes
- CM and AOSP kernels are now sharing the exact same base for better stability and maintenance
08/05/2015 - Hotfix - r344 :
- Rolled back various GPU driver patches to fix some Chrome scrolling lockups and possible RR linked to the underlying bug linked to them
- Send enforcing=0 to kernel command line if you're using the permissive ramdisk mode (may fix boot on some non-standard roms - AICP still not booting for me though.. If you know why I'm all ears)
- Modify fstab.flo file in ramdisk even when using CM kernel (enables some non-standard CAF based roms with no "multi-mount fstab" support to boot - it mustn't exist, but better safe than sorry)
08/05/2015 - r343 :
- Merged with android-5.1.1_r0.10 changes
- Removed UKSM
- Disabled KSM
- Removed transparent compression support
- Replaced Flar2's S2W/DT2W by showp1984's DT2W
- Various F2FS changes from arter97 and Jaegeuk Kim
- Various backported drivers from arter97
- Updated Intelli-Plug
- Cleaned up base and bumped back to latest 3.4.y (3.4.107 atm)
- Enabled back kernel mode NEON
- Removed PIE bypass patch from Aroma
- Added Motorola's Qualcomm optimized memutils
- Added BFQ v7r7 ioshed
- Updated Intelliactive governor
- Fstab patching changes to fix boot on some non-standard roms
- Updated Random
- Updated toolchain to Linaro GCC 5.1.0 with LTO support
- Added LTO optimizations
19/04/2015 - r330 :
After breaking my partitions while attempting to improve F2FS mounting time, I was forced to format everything. After my backup restoration and system reinstallation, r327 F2FS implementation is now booting faster than EXT4 on my tab (with mounting times of ~5sec versus 30+ before). So I've then decided to revert the planned F2FS changes for r330 (which made it 1sec faster before formatting, but much slower after) as it didn't make sense. If F2FS mounting time is bothering you, fully formatting your partitions and restoring your data will give you a nice performance reward in return.
- Added flush_merge to F2FS mount options for faster flushing
- Added "transparent compression" support (CM sync)
- Added back optimized ARM RWSEM algorithm
- Enabled back unaligned memory access
- Switched to SIO ioshed (from ROW) at boot time as well as others small tweaks for possible further boot time improvements and smaller file size
16/04/2015 - r327 :
- Merged with android-5.1.0_r0.10 changes
- Updated F2FS implementation using Motorola's sources
- Cleaned up permissive ramdisk patches (fixed related SODs with it enabled)
- Introducing "restore" builds. You can now update your Glitch setup without Aroma using these builds. Your settings will be restored from the SDcard backup made by a previous Glitch installation, so if you don't have a "glitch-settings.conf" file in the root of your SDcard, please use a full build first to generate it ! The "full" builds are using Aroma as before.
- Updated toolchain to Cortex A15 optimized Linaro GCC 4.9.3-2015.03
07/03/2015 - r320 :
THIS UPDATE WILL NEED YOU TO REINSTALL YOUR ROM AND TO MAKE A FULL INSTALLATION OF THE KERNEL IF YOU'RE COMING FROM A PREVIOUS GLITCH RELEASE
- Updated F2FS implementation and bumped to latest
- Various scheduler optimizations - Better hardware use means potentially lower max OC !
- Improved boot times (At least with EXT4. F2FS mounting time feels a bit longer with the updated F2FS implementation)
- Reverted Slimbus OC as some users got issues with it
- Removed some ramdisk mods interfering with permissions
- F2FS/EXT4 detection script rewrite to preserve rom's fstab structure
- Added another permissive switch to disable SELinux enforcing (it will be enabled if you tick the permissive patch in aroma)
- Removed wifi patch from Aroma as it's now useless with lollipop
- Added some security patches from CM source
- CM kernel rebased on Glitch AOSP (again) - Looks good after a few days of intensive use
- A few little glitchy tweaks
- Updated toolchain to Cortex A15 optimized Linaro GCC 4.9.3-2015.02
16/01/2015 - r307 :
- Disable wake gestures by default
- Fix for a little color tweaking bug
- Updated CAF variant for CM12 support & sync with Glitch AOSP r307
Note : r307-CM is NOT compatible with CM11. It must be used with CM12 only.
12/12/2014 - r306 :
- Added vmalloc setting to command line to fix some video playback issues. Thanks to @szale9001 for pointing this out !
16/11/2014 - r303 :
- Added Chainfire's partial root ramdisk patch by default
- Added cernekee's PIE patch to Aroma (allows third party native executables to run, lowering security. Fixes various apps)
- Added SELinux permissive + sepolicy ramdisk patch to Aroma (enables full root access but lowers security. Fixes various apps)
15/11/2014 - r300 :
- Updated AOSP kernel with lollipop-release - BREAKS COMPATIBILITY WITH 4.4.x due to GPU driver changes !
- Removed interactive GPU governor
- Merged GPU patches from codeaurora & franciscofranco for better responsiveness and battery life
- Cleanups
26/09/2014 - r226-disabledAVS :
- r226 variant with disabled AVS for users with recurrent instability issues. Higher power consumption than standard build when used without uV.
Follow up to this post : http://forum.xda-developers.com/showpost.php?p=55566837&postcount=1943
22/09/2014 - r226 :
- Added experimental support for Kali Pwn Pad (as it was requested by some - Thanks for the list Flar2 )
- Disabled compaction (a little higher RAM consumption for higher performances - Doesn't seem to affect multi-tasking in a negative way)
- Disabled MSM hardware adaptive voltage scaling (should fix the last remnants of SoDs/RR happening for some even on other kernels - May lead to higher power consumption) I will make a test build with it disabled for who wants to try in the next days
- Updated Faux Sound to 3.6
- Enabled more TCP congestion-avoidance algorithms
- Enabled NFS support
- Moved exfat to built-in instead of module
- Added black magic
17/09/2014 - r223 :
- Better hotplug driver settings in 99glitchsetup script / Fix Qualcomm MPDEC activation
- Lowered "Glitchy" L2/bus settings to make it usable by more users
- Enabled various compiler optimizations (like some GCC graphite optimizations)
- Updated toolchain to Cortex-A15 optimized Linaro 4.9.2 2014.09
- Echo touch firmware version to logfile (/data/local/tmp/glitch-kernel.log)
10/09/2014 - r220 :
AOSP kernel only (CAF kernel will follow as soon as possible) :
- Rebase using latest Google source (fixing various bugs like SoD, random shutdown, slowdowns etc.) and staying on 3.4.0 base for now to prevent issues til I'm able to fix them all with latest Linux upstream
- Aroma Installer rework for less pages on fresh installation mode, similar to Flar2's presentation
- Added new options to Aroma installer
- Updated Flar2's S2W/DT2W system, enabling gesture support
- Replaced Showp1984's MPDecision by Fluxi's MSM Hotplug driver - new default
- Updated Faux123's Intelliplug hotplug driver as well as intellidemand & Intelliactive governors
- Updated/fixed Smartmax and Smartmax EPS (extreme power saving) governors
- Updated FauxSound
- Updated Flar2's msm_sleeper
- Added a backlight dimmer function
- Cleaned up/removed a vast amount of old patches
- Added release number to internal kernel naming so you know what version you're on
- Added a wlan firmware override setting in Aroma. This is basically the same as using 4.4.4 PRIMAtor to enable 4.4.3 or lower support or to fix wifi on a few roms that are using older wifi blobs
- Slight tweaking here and there
- Removed kernel-based NEON support - Needs more testing
- Switched to LZ4 kernel compression - Higher kernel size but faster boot times
- Updated toolchain to Cortex-A15 optimized Linaro 4.9.2 2014.08
05/07/2014 - r151 :
AOSP kernel only :
- Base update from Linux 3.4.86 to 3.4.96
- Removed some unnecessary Aroma pages for faster navigation
- Removed Qualcomm-Optimized Dalvik/Bionic from Aroma to prevent users from softbricks when used on incompatible ROM
- Added F2FS support
- Added F2FS partition detection script to modify ramdisk accordingly at flash time. You will need to launch Aroma installer each time you change FS on supported partitions (DATA, CACHE & SYSTEM) to refresh the ramdisk configuration (you can restore your glitch settings to do that btw, no need to clean install). You can use all of them as F2FS, or just one, you decide.
- Enabled Intelliactive governor
- Added CTCaer's patch to restore forced TS firmware update sysfs
05/06/2014 - r147 :
AOSP kernel only :
- Merged with 4.4.3
- Base update from Linux 3.4.82 to 3.4.86
- Switch to Cortex-A15 optimized Linaro 4.9.1 toolchain
25/02/2014 - r142 :
- Base update from Linux 3.4.79 to 3.4.82
- Added 81 MHz CPU frequency
- Updated ondemand governor
- Switch to Cortex-A15 optimized Linaro 4.8.3 toolchain
- Disable input-boost by default in Aroma
07/02/2014 - r140 :
- Update to Linux 3.4.79
- Switch to XZ compression
- Add kernel mode NEON support as well as NEON accelerated AES & XOR implementations
- Fix CPU load miscalculation
- jbd2 and ext4 optimizations
- Add max screen off frequency support - Thanks to Flar2 (if disabled in Aroma, changing frequency in apps won't have any effect)
- Add UKSM 0.1.2.2 support
- Add dynamic management of dirty page writebacks
- Enable Wiimote HID support
- Enable USB printer support
- Bugfixes
Aroma installer overhaul :
- Reworked installation process to be clearer and more customizable
- Added an automatic backup of your settings to the root of your internal SDcard
- Added a restoration mode to get your settings from internal SDcard backup back on any rom (cross-compatible with Glitch kernel variants)
- Renamed /system/etc/settings.conf to glitch-settings.conf to make it more obviously glitchy
- Removed the need to set CPU OC, L2/cache OC and auto-uV again when keeping previous settings (now reading it from your settings at flash time. Note : editing this part in /system/etc/glitch-settings.conf requires a reflash using the "already glitched" option)
- Added Qualcomm optimized Dalvik/Bionic libraries into the installer (bionic only on CM variant) so you can install/restore them with the kernel
- Added I/O scheduler, CPU governor, read-ahead buffer size, fast charge, max screen off frequency and maximum multi-core power savings to available settings
- Fixed how the min CPU clock is applied to make it more robust and work better with governors
- Fixed how the min CPU freq uV is applied to make it work independently of the min freq (by subtracting the uV amount to the original voltage instead of forcing plain values) - Also, make it capable of setting uV for all freqs for future use.
- Changed the auto-uV menu to reflect the internal changes
- Fixed some permissions issues
- Added hotplug driver check so it's possible to restore it as well from settings without interference
- Change theme
25/01/2014 - r132 :
Performance and stability improvements :
- Enhanced memory management
- Lower CPU overhead
- Improved I/O speed in many cases
- Improved ondemand governor behavior
- Fix a memory leak
- Fix some msm_bus bugs
- Fix a false error report in Aroma log
CM kernel only :
- Fixed the "black caterpillar" bug
- Improved GPU performance consistency
23/01/2014 - r130 :
- Faux123's LCD color control driver updated to Flo version (thanks to him to make it opensource), adding gamma control. (You'll need FauxClock to tweak it - color is still available from TricksterMod)
- Some GPU driver related bugfixes
- Implemented LoUIS API for cache maintenance operations
- Update base to Linux 3.4.77
- Revert some CAF updates (fixes some L2 corruption that could lead to random reboots / black screens)
- Battery life improvements
- Some cleaning
CM kernel only :
- Fixed color control
- Fixed random heavy GPU performance drop
- Changed memory allocation to be in line with CM
- Changed naming in Aroma to differentiate from "pure" AOSP
Older changelogs are available here
Looks like a nice kernel that will really show what this device can do
Sent from my Nexus 4 using Tapatalk 4
Thanks.
That's what I'm trying to make. And I *think* (may be wrong though) I'm the only one yet using a fully working GPU OC implementation on flo kernel. It's an adaptation of Galaxy S IV's (i9505) GPU OC code from Team Hydra.
It seems 627 MHz is around the max possible with stock voltage, probably even 600 MHz for many. I'll see what it can do with a bit more juice.
Other things to do : add more frequency steps for the CPU, lock the default freq, and make the L2/bus speed configurable.
After that I think we'll be able to push the thing to the limits if we want to.
Thanks for your hard work I'm going to try it on pacman ROM I'll let you know how it goes
Sent from my Nexus 7 using XDA Premium 4 mobile app
Thank you, I'm curious to know what results you'll get
Awesome so far .WOW
Sent from my Nexus 7 using XDA Premium 4 mobile app
---------- Post added at 12:20 AM ---------- Previous post was at 12:18 AM ----------
I wanna show u my settings, I use trickster, so sound and faux kernel app to get the results I need was going to show you pictures but all the sudden XDA premium has no picture button I'm a little lost their. Touch responses phenomenal and just like faux kernel the sound is this did really well I can finally listened stock sound sucks on this product even know what has supposedly way better speakers, thanks to people like you I can actually hear the videos I watch without headphones now. Thank you very much I've been using it for about 5 minutes swimming around on everything and everything smooth as hell
Sent from my Nexus 7 using XDA Premium 4 mobile app
---------- Post added at 12:21 AM ---------- Previous post was at 12:20 AM ----------
Add me on gtalk. [email protected]
Sent from my Nexus 7 using XDA Premium 4 mobile app
---------- Post added at 12:24 AM ---------- Previous post was at 12:21 AM ----------
I'm kinda pissed,paid XDA apk all of a sudden has no way to show pictures. Argggg
Sent from my Nexus 7 using XDA Premium 4 mobile app
The problem exists on the free app as well ^^
Try scrolling up and down away from the images and back on them, it'll eventually show up at some point.
Thanks for your work. I'll give this kernel a try.
Coming from N4 motley kernel I'll love to use init.d scripts to set up color "calibration", sleep states, etc. What do you think about implementing / documenting such features for your kernel?
Otherwise, let me see if I need something. Hm, what about USB OTG and ntfs/f2fs support?
USB OTG is working out of the box. NTFS/F2FS support isn't. I'll look into adding them =)
Your idea is nice, I'll think about it.
Thanks =)
Do you plan on adding Faux's color mod? I will give this kernel a shot and report back.
cyberprodigy said:
Do you plan on adding Faux's color mod? I will give this kernel a shot and report back.
Click to expand...
Click to collapse
When there will be some source, yeah why not =)
Tk-Glitch said:
When there will be some source, yeah why not =)
Click to expand...
Click to collapse
I am running the kernel right now. All I can say is "wow".
You did a fantastic job cherry-picking the best features from various kernels. I notice a slight increase in smoothness compared to Faux's kernel plus D2W and all the other great features you added so I think this may be my new main kernel.
I will use it over the next few days and report any issues I find and how the stability is. Thanks a lot for your work.
Edit: Also, I am running CleanROM and everything seems fine.
Thank you, so it may work with any rom then ! Good to know CM didn't break too much stuff leaving AOSP base.
sleep to wake, doubletap to wake disabled by default? don´t need it xD
need a fast stable kernel and especially want to disable fsynch. if u run a stable rom it justs takes useless power xD
i´m pretty new to the nexus7 like the most of us . is that kernel stable?
atm i´m using faux´s, also used franco. i dunno, but on franco´s i couldnt change gpu govenor and the 3dmark benchmark was about 3000points, stock is about 6000-7000. pretty strange.
i am a pretty minimalistic user, want best batterylife/performance ratio. only using psx, best rom for me
i think i´ll try that kernel
edit: what does "Snake Charmer" do?
edit2: read s2w stuff enabled by default, can it be disabled via trickster?
My N7 is running great with your kernel. Let's see what about perfomance and stability in two or three days. After checking and playing with trickster I miss a kind of dynamic fsync and a color calibration interface - compared to N4 m+ (motley) kernel.
Perhaps you can implement some upstream changes / patches directly from CAF or newer kernels.
It would be nice if you post some information about L2 speed hack, etc. So that everyone can see what this hacks do.
Which file are we supposed to use, they are all dated 20130919. I'm guessing the. 904.
airmaxx23 said:
Which file are we supposed to use, they are all dated 20130919. I'm guessing the. 904.
Click to expand...
Click to collapse
CM10.2-flo-Glitch-20130919.0904
2013 /09 /19/09:04
Year/Month/Day/time
dunno if latest point is time in this case when you compare it to upload date. but yes it seems to be latest. upload time and build date can be different, so i think it´s the time.
L-ViZ said:
CM10.2-flo-Glitch-20130919.0904
2013 /09 /19/09:04
Year/Month/Day/time
dunno if latest point is time in this case when you compare it to upload date. but yes it seems to be latest. upload time and build date can be different, so i think it´s the time.
Click to expand...
Click to collapse
Probably when it was compiled.
cyberprodigy said:
Probably when it was compiled.
Click to expand...
Click to collapse
Just a heads up for those who want to disable swipe2wake or doubletap2wake, you can turn them off with the Trickster app but I did not find a setting in the FauxClock app.

[KERNEL] [July 06] [3.10.107] Vegito 6.04/7.02 (Vibe K5/K5 Plus)

Vegito Kernel for Lenovo Vibe K5/K5 Plus
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Features:
Insecured
adb runnable as root
init.d support
Upgraded to latest Linux version 3.10.107
Now powered by AROMA Installer.
Built Using UBERTC- 4.9 Aarch64 Toolchain along with optimizations like GCC optimization for cortex-a53 ,O3 & Graphite flags.
ThunderPlug - A Dynamic Hotplug Driver by @varun.chitre15 - Takes down all seven cores when phone goes to sleep leading to significant battery savings
Dynamic Fsync - A driver originally written by faux123- Disables Fsync when phone is being used causing significant IO boost.
Added Adreno idler GPU Alogrithm - An efficient workaround for msm-adreno-tz's overheads. Developed by @arter97
Disabled Gentle fair sleepers
F2FS Support ( Import from Motorola Source 7.0 Nougat )
Enabled arch power
Automatic busybox installation
Compatible with systemless root
KSM ( Kernel Sample Merging ) enabled
Uses live Ramdisk patching during flashing, so need not worry about ROMs on which you are flashing on.
Added Double Tap to Wake and Sweep2Wake
Added sound control
Added simple GPU Algorithm - An add-on for MSM-Adreno TZ GPU Governor. Developed by @faux123.
KCAL advanced color control [V2](RGB, Saturation, Value, Contrast, Hue)
CIFS support
zSwap support - A Virtual compressed memory pool - Can be used as a swapping devices for extra RAM.
Reduced idle power consumption
Wakelocks blocked by default thanks to @franciscofranco
Vibration Intensity Control: Let’s you adjust the intensity at which your phone vibrates
IOScheduler
block: Added Sio IOScheduler
block: Added FIOPS IOScheduler
Additional IOSchedulers: BFQ v7r8(recommended)
Governors enabled: ondemand, interactive:
Add sysinterface for GENTLE_FAIR_SLEEPERS [toggle switch]
Frandom driver- Fast Kernel Number Generator.
Kexec Hardboot Supported
Performance enhancements
Added USB fast charge
Introducing Intelli_thermal - A new thermal protection mechanism
Support for CRC-Toggle (Disabled by Default in Misc. TAB).
Improved square root algorithm.
Disabled some debugging
Relax thermal throttling values
Disabled MMC CRC check for extra 30% boost in IO
Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
Support for the new PowerSuspend algorithm.
Optimized Console FrameBuffer for upto 70% increase in Performance.
Support for Larch Power feature (should improve Battery-Life).
Powersuspend mode
Added bunches of TCP Congestion Algorithm
Downloads
Vegito 6.4 ( Stock based )
Vegito 7.2 ( Lineage based )
Note:
Users can also update my kernel within 1 click by using my own app
Free Version
Paid Version
Google+ Community (Beta testing and releases)
https://plus.google.com/u/0/communities/107248021342303532678
Important:
Do not flash this over other custom kernels!
You should only flash Vegito over the kernel that came with your ROM
Reporting bugs
Grab a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues) right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
See how to submit a bug report for the appropriate place to report your bug
INSTRUCTIONS
Just flash the zip in twrp and you are good to go!
XDA:DevDB Information
Vegito kernel for lenovo vibe k5, Kernel for the Android General
Contributors
Dreamstar
Source Code: https://github.com/nikitsharma15/Vegito_vibe_k5
Kernel Special Features:
Version Information
Status: Beta
Created 2016-12-04
Last Updated 2017-10-31
Changelog
Code:
Vegito 5.5 - 27/March/17
Power efficient workqueue patches (squashed).
Synced with LineageOS
Cpufreq: interactive: reduce timer with screen off
Reduced RQ Lock-Contention for upto 0.7% increase in Performance
Kernel: reduce overheat
Revert ThunderCharge Control – A driver to control the charging current rate developed by [user=4309448]@varun.chitre15[/user]
Revert MSM_Hotplug driver it contain some problem o.O
Fix simple_ondemand crashing
Disable More Debugging
Possibly More I Missed.)
Vegito 5.2 - 05/Feb/17
Code:
ThunderCharge Control – A driver to control the charging current rate developed by [user=4309448]@varun.chitre15[/user]
Fix simple_ondemand crashing
Disable More Debugging
Possibly More I Missed.)
Vegito 5.0 - 24/Jan/17
Code:
MSM Hotplug - a custom qualcomm based hotplugging driver by @myflux
F2FS Support ( Import from Motorola Source 7.0 Nougat )
Compatible with systemless root
KSM ( Kernel Sample Merging )
Vegito 4.2 - 20/Dec/16
Code:
Kexec Hardboot Supported [Exp]
Performance enhancements
Other Improvements
Vegito 4.0 - 10/Dec/16
Code:
Added Intelli_thermal v3.0 by [user=3332811]@faux123[/user]
Frandom driver- Fast Kernel Number Generator.
Added USB fast charge
Fsync On/Off switch.
Added Sweep2Wake && Sweep2Sleep
Added simple GPU Algorithm - An add-on for MSM-Adreno TZ GPU Governor. Developed by [user=3332811]@faux123[/user].
Uses live Ramdisk patching during flashing, so need not worry about ROMs on which you are flashing on.
Additional IOSchedulers: BFQ v7r8(recommended)
Built Using UBERTC- 4.9 Aarch64 Toolchain along with optimizations like GCC optimization for cortex-a53 ,O3 & Graphite flags.
Vegito 3.0 - 06/Dec/16
Code:
-Added Double Tap to Wake
-Added Faux sound control 3.6
-ThunderPlug - A Dynamic Hotplug Driver by [user=4309448]@varun.chitre15[/user] - Takes down all seven cores when phone goes to sleep leading to significant battery savings..
-Vibration Intensity Control: Let�s you adjust the intensity at which your phone vibrates
-Additional IOSchedulers: BFQ v7r8(recommended),FIOPS
-Disabled MMC CRC check for extra 30% boost in IO
-Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
-Support for the new PowerSuspend algorithm.
-Optimized Console FrameBuffer for upto 70% increase in Performance.
-Support for Larch Power feature (should improve Battery-Life).
-Disabled some debugging
Vegito 2.0 - 05/Dec/16
Code:
Added Dynamic fsync ( Thanks to faux123 )
Added Adreno idler GPU Alogrithm
Enabled arch power
[B]Added some IOScheduler
[/B]Sio IOScheduler
Fiops IOScheduler
Tripndroid IOScheduler
fifo IOScheduler
[B]Added Governors:
[/B]Alucard
Nightmare
SmartassV2
Bioshock
Lionheart
CPU Boost
Powersuspend mode
[B]Added bunches of TCP Congestion Algorithm
[/B]
Vegito 1.0
Code:
- Initial Release
Reserved
Announcement
Introducing my own app to update my kernels within 1 click.
Get it from play store- Vegito Kernel Updater
Please Rate or give your feedback for this app.
Does it work on k5 plus a6020l36? Is it possible to have 2 ring tones to wake up in the next version of your kernel? Thanks for the work.
Wow, Thank you very much for this Kernel, Works With the plus Variant or only the normal?
Rodrigo Rodrigues said:
Wow, Thank you very much for this Kernel, Works With the plus Variant or only the normal?
Click to expand...
Click to collapse
I am not sure but you can give it a try
V2.0 Update
Changelog
Added Dynamic fsync ( Thanks to faux123 )
Added Adreno idler GPU Alogrithm
Enabled arch power
Added Bunches of IOScheduler
Added Bunches of Governors:
Powersuspend mode
Added bunches of TCP Congestion Algorithm
Disabled some debugging.
Download link on first page as usual
Please add double tap to wake
Hey @Dreamstar, you have plans of making this Kernel for Marshmallow and Nougat? And any chance we can get DT2W feature? Thank you very much for your work
Rodrigo Rodrigues said:
Hey @Dreamstar, you have plans of making this Kernel for Marshmallow and Nougat? And any chance we can get DT2W feature? Thank you very much for your work
Click to expand...
Click to collapse
Yes possibly in next update
Wow, a version for Nougat and marshmallow too? @Dreamstar
I just tested and it works in the a6020l36 Brazil variant.
I very much hope that in version 3.0 come DT2W.
Thank you for the work.
@akashi23
Thanks for confirmation,
@Dreamstar
In there any downside of using this kernel on plus(snapdragon 616) version.
DreamStar
I realized something, after a while the cpu governors and schedulers change by default again, same thing with cpu frequencies if changed, I realized that a lot of times also do not appear cpu governors in the kernel managers.
Sorry for bad English.
Please also add USB fast charging. Thanks
And if there's any chance make kernel working on custom ROM too.
And also try to add under clocking/over clocking voltage, CPU.
V3.0 Update
Changelog
Added Double Tap to Wake
Added Faux sound control 3.6
ThunderPlug - A Dynamic Hotplug Driver by @varun.chitre15 - Takes down all seven cores when phone goes to sleep leading to significant battery savings..
Vibration Intensity Control: Let's you adjust the intensity at which your phone vibrates
Additional IOSchedulers: BFQ v7r8(recommended),FIOPS
Disabled MMC CRC check for extra 30% boost in IO
Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
Support for the new PowerSuspend algorithm.
Optimized Console FrameBuffer for upto 70% increase in Performance.
Support for Larch Power feature (should improve Battery-Life).
Disabled some debugging
Download link on first page as usual
Dreamstar Thanks for the new kernel version, I'm going to test now.
Dreamstar will i be able to test the kernel in cm 12.1 or it really only works on rom stock?
Please @Dreamstar make this Kernel for Custom ROM's...
Thank you very much for your work
@Dreamstar
Thanks, man! for this kernel. Finally for someone who wants customization on stock ROM.
But I am currently moving to CM 13, So if possible make kernel Compatible with CM 13, please.
My device is Lenovo vibe k5 plus (snapdragon 616) Indian variant.
Thanks again.
Good work keep it up

[KERNEL] Phantom Kernel for N950 - F/FD/N (for Samsung PIE and OREO ROMs)

Your warranty is now void. Knox 0x1.
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about the features included in this kernel.
PHANTOM KERNEL​by 6h0st ​
​
Special thanks to:
(Product evaluation, support & donors)
@ANDROIDXFOREVER
@ammisr
@Logel
@Sean_FD2R
@corsicanu
@Voytec83
@Bud Horn
@blinkt88
@rico13
@NoXXX
@Kiid
... and to all other developers for their indirect contribution (ideas, commits, public open source code, etc).
* Brief ideology of this kernel *
This kernel, if you plan on using it out-of-the-box it is battery life oriented, but also with a few tweaks to be fast and stable, just to give best daily usage results. The best part of it is that you can tweak it how you please depending on how far you want to go. You can choose over clocking CPU or/and GPU to get really good benchmark results, apply tweaks to get the best battery life/performance with low-end and high-end gaming or just to save even more battery, your choice. All this by using simple applications like Spectrum, a bit more complex ones, like Synapse or choose an even more advance way with shell scripts / terminal.
As the project evolves more features will be added, even as requests if properly motivated.
Before releasing an update, i'll make sure that it's properly tested so that you wont get bricked devices. This usually takes a lot of time, so please be patient. If some features are considered unstable they will be marked as experimental.
* * * Version 2.11.6 PIE official * * *
- SAMSUNG Open Source for PIE kernel (N950FXXUDDTH1);
- ramdisk updated to N950FXXSBDTED;
- Compiled with Toolchain UBERTC 6.4.1 + GRAPHITE optimizations;
- updated to Linux 4.4.201 - (only available for version 2.10.1);
- ramdisk updated to N950FXXS7DSI3 - (available only in version 2.10.1);
- Cortex and Exynos compiler optimizations;
- performance and battery life adjustments to BUS/GPU/CPU;
- Available CPU governors: cultivation, blu_active, impulse, interactive, conservative, ondemand, performance, powersave, darkness, schedutil, bioshock, blu_schedutil, helix_schedutil, darkutil, electroutil and pwrutilx - (some are available only in version 2.10.1);
- Available I/O Schedulers: anxiety, noop, deadline,cfq, bfq, maple, vr, zen, tripndroid, sio, sioplus, fiops and fifo;
- added Synapse support (with more optinons then MTweaks / if you use spectrum profiles some sections will be disabled for compatibility issues);
- Spectrum Support with 4 profiles (disabled on boot);
- MTweaks compatible but with missing features, use Synapse for better compatibility;
- maximum overclock CPU frequency of CPU little cluster 1898 Mhz;
- maximum overclock CPU frequency of CPU Big cluster 2704 Mhz;
- added frequency limits while Screen is off;
- added minimum throttling frequency limit scaling for Exynos;
- maximum overclock GPU frequency of 572 Mhz;
- SELinux permissive/enforcing depending on Magisk;
- Enabled Kernel Loadable Module support;
- added LKM: superuser (KernelSU project) if root accesss is needed without Magisk - disabled (to get root access you need to create an empty file into /sdcard/Phantom-Kernel/ folder with the name "PK.su" and reboot. Remove the file and reboot to revoke root access. NOT all apps will work with it. This also has no app that control access so don't leave it always enabled!);
- Memory Management and utilities optimizations;
- added switch to enable/disable of FSync or use Dynamic FSync;
- Morosound mod for Madera/CS47L92;
- init.d support;
- all Samsung security related configs disabled (as KNOX, TIMA, Rooting restriction, etc.);
- Disabled Secure Storage. You'll need to refresh (remove/forget and connect/store connection again) Wifi/Bluetooth connections if you have conection issues!);
- dm-verifiy and forced encryption disabled;
- LED blink/fade control (fade enabled by default);
- changed LED to red/blue fading when booting;
- Wireguard support;
- CRC checks disabled on boot for better performance;
- added UKSM 0.1.2.6 - (available only in version 2.10.1);
- VM, I/O sceduler and ZRAM tweaks - (available only in version 2.10.1);
- Entropy optimizations - (available only in version 2.10.1);
- added SysFS control for logging;
- disabled unnecesary logging, debugging and tracing;
- added automount FS Manager 4 support;
- added NTFS/ISO9660/UDF FS Support ;
- added ZRAM support - (available only in version 2.10.1);
- updated LZ4 kernel modules - (available only in version 2.10.1);
- added more TCP congestion algorithms (bic, reno, cubic, westwood, highspeed, hybla, htcp, wvegas, vegas, scalable, lp, yeah, veno,lia, olia, illinois, balia);
- added Smart Screen Dimming (for SSD kernel version only!);
- added CPU boost;
- added devfreq boost;
- added Kernel support for MISC binaries - (available only in version 2.10.1);
- added support for DriveDroid app;
- ramdisk optimizations and patched SEpolicy;
- disabled some unneeded tracing, logging and debugging;
- init.d optimization scripts, available in /=Phantom Scripts= folder, if you want to use them:
* 90agressive_doze: enable agressive doze script;
* 98sqlie: optimize DB;
* 98zipalign: zipalign apks;
* 99maid: a cleaning temporary files script;
* 99killer: battery saver by killing a couple draining services.
* * * Version 1.9.3 Oreo official * * *
- Compiled with UBERTC 6.4.1 + GRAPHITE optimizations;
- Updated to Samsung Open Source N950FXXU5CRK2;
- Updated to Linux 4.4.169;
- added Synapse support (with a lot of optinons, a lot);
- Spectrum Support with 4 Profiles;
- SElinux permissive;
- Support for Private Mode;
- Init.d support;
- All Samsung security related configs disabled (as knox, tima, restrict rooting);
- Added Boeffla wakelock Blocker;
- Led fade/blink control;
- Wireguard support;
- Available CPU governors: cultivation, blu_active, zzmoove, impulse, interactive, schedutil, conservative, ondemand, userspace, performance, powersave, darkness and bioshock;
- Available I/O Schedulers: noop, deadline,cfq, bfq, maple, vr, zen, tripndroid, sio, sioplus, row and fifo;
- Performance and Battery life tweaks;
- N950FXXU5CRK2 ramdisk update;
- added UKSM 0.1.2.6;
- Possible max CPU OC frequency set to 2704 Mhz;
- added max GPU frequency of 572 mhz;
- Some GPU optimizations (slightly a bit more battery life and more performance);
- Set Spectrum balance profile max GPU speed of 455 mhz on boot (better battery life);
- disabled some logging, debugging and tracing;
- added NTFS/ISO9660/UDF FS Support;
- added Automount FS Manager 4 support;
- multipath TCP support;
- added more TCP congestion algorithms (bic, reno, cubic, westwood, highspeed, hybla, htcp, wvegas, vegas, scalable, lp, yeah, veno,lia, olia, illinois, balia);
- added 99killer, 98zipalign and 98sqlite optimization scripts to /=Phantom Scripts= folder to be available in case of need (just copy+paste to init.d);
- fixed Spectrum and Mtweaks incompatibility when using both apps;
- added SysFS control for kernel logger;
- updated LZ4 kernel module to LZ4 v1.7.3;
- a lot of ramdisk fixes and optimizations;
- set voLTE enabled props from ramdisk (just in case...)
- removed SEC_SELINUX;
- added a more efficient RMM lock patch;
- added fake FLAGS to help Magisk;
- added Smart Screen Dimming;
- CPU Samsungplug optimizations and CPU core control;
- enabled schedule workqueues on awake CPUs as default;
- 100% compatibility with Spectrum and Synapse, with MTweaks not so much.
* NFS VERSION HAS THE SAME SAFE PARAMETERS AS THE NON-EXPERIMENTAL VERSION ON BOOT, but probably will generate more heat *
Differences between the NFS version and the regular version (Experimental):
- CPU OC possibility to 2.8 Ghz (2808000 mhz)
- GPU OC possibility to 683 mhz
- GPU OC without CPU frequency restrictions
- Spectrum profile "Gaming" OC-ed at 2.7Ghz / 572 mhz
(No support will be given if something goes wrong while using the NFS versions! AND don't blame me if you burn something.)
Mod edit: links removed
XDA:DevDB Information
Phantom Kernel, Kernel for the Samsung Galaxy Note 8 (2017 Phone)
Contributors
6h0st
Kernel Special Features: STABLE | FAST | SOLID-BATTERY-LIFE
Versions Information:
Status: Stable P
Current Stable Version: 2.11.6
Last Updated 2020-12-21
Unstable Version: 2.10.1
Last Updated 2020-05-03
Status: Stable O
Current Stable Version: 1.9.3 (EOL)
Created 2018-08-05
Last Updated 2019-01-01
FAQ:
Q: How to flash kernel?
A: Download (download link in first post) and flash the zip file from TWRP Recovery. Wiping dalvik cache and cache when coming from other kernels is highly recommended.
Q: Phone is stuck with a black screen after I wiped dalvik cache and/or cache. After I waited a while it just rebooted. Is that a bug?
A: This is not a bug it's actually a feature. This is normal because the kernel startup script checks the dalvik cache to be created correctly. If it wasn't created correctly it checks again after 1 min, just to be sure, this is why you have a black screen. Don't force reboot, just wait! If Dalvik cache isn't still created correctly after 1 min, it will reboot and create Dalvik again, it will keep doing this until everything is ok. This can happen even 3 times upon boot. If more than 3 reboots happen then you have a ROM issue.
Q: How to configure the Kernel?
A: Easy way is with Spectrum app from Google Play Store. Synapse for more advanced users. Init.d scripts or Terminal/SManager or similar apps, for experts.
Q: I have issues with notifications, slow notifications while screen is off?
A: Disable battery app optimization for Google Play Services.
Q: YouTube videos are not playing, why? / Why am I getting random reboots (if using 99killer script)?
A: Remove the /system/etc/init.d/99killer script and reboot.
Q: Why not start with version 1.0 ?!
A: Because versions 1.0-1.3 were not released to the public and were tested in private by a group of dedicated people.
Q: What is NFS version?
A: Need for Speed version of the Phantom Kernel - higher and unsafe OC of CPU & GPU possibility. Only for Oreo versions.
Q:What is Smart Screen Dimming - SSD version?
A:It's a slightly modified version of this:
https://forum.xda-developers.com/s7-edge/development/amoled-pwm-s7-edge-t3517739
Q: I had a freeze/random reboot after I changed settings in Synapse, what can be the cause?
A: It can be a lot of things, but mostly an incompatibility in your chosen settings, if it's kernel related at all. The most known common things that are the cause of this can be Exynos-CPU-hotpluger (disable it), LMK parameters for Oreo version only (reset to defaults) or Doze settings (use stock). If any of these doesn't get rid of the reboots try resetting Synapse and wipe cache and dalvik cache. You can always post logs or details of your issue, to get help.
Q: After each boot i get my screen locked after a brief moment of using my phone and my phone vibrates 3 times, is this a bug?
A: This isn't a bug. The locking of the screen it's a workaround i added, to eliminate a bug where GPU utilization get's stuck. This will remain until i find a better way to solve this. There 3 vibrations is from the PK boot script telling you it has finished execution.
Q: Bixbi button remapper isn't working with Bixby button, how can I fix it?
A: Install Synapse and enable Android logging. (Thanks to @AiRMaX-360 for finding this fix).
Q: What is KernelSU - superuser module and how to get root access without Magisk?
A: Here you can find KernelSU project. This module can be used if root access is needed without Magisk. To get root access you need to create an empty file into /sdcard/Phantom-Kernel/ folder with the name "PK.su" and reboot. Remove the file and reboot to revoke root access.
PS:
* NOT all apps will work with it.
** This also has no app that control access so don't leave it always enabled!
*** If Magisk or other su is found, then that root access method will be used.
Ver. 2.11.6 Changelog:
- optimizations for better battery life;
- bug fixes;
- added throttling frequency limit for mali driver;
- updated the frequency limits while screen-off module;
- switched back ext4 encryption (EXPERIMENTAL);
- updated 00modules script;
* Special HID drivers available as kernel modules only if needed (copy 00modules to init.d folder to enable modules);
* Joystick XPAD available as module only if needed (copy 00modules to init.d folder to enable module);
- added 99pkhosts script - adblocker script with update on boot (copy script to init.d folder to enable).
Ver. 2.11.5 Changelog:
- updated to Samsung Open Source N950FXXUDDTH1;
- added support for more Input Device Drivers, Special HID drivers, IEEE 1394 (FireWire) and VR;
- disabled some unneeded debugging;
- removed some deprecated code;
- performance optimizations and bug fixes.
Ver. 2.11.4 Changelog:
- merged Samsung open source N950FXXSDDTG5;
- ramdisk updated to N950FXXSBDTED;
- other bug fixes and optimizations.
Ver. 2.11.3 Changelog:
- SELinux permissive/enforcing depending on Magisk;
- changes for some ROMs (e.g. DeluxeROM) that need SELinux permissive at boot (Magisk is detected by some banking apps so a complete uninstall is needed for these apps to work);
- enabled Kernel Loadable Module support;
- added LKM: superuser (KernelSU project) if root accesss is needed without Magisk - disabled (to get root access you need to create an empty file into /sdcard/Phantom-Kernel/ folder with the name "PK.su" and reboot. Remove the file and reboot to revoke root access. NOT all apps will work with it. This also has no app that control access so don't leave it always enabled!);
- CPU optimizations and bug fixes;
- added maximum overclock CPU frequency of CPU little cluster 1898 Mhz (generates lots of heat if OC-ed);
- added frequency limits while Screen is off;
- added minimum throttling frequency limit scaling for Exynos (may cause reboots, or even burn your phone, if enabled and is set to high);
- added frequency limits while screen-off and set 455-1248 | 741-1469 mhz as default;
- HMP optimizations;
- adjusted thermal limits a bit;
- android binder optimizations;
- Synapse update;
- minor PK boot script changes;
- other bug fixes in CPU, BT, abox and more...
Ver. 2.11.2 Changelog:
- bug fixes;
- moved PK dalvik protection and made it as an optional script found in =Phantom Scripts= folder for a better compatibility;
- disabled some more unneeded logging.
Ver. 2.11.1 Changelog:
- added enable/disable control of DVFS in sysfs for Exynos;
- updated Synapse (advanced tab);
- other bug fixes in CPU.
Ver. 2.11 Changelog:
- Samsung Open Source base N950FXXS8DSL3 (started from scratch) ;
- ramdisk updated to N950FXXSADTC4 and optimized;
- Linux version 2.2.111 (No more Linux updates);
- disabled unnecessary logging, tracing and debugging;
- added back goodies from 2.10.1, minus:
* STUNE and Stune Boost;
* Linux streams updates;
* UKMS and ZRAM;
* schedutil based govs: helix-util, blu-util, dark-util, pwxutil, electric-util;
- overall optimizations and tweaks;
- Synapse bug fixes;
- Spectrum profile bug fixes;
... and some other things (to many to add here).
Ver. 2.10.1 Changelog:
- bug fixes for GPU to avoid ramdom freezes;
[last update]
Ver. 2.10 Changelog:
- updated to Linux 4.4.201;
- set bic as default TCP congestion alogarithm;
- set cfq as defualt internal SD I/O scheduler.
- fixed GPU utilization stuck at 80% bug after first boot (screen won't turn off anymore upon the 3 vrations);
- fstab changes with noatime;
- Synapse update and bug fixes;
- Spectrum profiles update (cpuset optimization; Balanced profile: CPU.Big cores set at 2314000 mhz - stock freq)
- default CPU.Big core cluster set to 2314000 mhz;
- updated Simple LMK;
- switched to Simple LMK from Android LMK;
- zram misc fixes;
- memory compactation and page allocation optimization;
- PK boost script optimization (takes longer to finish, but uses less CPU and reduces boot lag);
- android binder optimizations;
- touchscreen optimizations;
- updated GMS patch script;
- removed /etc/sysconfig/google.xml overwrite upon flashing kernel (restore and use original ROM file to fix slow notifications);
... other bug fixes and improvements.
Ver. 2.9 Changelog:
- source updated to N950FXXU7DSJ1;
- ramdisk updated to N950FXXS7DSI3;
- updated to Linux 4.4.198;
- better compiler optimizations;
- security improvements;
- devfreq optimizations and possible some random issues fixed;
- binder optimizations;
- debugfs: Always compile core debugfs driver for Android kernels;
- Android sync performance improvement;
- FS: Reverted to original mbcache from mbcache2;
- FS: ext4 optimizations;
- Spectrum profiles update;
...some other bug fixes.
Ver. 2.8.2 Changelog:
- binder reverted to N950FXXS7DSH1;
- disabled debugging of binder and made some minor stability changes;
- Spectrum battery profile update.
Ver. 2.8.1 Changelog:
- updated to Linux 4.4.196;
- Mass Storage USB Composite fixes;
- DriveDroid support fixes.
Ver. 2.8 Changelog:
- updated to Linux 4.4.194
- interactive; schedutil, blu_schedutil, darkutil, helix_schedutil, electroutil and pwrutilx CPU governors changes;
- device tree changes - more battery friendly on low usage;
- anxiety I/O scheduler tunnig;
- I/O tuning;
- set deadline as default scheduler for external sdcard;
- removed Boeffla Wakelock Blocker;
- devfreq wake boost interval added in sysfs and in Synapse;
- kernel preemption optimization;
- Spectrum profiles updates and bug fixes;
- Synapse updates and bug fixes;
- added back exynos hot-plug sysfs on/off control (Mtweaks only);
- Synapse updates and bug fixes;
- disabled Simple LMK and enabled Android LMK;
- enabled Samsung's SPCM service;
- ramdisk changes;
- disabled Android logger after boot;
... other bug fixes (LightROM stuck on reboot/shutdown fix included).
Ver. 2.7.2 Changelog:
- removed GPU excessive debug messages;
- more HID bug fixes;
Ver. 2.7.1 Changelog:
- DS4 HID controllers bug fix;
Ver. 2.7 Changelog:
- updated to Linux 4.4.191;
- ramdisk update to N950FXXS7DSH1;
- merged N950FXXU6DSF6 source;
- SAMSUNG EXYNOS8895 SoC device tree changes;
- applied latest RT-186 patch;
- PK boost script update;
- CPU frequency scaling possible bug fix and a few optimizations;
- added back helix_schedutil, darkutil;
- bug fixes, optimizations and tunning for the following CPU governors: interactive, conservative, darkness, helix_schedutil, darkutil (updated), electroutil;
- CFS stune bug fixes;
- State Notifier driver implementation bug fixes.
- changed CPU input boost and devfreq boost drivers to work only with State Notifier;
- synced Panel/Dual Penel with DPU and State notifier;
- added CGROUP_SCHEDTUNE support;
- ramdisk changes to work with CGROUP_SCHEDTUNE;
- merged DYNAMIC STUNE BOOST with CPU INPUT BOOST and removed double driver;
- added memory compaction to all zones when suspended - disabled by default;
- devfreq boost driver fixes;
- CFS tasks boosting and CFS tasks boosting group subsystem fixes and tuning;
- CPU scheduler tuning (for more balance);
- tuned CPU and devfreq boosts;
- CPU and devfreq boosts uses GPU utilization to select between med and max step;
- GPU optimized for always on when screen is on and off while screen suspended;
- GPU control optimization - less debugging;
- Optimized Integer SQRT. for up to 3x faster operation;
- Disabled VNSwap / ZSwap;
- added ZRam tweaks and made some changes for better performance;
- ramdisk update for Simple LMK changes and better/faster ZRAM creation on boot.
- added a workaround to prevent race of lmkd and Simple LMK;
- Android binder driver optimizations;
- updated Synapse and Spectrum profiles;
- added GMS Doze patch and Cleaning scripts to Synapse;
- CPU input and devfreq boosts disabled as default;
- HMP boost fix for input events;
- Android ION driver optimizations - removed debugging and tracing;
- introduced anxiety I/O scheduler, improves reads over writes - default;
- reimplement mbcache and speed up cache entry creation;
- added back disable FSync;
- FS Sync optimizations;
- updated Boeffla WL driver and wakelocks list;
- Dynamic sync updated to v.2.0 (thx andip71);
- removed some more unneeded tracing and debugging;
- removed Debug FS and applied fixes because of it in various drivers;
- added timekeeping: keep suspend time logging when debugfs is disabled;
- moved /d/wakeup_sources to /proc/wakelocks if debugfs is disabled;
- reverted old DEX patch;
- used the stock config for /proc/config.gz;
... some other bug fixes and optimizations.
Ver. 2.6.1 Changelog:
- bug fixes:
* voLTE and voWifi not working on some devices;
* OEM unlock show correct status;
* SELinux show correct status;
* prevent CPU from entering deep sleep while handling touch interrupts;
* eliminated Android errors on missing parameters of Simple Android LMK;
* eliminated Android errors on missing input_boost files;
* ... and a few other bugs in FS, Crypto and Net;
- added ZRAM support;
- added zstd compression algorithm support (for ZRAM);
- Synapse update for ZRAM control;
- compiler and ION optimizations.
Ver. 2.6 Changelog:
- updated to Linux 4.4.182;
- added RMM State Remover for Samsung Devices
(Original idea by @BlackMesa123, updated by @_alexndr to add support modern Samsung devices with separate /vendor partition. Furtherly updated and adapted by @corsicanu for Pie support and new RMM(KG));
- Removed Boeffla Wakelock blocker;
- updated CPU boost driver and devfreq boost driver to be controlled from sysfs;
- stop cpuidle from beeing disabled when entering suspend;
- CPU boost and devfreq boost driver set to disabled on boot;
- added dynamic stune boost;
- ajusted CPU input boost for dynamic stune boost - frequency can't be controlled from sysfs.
- updated CPU boost driver:
* added new medium boost step;
* uses state_notifier to double check screen state and make sure no boosting is done when screen is off;
* checks if input frequency is disabled (0) before boosting and not execute boost of 0 mhz;
- re-done GPU boost with medium boost instead of maximum;
- updated devfreq boost driver to use state_notifier to double check screen state and make sure no boosting is done when screen is off;
- more battery optimizations Bluetooth and WiFi driver;
- interactive set as default CPU governor for balanced profile;
- blu_active CPU governor update;
- Spectrum profiles updated;
- Synapse updated with new options.
Ver. 2.5 Changelog:
- updated source to N950FXXU6DSD5;
- updated ramdisk to N950FXXU6DSD5;
- ramdisk changes - Deluxe ROM compatibility;
- updated to Linux 4.4.180 and made specific PK fixes;
- new compiler optimizations;
- morosound mod update (working with speaker and headpiece) and fixes;
- added back schedutil CPU governor and updated it;
- added new governors based on schedutil: blu_schedutil, helix_schedutil, darkutil, electroutil, pwrutilx governors;
- added energy cost bindings for Energy Aware Scheduling in Device Tree and Fair Schedule energy params for schedutil based governors possible usage;
- set blu_active/blu_schedutil governor as default;
- maple i/o scheduler optimizations;
- Spectrum profiles update;
- Synapse update and bug fixes;
- Phantom Kernel boot script updates and optimizations in execution after boot to eliminate lag;
- changed some PK tweaks for better stability;
- reduced max_pool_size of zswap from 50 to 20;
- updated CPU and BUS boost drivers;
- replaced Android Low Memory Killer with Simple Android Low Memory Killer;
- disabled core control and removed sysfs of CPU hotplugger;
- updated LZ4 compressor/decompressor modules;
- optimizations CPU, GPU, BUS, I/O, HMP, thermal and many more;
- bug fixes;
- removed unneeded logging, tracking and debugging for better battery savings;
- tuned CPU and BUS boost duration for better smoothness;
- some other adjustments to eliminate lag.
Ver. 2.4 Changelog:
- merged NFS version into regular version;
- CPU OC possibility of 2808 Mhz;
- updated to Linux 4.4.179;
- CPU, HMP, GPU, BUS and memory manager optimizations;
- ISP, CPU, GPU thermal ajustments;
- blu_active governor adjustments;
- enabled swap back (zswap,vnswap);
- ramdisk bug fixes;
- Phantom Kernel boot script update;
- PK boot script vibrates three times on complete;
- Synapse updates and bug fixes;
- Spectrum profiles updated and vibrate once on apply;
- Gaming Spectrum profile is safely OC-ed now, CPU at 2496 Mhz and GPU at 572 Mhz;
- disabled Dynamic FSync on boot - can be enabled after if needed for extra performance;
- Enabled software CRCs on the data blocks can be up to a significant 30% performance cost, but can be disabled for extra performance;
- enabled nmi_watchdog - can be enabled after if needed for extra performance;
- Entropy adjustments and optimization;
- Boeffla Wakelock blocker's wakelock list updated;
- LMK tweak removed - stock values used;
- enabled back Samsung SPCM service;
- Synapse updated for LMK - Custom profile has the removed LMK tweak values in case you need it;
- compiler performance optimizations and warnings fixes;
- added support for DriveDroid app;
- added CIFS support;
- set tweaked maple as default I/O scheduler;
- UKSM disabled on boot;
... and other bug fixes and optimizations.
Ver. 2.3 and NFS Changelog:
- updated installer script and added clean of BusyBox from ZIP installer script;
- Phantom Kernel's boot script update: tweaks and fixes;
- added devfreq boost and event-based CPU boosting drivers (by Sultan Alsawaf );
- added CPU boost on some events (credits to: @remilia15):
* Boost CPU for app launches and app transitions;
* Boost CPU to the max for 50 ms when userspace launches an app;
* Boost when memory pressure becomes high;
- set minimum GPU frequency to 260 Mhz on boot;
- some parameters of SAMSUNG EXYNOS8895 SoC device tree reverted to stock to eliminate lag;
- Synapase fixes;
- Spectrum profiles updated;
- ... and some other adjustments, fixes and tweaks for a better balanced experience.
Ver. 2.2 and NFS Changelog:
- updated to Linux 4.4.178;
- ramdisk updated to N950FXXS5DSC5l;
- enabled CPU Core control;
- performance and battery life adjustments to BUS/GPU/CPU;
- optimized CPU, GPU and thermal;
- CPU DVFS disabled on boot;
- minor CPU blu_active governor tweaks;
- GPU OC possibility to 572 mhz.
- set 338 Mhz as default minimum GPU frequency;
- other GPU/CPU optimizations;
- added Dynamic FSync;
- optimized the ext4 fsync;
- VM tweaks for better smoothness;
- disabled some more unneeded tracing, logging and debugging;
- disabled swap (zswap,vnswap);
- enabled UKSM as default;
- Memory Management and utilities optimizations;
- PK boot script adjustments;
- added CPU Input Boost on touch events;
(This will make min CPU frequeuncy jump in Synapse. Set it to Disable if it's annoying you, or tune it for more performance/battery. I recommend to leave it like this for now.)
- removed zzmoove governor (causes random reboots);
- added Morosound mod for Madera/CS47L92;
- int. and ext. I/O schedulers set to tweaked deadline;
- enable optimized cryptographic algorithms;
- Magisk 19 compatibility fixes and optimizations;
- Boeffla wakelock blocker wakelocks list updated;
- updated Synapse and Spectrum profiles;
- Synapse fixes (clear Synapse data after flashing kernel).
Ver. 2.1 and NFS Changelog:
- removed SEC_SELINUX_PORTING_COMMON;
- added override RGB in sysfs;
- disabled some unneaded loging, tracing and debugging;
- deadline set as default I/O scheduler for internal and external storage
- TWRP zip installer updated:
* added safety feature to flash on N950 device only;
* small fixes when patching ROM files;
* faster script execution;
* double compressed ZIP/TAR.xz combo for boot.img and patched libs (overall smaller size for better distibution);
* Script face-lift.
- disabled SELinux forced enforcing and some security patches;
- disabled schedutil governor and FREQVAR_SCHEDTUNE until;
- Spectrum battery profile corrected;
- ramdisk cleanup;
- ramdisk fixes for Magisk 18.2 compatibillity;
- ramdisk tweaks and other minor adjustments;
- added UFS/NTFS/ISO9660/JOLIET/ZISO/UDF/UDF_NLS;
- disabled CONFIG_LOD_SEC (Linux on dex security);
- Boeffla Wakelock blocker wakelock list updated;
- fixed BOEFFLA_WL_BLOCKER blocking "OK Google!" on some devices;
- and a few other minor adjustments...
Ver. 2.0 and NFS Changelog:
- initial upload. Enjoy!
Ver. 1.9.3 and NFS Changelog:
- Removed all LED tweaks except fade control (because of compatibility issues)
- Spectrum battery profile correction
- Synapse LED options and HMP profiles updated.
* There is a Smart Screen Dimming and a non-Smart Screen Dimming version of the kernel available for download.
Ver. 1.9.2 and NFS Changelog:
- ramdisk optimizations
- updated net drivers (Wifi + Bluetooth)
- added binfmt_misc support
- Phantom scripts update
- DraStic fixed (and probably dome other apps)
- other bug fixes...
Ver. 1.9.1 and NFS Changelog:
- bug fixes (LED, UFS)
- Phantom Kernel boot scripts update
- re-enabled some of the disabled logging for Magisk compatibility
- disabled /data temp files cleaning and fstrim when charging starts
- added 99maid.sh to /=Phantom Scripts= folder to be available in case of need (just copy+paste to init.d)
Ver. 1.9 and NFS Changelog:
- Compiled with Toolchain UBERTC 6.4.1 + GRAPHITE optimizations
- Updated to Samsung Open Source N950FXXU5CRK2
- Updated to Linux 4.4.169
- used net (Wifi + Bluetooth) from stock N950FXXU5CRK2 (better stability overall)
- added Synapse support (with a lot of optinons, a lot)
- added Spectrum profiles to Synapse
- clean-up some Synapse action scripts
- added clean Synapse data from kernel .zip on flash
- zip flashing script fixes
- added /data temp files cleaning and fstrim when charging starts
- added patches and fixes for compatibility with Synapse to various drivers (hotpluger, logger, s.o)
- added ROW and FIFO I/O Schedulers
- various ramdisk fixes
- Phantom ramdisk scripts updated
- ramdisk changes, added some more tweaks and optimizations
- reverted some old VM tweaks for better battrey life
- set voLTE enabled props from ramdisk (just in case...)
- Spectrum profiles updated and bugs fixes
- made Spectrum profile to reset on boot for Synapse compatibility
- added zipalign and sqlite optimization scripts to /=Phantom Scripts= folder to be available in case of need (just copy+paste to init.d)
- CPU Samsungplug optimizations and CPU core control
- Spectrum profiles updated (added core control)
- enabled schedule workqueues on awake CPUs as default
- Boeffla wakelock blocker wakelocks tunning
- GPU.mali tuning
- LED voltage ajustments and intensity control updated/fixed (use this with Synapse for better compatibility)
- Smart Screen Dimming optimizations (when brightness hits 0 gamma starts increasing)
- added multipath TCP
- multipath TCP added to Synapse
- added back TCP congestion: lia, olia, wvegas, balia (MPTCP linked)
- disabled Kernel logging on boot as default
- 100% compatibility with Spectrum and Synapse, with Mtweaks not so much.
Ver 1.8.1 and 1.8.1 NFS Changelog:
- merged/used ELS source tree updated to Linux 4.4.163
- SELinux quick fix for deodexed ROMs
- added ramdisk patch for SELinux to always permissive.
Ver 1.8 and 1.8 NFS Changelog:
- compiled with UBERTC 5.4.1 + GRAPHITE optimizations
- merged/used ELS source three updated to Linux 4.4.162
- added Smart Screen Dimming
- panel optimizations and mdnie override RGB posibility
- added mega SeLinux patch (thanks to @corsicanu)
- boot SeLinux FLAGS set to always permissive and fake enforced
- Spectrum profiles updated
- wifi drivers updated from N950FXXU5CRHA (blobs removed)
- battery_v2 drivers update (N950FXXU5CRHA)
- other updates from N950FXXU5CRHA
- removed TCP congestion algorithms: LIA, OLIA,WVEGAS,BALIA
- removed MPTCP (old Samsung driver - compatibility issue)
- added ODM workaround to ramdisk
- GPU and CPU performance optimizations
- HMP improvements
- updated GMS Doze .xml
- default TCP congestion algorithm is westwood
- ...other small bug fixes and tweaks
Ver 1.8 NFS Changelog:
* all of ver.1.8 changes and:
- increased Voltage for 683 mhz step by 50 (max possible to be safe)
- Spectrum profiles updated to get more performance compared to ver. 1.8
Ver 1.7 and 1.7-NFS Changelog:
- update to Linux 4.4.161
- merged/used ELS Project source tree updated to Linux 4.4.160
- schedutil governor fix (reverted to old code because new code caused random reboots)
- optimized interactive governor set as default on boot and for balanced profile
- All Spectrum profiles updated with optimizations, some changes and fixes.
- WireGuard updated to latest
- added CPU Touch boost extended with scheduler tune based on top apps (disabled as default).
- security patch fix for SELinux always to permissive mode (to fix FCs of LockScreen/Settings on Deluxe ROM and other)
- led (fade) control update. Now it's more than fade.
- RGB Leds brighness/timing tweaks.
- ramdisk fixes
- added swap support back
- disabled UKMS to run on boot
Ver 1.6 Changelog:
- Updated to Samsung Open Source N950FXXU5CRHA
- Updated ramdisk to N950FXXU5CRHA
- updated to Linux 4.4.159
- introduce Exynos dtbtool to the Linux build system (Credits & Thanks: @farovitus & @corsicanu)
- build from dts rev7 (Credits & Thanks: @farovitus & @corsicanu)
- 99killer script update
- phantom ramdisk scripts update
- added 4 more boeffla wakeloks to block
- Phantom customizations fixes
- Spectrum battery, balanced profiles changes to use schedutil governor
- minor CPU scaling method update
- CPU.little default governor set to schedutil
- schedutil governor updated and tweaked for better performance and battery life
- schedutil governor changes to use different rate limit when in suspend/active
Ver 1.6 NFS Changelog (EXPERIMENTAL):
* NFS VERSION HAS THE SAME SAFE PARAMETERS AS THE NON-EXPERIMENTAL VERSION ON BOOT, but probably will generate more heat *
- Same changes as ver. 1.6
- CPU OC possibility to 2.8 Ghz (2808000 mhz)
- GPU OC possibility to 683 mhz
- GPU OC without CPU frequency restrictions
- Spectrum profile "Gaming" OC-ed at 2.7Ghz / 572 mhz
(No support will be given if something goes wrong while using the NFS version! AND don't blame me if you burn something.)
Ver 1.5 Changelog
- updated to Linux 4.4.153
- CRGA ramdisk update
- added UKSM 0.1.2.6
- Possible max CPU OC frequency set to 2704 Mhz
- added darkness and bioshock governors
- added max GPU frequency of 572 mhz
- Some GPU optimizations (slightly a bit more battery life and more performance)
- Set Spectrum balance profile max GPU speed of 455 mhz on boot (better battery life)
- disabled some logging, debugging and tracing
- added NTFS/ISO9660/UDF FS Support
- added Automount FS Manager 4 support
- added more TCP congestion algorithms (bic, reno, cubic, westwood, highspeed, hybla, htcp, wvegas, vegas, scalable, lp, yeah, veno,lia, olia, illinois, balia)
- moved 99killer script to /.phantom folder (in case you need it)
- fixed Spectrum and Mtweaks incompatibility when using both apps
- added SysFS control for printk logger
- updated LZ4 kernel module to LZ4 v1.7.3
- a lot of ramdisk fixes and optimizations
- removed SEC_SELINUX
- added a more efficient RMM lock patch
- added fake FLAGS to help Magisk
- update the installer script from kernel .zip file
... and some other stuff that i don't recall.
seems nice, gonna try after i find a new rom
Did you took it off. It says file not found
Phantom Kernel v.1.4 is up and available for download.
Enjoy!
works pretty well with magisk 16.7
Thx so much for the kernel work
what aout gpu oc?
Motawa88 said:
what aout gpu oc?
Click to expand...
Click to collapse
Maybe, in the next update. If it's stable in testing. No promises.
Sent from my SM-N950F using Tapatalk
very great kernel bro as in the time of note 3
Wifi ist Not working
Benny100 said:
Wifi ist Not working
Click to expand...
Click to collapse
try this e report thanks
ammisr said:
what does it do?
Sent from my SM-N950F using Tapatalk
Click to expand...
Click to collapse
Flash
Wifi fix is working Big THX!
Benny100 said:
Wifi fix is working Big THX!
Click to expand...
Click to collapse
[emoji6][emoji106] WELCOME
Inviato dal mio SM-N950F utilizzando Tapatalk
6h0st kernel for N8. Nice! Used your Know N3 kernel.
TurricanM3 said:
6h0st kernel for N8. Nice! Used your Know N3 kernel.
Click to expand...
Click to collapse
welcome :good:
ammisr said:
This was taken when using v1.4, best SOT i have ever had. almost 7 hours
Sent from my SM-N950F using Tapatalk
Click to expand...
Click to collapse
how long SOT
nevermind didnt see the edit
Battery life test graph:
{
"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"
}
Sent from my SM-N950F using Tapatalk

[KERNEL] Sphinx Kernel [10/11] [4.9.261] [Clang 11] [13.03.2021] v3.6

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
Ahoy everyone,
I decided to share my personal custom kernel with all of you. The main reason i started developing this kernel is to balance performance / battery / security and also add features.
I believe i have included most of the usually requested features. If your feature is not included you can ask for it and i will try to include it as long as you don't ask for ETA's. I am a student and i do this on my spare time.
Pie kernel is based on LineageOS 16.0 sources for beryllium and is compiled
with SdClang which is Qualcomm's LLVM Compiler for extra performance. [EOL] - Final Version is 3.1
10 kernel is based on LineageOS 17.1 source for beryllium and is compiled
with latest sources from LLVM for Clang 11.
So let's jump to the interesting part!
Sphinx Pie Kernel Features - v3.1
Sphinx Pie Kernel Features
Compiled with Dragon Toolchain based on Clang 9.0.0 with GCC 10 and optimized for SnapDragon 845
Upstreamed to 4.9.194
Merged CAF Tag LA.UM.7.3.r1-07900-sdm845.0
Merged Latest Lineage 16.0 commits
Makefile Optimizations
Novatech 9.6.20
WireGuard Support
Dynamic Stune Boost v3
GPU Underclock to 180 Mhz
CRC Check Disabled
Pass SafetyNet without Magisk / Root
Boeffla Wakelock Blocker
AdrenoBoost v2.2 Support
Adreno 630 Nap Mode
Pixel 3 Energy Model
Hight Brightness Mode Support
Sound Control
IR Camera for MIUI based Roms
Support sdFAT Filesystem v2.1.8
Support exFAT Filesystem
Support F2FS File System
Support NTFS File System
Frandom Random Generator
TTL Target
IP Mangle
Fsync Control
DriveDroid Support
DTS X Eagle Driver
Exposure Adjustment Driver (FlickerFree)
Reduced Latency
Config HZ -> 300
Disabled Gentle Fair Sleepers
Atheros 9 Wireless Cards Support
Ralink 27xx / 28xx / 30xx Wireless Cards Support
Kcal Advanced Color Control
K-Lapse v5.0
Vibration Control
LED Notification Control
USB Fast Charge up to 900 mAh
LZ4 Compression Algorithm by default
Backlight Minimum Brightness Control
Power Efficient Workqueues
mac80211 Injection (Kali Nethunter Support)
I/O Schedulers: Zen v2, Maple, Fiops, Sio, Noop, Deadline, Cfq, tripandroid, Anxiety, bfq
TCP Congestion Algorithms : cdg, westwood, bbr, sociopath
Pre-Configured Flash and Forget
Zipped up with AnyKernel2
Sphinx 10/11 Kernel Features - v3.2+
Compiled with latest Clang 11
Upstreamed to Linux 4.9.261
Merged latest CAF tag
Rebased on Lineage 18.0 sources
Merged Latest Lineage 17.1 commits
WireGuard Support
GPU Underclock to 180 Mhz
CRC Check Disabled
Latest Patches for SafetyNet Flags
Boeffla Wakelock Blocker
AdrenoBoost v2.2 Support
Adreno 630 Nap Mode
Sound Control
Support sdFAT Filesystem v2.1.8
Frandom Random Generator
TTL Target
IP Mangle
Expose FPS interface
Fsync Control
DriveDroid Support
DTS X Eagle Driver
Exposure Adjustment Driver (FlickerFree)
Reduced Latency
Simple Low Memory Killer
Disabled Gentle Fair Sleepers
Atheros 9 Wireless Cards Support
Ralink 27xx / 28xx / 30xx Wireless Cards Support
Kcal Advanced Color Control
K-Lapse v5.0
Vibration Control
USB Fast Charge up to 900 mAh
LZ4 Compression Algorithm by default
Backlight Minimum Brightness Control
Power Efficient Workqueues
HID Patch for 4.9 Kernels
mac80211 Injection (Kali Nethunter Support)
I/O Schedulers: Noop, Deadline, Cfq, tripandroid, Anxiety, bfq
TCP Congestion Algorithms : cdg, westwood, bbr, sociopath
Pre-Configured Flash and Forget
Zipped up with latest AnyKernel3
Notes
I bear absolutely no responsibility. If you brick your device. If you are not sure what a kernel is, how to flash it or how to restore your phone in case something goes wrong then do NOT proceed.
Moreover, you should flash this kernel only over the stock kernel that came with your Rom.
Downloads -
Pie EOL - Final Version 3.1
Sphinx 3.1: https://www.androidfilehost.com/?fid=1899786940962594232
10/11 - Current
Sphinx v3.6 : https://www.androidfilehost.com/?fid=2188818919693754613
/-----------------------------------------------------------------------------/
I have dedicated countless hours developing this kernel so if you like my work consider buying me a coffee to help me stay awake and keep improving Sphinx.
Click Here for Coffee
/-----------------------------------------------------------------------------/​
For Support, Updates, Questions, Releases regarding Sphinx join t.me/SphinxKernel
XDA:DevDB Information
Sphinx Kernel, Kernel for the Xiaomi Poco F1
Contributors
milouk
Source Code: https://github.com/milouk/Sphinx-Beryllium
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.6
Stable Release Date: 2020-03-13
Created 2018-11-02
Last Updated 2020-03-13
Pocoooooooooo F1 - Donations
If you see your name and not your xda name PM me
Donations made by:
@JJ111
@tnicko
Jerzy Gawryluk
Georgios Bitloglou
@tnicko
@bla.blub
@reg66
@Lazy Rich
@BakaPhoenix @Mrdream94
@emmanuelo7
Pascal Bourasseau
@niccio67
Ramgonda Desai
@MP2005
 @2WildFirE
@Dan_Jacques
@Bonz
@rodries
@fwb1973
@Lycidias
@dodjob
@makimac
@_phil07_
Arge_Canna
@SSmanBuraQ
@fmcheetah
@Migueliyo98
Andrea Nastro
Joao Martinho
Thanks again guys!
Changelog
Sphinx v1.7
-Upstreamed to Linux Version 4.9.135
-Merged ext4 upstreamed commits
-Merged Lineage 16.0 Upstream commits
-Now Compiling with Uber Toolchain 6.4.1
-Added Zen v2 I/O Scheduler
-Added TCP Congestion Algorithms (bic, cdg, cubic, westwood, htcp, hstcp, hybla, vegas, scalable, lp, veno, yeah, illinois) default is cdg
-Improved msm_performance
-Enabled USB Fastcharge up to 900 mAh
-Added blu_schedutil
-Makefile Optimizations
-Added LED Notification Control
-Enabled LZ4 Compression Algorithm for Zram
-Now Sphinx comes Pre-Configured out of the box for balance
-Support F2FS File System
Sphinx v1.8
-Compiled with Uber Toolchain 9.0.0 tuned for Snapdragon 845
-Added Adreno Idler
-Added Frandom Random Generator
-Tuned-Up Westwood TCP
-Added Simple Low Memory Killer
-Replaced Cpu_boost with Cpu_Input_Boost driver
-Adapted Dynamic Schedtune Boost to Cpu_Input_Boost
-Added Devfreq_boost driver
-Added alucard_schedutil
-Added darkness_schedutil
-Added pwrutilx_schedutil
-Zram Upstream Updates
-Crypto: Now compiling with armv8.2-a flag
-Updated WireGuard
-Added DCTCP TCP Algorithm
-Added BBR TCP Algorithm
Sphinx v1.8.7
-Removed Adreno Idler
-Compiled with GNU GCC 8.2.1
-Removed Simple Low Memory Killer
-Removed Cpu_Input_Boost / Devfreq_Boost
-Fixed ALL Reboot Issues
-Improved KCAL Control
Sphinx v1.9
-Now Building with Custom Uber Toolchain 9.0.0 with various optimizations for SnapDragon 845
-Upstreamed from CAF to 4.9.136 , 4.9.137, 4.9.138, 4.9.139 and 4.9.140
-Added Tripandroid I/O Scheduler
-Added Sociopath TCP Algorithm
-Massively Tuned Up Westwood and set it as default
-Improved Wakelock Blocker
-Reduced a lot Latency
-Upgraded to AdrenoBoost v2.1
-Updated WireGuard
-Merged CAF Tag CAF LA.UM.6.3.r4-05800-sdm845.0
-Set the Kernel's Base Frequency to 500 HZ
-Support NTFS File System
Sphinx v2.0
-Upstream to 4.9.141, 4.9.142, 4.9.143
-Updated TouchScreen to 8.12.6
-Underclocked GPU to 180 MHz
-Set Initial GPU Frequency to 180 MHz
-Improved Memcpy spped by 15%
-Added Sound Control (Only Headphones and Mic)
-Updated LZ4 Module
-Fixed ExFAT and NTFS File Systems
-Decreased the Time the GPU needs to enter Idle Module
-Improved Battery Drop Issue (NOT fixed, just improved)
-Merged some SnapDragon 845 Patches
-Removed Pwrutilx, Alucardsched, Darkness_Sched and Blu_schedutil as they were Unstable.
-Blocked Some extra Wakelocks
-Now Sphinx comes PRE-CONFIGURED out of the box. Just Flash And Forget (You need Magisk)
-Updated WireGuard
-Merged Lineage Latest Changes
-Some Battery Saving Patches
-Much more minor things --> Check GitHub
Sphinx v2.1
-Upstreamed to 4.9.145
-Re-Based Sphinx Kernel tree from scratch based on CAF Pie Tag
-Wifi working on all Roms
-Touch Firmware from 8.12.10
-Pre-Configured settings optimized a bit more
-Merged Latest Lineage Changes
-Updated WireGuard
-Many more bug fixes and Optimizations --> GitHub
Sphinx v2.2
-Upstreamed to 4.9.147
-Updated WiFi Driver from CAF Tag LA.UM.7.3.r1-0660-sdm845.o
-Merged Latest Lineage OS Changes
-Built with SdClang for maximum optimization and performance
-Merged Touch Firmware 8.12.20
-Updated AnyKernel2
-Updated Schedutil Governor
-Merged some cpufreq patches from Upstream
-Merged a commit for smoother Frequency downscaling
-Cleaned and Improved pre-configured Settings
-Fixed the bug during Installation for users with 9.0 and not 9
-Updated WireGuard
-Many more bug fixes and Optimizations --> GitHub
Sphinx v2.3
-Linux Upstream to 4.9.148
-Merge CAF Tag 'Merge tag ''LA.UM.7.3.r1-06600-sdm845.0' into kernel.lnx.4.9.r11-rel ~8.000 Changes
-Merge Lineage OS Changes
-Compiled with LATEST sdClang 6.0.9 from Qualcomm
-Merged 8.12.27 Touch Firmware
-Many ufs (mobile ssd) improvements
-Added Anxiety I/O Scheduler
-Improved Dyanamic Schedtune frequency scaling
-Patched some memory Leaks
-Some Battery improvement commits
-Updated WireGuard
-Many more changes --> check GitHub
Sphinx v2.4
-Upstream CAF/Linux version to 4.9.151
-Merged some commits for performance improvement
-Added High Brightness Support
-Merged some commits that improved wakelocks
-Enabled Nap Mode for Adreno 630 GPU
-Adjusted Energy Model to be inline with Pixel 3
-Added BFQ I/O Scheduler v8r10
-Fixed issue with stuck frequencies
-Massive refinement of pre-configured settings. (Note 1)
-Removed TouchBoost control from userspace
-Merged many Scheduler commits
-Merge Some EAS improvement commits
-Merged Touchscreen Drivers from Official Xiaomi's Pie Kernel release.
-Merge Lineage 16.0 Changes
-Update WireGuard
-Many more commits --> Check GitHub
Sphinx v2.5
-Upstreamed from 4.9.151 to 4.9.155
-Merged CAF Tag LA.UM.7.3.r1-06700-sdm845
-Merged some Camera improvements (not feature improvements...code improvements. Sphinx is not a camera app)
-Updated Touch Firmware to 9.1.24
-Update display panel drivers from MiCode/dipper-p-oss release
-Updated Wifi drivers
-Updated Sound drivers
-Updated SdFat Driver to v2.1.8 and merged some upstream commits from 4.13
-Updated BFQ I/O Scheduler to v8r12 and also merged mnany fixes
-Improved Cpu-Boost driver
-Reduced the log spam to improve performance
-Merged a commit for entering sleep state quicker
-Merged a commit that will make face unlock much quicker
-Merged a commit that will fix frequency scaling. So now governor's frequency change requests will be followed.
-Added Toggle for disabling newly added devices
-Disabled some TCP Congestion Algorithms to make the image lighter
-Enabled Support for Ralink 27xx / 28xx / 30xx external wifi adapters.
-Merged some Power Efficient Workqueue Changes that can save some battery.
-Fixed a stupid warning that was in dmesg.
-Cleaned the script and also now you do NOT need Root (Magisk) for pre-configured settings to apply. (thanks to @rodries)
-Updated WireGuard Backend
-Merges Lineage's latest sources.
-Many more changes --> Check GitHub
Sphinx v2.6
-Upstreamed to Linux 4.9.162
-Merged CAF TAG LA.UM.7.3.r1-06900-sdm845.0
-Fixed Carrier Video Calling
-Now compiling with Dragon Toolchain based on Clang 9.0.0
-Merged some upstream F2FS commits
-Fixed F2FS Verity.
-Merged some Power Efficient Workqueue commits to save some battery
-Improved Sociopath TCP Algorithm
-Merged some TCP improvement commits
-Enabled MIN_CAPACITY_CAPPING feature
-Added an extra option for Dynamic Schedtune Boost Duration in /sys/module/cpu_boost/parameters/dynamic_stune_boost_ms and improved the code.
-Merged some more Dynamic SchedTune Boost improvement commits.
-Fixed HDR Issue after watching Youtube
-Added K-Lapse Feature
-Merged Lineage 16 Branch
-Updated WireGuard
-Improved Default Settings and fixed some of them not sticking.
-Many More --> Check GitHub
Sphinx v2.7
-Upstreamed to Linux 4.9.166
-Improved Frequency switching
-Improved Bluetooth performance
-Improved K-Lapse
-Added some more Power Efficient Workqueues
-Merged some ufs improvements
-Checked out ion to Android Q Developer Preview 1
-Fixed usb tethering.
-Merged some wakelock power saving commits
-Merged Lineage 16 Branch
-Updated WireGuard
-Many More --> Check GitHub
Sphinx v2.8
-Upstreamed to Linux 4.9.172
-Merged CAF Tag LA.UM.7.3.r1-07400-sdm845.0
-Added MSM Thermal Driver
-Fixed many Clang warnings
-Enabled Ultra Power Saving Mode for the Display Panel
-Increased CMA Memory from 200 MB to 296 MB
-Improved Boot Speed
-Merged many f2fs improvement commits
-Merged some UFS improvement commits
-Merged some Camera driver commits
-Exposed Drop Caches
-Merged Lineage 16 Branch
-Updated WireGuard
-Many More --> Check GitHub
Sphinx v2.9
-Upstream to Linux 4.9.184
-Merged CAF Tag LA.UM.7.3.r1-07900-sdm845.0
-Merged all the latest Security Patches
-Updated Wifi Drivers
-Adapted Some Compilers Flags to make it easier for other developers to compile Sphinx
-Updated TouchScreen Drivers from MIUI 9.6.20
-Merged some GPU fixes
-Updated K-Lapse to Version 5.0
-Fixed some memory leaks and race conditions
-Reverted Simple Thermal Driver (too many issues)
-Fixed random reboots issues
-Fixed Big Cluster stuck at 825 Mhz
-Merged Xbox Controller Drivers and more Gamepad Drivers
-Updated WireGuard Backend
-Merged Lineage 16.0 Branch
Sphinx v3.0
- Upstreamed to Linux 4.9.189
- Now compiling with my Custom GCC-10 Toolchain, built with optimization flags.
- Added Many SDM 845 specific optimization flags
- Merged Lineage 16.0 latest changes
- Merged Many SchedTune Commits
- Added VMStat and set it to 10
- Further Reduced Dirty Rations
- Merged Some UFS upstream Commits
- Improved Random Driver
- Turned off a lot of useless debug info
- Enabled RCU Boost
- Merged CFQ and other I/O improvement Commits
- Merged a bunch of sched Commits
- Added and Enabled SchedTune Assist Driver
- Added and Enabled CPUSet Assist Driver
- Merged some Workqueue commits.
- Added DTS X Eagle Driver.
- Added PSI.
- Fixed Phone rebooting into Fastboot Mode on MIUI Beta.
- Added DriveDroid Support for the first time for Pocophone.
- Added Pocket Judge Driver (this driver determines whether your phone is in your pocket and saves some extra battery)
- Merged a bunch o memory upstream commits.
- Updated WireGuard Backend.
- Many Many Many more commits --> Check GitHub.
Sphinx v3.1
- Upstreamed to Linux 4.9.194
- Merged Lineage 16.0 and 17.0 latest changes
- Updated my GCC 10 Toolchain to yesterdays commits
-Fixed Random Reboot issue
-Android 10 Support
- Added HID Mouse and Keyboard Support (you might need to set kernel to permissive for this to work)
-Zipped up with latest Anykernel3 thanks to @osm0sis
-Updated WireGuard Backend.
Sphinx v3.2
- Now Supporting only Android 10 (Q)
- Upstreamed to Linux 4.9.217
- Compiled with latest Clang 11
- Merged Latest Lineage 17.1 Sources
- Updated Wireguard backend
- Add Simple Low Memory Killer
- Zipped up with latest Anykernel3
- Applied new patches for SafetyNet Flags
- Many Many Many more commits --> Check GitHub.
Sphinx v3.3
- Upstream to Linux Kernel 4.9.225
- Merged Latest Lineage Changes
- Add initial HID Patch (I have NOT tested it)
- Update to latest Q Xiaomi Sources
- Fixed Auto Brightness and other display issues
- Memory and Cache Optimizations
- Merged latest updates for Simple Low Memory Killer Driver
- Updated Wireguard Kernel Backend
- Many Many Many more commits --> Check GitHub.
Sphinx v3.4
- Upstream to Linux Kernel 4.9.229
- Merged Latest Lineage Changes
- Fixed touch issues with FTS Panels
- Fixed High Auto Brightness
- Merged latest updates for Simple Low Memory Killer Driver
- Updated Wireguard Kernel Backend
- Many Many Many more commits --> Check GitHub.
Sphinx v3.5
- Upstream to Linux Kernel 4.9.237
- Merged Latest Lineage Changes
- Merge tag 'LA.UM.8.3.r1-08100
- Merge tag 'LA.UM.8.3.r1-08500-sdm845.0
- Rebase lineage 18.0
- Support for Android 11
- Improve power efficient workqueues
- Expose interface for showing FPS on compatible roms
- Merge latest LOS changes
- Remove some ethernet drivers and added usb ethernet drivers
- Merged latest updates for Simple Low Memory Killer Driver
- Updated Wireguard Kernel Backend
- Many Many Many more commits --> Check GitHub.
Sphinx v3.6
- Better Android 11 support
- Use WireGuard from Upstream 5.4
- Upstreamed to Linux 4.9.261
- Merged latest CAF tags
- Merged latest Lineage Sources
- Picked some LMK Driver update commits
- Many Many Many more commits --> Check GitHub.
Previous Versions
Sphinx 1.7:
https://www.androidfilehost.com/?fid=11410932744536993761
Sphinx 1.8:
https://www.androidfilehost.com/?fid=11410963190603845145
Sphinx 1.8.7:
https://www.androidfilehost.com/?fid=11410963190603854120
Sphinx 1.9:
https://www.androidfilehost.com/?fid=11410963190603858063
Sphinx 2.0:
https://www.androidfilehost.com/?fid=11410963190603869686
Sphinx 2.1:
https://www.androidfilehost.com/?fid=11410963190603876440
Sphinx 2.2:
https://www.androidfilehost.com/?fid=11410963190603880155
Sphinx 2.3:
https://www.androidfilehost.com/?fid=11410963190603888715
Sphinx 2.4:
https://www.androidfilehost.com/?fid=11410963190603903270
Sphinx 2.5:
https://www.androidfilehost.com/?fid=1395089523397888802
Sphinx 2.6:
https://www.androidfilehost.com/?fid=1395089523397909716
Sphinx 2.7:
https://www.androidfilehost.com/?fid=1395089523397929964
Sphinx 2.8:
https://www.androidfilehost.com/?fid=1395089523397958919
Sphinx 2.9:
https://www.androidfilehost.com/?fid=6006931924117911422
Sphinx 3.0:
https://www.androidfilehost.com/?fid=6006931924117935490
Sphinx v3.1 - Final Sphinx for Pie
https://www.androidfilehost.com/?fid=1899786940962594232
Sphinx v3.2
https://www.androidfilehost.com/?fid=4349826312261759378
Sphinx v3.3
https://www.androidfilehost.com/?fid=4349826312261822112
Sphinx v3.4
https://www.androidfilehost.com/?fid=8889791610682883785
Sphinx v3.5
Sphinx-v3.5.zip | Kernel by milouk for Poco F1
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Version 1.7
Ahoy Ladies and Gentlemen.
Time for new version!
Changelog:
1) Upstreamed to Linux Version 4.9.135 - Better Security / Stability / Performance
2) Merged ext4 upstreamed commits - Better System Performance
3) Merged Lineage 16.0 Upstream commits - Better Stability / Battery / Performance
4) Now Compiling with Uber Toolchain 6.4.1 - Better Battery/System Performance
5) Added Zen v2 I/O Scheduler - Better I/O Performance
6) Added TCP Congestion Algorithms (bic, cdg, cubic, westwood, htcp, hstcp, hybla, vegas, scalable, lp, veno, yeah, illinois) default is cdg - Better Internet Performance
7) Improved msm_performance - Better Performance
8) Enabled USB Fastcharge up to 900 mAh - Note (1)
9) Added blu_schedutil - Note (2)
10) Makefile Optimizations - Better Performance
11) Added LED Notification Control- Note (3)
12) Enabled LZ4 Compression Algorithm for Zram - Better Battery / Performance
13) Now Sphinx comes Pre-Configured out of the box for balance
14) Support F2FS File System - If Rom Supports it -
Notes:
Note 1: This is USB Fast Charge which means it works ONLY when you charge from a computer. The default output was 500 mAh and now it's 900 mAh (which is the maximum a usb port can support)
Note 2: This is a new EAS Governor ported from blu_spark Kernel for OnePlus 6. Currently it is almost the same with the schedutil governor from Pixel 3
Note 3: Many of you made some comment about the LED Notification being brighter etc. Now you can configure it yourself. THOUGH there is not interface for that in ANY App, you need to do it yourself.
Specifically:
Code:
* /sys/class/leds/white/device/led_fade (rw)
0 : blink
1 : fade (default)
* /sys/class/leds/white/device/led_intensity (rw)
0 : stock intensity
1-100 : 0% to 100% of stock intensity
Note: Does only work for static led, not fading/blinking !!!
* /sys/class/leds/white/device/led_speed (rw)
0 : stock speed
1 : continuous notification light
2-12 : 2 = very slow to 20 = very fast
I have listened to your requests to bring Sphinx to Poco and did everything in my powers to satisfy most of you and ensure this version is stable so if you enjoy this version don't forget to buy me a coffee
Cheers :highfive:
Wow, Amazing. Can i flash this on stock miui beta 8.11.1 also
Great work.
Edit :
Just installed , super smooth. Everything works great so far. Antutu 291328. Not sure if it is placebo but face unlock seems to be faster, haven't been able to see lock screen in the trials I have done so far.
Rom is stock beta 8.11.2 and no root yet.
Will root and tweak with suggested ex kernel manager and report
sanjay0501 said:
Wow, Amazing. Can i flash this on stock miui beta 8.11.1 also
Great work.
Click to expand...
Click to collapse
Of course you can mate
frequency on big cluster is max on blu schedutil whilst on omnirom
thanks sounds really good gonna try it right after i flashed 8.11.1
Skinpipe said:
frequency on big cluster is max on blu schedutil whilst on omnirom
Click to expand...
Click to collapse
Its how it works. It maxes the big but it lowers little cores. Currently its almost a direct copy from Pixel's 3 schedutil. If you dont like this behaviour i would suggest regular schedutil. Regarding blu_schedutil you can read more on its original thread "blu_spark kernel for OnePlus 6"
milouk said:
Its how it works. It maxes the big but it lowers little cores. Currently its almost a direct copy from Pixel's 3 schedutil. If you dont like this behaviour i would suggest regular schedutil. Regarding blu_schedutil you can read more on its original thread "blu_spark kernel for OnePlus 6"
Click to expand...
Click to collapse
ill check it out im familiar with eng.stk' work
Skinpipe said:
ill check it out im familiar with eng.stk' work
Click to expand...
Click to collapse
Awesome. Its a direct port from his kernel.
milouk said:
Awesome. Its a direct port from his kernel.
Click to expand...
Click to collapse
you absolutely sure its supposed to stay at 2803mhz constantly that is a huge power drain and makes no sense?
Skinpipe said:
you absolutely sure its supposed to stay at 2803mhz constantly that is a huge power drain and makes no sense?
Click to expand...
Click to collapse
What im saying is that i picked the code EXACTLY like it is. Its 99% the same as Pixel 3 schedutil. Also youll notice that the battery drainisnt at all as huge as you think.
Morever while merging there wasnt even one conflict the code is 100% correct and exactly as eng.stk wrote it. Ifnyou have questions about the code im not the person to ask no offense. Im not taking the credits nor the blame for someone elses work. I just think its a nice addition especially for users that need performance.
Also as you may have noticed its not the default gov for that exact reason.
**Also of course there is always the possibility to remove a feature if i see no one finds it usefull.
Btw i always listen to feedback and try to satisfy most of you.
Cheers
milouk said:
What im saying is that i picked the code EXACTLY like it is. Its 99% the same as Pixel 3 schedutil. Also youll notice that the battery drainisnt at all as huge as you think.
Morever while merging there wasnt even one conflict the code is 100% correct and exactly as eng.stk wrote it. Ifnyou have questions about the code im not the person to ask no offense. Im not taking the credits nor the blame for someone elses work. I just think its a nice addition especially for users that need performance.
Also as you may have noticed its not the default gov for that exact reason.
Cheers
Click to expand...
Click to collapse
understood, my apologies
Skinpipe said:
understood, my apologies
Click to expand...
Click to collapse
Hahaha didnt mean to offend you at all what i was tryin to say is that its not my code so i cant guarantee what its supposed or not supposed to do. Apologies if i offended you mate
milouk said:
Hahaha didnt mean to offend you at all what i was tryin to say is that is not my code so im cant guarantee what is supposed or not supposed to do. Apologies if i offended you mate
Click to expand...
Click to collapse
i was sincere not sarcastic no offence taken, honest:good:
Foourck yesssss ? you are in the Poco team ???? really really looking forward to your awesomeness on the S845 ??.
dodjob said:
Foourck yesssss ? you are in the Poco team ???? really really looking forward to your awesomeness on the S845 ??.
Click to expand...
Click to collapse
Oooouuu heello my friend. Nice to see you here i hope i wont let you down
Introduction post looks AWESOME, this is what I've been waiting for - great kernel. Flashing right away.

Categories

Resources