[PIE/Q][KERNEL][4.9.223-Upstream][GPU-OC] TrinityKernel R4.0 -(Gaming-Battery Kernel) - Razer Phone 2 ROMs, Kernels, Recoveries, & Other D

[ Introduction : ]
Welcome to The TrinityKernel, Giving the Most recent Bit Patches including new Distinctive features and Optimization(s), When your utilizing this kernel expect 2 weeks regular update.
WIP THREAD​
KERNEL DOWNLOAD :
https://github.com/francisrosario/android_kernel_razer_sdm845/releases/download/4.0/TrinityKernel-kernel-r4-20200512.zip
Special Features.
Upstream Kernel update to 4.9.215 from 4.9.198. Tons of Changes!!
KCal ( Change Display R G B Values. )
Added Adreno Boost V2.2
Added KLapse
Added new PM Driver
Added USB Fast Charge @ 900mA
Added more GPU Optimization
Compiled using Linaro Toolchain! with Snapdragon Optimization Reverted to GCC, I'll be using Different CC soon!!
Full Changelog :
Code:
[U][I][B]r4
[/B][/I][/U]
Set to Version 4.0
defconfig: Changes in SCHED_TUNE
build_kernel: use 2020-03 for the patch level
Merge 4.9.223 into kernel.lnx.4.9.r34-rel
Merge 4.9.222 into kernel.lnx.4.9.r34-rel
Merge 4.9.221 into kernel.lnx.4.9.r34-rel
Merge 4.9.220 into kernel.lnx.4.9.r34-rel
Merge 4.9.219 into kernel.lnx.4.9.r34-rel
Merge 4.9.218 into kernel.lnx.4.9.r34-rel
Merge 4.9.217 into kernel.lnx.4.9.r34-rel
Merge 4.9.216 Fix
Merge 4.9.216 into kernel.lnx.4.9.r34-rel
Revert "dynamic eas boost: add 4th level - longer input boost, higher…
Revert "dynamic schedtunes: boost framework based top-app boost uci h…
Revert "sched/tune: Create dynamic_boost SchedTune parameter"
Revert "cpu-boost: Reset Dynamic SchedTune Boost only if it is curren…
Revert "sched/boost: Perform SchedTune boosting when sched_boost is t…
Revert "dynamic schedtune: Boost Value of 3"
Revert "dynamic schedtune: add UCI rootless config hooks"
Revert "dynamic eas boost: add 4th level - longer input boost, higher…
Revert "Dynamic Tuneboost V3"
Revert "sched/tune: Add initial support for Dynamic SchedTune Boost"
Add BFQ and Patches
[U][I][B]r3
[/B][/I][/U]
a1b25362f906 [SIZE="4"]Version 3.1[/SIZE]
f3042ef51c73 devfreq_boost: Merge fixup
65425451d967 Regenerate Defconfig + enable devfreq boost
eedbb7f89a9e base: dd: Continue probe deferral forever as needed after late_initcall
d7089bdcb539 drm/msm/sde: Cache register values when performing clock control
c44748f7dfe1 devfreq_boost: Replace all instances of fb_notif with msm_drm_notif
088e8713acb2 devfreq_boost: Convert to msm_drm_notifier
6e25561aa700 devfreq: Introduce devfreq boost driver
585649668676 defconfig: Regenerate
25f3a25bd678 Revert "drm: msm: sde: Boost CPU when a new frame is ready to be committed"
779cfdee0f9a cpufreq: Return 0 from ->fast_switch() on errors
08ba2b4cef95 Revert "mm: Boost when memory pressure becomes high"
2ac6b8c2b77f Revert "kernel: Boost to the max for a short amount of time when zygote forks"
cf964e14044b power: qpnp-fg-gen3: fix soc not keeping full after charging overnight
215800e2282c sched: boost: Don't try to kick idle CPU
f48c30b60da4 ARM: dts: sdm845: Set GPU idle timeout to 64 ms
bb1ebbfd4607 gcc-9: silence 'address-of-packed-member' warning
192912e0d72c qseecom: micro optimization for module detection
ac529eda77bf thermal: core: Use high value to init low temp tracking thermal_zone
91a5c4f6cd15 cpufreq: Return 0 from ->fast_switch() on errors
91607fc81ce2 cpufreq: blu_schedutil: merge latest CAF kernel/msm-4.9
6f713ec32fcb cpufreq: blu_schedutil: fix iowait_boost_enable on gov change
e3d5e498db9a cpufreq: blu_schedutil: add some bits from Pixel 3
5cab0f285280 cpufreq: blu_schedutil: add a couple fixes
752fef8bae3f cpufreq: blu_schedutil: make iowait boost optional
661c57491bd2 cpufreq: blu_schedutil: Introduce initial bringup
b0b716669178 beryllium: Block a couple wakelocks
2e5fa2022a18 kernel: Boost to the max for a short amount of time when zygote forks
efb95e07616a drm: msm: sde: Boost CPU when a new frame is ready to be committed
766a7b9289e7 qpnp-fg: adjust percentage calculation formula
243e391a74be drm/msm/sde: Cache register values when performing clock control
b2fd6214e852 string: Use faster alternatives when constant arguments are used
248f45bbad83 Initialize ata before graphics
6b73094b185c kernel: time: reduce ntp wakeups
4d81ebff7f7b drm/msm: do not notify events when the system is shutting down
ca73061a13ac mm: Boost when memory pressure becomes high
ba153511da46 drm/msm/sde: Wait for ctl_start asynchronously on cmd mode panels
cdb7a2faee49 clk: qcom: clk-cpu-osm: Don't sleep inside the global clk lock
e5aa97911226 clk: qcom: clk-cpu-osm: Convert atomic delay into sleep
19e4de07702b clk: qcom: clk-cpu-osm: Limit the rate of CPU clock-rate changes
afc6061b7f82 Merge branch 'Master-Branch' into Master-Workspace
84277d2ce69a ecryptfs: Fix up bad backport of fe2e082f5da5b4a0a92ae32978f81507ef37ec66
6e13499cef9c kernel.lnx.4.9.r27-rel: Merge fix
47fff482b8ff Merge remote-tracking branch 'kernel.lnx.4.9.r27-rel'
b38aba85e44e defconfig : EXP defconfig
4109cc4db707 Merge 4.9.215 into kernel.lnx.4.9.r27-rel
5ca831a09a02 Merge tag 'LA.UM.8.8.1.r1-01800-QCS605.0' into Master-Workspace
ab90ee2f5c21 Merge tag 'LF.BR.1.2.11.r1-01000-8x09.0' into Master-Workspace
e140b761cf1c Makefile: Fix Toolchain dir
4e03d7a4e255 staging/android: Fix ashmem merge.
52332bbc5023 r3
4c8938c9bfc6 Revert "intramfs gitignore"
86509f5ff586 mm: Disable readahead by default
d1e0f0d6943c mm: Do not periodically flush dirty pages
fdf51b0e69e8 PM / Sleep: Expedite garbage collection if idle
9a11e7759313 PM / Sleep: Start killing wakelocks after one minute of idle
a2230fe58e8c mm: util: Guarentee memory access to applications
52b38ee933ba mm: Lock dirty background writeback to an internal ratio
3eb19913fff1 mm: Adjust dirty ratio percentage
bc4f4d0c194b mm: util: Guarentee memory access to applications
633dce263118 net: Allow BFP JIT to compile without module support
31f8cebc7533 intramfs gitignore
3f1a11664de1 arm64: bfp_jit: Enable JIT by default
63281e7ce869 arm64: debug: Disable JTAG debugging by default
99483ccc7026 Compiler Build Patch Fix!
834fc0c91c06 Merge branch 'Master-Branch' into Master-Workspace
4d9f5b2aa40b Change Build Path to new PopOS Directory (Server)
970381096fc3 Revert Build_Kernel
5c714ce7a7ef drivers: video: Add MDSS Powersuspend hook
4476d23ce143 Auto stash before cherry pick of "arm/arm64: crypto: boost performance"
1ff4dd34cede arm/arm64: crypto: boost performance
974b6f110042 Disable DSB #2
f683aea985af Disable DSB
76d1cb056575 fix powersuspend compile error
9bd9ef62e2e1 powersuspend: add debug sysfs trigger to see how driver work
86c41b37a842 powersuspend: Replaced deprecated singlethread workqueue with updated schedule_work
3919657cb2c5 powersuspend: add power_suspended boolean for global access
0325390f1b5f kernel/power/powersuspend: v1.6.1 add autosleep & hybrid modes
80f2d22a18cf Push Defconfig
1edc3bfe5fa3 kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.7 (faux123/Yank555.lu)
63da01570ccc kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.7 (faux123/Yank555.lu)
bd15372b7b84 kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.6 (faux123/Yank555.lu)
263fc80493c0 kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.5 (faux123/Yank555.lu)
43029176f2df GenerateChangelog Script
a30b80f32117 Merge tag 'LA.UM.8.3.r1-07300-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
671d8e5b592f Merge tag 'LA.UM.8.3.r1-07200-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
ecfd6ac644a0 Merge branch 'master-wip' of https://github.com/fxTHaxxorX/android_kernel_razer_sdm845.git; tag 'LA.UM.8.3.r1-07100-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
861060461ec4 Merge tag 'LA.UM.8.3.r1-06900-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
0c0ecca0153c Revert "fs/dcache: Set vfs_cache_pressure to 0"
6268ba7689f0 Revert "mm/vmscan: Set Swappiness to zero"
053fdb2fceca Increase adreno bus data limit: 1200:
fad8b809d019 random: Fix comment for unused random_min_urandom_seed
14431ac1929e random: Remove variable limit
90c7fda85003 random: Remove stale urandom_init_wait
f3588b6c2508 random: Prevent add_input from doing anything
16d82e9dd51a r2 Changes ( version ; devfreq )
d6df9f8beccf gpu: devfreq: adrenoboost v2.2
65f7f0768c28 GPU: add 180 MHz step
7e7c52d20740 sdm845: max gpu freq -> 835MHz
2c0ef4504960 GPU OC to 833 mhz
[U]
[I][B]r2[/B][/I][/U]
16d82e9dd51a r2 Changes ( version ; devfreq )
d6df9f8beccf gpu: devfreq: adrenoboost v2.2
65f7f0768c28 GPU: add 180 MHz step
7e7c52d20740 sdm845: max gpu freq -> 835MHz
2c0ef4504960 GPU OC to 833 mhz
2f056c80b285 workqueue: make workqueue available early during boot
7d42ee1396f1 mm: swap_ratio: consider swap slots
8ae0abb02e56 mm/swapfile.c: fix swapon frontswap_map memory leak on error
0342544ef43f mm: kvfree the swap cluster info if the swap file is unsatisfactory
e723363ef91b mm/swapfile.c: fix swap space leak in error path of swap_free_entries()
ff582ec0c2f6 mm, swap: avoid lock swap_avail_lock when held cluster lock
165019f7f57e mm, swap: Fix a race in free_swap_and_cache()
64876fd07a90 mm/swap: skip readahead only when swap slot cache is enabled
98e0a0d12bcf mm/swap: enable swap slots cache usage
cf45d9165fa9 mm/swap: add cache for swap slots allocation
f979d71c7445 mm/swap: free swap slots in batch
442784a913cd mm: add three more cond_resched() in swapoff
2487dfea5612 mm/swap: skip readahead for unreferenced swap slots
26030f179c2c mm/swap: allocate swap slots in batches
5bfe1c57a374 mm/swap: fix kernel message in swap_info_get()
691f944d8d88 mm/swap: add cluster lock
5850a02d5e3d sched/tune: increase BOOSTGROUPS_COUNT to 6
559d8148e9d5 thermal: fix lockdep splat from qcom driver
04e304e0d269 cpuset: fix hotplug lock
67a1a72bb7b9 sched: fix unbalanced locking
970352063161 mm: per-process reclaim
7953370ec295 Merge 4.9.214 into kernel.lnx.4.9.r27-rel
2ab14262da04 temporarily revert to GCC Compiler
If you want to change display RGB Values and etc.. Kindly use Franco Kernel Manager / Ex Kernel Manager you can get it in Playstore or Google
Nightly Daily Builds :
https://trinitydata.ap.ngrok.io/s/DyLSqHRGmcampzz
Kernel Source :
Kernel Source Code
Special Thanks to :
Arter97 - Kernel Source Base
DooMLord - Kernel Tools
XDA Community for Kernel Patches

- reserved for r3 beta release -

Hello. Thank you very much for this kernel. Can you add much-needed tweak ? Always on fingerprint. So is fingerprint will work when screen is off . Thanks.

gorast358 said:
Hello. Thank you very much for this kernel. Can you add much-needed tweak ? Always on fingerprint. So is fingerprint will work when screen is off . Thanks.
Click to expand...
Click to collapse
Let's me see about that one, But that feature is available in GSI ROMs.
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Try RR or Havoc ROM.

I'm using stock with arter kernel. Gsi have too many bugs for me. I hope you can do it. Thanks.

f(x)THaxxorX said:
Let's me see about that one, But that feature is available in GSI ROMs.
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Try RR or Havoc ROM.
Click to expand...
Click to collapse
it's more than kernel thing. and it's not available in these gsi
---------- Post added at 11:33 AM ---------- Previous post was at 11:30 AM ----------
gorast358 said:
I'm using stock with arter kernel. Gsi have too many bugs for me. I hope you can do it. Thanks.
Click to expand...
Click to collapse
well i (with friends) found out how to fix Bluetooth audio and there's no bug left if you are using latest phh gsi or pixel experience. (Expressluke broke his havoc on latest versions)

Couple of questions.
1. I see this is a zip, so do you have to already have the arter kernel installed with TWRP to install this?
2. If that is the case, can this then be installed over the arter kernel?
3. Will it keep TWRP?
Also, thanks for the development, Razer Phone 2 development is quite scarce.

tard24 said:
Couple of questions.
1. I see this is a zip, so do you have to already have the arter kernel installed with TWRP to install this?
2. If that is the case, can this then be installed over the arter kernel?
3. Will it keep TWRP?
Also, thanks for the development, Razer Phone 2 development is quite scarce.
Click to expand...
Click to collapse
1. You can directly flash this via Arters Kernel using TWRP..
2. This will overwrite your current kernel which is Arter's Kernel.
3. Yes.

As for the next version I'm already implementing new features from other devices like blue_schedutil, KLapse, and other more optimization and patches.. This might take 1-2 weeks.
Regards,
TrinityHaxxorX

RKBD said:
it's more than kernel thing. and it's not available in these gsi
---------- Post added at 11:33 AM ---------- Previous post was at 11:30 AM ----------
well i (with friends) found out how to fix Bluetooth audio and there's no bug left if you are using latest phh gsi or pixel experience. (Expressluke broke his havoc on latest versions)
Click to expand...
Click to collapse
Is incoming SMS working now? Is the fingerprint scanner reliable? Play Store device certification? Those three things have kept me from using any GSI I've tried.

f(x)THaxxorX said:
1. You can directly flash this via Arters Kernel using TWRP..
2. This will overwrite your current kernel which is Arter's Kernel.
3. Yes.
Click to expand...
Click to collapse
Thank you for developing this! Is f2fs compatible with this kernel as well?

Reznor7 said:
Is incoming SMS working now? Is the fingerprint scanner reliable? Play Store device certification? Those three things have kept me from using any GSI I've tried.
Click to expand...
Click to collapse
Both always worked for me.
also fingerprint got fixed on 10

I've already KLapse, USB2 Fastcharge, KCal and other more goodies :" .. Hope you enjoy my next version of my Kernel.. Ofcourse F2FS is supported since my Kernel Source is from Arter's Kernel Source.

f(x)THaxxorX said:
TrinityKernel R2.0 ( BETA ) - This is the Beta kernel of 2.0..
Kindly hit the Thanks Button ..
Click to expand...
Click to collapse
you just changed title to TREMBLE and your beta kernel doesn't boot on TREBLE GSIs (and probably on stock too but i haven't tried it yet)

RKBD said:
you just changed title to TREMBLE and your beta kernel doesn't boot on TREBLE GSIs (and probably on stock too but i haven't tried it yet)
Click to expand...
Click to collapse
Fixed it sorry!! The kernel works well if it's flashed via TWRP... Here's the fix if it's flashed via fastboot.. Kindly download the img and flash it.
If there's any problem kindly provide kernel log.
But everything works well now.
Here's the V2.0 BETA compiled using Linaro Toolchain.
Flashable Zip:
https://trinitydata.ap.ngrok.io/s/ioxXApst6yq4aHY
.img File:
https://trinitydata.ap.ngrok.io/s/g2Nm36XeTmdZt6S

Kernel is great!

This is example of Always-on Fingerprint .it is not working on our phone.
https://forum.xda-developers.com/apps/magisk/module-fingerprint-mi-5-mi-note-2-t3660179

gorast358 said:
This is example of Always-on Fingerprint .it is not working on our phone.
https://forum.xda-developers.com/apps/magisk/module-fingerprint-mi-5-mi-note-2-t3660179
Click to expand...
Click to collapse
Alright I'll look into it at a Kernel Level Perspective.. I'll be creating A module for that one. No promises yet but I'll add it to my To Do list.

Thank you for the time and effort .

Can SELinux be flipped to permissive on this kernel on GSI? With arter97's kernel SELinux cannot be changed to Permissive, though it might be due to GSI.
I need SELinux permissive so I can make use of Tincore for gamepad accessories like FeiZhiWee2T. Without SELinux permissive Tincore will not be able to see my controller.
EDIT: Just flashed and the answer is no. I think most likely both the kernel and GSI need to be able to support permissive in order to do so.

Related

[GK-MR2.0][God's Kernel][True God Of Kernels][CPU-2.0GHz & GPU-650MHz][Faux Sound]

God's Kernel​God's Kernel-True God Of Kernels​
ABOUT God's Kernel
God's Kernel is a open source kernel designed to unleash the power of Yureka.
The Aim of This project is to give a most stable ,power-full,ultra-fast fast kernel with Max Battery Life which is required for every Yureka user.
DISCLAIMER:
QUOTE]
#include
/*
* 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.
*/
[/QUOTE]
FEATURES OF God's Kernel:
Built using UBERTC-6.0 & SMTC-6.0[Option to select in downloads] Tool-chains with O3 flags and other tweaks.
Over clocked CPU to 1.7GHZ
Intelli_thermal v3.0: initial coding for Linux 3.10 Qualcomm kernels
Glove Mode
CPU Governors :
Conservative
Impluse
Elementalx
Inntelliactive
Intellidemand[Removed]
Yankactive
Zzmove[ Removed]
Darkness
Blu Active
Hyper
BioShock
PegasusQ Governor
Barry-Allen
Hot Plugs:[ Warning : Use any one ]
Intelliplug
Mako hotplug
MSM Sleeper
MSM_ZEN_Decision
AutoSMP
MSM MPDECISION[Bricked]
MSM Hotplug
Alucard Hotplug By Alucard24
I/O Schedulers:
noop
row
deadline
cfq
bfq
fiops
Introduce Adreno idler for devfreq-based Adreno devices
USB Fast Charging
Fast Charging Drivers.
LZ4-compressed kernel
KCAL control-------Controlling screen colors made easy ....credits @savoca
Frandom Drivers
Optimizations and memory leak fixes------Expect More Stable
Fix high load average from uninterruptible waits
BFQ I/O Scheduler
Bricked Hotplug Driver -----Provides Full control on online & offline cores so that you can configure it as users wish.
Thermal Throttling [Relax value]----Expect cool Yureka in your hands rather then old heating one
Raise charge current to 1.25mA to solve the slow charging issue. -----Expect Some Fast Charge
Cortex A53/ARMv8 architecture Tune-Up
Kernel Power Suspend-------Expect Sleep Like a Baby when Screen is off
Disabled updating idle time if cpu offline
Tweaks for interactive governor
Included More ZRAM Devices
Added custom Gestures to wake device ..like swipe down up etc
Deep sleep mode
Click to expand...
Click to collapse
CHANGE LOG:
God's -Kernel-MR2.0
AudioGod - GK-Build: Build MR-2.0
MSM 8939: Enable DTS-Eagle-Integration
AudioGod - MSM 8939: Overclock CPU & GPU with Undervolting
AudioGod - GK Tomato defconfig: Enable Kexec HardBoot & Charger controll
jollaman999 - kexec_hardboot: Fix build error
Xunlei Pang - kexec: set KEXEC_TYPE_CRASH before sanity_check_segment_list()
Martin Schwidefsky - kexec: allocate the kexec control page with KEXEC_CONTROL_MEMORY_GFP
Geoff Levand - kexec: simplify conditional
Baoquan He - kexec: remove never used member destination in kimage
Baoquan He - kexec: remove the unused function parameter
Vivek Goyal - kexec: use common function for kimage_normal_alloc() and kimage_crash_alloc()
Vivek Goyal - kexec: move segment verification code in a separate function
Vivek Goyal - kexec: rename unusebale_pages to unusable_pages
David Rientjes - kexec: fix build error when hugetlbfs is disabled
Atsushi Kumagai - kexec: export free_huge_page to VMCOREINFO
Petr Tesarik - kexec: save PG_head_mask in VMCOREINFO
Fabian Frederick - kernel/kexec.c: convert printk to pr_foo()
Paul Gortmaker - kernel: audit/fix non-modular users of module_init in core code
Heiko Carstens - kexec/compat: convert to COMPAT_SYSCALL_DEFINE with changing parameter types
Chen Gang - kernel/kexec.c: use vscnprintf() instead of vsnprintf() in vmcoreinfo_append_str()
Kees Cook - kexec: add sysctl to disable kexec_load
Zhuowei Zhang - Kexec-hardboot: fix kimage_head for post reboot list, tweak logging
Zhuowei Zhang - Attempt at porting kexec-hardboot for arm64; not working at all
Geoff Levand - debugging: Bypass purgatory
Ard Biesheuvel - of/fdt: export fdt blob as /sys/firmware/fdt
Aaron Kling - Add kexec support for aarch64
guts94 - Add faux sound control 3.4 By faux123
Chaithanya Krishna Bacharaju - ASoC: msm: qdsp6v2: Handle additional codec specific metadata
Dhananjay Kumar - ASoC: msm: Add support to enable PBE in DSP
Ashish Jain - ASoC: msm: qdsp6v2: add support for ALAC/APE/VORBIS
Chaithanya Krishna Bacharaju - ALSA: compress: Add support to send codec specific data
Laxminath Kasam - ASoC: wcd: update sequences to handle boost during SSR
Sachin Bhayare - msm: mdss: hdmi: updated extended mode macro
AudioGod-Merge branch 'LA.BR.1.1.3_rb1.44' of git://codeaurora.org/quic/la/kernel/msm-3.10 into yu-mm6.0
God's -Kernel-MR1.2
Upgraded to M
Change log is too big please refer link bellow for full log
http://gk.sungsonic.co/download.php?file=tomato/Changelog_GK-MR-1.3-tomato-20160126.log
God's -Kernel-MR1.2
Miror fixies and caf update
God's -Kernel-MR1.1
Fixed Screen Flickering issues
SE Linux Set to Enforce [ Solves compatibility issues with many roms]
Fix for random reboots
God's -Kernel-MR1
Updated Source to latest cm-12.1-amss-1.0.2 branch
Overclocked CPU @2.0GHz and GPU @650MHz [EXP]
Voltage tweaking for stablity
Aarch64 SaberMod 6.0.X as default toolchain as default for kernel compilation
Updated Version of KCAL
Diabled All Hotplugs By default
Added Quickwake Intial Driver
New Flag WQ_POWER_EFFICIENT for power oriented workqueues
Resolve CPUFREQ_NOTIFY issue
Added MSM hotplug driver
Added state notifier driver
memutils: memcpy, memmove, copy_page optimization
Allow multiple clients to register for irq affinity notification
Added cpu-boost Optimizations
Added MSM Limiter driver
Optimized KSM
Added SIO I/O scheduler
Made CFQ default to IOPS mode on SSDs
rq_stats: Add hotplug enable toggle
devfreq: Use high priority workqueue
Bricked-Hotplug Update
Charge Controll
Removed Fastcharge Driver for now
Fixed Deepsleep Issues after charger disconnected
Remomed Fsync on/off support
Added Dynamic Fsync 1.2
God's Kernel-R8.0
PegasusQ Governor
Barry-Allen Governor
Updated Barry-Allen to V-1.0
Upstreamed Kernel source latest of CM-12.1 Development Branch
Built with latest Sabermod and UBERTC Toolchain
More accurate temp control and Deep sleep
God's Kernel-R7.0
Fix for Deep Sleep issue
Removed CPU Quiet framework from NVDIA framework
Disabled Force shut-Down Of cores .
God's Kernel-R6.0
Re-based to Latest Cyanogen Sources
Updated Prima Driver to LA.BR.1.1.3_rb1.22
Added compatibility for Up-coming Cyanogen-OS 12.1[stock]
CPU Quiet framework from NVDIA framework
Removed gating of zero length packets for authentication
Add controls for sched features
camera: suppress excessive logging - boot faster
Incressed read ahaed 2048
Readahead: Optimize divide/multiply by power of 2 using L/R shift
sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
block: deadline: Optimize for non-rotational
Added BioShock (CPU Governor)
Switched from BFQ-v7r7 for 3.10 to BFQ-v7r8 for 3.10
Glove Mode [Enabling this will let you use your phone even while wearing gloves]
God's Kernel-R5.0
Added Zswap
Added VNSwap from Samsung
Added FRONTSWAP
Enabled lz4 compression for zram
Apply CFLAGS, -Os to decompress.o to improve decompress performance during boot-up process
ondemand: update code to Linux v3.18
Fastcharge: made changes to suit the tomato's inferior charger IC
Added a generic touch input notifier
Added Touch Boost
Set touchboost default duration to 1.5s
Added Entopy tweaks
Fix memory leak in USB mass_storage
USB: gadget Fix deadlock unbinding driver while it is in use
usb: gadget: configfs: Fix interfaces array NULL-termination
f2fs support 3.10
int_sqrt: Improve 3x faster integer sqrt
Powersuspend: add power_suspended boolean for global access
Introduce Adreno idler for devfreq-based Adreno devices
[Adreno idler by arter97 - Idling algorithm,
an efficient workaround for msm-adreno-tz's overheads.
Main goal is to lower the power consumptions while maintaining high-performance.
Since msm-adreno-tz tends to *not* use the lowest frequency even on idle,
Adreno idler replaces msm-adreno-tz's algorithm when it comes to
calculating idle frequency(mostly by ondemand's method).
The higher frequencies are not touched with this algorithm, so high-demanding
games will (most likely) not suffer from worsened performance.
The additional idle_lasttime detects if last 500ms was idle before
ramping down the frequency to prevent micro-lags on scrolling or playing games.]
Power: Added initial quickwakeup driver
Add FIOPS I/O Scheduler for linux 3.10. Includes all 8 patches
God's Kernel-R4.0
Added Hyper and Blu Active Governors
Removed ZZMove and INTELLIDEMAND Governors
ext4: Speedup WB_SYNC_ALL pass called from sync
sync: don't block the flusher thread waiting on IO
msm mdss: Avoid calling wake_up_all() twice in display thread
fix writeback cache thrashing
block: Reserve only one queue tag for sync IO if only 3 tags are available
fix race that cause writeback hung
made context readahead more conservative
msm_hsic_host: reduce wakelock
Click to expand...
Click to collapse
God's Kernel-R3.0
Built with Saber Mod-6.0 And UBERTC -6.0 with O3 flags and other tweaks.
CPU Governors :
Conservative
Impluse
Inntelliactive
Intellidemand
Yankactive
Zzmove
Darkness
Hot Plugs:[ Warning : Use any one ]
Intelliplug
Mako hotplug
MSM Sleeper
MSM_ZEN_Decision
AutoSMP
MSM MPDECISION[Bricked]
USB Fast Charging
Fast Charging Drivers.
More Improved Thermal Control & Core Management.
General Optimization & Tweaks
Click to expand...
Click to collapse
God's Kernel-R2.0
Major bug fixing version
Fixed Min Frequency always Sowing Max CPU frequency.
Re-Based To Latest CM-12 Source .
Removed CPU-quite Framework.
Over Clocked CPU to 1.7GHZ.
Kernel Made Universal Compatible to Any ROM.
Fine Tuned Bricked Hotpluge.
Removed FIOPS I/O Scheduler
Added BFQ I/O Scheduler
Fixed Fsync.
Disabled KSM & CRC check.
Implement sysfs interface for vibrator intensity control.
Click to expand...
Click to collapse
God's Kernel-R1
Initial Version Taking Cyanogen os 12 Stock kernel source
Taking CM-12S Kernel source bellow mentioned features are added
Built using GCC 4.9.x Toolchain with fixes specifically Aimed at Cortex A53.
LZ4-compressed kernel
KCAL control
Frandom Drivers
Optimizations and memory leak fixes
Fix high load average from uninterruptible waits
FIOPS I/O Scheduler
Bricked Hotplug Driver
Thermal Throttling [Relax value]
Raise charge current to 1.25mA to solve the slow charging issue.
Cortex A53/ARMv8 architecture Tune-Up
Fsync on/off support
Kernel Power Suspend
Disabled updating idle time if cpu offline
Cpu Quiet framework
Tweaks for interactive governor
Included More ZRAM Devices
Deep sleep mode
Click to expand...
Click to collapse
CREDITS:
@DooMLoRD
@kairi_zeroblade
@Santhosh M
@savoca
@yank
Click to expand...
Click to collapse
DOWNLOAD LINKS:
God's-Kernel-tomato[NEW-BUILDS-M]
God's-Kernel-tomato[OLD-BUILDS]
INSTALLATION STEPS:
Minimum Requirements To Install God's Kernel:
This is For ARM 64
Your Device Should be Rooted with Unlocked Boot-loader & Latest Custom recovery Installed.
Recommended Custom Recovery TWRP : Click Here to View TWRP Offical supported devices
Installation Procedure:
Boot Into Recovery Mode
Flash provide Kernel Zip
Wipe Cache and Dalvik
Reboot To System
Click to expand...
Click to collapse
SOURCE CODE [Android-M]
SOURCE CODE [Android-L]
XDA:DevDB Information
[ARM-64][L-5.1.1][[Yureka][God's Kernel][True God Of Kernels], Kernel for the YU Yureka
Contributors
Adi Shakthi
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: God's Kernel-R8.0
Stable Release Date: 2015-08-25
Current Beta Version: God's Kernel-R1.0
Created 2015-05-06
Last Updated 2016-03-30
Screen Shots
{
"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"
}
Adi Shakthi said:
....God's Kernel-True God Of Kernels....
Click This To Read More.....
Click to expand...
Click to collapse
Oops! 404 Page Not Found!
Doesn't work for BlissPop running on android 5.1.1
Cyclops Maran said:
Doesn't work for BlissPop running on android 5.1.1
Click to expand...
Click to collapse
If you sure get me log cat ...
Guys are already using it from more than 3 hrs
Me using it from last 12 hrs ...I have not even faced a crash or hang
I was stuck on the Yu screen, nothing happened then I flashed some other Kernel and it was fine
Cyclops Maran said:
I was stuck on the Yu screen, nothing happened then I flashed some other Kernel and it was fine
Click to expand...
Click to collapse
Try there is new file uploaded for blisspop and report back the status ....
Adi Shakthi said:
If you sure get me log cat ...
Guys are already using it from more than 3 hrs
Me using it from last 12 hrs ...I have not even faced a crash or hang
Click to expand...
Click to collapse
Okay here is the logcat
Adi Shakthi said:
Try there is new file uploaded for blisspop and report back the status ....
Click to expand...
Click to collapse
Same problem with the Blisspop Kernel. Stuck at YU screen. Phone heats up as well.
Cyclops Maran said:
Same problem with the Blisspop Kernel. Stuck at YU screen. Phone heats up as well.
Click to expand...
Click to collapse
get me a log cat i will try to find issue soon...
mean while you can try it in sokp 5.1.1 R2
What is the kernel controlling app given in screeny?? Which one is recommended??
Chocklety Boyee said:
What is the kernel controlling app given in screeny?? Which one is recommended??
Click to expand...
Click to collapse
Kernel Adiutor its a free and open source apk
Adi Shakthi said:
Kernel Adiutor its a free and open source apk
Click to expand...
Click to collapse
I have read about hot plug driver bugs like not being able to control the cores on yu forum...Is that true??
Chocklety Boyee said:
I have read about hot plug driver bugs like not being able to control the cores on yu forum...Is that true??
Click to expand...
Click to collapse
Better test and ask questions instead of asking with out testing lol
Adi Shakthi said:
get me a log cat i will try to find issue soon...
mean while you can try it in sokp 5.1.1 R2
Click to expand...
Click to collapse
I gave you the logcat. Anyways check the attachment to this post, it says yuproblem.txt
Does it work on cm12.1??
Rehan Sheikh said:
Does it work on cm12.1??
Click to expand...
Click to collapse
It has to work give a try ....[emoji12]
Adi Shakthi said:
Better test and ask questions instead of asking with out testing lol
Click to expand...
Click to collapse
Hey @Adi Shakthi flashed on stocks cyanogen ROM and it booted easily and after that I got repeated reboot ....I had flashed over savoca kcal kernel...I had wiped cache and dalvic cache too...Now am here with a handicapped yureka??
Not working with blisspop . stuck at YU logo
Can i use it on stock cm12s....?

[KERNEL] [SM-T700 | T705 | T800 | T805] SkyHigh TW LL Kernels [26 August 2015] [v2.0]

[KERNEL-DISCONTINUED] [Galaxy Tab-S Exynos 5420] [26 August] SkyHigh TouchWiz 5.0.2 Kernel [v2.0] [Synapse ++ EXT4 | F2FS | exFAT | NTFS | CIFS]
WELCOME TO SkyHigh KERNEL !! THE FIRST AND MOST ADVANCED, FULL FEATURED & STABLE TAB-S KERNEL IS BACK !!
NOW WITH DUAL EXT4 | F2FS CACHE & DATA PARTITION SUPPORT !!
WARNING
Code:
[COLOR="Red"]PLEASE SHOW RESPECT TO ACTUALLY [COLOR="PURPLE"][B]READ POSTS #1-3[/B][/COLOR]
[URL="http://forum.xda-developers.com/announcement.php?a=81"][B]XDA RULE #1 "SEARCH BEFORE POSTING"[/B][/URL] (GOOGLE, XDA & THREAD),
IF YOU DON'T LIKE A UP-FRONT "MATTER OF FACT" APPROACH,
[B]THEN DON'T BOTHER POSTING[/B]. [/COLOR]
Code:
[COLOR="Red"]BE WARNED, THOSE WHO [B]KANG[/B] WITHOUT PERMISSION WILL BE REPORTED !!
I WILL LISTEN IF ASKED, BUT NO GUARANTEES !![/COLOR]
FEATURES
Code:
* Based on the [B]LATEST[/B] official Samsung source: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=sm-t805"]SM-T805_EUR_LL_Opensource T805XXU1BOG2[/URL] ([U]ALL[/U] KERNELS COMPILED WITH [U]SAME[/U] [B]SkyHigh[/B] SOURCE !!)
* ramdisk sources: [B]T700[/B]XXU1BOF3 [B]T705[/B]XXU1BOF2 [B]T800[/B]XXU1BOG2 [B]T805[/B]XXU1BOG2
* Compiled with [URL="https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/"]Google ARM Toolchain GCC 4.8[/URL]
* Linux 3.4.108
* ARM: full neon-vfpv4 support & compile with -mfpu=neon-vfpv4 + optimizations
* [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
* [COLOR="red"]SELinux PERMISSIVE[/COLOR] (for Titanium Backup and other apps to work correctly) == able to switch to ENFORCING and back with control in [B]Synapse[/B]
* adb insecure
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* busybox v1.24.1-Dorimanx installed to /sbin
* [URL="https://github.com/Chroma-Aosp/android_vendor_chroma/commit/a8ecd5b2e4724448ccf92b29e08eb1a249e21957"]ART optimization[/URL]
* Possible Screen Mirroring / AllShare Cast fix
* Secure storage = false (should prevent WIFI settings & passwords wiping on flash)
* Unified kernel to support both:
[INDENT]EXT4
[COLOR="red"][URL="http://forum.xda-developers.com/showthread.php?t=2697069"]F2FS[/URL][/COLOR] (cache & data partitions)[/INDENT]
* [B]Synapse app support[/B] for many kernel configurations + more !!
* Many descriptions are in the app ! If you require more info, don't be lazy, please [B]SEARCH[/B] like I did ;)
SYNAPSE FEATURES
ABOUT
PayPal Donation link
SkyHigh kernel thread link
Up time
Total
Sleep
Awake​
CPU FREQ
CPU temperature
CPU freq scaling
CPU live frequency
MAX: 2100 MHz (stock/default = 1900 MHz)
MIN: 200 MHz (stock/default = 500 MHz)​
CPU MULTICORE
Samsung DYNAMIC Hotplug
CPU UP load
Hotplug Freq
CPU UP boost (default = 0 - all cores on)
CPU down hysteresis​
sched_mc_power_savings
performance (default)
balanced (use with HotPlug)
battery​
CPU VOLT
A15 big cores
A7 LITTLE cores
CPU GOV
CPU governors
interactive (default)
on-demand
conservative​
CPU governor tunables
DEVFREQ (BUSES)
CPU internal freq voltage control
Memory freq voltage control
GPU
GPU stats
Current clock freq
Live Frequency Utilization (load)
Time in state​
GPU power policy control
coarse_demand (default)
demand
always_on​
Midgard GPU threshold policy control
Battery
On-demand
Performance​
GPU scaling settings
Default: 177 - 480 MHz (stock)
Max: 667 MHz (533-667 MHz may not be stable for all devices)
Min : 100 MHz (battery)​
GPU voltage control
GPU QoS
Memory
Internal
CPU
CORTEX (Dynamic Screen ON/OFF functions)
Cortexbrain-Background-Process control (master switch)
Custom DVFS for TW ROMs
Power-efficient Workqueues (statically Enabled during screen OFF)
Kernel tweaks
Memory tweaks
System tweaks
Battery tweaks
Network tweaks
Android logger control
Auto = screen ON (enabled) & screen OFF (disabled)
Disabled = screen ON/OFF disabled​logcat​
Kernel logger printk control (dmesg)
Auto = screen ON (enabled) & screen OFF (disabled)
Disabled = screen ON/OFF disabled​dmesg
last_kmsg​
IO
I/O Schedulers
BFQ (default - tweaked for SSD)
DEADLINE (tweaked for SSD)
FIOPS
CFQ (tweaked for SSD)
NOOP
SIO
ROW (tweaked)
ZEN (optimised for Android)​
Storage read-ahead (512 KB)
General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity​
I/O scheduler tunables
MEMORY
Memory state
Total
Free​
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan Delay Interval
UKSM Governor
Max CPU consumption​
Dynamic Fsync control (default enabled)
Dynamic management of dirty page writeback
Active
Suspend​
Virtual Memory
Virtual NAND (VNSWAP) control
ZSwap memory pool control
ZSwap max compression ratio
Dirty Background Ratio
Dirty Ratio
Drop caches (Clear VFS cache after boot)
Laptop Mode
Swapiness
Adaptive VFS Cache Pressure on Suspend / Resume​
ADVANCED
Low Memory Killer Profiles
Low
Medium
Custom (recommend)
Default (almost stock values = default)
Aggressive
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Optimize Recent's Menu & RAM control (default = 2)
profiles​
Entropy
Gentle Fair Sleepers control (disabled)
Arch Power control (enabled)
Dynamic Management of minimal timer slack value
Generic core apps/processes (active/suspend)
Apps/processes in foreground (active/suspend)
Apps/processes in background and non-interactive (active/suspend)​
POWER SUSPEND
Autosleep_hook
Userspace_trigger
DisplayPanel_trigger
Hybrid_hook (default) uses Autosleep & DisplayPanel​
PowerSuspend State
PowerSuspend version
AUDIO
(WolfsonMicro Sound Control by AndreiLux)
Mono mixer
Speaker amplification
Main speaker volume (individual left & right channels)
Earpiece volume
Privacy mode​
SP equalizer settings
Headphone amplification
SCREEN
LCD reduce power
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
Screen mirror/allshare cast fix control (enabled)
Clean WIFI Lease
WiFi Power Mode While Screen-On/Off
Force Off
Off
Fast (default = screen ON)
Max (default = screen OFF)
WiFi DTIM Interval While Screen-On/Off​
RX wakelock timeout control
TCP/IP network security
TCP/IP network speed (enabled)
3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper​
IVP6 Optimistic Detection
optimistic_dad (enabled)
use_optimistic (enabled)​
USB
Status
USB Mode Selection
MTP
PTP
UMS (USB Mass Storage)​
SECURITY
KNOX control
NO_ACTION (default)
Disabled
Enabled​
SELinux
Security Policy control (Permissive = default)
Live status
Force Audit control (debugging disabled)​
BATTERY
Battery info
Unstable power detection
AC mains
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charger adapter
Miscellaneous charging
MHL power
Battery Scaling Calibration (fuel-gauge chip reset)
THERMAL
CPU thermal control
GPU thermal control
Memory interface thermal control
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o​
SPI CRC settings control (disabled)
Scrolling cache control (default = 2)
Optimise Databases (SQLite3)
File System Trim
Wipe options
cache reboot
dalvik-cache reboot
cache & dalvik-cache reboot​
Clean up
clipboard cache
/data/tombstones
/data/anr logs
/data/dropbox logs
lost+found​
SYSCTL
FS SYSCTL
Kernel SYSCTL
Net SYSCTL
VM SYSCTL
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data & Reboot
Restart Synapse
INFO
Tweaked xz compression for zImage
Reduced logging
Various ext4 & mm tweaks
Use faster memcopy & string use glibc version
optimized SLUB memory allocator
use WQ_POWER_EFFICIENT
HAVE_EFFICIENT_UNALIGNED_ACCESS
Lowmemorykiler (LMK) tuning
exFAT FS support
NTFS
R/W support for USB OTG with Paragon app (NTFS extSDcard not tested)
R/O with USB OTG from directory /mnt/ntfs/........
CIFS support (not tested)
Frandom
mount partitions NOATIME and NODIRATIME by default
Allow untrusted apps to read from debugfs (mitigate SELinux denials)
WIFI: filter multicast packages while suspended
CRYPTO: SHA1_ARM_NEON, SHA256, SHA256_ARM, SHA512, SHA512_ARM_NEON
Low Memory Killer tweaks
Entropy tweaks
CLEANCACHE
Microsoft X-BOX gamepad controller in-built module
Much more - check source commits & Synapse
CREDITS
My family !!
@Chainfaire - root & SuperSU
@AndreiLux - years of support for Exynos development and his various kernel features + Synapse app
@halaszk88 - patches & controls I've adapted to many of my kernel
@Dorimanx - BusyBox and various ramdisk tweaks
@apb_axel - I adapted and used many of the Synapse controls to suit my kernels
@heyjoe66 - various source patches + Wolfson Audio parametric equalizer pre-sets & tuning values
@ashyx - F2FS guide & F2FS TWRP recovery
XDA
Android File Host
Samsung OSRC
and many others!
check github source credits
ALL contributing members that have provided constructive feedback (good or bad), words of encouragement, or having just quietly hit the thanks button (I see you there)
IF I'VE FORGOTTEN ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh Kernels for Samsung Galaxy Tab-S TW 5.0.2 Exynos 5420, Kernel for the Samsung Galaxy Tab S
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/Samsung-Galaxy-Tab-S-Kernel
Kernel Special Features: Synapse ++ | F2FS | EXT4 | exFAT | NTFS | CIFS
Version Information
Status: No Longer Updated
Current Stable Version: 2.0
Stable Release Date: 2015-08-26
Created 2015-06-11
Last Updated 2016-01-10
Warning - ChangeLog - Requirements - Installation - Download - Source
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
Code:
[COLOR="Red"]* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !![/COLOR]
CHANGE-LOG
[v2.0] 26th August 2015
source:
Merge in Source: SM-T805_EUR_LL_Opensource T805XXU1BOG2
[v1.9] 23rd August 2015
ramdisk:
Synapse: USB: add my USB Storage controls. Currently just MTP-PTP-UMS (still a bit of work needed, but happy enough for now)
[v1.8] 21st August 2015
ramdisk:
SM-T805 LTE ONLY - Fixed not loading Synapse and setting SELinux Permissive mode on boot
[v1.8] 18th August 2015
ramdisk:
ramdisk source updates from T705XXU1BOF2 (I think I forgot to merge it in previously.... ) - T800XXU1BOG2 - T805XXU1BOG2
source:
fs: rework F2FS to latest August source changes (credits to @arter97 for the commits - saved me lots of time patching 100's of commits !)
[v1.7] 14th August 2015
updater-script:
delete dalvik-cache on flash for ART optimization to everything
ramdisk:
Synapse: MEMORY: re-work VN swap control + auto set swappiness to 0 on Disable and 130 on Enable.
Synapse: ADVANCED: add 4 profiles for Optimize Recent's Menu & RAM control (default = 2). Values from here @mikeyinid
Synapse: ADVANCED: LMK: add Default profile to mirror Optimize Recent's Menu default (2) – experimental values for now
Synapse: SECURITY: add Security Policy Update to list of Knox related apps/processs to freeze
Synapse: SECURITY: add SELinux live status
default.prop: Turn ART optimization to everything @sykopompos
default.prop: set Optimize Recent's Menu & RAM to profile #2 values
SkyHigh.sh: re-enable frandom permissions
file_contexts: add frandom @placiano
source:
block: Make CFQ default to IOPS mode on SSDs
cfq-iosched: fix the setting of IOPS mode on SSDs
powersuspend: add power_suspended boolean for global access
Optimize copy_page for modern ARM platforms
zen-tune: Implement zen-tune v3 (experimental)
zen-tune: exclude from compile by default
config: disable ZEN_INTERACTIVE (will test values via sysfs for now)
frandom: clean up
frandom: Clear up checkpatch conflicts
frandom: Dynamically allocate the char device numbers
[v1.6] 8th August 2015
ramdisk:
ramdisk source updates from T705XXU1BOF2 - T800KXU1BOF2 - T700XXU1BOF3
Synapse: MYABOUT: add push buttons for Donation and SkyHigh kernel XDA thread links (will open browser)
Synapse: BATTERY: removed screen ON A/C Mains charging controls (didn't seem to work)
Synapse: BATTERY: FIX - A/C Mains charging limited to 2550 mA/h rate (over this causes rate to drastically reduce)
Synapse: ADVANCED: add Optimize Recent's Menu & RAM control (Disabled by default) - original fix by @mikeyinid
Synapse: ADVANCED: FIX - removed LMK Do-Not-Kill white-list control (caused aggressive launcher re-draw)
Synapse: ADVANCED: added LMK profile "Custom" using @neobuddy89 tuned values. Stock profile is default
Synapse: ADVANCED: LMK: some changed merged from @apb_axel
Synapse: ADVANCED: removed randomize_va_space control (Disabling causing app FC in 5.0.2)
Synapse: GPU: added Frequency Utilization (live frequency load)
Synapse: REBOOT: FIX - Synapse clear data button (will also reboot device so defaults are loaded)
Synapse: replaced empty SDescriptions with SSpacer format to make spaces (AndreiLux said it would speed up loading Synapse)
Synapse: minor description and styling updates
default.prop: Scrolling cache default changed from (3) to (2)
SkyHigh.sh: Permission fixes for LMK moved from init.rc
SkyHigh.sh: Update SELinux white-list from @neobuddy89
source:
FIX - UNALIGNED_ACCESS not implemented properly :
byteorder: allow arch to opt to use GCC intrinsics for byteswapping
ARM: enable UNALIGNED_ACCESS
config: enable ARCH_USE_BUILTIN_BSWAP for UNALIGNED_ACCESS​
FIX - Memory management issues and aggressive screen re-draw :
Revert "staging: android: lowmemorykiller: Management of not killable processes"
Revert "config: enable ANDROID_LOW_MEMORY_KILLER_DO_NOT_KILL_PROCESS"​
staging:android:lmk: Use for_each_thread helper
staging: android: LMK: Tune up
Protect imp apps and services till last breathe
Add minfree values for content provider and empty apps
Fix derps of int/short format specifiers​
[v1.5] 03 July 2015
ramdisk:
Synapse: BATTERY: add screen on A/C Mains charging controls
source:
Linux 3.4.39 > 108 !! (this took a lot of time)
[v1.4] 26 June 2015
Flashable Zip:
Remove AROMA Installer
ramdisk:
Modify for single unified kernel supporting both ext4 & f2fs (cache & data partitions)
Synapse: MULTICORE: Removed Hotplug master control - all cores forced on (Hotplug CPU UP Boost = 0% | User can set 30-90% for battery savings)
source:
cpufreq: add new routine cpufreq_verify_within_cpu_limits()
Samsung DYNAMIC Hotplug control: enable by default
Samsung DYNAMIC Hotplug control: 0% brings all cores online (set as default)
cpufreq: ondemand: Fix update_sampling_rate race with hotplug
CPU hotplug, debug: detect imbalance between get_online_cpus() and put_online_cpus()
mm: vmscan: If kswapd has been running too long, allow it to sleep
writeback: fix race that cause writeback hung
lib: cpu_rmap: avoid flushing all workqueues
fs/super.c: sync ro remount after blocking writers
block/partitions: optimize memory allocation in check_partition()
sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
AIO: Don't plug the I/O queue in do_io_submit() Asynchronous I/O latency to a solid-state disk greatly increased
block: Adding ROW scheduling algorithm
A bunch of commits to get ROW I/O scheduler working
block: row: add magic values - tweaks from fransicofranco
config: enable ROW I/O scheduler
[v1.3] 24 June 2015
Flashable Zip:
Convert to AROMA Installer with choice of either SkyHigh-ext4 or SkyHigh-f2fs kernels
ramdisk:
add F2FS support for SkyHigh-f2fs kernel
source:
kernel/sched/fair: reduce latency
add f2fs driver
fs: introduce a generic shutdown ioctl
f2fs: ditch SEGMENT_SIZE for f2fs_trim_fs
f2fs: fix mismatching lock and unlock pages for roll-forward recovery
config: enable F2FS
Revert " block: remove WQ_POWER_EFFICIENT from kblockd"
block: zen: Optimize usage for android
[v1.2] 19 June 2015
ramdisk:
Stop Google Service and restart it on boot. This removes high CPU load and ram leak! (dorimanx)
rq_affinity = 2 (Aggressive) We need faster I/O so do not try to force moving to other CPU cores (dorimanx)
Synapse: MEMORY: add ZSwap max_compression_ratio control
Synapse: SECURITY: add Force Audit control (SELinux debugging)
Synapse: GPU: changed path for better GPU live freq. 24 MHz ("standby" freq is now visible, but not included in stats as not in asv table)
Synapse: CPU MULTICORE: added Samsung Dynamic Hotplug control (WARNING: REBOOT is required if you Disable !!
Synapse: various changes, style and control improvements etc (all took time)
source:
config: SM-T805 - fix override compile warnings
block: disable I/O stats. Disabling will break I/O monitoring apps but reduce CPU overhead
cpufreq: Remember last policy min/max on cluster restart
cpufreq: Optimize cpufreq_frequency_table_verify()
cpufreq: Break out early if freq equals to target_freq
cpufreq: Improve debug prints
selinux: Add option to force audit
Samsung DYNAMIC Hotplug (heyjoe66)
Hotplug: set to Screen OFF mode by default
cpufreq: conservative: adjust freq dn threshold so hotplug cores lower to A7 values at low load
CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug
Samsung DYNAMIC Hotplug control: hotplug_cpu_up_load_value = 0 (Normal)
UKSM: update to v0.1.2.3
[v1.1] 15 June 2015
ramdisk:
SELinux Permissive on boot (default)
Synapse: GPU: Fix /work-around: governor threshold control is now auto set after applying governor profile or changes to freq max/min
Synapse: add CORTEX: CortexBrain Background Process to manipulate screen state on/off settings
Synapse: add SCREEN settings
Synapse: SECURITY: add link to more info
Synapse: FS: Scrolling Cache control
Synapse: some minor fix ups and tidy up
[v1.0] initial Lollipop release, 13 June 2015
REQUIREMENTS
SM-T700 WIFI - SM-T705 LTE - SM-T800 WIFI - SM-T805 LTE Exynos 5420 device
TouchWiz 5.0.2 Lollipop
Latest firmware with appropriate ROM and boot-loader versions. Check sammobile or samsung-updates (no boot = Read Post #3 for working firmware base)
Rooted
custom recovery (F2FS TWRP if wishing to flash F2FS kernel)
INSTALLATION
Backup your WIFI settings if you are coming from stock ROM or kernel with ro.securestorage.support=true
Backup your original boot.img [BOOT] in custom recovery (or better to backup everything)
Uninstall any CPU control apps, tweaks and scripts etc.
Recommend: Disable or remove KNOX (you can disable with Synapse once kernel is flashed if you wish)
Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
Disconnect device from PC USB
Device settings > developer options > enable USB debugging
If flashing from previous SkyHigh kernel > Force Stop Synapse app > clear data
Flash SkyHigh kernel in custom recovery
If you wish F2FS (data & cache partitions)
Follow > THIS < guide, but flash SkyHigh kernel instead !!​
After boot:
a) wait at least 60-120 secs to stabilize
b) Open Synapse
c) Tap "Understood" and apply
d) Change any setting and apply​
DOWNLOADS
SkyHigh
[CWM] T700 WIFI SkyHigh Kernel v2.0
[CWM] T705 LTE SkyHigh Kernel v2.0
[CWM] T800 WIFI SkyHigh Kernel v2.0
[CWM] T805 LTE SkyHigh Kernel v2.0
==========================================
STOCK
WARNING: Flashing stock may WIPE your WIFI settings. So back it up !!
[CWM] T705 LTE T705XXU1BOE6 Kernel
SOURCE
ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!
Github
.
HELP - FAQ
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO HELP YOURSELF FIRST BY PROVIDING INFO REGARDING:
Code:
1. DEVICE MODEL
2. ROM and firmware version (build number, boot-loader etc)
3. EXACT steps taken to reproduce YOUR issue
4. Screen-shots (if applicable)
5. Did you read Posts #1-3 completely?
6. Did you search the thread, XDA or GOOGLE?
7. Did you follow the install instructions EXACTLY?
8. What was your previous kernel?
9. Do you have any other known kernel tweaking apps, scripts or mods? (remove them)
10. Try older kernel (if available)
11. Try latest stock firmware (without custom ROM - if you have installed)
12. Delete your ROM BusyBox (kernel uses it's own in /sbin)
ONLY IF YOU HAVE TRIED SUGGESTIONS ABOVE:
Turn on logging in Synapse and save logs AT TIME OF ERROR. AND post together with ALL the above information.
ELSE, DON'T WASTE MY TIME, YOU WILL BE IGNORED AND/OR POST REPORTED !!
THANK YOU :good:
CAN I BUILD A KERNEL FOR YOUR __XX DEVICE ?
NO - I will not build for any device that I can not compile using same source, personally test method or debug
Otherwise, please do not bother asking
"NO UCI SUPPORT"
It's a ROM busybox compatibility issue
Two choices:
Remove your ROM busybox from /system xbin and /system/bin (Synapse will use the kernel busybox in /sbin).
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
OR
Try install a different busybox ( v1.23-1-Stericson works for me on stock ROM)
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
STUCK ON SAMSUNG BOOT LOGO AFTER FLASH
Ensure you flashed the correct kernel for your device model
Ensure your download is not corrupted. Check MD5 hash or re-download
Your current base firmware (ROM, boot-loader version etc.) may be incompatible - UPDATE to latest with Odin and try again.
If you wish to restore to a working system, just restore your boot.img backup made previously with recovery (ref: Installation Instructions)
CONFIRMED WORKING STOCK BASE FIRMWARE
T700: XXU1BOE3 or XXU1BOE4 (T700XXU1BOE5 which has a lower change-list does not boot ) or newer
T705: XXU1BOE6 or newer
T800: XXU1BOE2 KXU1BOF2 or newer
T805: XXU1BOE3 or newer
CM SUPPORT
Read Post #12
"Unauthorized actions have been detected, reboot to undo changes"
As it's a common warning found with all KNOX enabled android devices, you would have found the answer by Google search and also that it is actually unrelated to kernel and also unrelated to this kernel development..............
It is caused by the process of rooting/modifying your device. Unless you use KNOX, don't worry.
[Q] How to disable
[A] Freeze or delete your KNOX & Security related apps/processes manually (using root explorer or titanium backup (pro) or use Synapse > Security > disable KNOX
HOW TO BACKUP YOUR STOCK KERNEL BEFORE FLASHING SkyHigh KERNEL
Boot into TWRP Recovery
Select Backup
Select "[X] Boot" only (boot.img/kernel)
Select Storage > Micro SD (if external sdcard installed) > OK
Swipe to backup
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available. Remove all other control apps to avoid conflicts !
Synapse is the recommended and has everything you need
BATTERY TIPS
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLTAGE OR FREQUENCY FROM DEFAULT !!
There are no best settings. User "HABIT" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc
The kernel defaults are balanced with a good mix of battery whilst keeping performance
Decrease screen brightness
Use dark wallpapers and app themes
Check your wakelocks with better battery stats or wakelock detector apps & use Greenify app to stop unwanted apps self starting and running in the background
Synapse:
- CPU GOV: governor = ondemand (tweaked for power efficient work-queues)
- CORTEX: PEQW = Enabled
- CPU FREQ: 200 > 1900 MHz (-25 mV for all 200 > 1900 MHz freqs - depending on asv_group)
- CPU MULTICORE: Hotplug CPU up load = Balance (with Hotplug CPU UP boost >0%)
- CPU MULTICORE: Hotplug CPU UP boost = 60 % (to 90%)
- CPU MULTICORE: CPU Multicore Power Saving = Aggressive
- GPU: Midgard Power policy control = coarse_demand
- GPU: Midgard Power policy threshold control = Battery (may induce some GUI sluggishness with 100 MHz min.)
- GPU: 100 > 480 MHz (-50 mV for all 100 > 480 MHz freqs - depending on asv_group) (Min 100 MHz may induce some GUI sluggishness)
- PowerSuspend Driver = Enable
- MEMORY: Dynamic FSync = Enable
- MEMORY: Dirty Page Writeback = Enable
- IO: RQ Affinity = Enable​
PERFORMANCE TIPS
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLTAGE OR FREQUENCY FROM DEFAULT !!
Disable DVFS with [APP][Android 4.0+][DVFS Disabler] - Warmer device under heavy load, but within the safe CPU temp of 95 degC (NOTE: Xposed for Lollipop is still experimental, so results may vary)
Synapse:
- CPU FREQ: 500 > 2000 MHz (2100 not stable for some devices)
- CPU MULTICORE: Power Savings = Performance
- CPU GOV: use Interactve governor
- GPU: Midgard Power policy threshold profile = On-demand or Performance. (This will scale your GPU up/down faster at the expensive of battery life compared to Battery profile)
- GPU: GPU max freq = 533 MHz (more if your device is stable)
- MEMORY: UKSM = Enabled
- ADVANCED: LMK profile = Aggressive​
LITTLE CORE CPU FREQUENCY
Real frequency is apparently double that reported by other apps
Example: min 200 MHz (real) in Synapse is reported as 100 MHz in SetCPU
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
Use stock ROM base that's confirmed working
ASV_GROUP (ALL DEVICES ARE NOT CREATED EQUAL)
http://forum.xda-developers.com/showpost.php?p=61579949&postcount=202
CAN I INCLUDE SkyHigh KERNEL IN MY ROM
Although I do appreciate your contribution here, if you could please do not include my kernel in any ROM package etc. This policy goes for anyone.
Having my kernel distributed outside my development thread just removes a lot of credit and more importantly, constructive user feedback that could be helpful to my development or user issue.
WHAT IS F2FS & HOW CAN IT BENEFIT
Info
Improved performance
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Disable TW DVFS with wanam xposed. You will need his xposed for Samsung Lollipop.
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS
* [Christopher83]
This feature allows to have two different intervals for dirty page
writebacks and to dynamically manage them when the system has been
resumed (it's active) or when has been suspended.
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature,
set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page
writebacks when the system is active (screen on)
- dirty_writeback_suspend_centisecs is the interval for the dirty page
writebacks when the system is suspended (screen off)
This feature is in part inspired on Francisco Franco's patch:
https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947
Click to expand...
Click to collapse
BACKUP & RESTORE
DO NOT restore profiles from different kernel version
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
Reboot after applying your new settings
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
CHROMECAST - STREAMING PROBLEMS
* Thanks to @AtLmd Post
Lock screen MUST be enabled (simple screen lock swipe) I don't know why but it breaks the chromecast app's ability to resume smoothly if switched off
Synapse > Network > DTIM (both screen ON & OFF) = 1
Synapse > Network > WIFI Power Mode (screen OFF) = FAST
.
Great
Sent from my SM-G900T using XDA Free mobile app
sound tweaks
thanks for your plans to include the Tab into your work. Really appreciated.
Just to ask (I am not sure if this is the right time to ask) if you can include some good sound system (Viper, Wolfson, etc).
Thanks in advance.
mazen1966 said:
thanks for your plans to include the Tab into your work. Really appreciated.
Just to ask (I am not sure if this is the right time to ask) if you can include some good sound system (Viper, Wolfson, etc).
Thanks in advance.
Click to expand...
Click to collapse
Just walked in the door after 2 days of international flights (jet lag big time), please give me some time.
I'm not sure if you realize, but I am the builder of previous SkyHigh kernels for Tab S KitKat, just haven't the time to build for LL until now
Intend to have most features from older SkyHigh KK builds. BTW, Viper is not a kernel feature ..........
But one step at a time
Good stuff been waiting for this. Sky high was always one of the better stable kernels.
Just one request though. Could you build an F2FS compatible one aswell or at least release your source code on your repo so I can build it myself.
ashyx said:
Good stuff been waiting for this. Sky high was always one of the better stable kernels.
Just one request though. Could you build an F2FS compatible one aswell or at least release your source code on your repo so I can build it myself.
Click to expand...
Click to collapse
I might take a look at some point. I have never tested it, but a 800/805 user did say had it working on KK with SkyHigh + recovery ..........
I just spent 2 hours trying to sort out a compile error, if only I'd checked the GPU code. It has changed in LL and now uses midgard sources :cyclops: Just tired and not thinking straight and cherry-picking without actually looking !!. Continue tomorrow
UpInTheAir said:
I might take a look at some point. I have never tested it, but a 800/805 user did say had it working on KK with SkyHigh + recovery ..........
I just spent 2 hours trying to sort out a compile error, if only I'd checked the GPU code. It has changed in LL and now uses midgard sources :cyclops: Just tired and not thinking straight and cherry-picking without actually looking !!. Continue tomorrow
Click to expand...
Click to collapse
I read that and he was actually wrong. I could see how he thought it had worked, but the script he used would never have worked on any of our roms, it actually did nothing.
All that happened was that the partition that he formatted to f2fs automatically got formatted back to ext 4 upon first boot.
Your kernel didn't work with an f2fs partition as it needed some modifications to the actual source code to make it work.
It was the same story with iron kernel, but Tkkg managed to get it to work by pulling in some changes from Nvertigo's repo.
I managed to get it to boot after making the required modifications to the ramdisk.
Unfortunately the kernel had other issues which caused the tablet to freeze. This was seemingly caused by adding hotplugging to the kernel.
I was then looking for a good t805 lollipop source to build from until iron kernel was fixed.
Unfortunately your repo didn't have the lollipop kernel source, so just left it alone until I could be bothered again.
For touchwiz LP and CM12.1?
Great news!
Good to be able to OC LP Rom.
rookie12 said:
For touchwiz LP and CM12.1?
Click to expand...
Click to collapse
Only TW.
Firstly, no disrespect to those Devs, I just find CM boring visually and tacky. It's just my personal opinion, not a criticism of one's choice to build or use There is no "right" or "wrong". Secondly, I don't have time for it other than what I can/want to spare.
Editing OP.
Delete...... Good to see Skyhigh back! Was great in KitKat! Can't wait to see what's in for lollipop
ashyx said:
I read that and he was actually wrong. I could see how he thought it had worked, but the script he used would never have worked on any of our roms, it actually did nothing.
All that happened was that the partition that he formatted to f2fs automatically got formatted back to ext 4 upon first boot.
Your kernel didn't work with an f2fs partition as it needed some modifications to the actual source code to make it work.
It was the same story with iron kernel, but Tkkg managed to get it to work by pulling in some changes from Nvertigo's repo.
I managed to get it to boot after making the required modifications to the ramdisk.
Unfortunately the kernel had other issues which caused the tablet to freeze. This was seemingly caused by adding hotplugging to the kernel.
I was then looking for a good t805 lollipop source to build from until iron kernel was fixed.
Unfortunately your repo didn't have the lollipop kernel source, so just left it alone until I could be bothered again.
Click to expand...
Click to collapse
Maybe you could assist with constructive help/feedback if/when the time comes.
DUHAsianSKILLZ said:
Delete
Click to expand...
Click to collapse
I have made it clearerr in OP for those that overlooked the title. Some will still not bother to read though (past experience) ....
UpInTheAir said:
Maybe you could assist with constructive help/feedback if/when the time comes.
Click to expand...
Click to collapse
Sure, no problem.
Hi, upintheair, glad to see you come back! a few days ago, I compiled a custom LL kernel, using your gpu hooks. LL kernel uses a different graphic driver, but the code are more or less the same, just modify the corresponding files in midgard then gpu hooks are going to work.! I planned to share my kernel source on github but now you are going to develop a more advanced one, it seems that I can stop doing this and wait for your kernel, once it was out, I will flash it to replace my own.
ninspector said:
Hi, upintheair, glad to see you come back! a few days ago, I compiled a custom LL kernel, using your gpu hooks. LL kernel uses a different graphic driver, but the code are more or less the same, just modify the corresponding files in midgard then gpu hooks are going to work.! I planned to share my kernel source on github but now you are going to develop a more advanced one, it seems that I can stop doing this and wait for your kernel, once it was out, I will flash it to replace my own.
Click to expand...
Click to collapse
I woke up early this morning, (body is still in another time zone), and have Synapse up and running.
Have already implemented: CPU voltage control, GPU OC/UC, GPU voltage control, GPU clock & governor control for new sources (not yet committed to github). Could give screen shot, but busy testing before Son goes to school
Just have an issue to sort out (not sure if ROM or kernel yet) for some apps FC on boot. Might be to do with Selinux
Welcome back!! I am glad to see you making kernel for LL. I chose to stay on KitKat as I am getting way too good battery life from your kernel to switch. No lie, I get about a weeks worth of use before I have to charge it. Granted I am not a heavy use, average about 6 - 8 hours of total screen time, but it is truly a join to not have to charge each night. Previously the best I got was a day and half with the same use patterns. Again, welcome back and look forward to your LL kernel. This will now motivate me to upgrade. :good:
I'll probably release v1.0 for T700 & T705 today. Still a bit of work to do yet with Synapse.
T800 & T805 will be a while away yet as first beta reported failed to boot using same source. So I will build for my device first until I'm happy with it's progress, then take a look at 10.5" again.
EDIT: Changed my mind, I wish to continue instead of release. I don't want to hurry. Why stop when I'm on a roll

[KERNEL][LOS-N/O] 28-06-2018 AGNi 🔥 pureLOS-N/O v13.0

AGNi pureLOS-N/O
(Audiophile's Blazing Fast & Efficient Kernel)​
{
"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"
}
Join Telegram DISCUSSION & TESTING GROUP
AGNi Toolbox:- GOTO 3rd POST HERE
For Android 7.x / 8.x LOS/AOSP
DOWNLOAD pureLOS-N/O kernel:- HERE
General Improvements:
Built with custom UBERTC GCC 8.0.0
Enhanced compiler optimizations with device and target flags, build improvements, etc
Removed a ton of debug and logging to improve performance
ARM64 enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes - upstreamed to Linux 3.10.108 and added patches from CAF LA.BR.1.3.6 & Android 8 release LA.BR.1.3.7
CPU & GPU Improvements:
Interactive governor tuned to achieve maximum performance with best battery life by default
Several CPU Governors available - Interactive, Blu_Active, CAF active, Cultivation, Darkness, ElementalX, Chill, Bioshock, Despair, Relaxed, Ironactive, Wheatley, ALUcard
Slight OC, mild undervolt to reduce heat and improve stability and battery life
Input boost off by default
Adreno Idler and Adrenoboost available
CPU and GPU Voltage control (optional)
Network improvements:
Implemented Wireguard VPN support usable with Azire VPN
Enhanced TCP methods - reno, htcp, highspeed, westwood+, CDG, Network and Wifi tweaks and updated drivers
Option to enable 2.4 GHz Wi-Fi channel bonding while installing => moved to AGNi Toolbox
I/O improvements:
Several I/O control tweaks, added schedulers (Zen, SIO, SIOplus, BFQ, CFQ, Maple, Tripndroid, Row, Deadline, V(R), No-OP,fiops), tweaked and updated filesystems (EXT4, F2FS, ExFAT, NTFS & CIFS)
Adaptive LMK, 1GB LZ4 ZSWAP+VNSWAP available and on by default for better multitasking
ext4-lazytime mounting for /data (improves filesystem performance)
UKSM while charging to optimize RAM use option
Dynamic FileSync toggle
Supports SDCARDFS, CIFS, exFAT
Disabled I/O CRC check for more performance
Screen Improvements:
sRGB and KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
Backlight dimmer for lower minimum brightness
Wake gestures, dt2w, s2s and s2w for all panels
Sound improvements:
modify headphone processing for increased fidelity
modify speaker processing for clarity
Implemented flar2 sound control along with Franco sound control
Slimbus OC for better sound quality
Added a lot of audio enhancements (heaven for audiophiles)
Fixed earpiece & mic boost
Ported hybrid headphone jack driver from Sony 3.18 with CAF patches for faster detection
Headphone impedance detection
Headphone mic volume boost
Fix earphone Jack's various problems
Battery improvements:
USB Fast Charge (USB mode up to 900mA with MTP on)
Boeffla Wakelock blocker available
Power efficient workqueues
Option to replace thermal blobs with old ones which may help to resolve slow charging issue while installing
Fast charging with maximum 2100mA safe limit with temperature control
Miscellaneous improvements:
Optimized hardware accelerated crc+crypto routines
Implemented lot of security fixes
Vibrator Strength tunable
Notification LED brightness options
Can use device as USB keyboard and mouse with the app by pelya
Option to select SElinux mode while installing
Compatibility with Magisk v14+ and SuperSU SR5
Compatible with Kernel Auditor and EX Kernel Manager
Spectrum app profiles support
AGNi improvements:
Custom Agni Control app for all your kernel control needs, has many useful CPU profiles and advanced options, available while installing
Custom Agni ScreenModes app which has various KCAL profiles to improve screen experience, available while installing
Works on all Marshmallow, Nougat and Oreo ROMs
AGNi pureLOS CHANGELOG:-
AGNi pureLOS-N/O v13.0:-
qdsp6v2: dts_eagle: use newer drivers
wcd9335: accept interrupts for huwifi mode
sound: wcd9335: add huwifi_mode & low_distort_amp mode
sound:codecs: wcd9335: remove impedl code
msm_audio_ion: add DTS-Eagle dependency - msm_audio_populate_upper_32_bits
sound: codecs: wcd9335: laster k's driver
slimbus: lower oc
sound: wcd9335: Disable g_DebugMode
Initial AudioWizard bringup
sound: DTS-Eagle integration
drivers: Initial import of DTS-Eagle driver
Kconfig: msm: remove deprecated dts eagle driver
revert: "ipv6: sctp: fix lockdep splat in sctp_v6_get_dst()
revert: "BACKPORT: ipv6: fix udpv6 sendmsg crash caused by too small MTU
revert: "BACKPORT: netlink: add a start callback for starting a netlink dump
revert: "ipsec: Fix aborted xfrm policy dump crash
revert: "BACKPORT: net: xfrm: support setting an output mark.
revert: "BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
disable CONFIG_IOMMU_AARCH64,CONFIG_ARM_SMMU
AGNi Control: enable fsync operations by default
AGNi Installer: fix frequency hysteresis values
AGNi pureLOS-N/O v12.9:-
New Additions:-
Merge caf/LA.BR.1.3.7_rb1.11
staging: prima: Merge caf/LA.BR.1.3.7_rb1.11
fs: Add sdfat support (msdos,fat16,vfat,exfat combined driver)
fs: sdfat: sync upstream
fs/proc: hide androidboot.selinux=permissive flag in /proc/cmdline
enable HARDEN_BRANCH_PREDICTOR
disable SCHED_FREQ_INPUT
drivers/power: disable bcl
mm/vmscan: fix prepare_kswapd_sleep if kswapd running too long
Updates:-
ANDROID: sdcardfs: Set s_root to NULL after putting
ANDROID: sdcardfs: d_make_root calls iput
ANDROID: sdcardfs: Check for private data earlier
ANDROID: sdcardfs: Hold i_mutex for i_size_write
ANDROID: sdcardfs: Protect set_top
msm: mdss: adjust mdss_mdp_get_plane_sizes parameters init order
BACKPORT: futex: Remove requirement for lock_page() in get_futex_key()
UPSTREAM: scsi: sg: don't return bogus Sg_requests
ALSA: pcm: prevent UAF in snd_pcm_info
ALSA: pcm: use lock to protect substream runtime resource
ALSA: pcm: add locks for accessing runtime resource
ANDROID: sound: rawmidi: Hold lock around realloc
drivers: qdsp6v2: Add mutex unlock to properly release lock
binder: use GFP_HIGHUSER flag since binder is designed for userspace
Bluetooth: Prevent stack info leak from the EFS element
ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneously
msm: ADSPRPC: validate user buffers after copying from user
dts: kenzo: disable sched_enable_power_aware
kgsl: convert some workqueues to use kthreads
kgsl: Increase priority of RT thread
msm: mdss: check buffer size before writing to user buffer
dtsi: adjust prim panel and panel-supply as per latest miui
kernel: disable arch_power by default & allow toggle
cpufreq: ironactive: add checks for CONFIG_SCHED_FREQ_INPUT
Fixes:-
kernel/cgroup: fix permission checks for task group attach
kernel/workqueue: restore to older state
ANDROID: Bluetooth: hidp: buffer overflow in hidp_process_report
ipsec: Fix aborted xfrm policy dump crash
BACKPORT: msm: mdss: Fix invalid dma attachment during fb shutdown
msm: mdss: Fix for wrong length in copy_to_user
msm: sensor: actuator: fix out of bound read for region params
msm: sensor: actuator: check NULL pointer for actuator ctrl
revert: "msm: mdss: fix race condition between rotator api's
dts: fix big cluster max-corners
dts: restore 133,200,366MHz gpu freq steps
AGNi specific additions:-
AGNi Control: tweak impulse governor & other governor scripts
AGNi Control: add option DoubleTap2Wake+Swipe2Wake(^v,<>)+Swipe2Sleep
AGNi Installer: add gpu uv option
AGNi Installer: tweak scheduler
AGNi Installer: set 266MHz gpu freq as min default balanced spectrum profile
AGNi Installer: make rcu 3x aggressive RCU_FAST_NO_HZ for Battery profile
AGNi Installer: use modified thermal config [LOS-N/O]
AGNi Installer: always replace thermal engine without thermal libs [LOS-N/O]
AGNi Installer: fix goodix-netlink auto mode for NOS-Oreo [LOS-O]
AGNi Installer: add back option to replace thermal engine [LOS-N/O,MIUI-MM]
AGNi pureLOS-N/O v12.8:-
Audio:-
aw8738_amp: change to mode 5
Disable graphite optimizations for sound,qdsp6v2
wcd-mbhc-v2: add more compatibility to jack's stock-mode operation
audio: add cmdline option for 16(default)/32bits default compr & pcm routing
ASoC: squashed revert to older state
slimbus: set max limit 24bit @ 192KHz
New Additions:-
prima(wifi): Merge caf/LA.BR.1.3.7_rb1.9 (v3.0.11.66 --> v3.0.11.85)
Merge caf/LA.BR.1.3.7_rb1.9
drivers/power: hardwire bcl trigger at 10% battery, disable for MIUI-N
cpufreq_stats,cpufreq_governor,cgroup,cpuset upstream commits
mm: kmemleak_alloc_percpu() should follow the gfp from per_alloc()
dm,md verity commits
qpnp-smbcharger: add cmdline option to suppress QC charging support @ 9 volts
Convert some more drivers to use msecs_to_jiffies insted of HZ
reboot_auto_fsync: flush writeback buffers and sync more completely
fsync: flush writeback buffers with auto fsync & sync-on-suspend
fsync: allow auto_fsync_delay_sec=0 to disabe AGNi auto fsync dwork
fs/sync: allow sdcardfs to use vfs_fsync_range_sdcardfs always
Updates:-
Disable discard mount early mount of system partition [LOS-O]
cpufreq: cafactive: disable tracing
workqueue: disable power_efficient wq's by default and allow sysfs tunable
block: modify fiops
proc: meminfo: provide estimated available memory
proc: meminfo: estimate available memory more conservatively
CHROMIUM: selinux: Do not log "permissive" denials
BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
BACKPORT: USB: core: harden cdc_parse_cdc_header
UPSTREAM: USB: fix out-of-bounds in usb_set_configuration
UPSTREAM: HID: usbhid: fix out-of-bounds bug
UPSTREAM: USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
nl80211: Define policy for packet pattern attributes
crypto: hmac - require that the underlying hash algorithm is unkeyed
timers, sched_clock: Update timeout for clock wrap
cpu_input_boost: Use power efficient workqueues
cpu_input_boost: increase wakeboost to 2 seconds
Fixes:-
dts: kgsl: remove 366MHz step, restore stock gpu voltages
qpnp-smbcharger: reintroduce default_hvdcp3_icl_ma tunable
qpnp-smbcharger: fix "make 2100mA max default charging current"
qpnp-fg: fix "force swappiness 1 on battery level <= 15%"
fs/exfat: partial revert "update exfat (squash commit)"
revert "sched: Set sched_upmigrate_min_nice to 9
revert "sched: Introduce Shadow scheduling
Revert "workqueue: make sure delayed work run in local cpu"
AGNi specific additions:-
AGNi Control: 2.0GHz unlock for big cluster cpus
AGNi Control: tweak cultivation governor
AGNi Control: disable adreno boost default
AGNi Control: tweak default interactive & scheduler
AGNi Control: TCP congestion cubic by default
AGNi Control: tweak cafactive governor
AGNi Control: add again those rare used governor options
AGNi Control: fixup fsync options
AGNi Control: increase default interactive timer, intsd(maple, 1024) extsd(fiops,1024)
AGNi Installer: restructure Aroma Menus to single page
AGNi Installer: remove discard mounts in fstab
AGNi Installer: latest arm64+selinux busybox YDS in /sbin
AGNi Installer: fix rare installer status 7 errors
AGNi Installer: try fix option to select stock cpu voltages
AGNi Installer: add cmdline option for audio 24/32bits audio
AGNi Installer: add option to select stock cpu voltages
AGNi Installer: set QC2.0 9v suppress disabled by default
AGNi Installer: always replace thermal engine & libs
AGNi Installer: allow auto-selinux handling based on last kernel [LOS-O]
AGNi Installer: resolve selinux issues leading to fp problems [LOS-N/O]
AGNi Installer: disable init.qcom.post_boot.sh [LOS-O]
AGNi Installer: use fstrim on boot [LOS-N,MIUI-MM/N]
OLD CHANGELOGS: HERE
Download the app for supporting this keyboard & mouse feature HERE
DOWNLOADS:- HERE
XDA:DevDB Information
AGNi kernel (Audiophile's Blazing Fast & Efficient Kernel), Kernel for the Xiaomi Redmi Note 3
Contributors
psndna88
Source Code: https://github.com/psndna88/AGNi_pureMIUI.git
Kernel Special Features: Based on caf/LA.BR.1.3.6_rb1.25,/LA.BR.1.3.7_rb1.11 LOS15.0 official sources with selectively picked mods/patches
Version Information
Status: Stable
Created 2016-10-02
Last Updated 2018-06-28
GOODIX / CAMERA LIBS and CAMERA FC + FLASH FIX
Try different gpu libs zip:-
Xperia_X_Oreo_GPU_blobs_ktommy91.zip
AGNi 12.4+ deepSleep Hotfix apk:-
use to restart google play services in rare cases of no deep sleep.
may need to run once per reboot
CAMERA LIBS for kenzo/kate:
blobs for following camera sensors:
- ov16880_f16v01a
- ov16880_omida05
- s5k5e8_z5e8yab
- s5k5e8_yx13
- face detection extension blobs
(Old & Obsolete)
Nougat Camera FC and flash complete fix by @billchen1977 flashable zip with proper file permissions 100% SOLUTION
AGNi-cmN-goodix-libs-AIO-patcher.zip (test version)
- includes goodix hal and libs
- includes goodix wrapper lib which loads fpc or goodix as per detected hardware by kernel cmdline (taken from NOS)
- patches boot.img to add goodix support (useful for roms without goodix support)
- adds goodix supported sepolicy files to boot.img (keeps goodix happy with enforcing selinux)
AGNi Toolbox
AGNi Toolbox v1.6 AROMA-flashable-zip:-
update magisk uninstaller codes
AGNi Toolbox v1.5 AROMA-flashable-zip:-
udate updater binary and script
add 2.4GHz wifi channel bonding options
AGNi Toolbox v1.4 AROMA-flashable-zip:-
add option to dump last_kmsg to internal storage from recovery to diagnose a bootloop.
usable when user forces boot to recovery after a bootloop
AGNi Toolbox v1.3 AROMA-flashable-zip:-
add option to uninstall magisk v12 and above (you need to reflash rom or stock kernel (boot.img)
AGNi Toolbox v1.2 AROMA-flashable-zip:-
add support for fat32/exfat/ext4/ntfs detection and auto fix errors on system,data,cache,sdcard,usb-otg
(Run from internal storage to scan external sdcard filesystem)
AGNi Toolbox v1.1 AROMA-flashable-zip:-
-Remove FingerPrint Security+Data
-Run ext4 filesystems Check & Repair on /system /data /cache
-Clear Battery Stats Data
-Remove Lock Screen Security
can you recomennded setting for kernel auditor from this kernel
kucingbaik2 said:
can you recomennded setting for kernel auditor from this kernel
Click to expand...
Click to collapse
this is for android 7 Nougat test and let me know
i have no such recommended settings..
Hello, will works with santosh cm14 ?
jordandroid64 said:
Hello, will works with santosh cm14 ?
Click to expand...
Click to collapse
yes its based on same source as its cm14 kernel.. test n give me feedback!
I will flash CM14 this afternoon and test , you have try this kernel ?
Trouble with downloading...
Where can I download this kernel? The download link doesn't work.
icyjuice said:
Where can I download this kernel? The download link doesn't work.
Click to expand...
Click to collapse
Same problem here... Can't download!
Regards!
Really good!
Please add support for goodix fingerprint in your next build if you can
I really appreciate your work!
Please update link?
Flashed this on cm14 by santosh 21september build. Phone boots straight into twrp. Back on stock kernel.
im held up now, will repackage the zip n put when i get free time next
psndna88 said:
im held up now, will repackage the zip n put when i get free time next
Click to expand...
Click to collapse
add s5k3p3_f3p3man camera sensor support too ld be nice
alrightnik said:
add s5k3p3_f3p3man camera sensor support too ld be nice
Click to expand...
Click to collapse
check this: MISSING BLOBS LINK
try the new upload http://forum.xda-developers.com/devdb/project/dl/?id=20755
psndna88 said:
try the new upload http://forum.xda-developers.com/devdb/project/dl/?id=20755
Click to expand...
Click to collapse
Booted and Works great.
Working well with CM14- Nougat (santhosh)

[KERNEL] [G800F/M/Y] Spookcity_Kernel-N (For all 7.x custom ROMS)

Code:
/*
* 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 kernel
* before flashing it! YOU are choosing to make these modifications, DO NOT
* point the finger at me for messing up your device.
* this kernel is only for the S5 mini SM-G8OOF/M/Y (Exynos) Do Not Flash this on any other device!
*/
19-10-2017 * Updated to v6.0 * Changes are in red or can be seen at the bottom of this post in the changelog: I am always applying patches to hopefully improve the kernel,so check out the "Patches and tweaks applied" section for a better view of the changes as well.
Notes​
ALWAYS read the "Known Issues" section before flashing. I will add issues I have noticed or have been told about. Some may be VERY important. If you fail to do this and experience an issue that is listed I can not help you!
SELinux is set to permissive in this kernel. You can change this to enforcing at boot if you wish via an app like Kernel Adiutor-Mod
About voltage control: Setting frequencies that are unstable are going to cause lockups,freezes and reboots. This is NOT a fault in the kernel. My suggestion is to move the voltages up or down slowly (+/- 25) until you find some stable voltages that you're happy with.
Enough people were having problems with the 1.6ghz overclocked version that I've decided to release a non overclocked (1.5ghz) build as well. I would recommend trying the 1.6ghz and only if you experience a bootloop or instability then use the 1.5ghz version. I will not keep older versions of the 1.5ghz build up. Only the latest.
Having troubles deciding on a CPU governor or an I/O scheduler? Here is an amazing guide. All credits to Saber. Be sure to hit the thanks button. He obviously put a lot of time into that.
Features
Based on the latest Samsung kernel sources
Built an updated Sqlite3 (from version 3.9.2 -> 3.19.3 that will be pushed along with the kernel install (you can verify this by running "sqlite3 --version" in a terminal emulator before the new kernel install and then again after)
Compiled with self-built (ct-ng) UBERTC 8.0
Patched Linux to latest 3.4.113
Used anykernel2
Unlocked CPU frequencies: 200MHZ and 300MHZ
GPU overclocked to 600MHZ
CPU Overclocked to 1.6GHZ
CPU voltage control ( Max voltage =1500mV. Min voltage =600mV)
DriveDroid support (add sysfs entry for cdrom to LUNs)
Implemented zen-tune v4.5
Added CPU boost driver
Added PIE net scheduler
Added support for USB keyboards (You need This app)
Reduced vm_swappiness from 60 to 20
Added I/O scheduler switcher by sultanxda (changes the I/O scheduler for a specified request queue to Noop when the screen turns off in order to improve power consumption while the screen is off)
Added Fsync on/off
Added dynamic fsync
Added Dynamic management of dirty page writebacks (allows to have two different intervals for dirty page writebacks and to dynamically manage them when the system has been resumed (it's active) or when has been suspended - Not adjustable via Grarak's Kernel Adiutor app)
Proc: much faster /proc/vmstat
Full CIFS support ( Modules will be pushed with kernel install )
Introduced new flag WQ_POWER_EFFICIENT for power oriented workqueues ( Allows for power saving if selected in Kernel Adiutor ETC. )
Added /dev/frandom support ( It is yet to be implemented properly yet however )
Properly enabled faux123's powersuspend v2.5
Fading LED's
Enabled graphite
Enabled AIO
Readahead set to 512 (from 128 default)
Reverted "Enabled arch power" (There will be a switch to enable/disable this in the next build)
Many build flags for optimization
Added optimization flags for the GPU
Many more features being worked on and coming soon
Added CPU governors
- nightmare
- wheatley
- zzmoove
- dancedance
- darkness
- hyper
- lionheart
- ondemandplus
- bioshock
- pegasusq
- smartmax
- alucard (by alucard24)
- bluactive
- intelliactive (by faux123)
- intellidemand
Added CPU hotplug governors
- alucard hotplug (by alucard24)
- intelliplug hotplug (by faux123)
- thunderplug hotplug (by varun.chitre15)
- MSM Sleeper hotplug
- autoSMP hotplug
Added IO schedulers
- fiops
- sio
- zen
- fifo
- tripndroid
- bfq-v7r8
Added many TCP congestions
- reno
- vegas
- westwood and more
- Added the rest of the TCP congestions
- Westwood is now default TCP
Patches and tweaks applied include:
- Updated ARM topology and added cpu_power driver
- Input: Improve the events-per-packet estimate
- block/partitions: optimize memory allocation in check_partition()
- block: bfq-iosched: tuning for SSD (thanks to anarkia1976)
- cpufreq: Move get_cpu_idle_time() to cpufreq.c (This is important for CPU governors to work better/more efficiently with our kernel version-3.4)
- Fixed all the CPU governors to work properly with the Move get_cpu_idle_time
- cpufreq: Introduce new relation for freq selection (It selects the frequency with the minimum euclidean distance to target. In case of equal distance between 2 frequencies, it will select the greater frequency)
- cpufreq: conservative: Set MIN_LATENCY_MULTIPLIER to 20
- cpufreq-ondemand-Set-MIN_LATENCY_MULTIPLIER-to-20
- cpuidle-Get-typical-recent-sleep-interval
- cpufreq: Persist cpufreq time in state data across hotplug
- implement-LoUIS-API-for-cache-maintenance-operations
- ARM-kernel-update-cpu_disable-to-use-cache-LoUIS-maintenance API
- update-v7_setup-to-the-new-LoUIS-cache-main
- USB-gadget Optimize-tx-path-for-better-performance
- af_unix: speedup /proc/net/unix
- net/socket.c: fix: warning: 'sock/sock1/sock2' may be used uninitialized in this function
- fs/proc/array.c: make safe access to group_leader
- lib/memcopy: use glibc version (the kernel's memcpy and memmove is very inefficient. But the glibc
version is quite fast, in some cases it is 10 times faster than the kernel version)
- lib/string: use glibc version (same as above)
- lib/int_sqrt.c: optimize square root algorithm
- readahead: make context readahead more conservative
- sched-Fix-select_idle_sibling-bouncing-cow-syndrome
- sched-Implement-smarter-wake-affine-logic
- sched-Micro-optimize-the-smart-wake-affine-logic
- sched: Reduce overestimating rq->avg_idle
- power: make sync on suspend optional
- tcp: tweaked for speed
- writeback-fix-occasional-slow-sync
- writeback-fix-writeback-cache-thrashing
- wireless - bcmdhd - reduce scan dwell time to reduce power usage
- bcmdhd reduce wakelocks
- mutex-Queue-mutex-spinners-with-MCS-lock-to-reduce-cc
- mutex-Make-more-scalable-by-doing-less-atomic-operations
- ARM-use-generic-unaligned.h
- Kconfig-enabled-unaligned-capability-for-ARM
- decompressor-Enabled-unaligned-memory-access
- Optimized-ARM-RWSEM-algorithm
- ARM: Fixed negative idle stats for offline cpu
- disabled debugfs[/COLOR]
- mm: remove noisy remainder of the scan_unevictable interface
CONFIG_HZ=100 (reverted commit)
- Plus many more - Check my git repo for full details.
Sources
Kernel Source
Toolchain Source
Click to expand...
Click to collapse
Known Issues
Setting alucard hotplug along with certain other governors at boot via kernel adiutor etc can cause a reboot after setting is applied. So be certain to set the "delay" time in kernel adiutor or similar to 10 seconds or more,so if you have this you are able to cancel and change after a reboot.
There is a chance of some settings being reset after flashing the kernel (quick setting,sound,statusbar etc.) This is rather insignificant and all settings that have been changed can be set back in minutes.
Click to expand...
Click to collapse
Installation
I HIGHLY recommend that you do a full backup before flashing this kernel. I am not responsible if you lose any or all of your data.
1.Download "Spookcity_Kernel-N"
2.Place the zip onto your phones storage
3.Reboot into recovery (Volume-Up + Home + Power button)
4.Select install
5.Flash the downloaded kernel
6.Go back a few times in TWRP Select wipe -> Advanced wipe and wipe Dalvik/Art cache and the cache partition.
If you do not do this you are very likely to experience strange issues.You have been warned.Do not report problems if you did not do this.
7.Reboot
Click to expand...
Click to collapse
Code:
Feedback can also be posted[URL="https://github.com/Spookcity/ROMS-G800F/issues/12"]-------> Here[/URL]
Test builds will be released [URL="https://github.com/Spookcity/ROMS-G800F/issues/22"]-------> Here[/URL]
Download the latest build
Spookcity_Kernel-N-v6.0
Spookcity_Kernel-N-v6.0-1.5GHZ Version
Click to expand...
Click to collapse
Download older version
Code:
[URL="https://www.androidfilehost.com/?fid=745425885120759188"]Version 5.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195920916"]Version 4.0[/URL]
[URL="https://www.androidfilehost.com/?fid=673368273298972709"]Version 3.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195913162"]Version 2.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195911617"]Version 1.0[/URL]
Huge credit and many thanks to:
Hennymcc,Ayke,Psyafter,mirhciulica,ctxZ,DjSteve,CurtisMJ,osm0sis,Archidroid,Chet Kener,andip71,faux123,flar2,ZaneZam,anarkia1976,AndreiLux,Yank,Francisco Franco,Sultanxda,varun.chitre15
Big thanks for testing and giving feedback:
Oleggluk,StanleyNL,Mikahlo,Guntzog
and any others as I'm sure I am forgetting people.
CHANGELOG
HTML:
01-09-2017 - Released Version 6.0
- Added MSM Sleeper hotplug
- Reduced vm_swappiness from 60 to 20
- Added intellidemand governor
- Added autoSMP hotplug
- Added CPU boost driver
- Proc: much faster /proc/vmstat
- Cpufreq: Persist cpufreq time in state data across hotplug
- Reverted "enable arch power"
- mm: remove noisy remainder of the scan_unevictable interface
- net/socket.c: fix: warning: 'sock/sock1/sock2' may be used uninitialized in this function
01-09-2017 - Released Version 5.0
- Removed ROW I/O scheduler
- Added I/O scheduler switcher by sultanxda
- Added PIE net scheduler
- Added support for USB keyboards
- Properly enabled faux123's powersuspend v2.5
- Added dynamic fsync
- Added optimization flags for the GPU
- Enabled AIO
- Reverted a couple of HZ related commits
- Added intelliactive governor
- Added intelliplug hotplug driver
- Added thunderplug hotplug driver
- Added Dynamic management of dirty page writebacks
- Fixed voltage control on 1500MHZ version
- Fixed alucard governor
- Fixed ondemandplus governor
- Fixed bluactive governor
- ib/int_sqrt.c: optimize square root algorithm
- af_unix: speedup /proc/net/unix
- wireless - bcmdhd - reduce scan dwell time to reduce power usage
- bcmdhd reduce wakelocks
- readahead: make context readahead more conservative
- block/partitions: optimize memory allocation in check_partition()
- power: make sync on suspend optional
- block: bfq-iosched: tuning for SSD
05-08-2017 - Released Version 4.0
- Added 1.5GHZ version
- Added voltage control
- DriveDroid support
- Implemented zen-tune v4.5
- Full CIFS support
- Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues
- Added Fsync on/off
- Added ROW I/O sheduler
- Added BFQ-v7r8 I/O scheduler for 3.4 kernel
- Added Blu_active CPU governor
- block: disabled add_random
- tweaked build flags
- many workqueue related patches
- tcp: tweaked for speed
- CONFIG_HZ=300
- fs/proc/array.c: make safe access to group_leader
- disabled debugfs
19-07-2017 - Released Version 3.0
-GPU overclocked to 600MHZ
-Updated Sqlite3 to version 3.19.3 from 06-08-2017
Added CPU governors
-bioshock
-pegasusq
-smartmax
-alucard
-alucard hotplug
-Added the rest of the TCP congestions
-cpufreq: Move get_cpu_idle_time() to cpufreq.c
-Fixed all the CPU governors to work properly with the Move get_cpu_idle_time
-Added /dev/frandom support
-cpufreq: Introduce new relation for freq selection
-lib/memcopy: use glibc version
-lib/string: use glibc version
-
03-07-2017 - Released Version 2.0
-GPU overclocked to 533MHZ
Added CPU governors
-dancedance
-darkness
-hyper
-lionheart
-ondemandplus
Added IO schedulers
-fifo
-tripndroid
Added many TCP congestions
-reno
-vegas
-westwood
-etc.
26-06-2017 - Fix "unsupported device" when flashing in TWRP 3.1.1.0
23-06-2017 - Initial release
Enjoy!
XDA:DevDB Information
[KERNEL] [G800F/M/Y] Spookcity_Kernel-N (For all 7.x custom ROMS), Kernel for the Samsung Galaxy S5 Mini
Contributors
spookcity138
Kernel Special Features:
Version Information
Status: Beta
Created 2017-06-23
Last Updated 2017-10-19
At 2Mb less than the test version. Has something removed or new compression?
On RR works.
Oleggluk said:
At 2Mb less than the test version. Has something removed or new compression?
On RR works.
Click to expand...
Click to collapse
Yeah,I have temporarily removed synapse support. This is the reason its 2mb smaller. I will add it back once I have some things fixed. Too many things just don't work with it right now.
Sent from my SM-G800F using Tapatalk
And the test version will be?
Oleggluk said:
And the test version will be?
Click to expand...
Click to collapse
Not positive what you mean. If you mean the size it will be the same as this as I haven't messed with synapse any yet. If you're talking about the features I've added since this build,you can have a look Here to get some idea of what I've done so far.
spookcity138 said:
Not positive what you mean. If you mean the size it will be the same as this as I haven't messed with synapse any yet. If you're talking about the features I've added since this build,you can have a look Here to get some idea of what I've done so far.
Click to expand...
Click to collapse
Now I do not understand anything)). Alucard has already been added, GPU OC to 600mhz, fifo, tripndroid and vr IO sched .....? Or will be added to the test version.
Oleggluk said:
Now I do not understand anything)). Alucard has already been added, GPU OC to 600mhz, fifo, tripndroid and vr IO sched .....? Or will be added to the test version.
Click to expand...
Click to collapse
Hehe,yes. This build is based on the "OC CPU to 1.6" commit. So it includes everything before that,but nothing after. I will probably be releasing test builds in increments. Meaning,the next test build (hopefully this weekend) will still not include all that you see committed on my github repo. I want to do it this way to better be able to diagnose possible bugs and their reasons. So I'll release a test build on github. Have you and others willing to test give me feedback about any problems. Then release it on here...and then repeat these steps. Hope that makes some sense [emoji3]
Sent from my SM-G800F using Tapatalk
spookcity138 said:
Hehe [emoji3]
Click to expand...
Click to collapse
It is certainly correct and logical, so it will be easier to search for the culprit of mistakes.
But I want to try everything at once))
Oleggluk said:
It is certainly correct and logical, so it will be easier to search for the culprit of mistakes.
But I want to try everything at once)) :еек:
Click to expand...
Click to collapse
I'll make sure the next test build includes much of the new stuff. I'm a little bit worried that the GPU overclock is going to turn into a nightmare like the CPU overclock though. Guess we will find out. Fingers crossed.
Sent from my SM-G800F using Tapatalk
I would very much like to see voltage regulation. Is there such a function?
I can test the overclocking of the GPU as well as the CPU 1700)))
Oleggluk said:
I would very much like to see voltage regulation. Is there such a function?
I can test the overclocking of the GPU as well as the CPU 1700)))
Click to expand...
Click to collapse
Haha,You're definitely not testing any CPU overclocking [emoji3]
I have started messing with voltage control. I've enabled access,but at this point I'm unsure how you would access it as its not included in kernel adiutor and I've yet to properly set up synapse. Either way,the access is there,but the ability to actually change the voltages is not currently working. I believe I need to tweak a few things and add at least 1 additional file. Soon to come I hope.
Sent from my SM-G800F using Tapatalk
Good stuff, changing SElinux to enforcing make sim card not detectable is there a recommended config for better battery?
guntzog said:
Good stuff, changing SElinux to enforcing make sim card not detectable is there a recommended config for better battery?
Click to expand...
Click to collapse
Honestly I'm unsure off hand. However,I did enable arch power by default,so that should help battery life some. I have been working on the kernel recently and have added alucard and alucard hotplug CPU governors. This will come in the near future and I believe could really help with battery life.
I have some problems with kernel. After update my RR 5.8.3 i try to instal your kernel, but TWRP showed me that error message "Unsupported device. Aborting...
Updater process ended with ERROR: 1". I have a G800F and i don't know why kernel can't install. I attached my recovery.log file
View attachment recovery.log
upd. : it was a new twrp. I installed old version twrp and try to install kernel. And kernel was installed
GeorgianGreek said:
I have some problems with kernel. After update my RR 5.8.3 i try to instal your kernel, but TWRP showed me that error message "Unsupported device. Aborting...
Updater process ended with ERROR: 1". I have a G800F and i don't know why kernel can't install. I attached my recovery.log file
View attachment 4193251
Click to expand...
Click to collapse
Yes,this has something to do with the latest TWRP I believe as I now get this error as well. I'm not sure why. I'll look into it. To "fix" it for now. Open up the zip (don't unzip it) then open the anykernel.sh file with a text editor and change the line "do.devicecheck=1" to "do.devicecheck=0" Then it skips the device check and will be fine.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
Yes,this has something to do with the latest TWRP I believe as I now get this error as well. I'm not sure why. I'll look into it. To "fix" it for now. Open up the zip (don't unzip it) then open the anykernel.sh file with a text editor and change the line "do.devicecheck=1" to "do.devicecheck=0" Then it skips the device check and will be fine.
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Some changes in the name of the device with a new twrp. Kminiltexx is kminilte
Oleggluk said:
Some changes in the name of the device with a new twrp. Kminiltexx is kminilte
Click to expand...
Click to collapse
Ahh,that explains it. Thanks! Easy fix then.
Edit:
Fixed
Sent from my SM-G800F using Tapatalk
Just flashed the kernel and the mobile got stuck in a boot loop. Tried it second time: First very long boot, then crash.
I wiped dalvik/art cache and cache partition via TWRP 3.1.1.0. Anyone else has/had this? Suggestions?
Schweng said:
Just flashed the kernel and the mobile got stuck in a boot loop. Tried it second time: First very long boot, then crash.
I wiped dalvik/art cache and cache partition via TWRP 3.1.1.0. Anyone else has/had this? Suggestions?
Click to expand...
Click to collapse
I have not had this problem and haven't had anyone mention it to me. What model is your phone? F,M or Y? What ROM?
Sent from my SM-G800F using Tapatalk
spookcity138 said:
I have not had this problem and haven't had anyone mention it to me. What model is your phone? F,M or Y? What ROM?
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Model is F.
Rom is 14.1 Lineage, the 20170226 version from Ayke, i think.

[KERNEL]Chewie Kernel

This is the new refined home for DarkRoom Development. If you submit bug reports without a log, you may be prosecuted...or executed.
Disclaimer:
If your device fails to comply with your standards of what you consider functioning, I am not liable. This is provided free of charge and does not come with a warranty. Although, if you provide a log, I can provide some sort of assurance that I will look into your issue.
Links:
Social:
Twitter - http://twitter.com/DespairDev
G+ Community - https://plus.google.com/u/0/communities/117685307734094084120
Telegram - https://t.me/darkroomdev
Discord - https://discord.gg/BGTFutW
Downloads:
https://hunternott.com/darkroom
Source:
Github – https://github.com/matthewdalex/
Credits:
faux123
franco
Google
flar2
imoseyon
Cl3Kener
neobuddy89
Star Wars
Current Changelog:
a6dc509c build: R4
df2a509 adrenoboost: disable by default
f6117af adrenoboost: finetuning algorithm - scale it a bit down
ed77a83 msm_adreno_tz: add adrenoboost parameter
1012464 build: R3
a09b725 cpufreq: cpu-boost: don't raise min freq if the current frequency is already >= boost frequency
afc784c cpufreq: cpu-boost: don't boost the gold cluster unecessarily
0676b46 cpufreq: cpu-boost: don't boost if input_boost_ms is <= 0
94c3db2 cpufreq: cpu-boost: export input_boost_enable to userspace
f90daa8 Added fsync on/off support.
ebf714c fs: default to noatime
05b9703 kgsl: Increase priority of RT thread
564bc63 msm: kgsl: Report correct GPU frequency in sysfs
571e66a msm: performance: prevent userspace hints to decrease max cpu freq
0265564 msm: performance: prevent the driver from handling userspace min freq cpu boost hints. We'll use the standard cpu-boost input-boost functionality which gives users freedom to choose their own settings
ae7fb5f msm_performance: don't limit min and max cpu freq
77574b8 build: R2
c46550c Disable Add Random
f88197d workqueue: change permissions to allow root control of wq_power_efficient toggle
e9ccbd7 int_sqrt: Improve 3x faster integer sqrt.
5afcf4c int_sqrt.c: Correction square root algo with naming
509bc26 proc: Remove additional SafetyNet flags from /proc/cmdline
38cef65 PM: devfreq: Use high priority workqueue
3266e8d cpuidle: don't disable cpuidle when entering suspend
cbb5b1a proc: Remove verifiedbootstate flag from /proc/cmdline
1063ffa AIO: Don't plug the I/O queue in do_io_submit()
b32ac4f disable crc check
21ee74e makefile: optimize
bd46e35 build: R1
c185f46 techpack: compile inline
05ce4c2 module: break vermagic
178e5b4 defconfig: enable wakelock locker and compile dt overlay
69804f7 boeffla_wl_blocker: update to wakelock blocker driver v1.1.0
a1fb808 boeffla_wl_blocker: update to wakelock blocker driver v1.0.1
3dbe10c 6boeffla_wl_blocker: add generic wakelock blocker driver v1.0.0 Based on ideas of FranciscoFranco's non-generic driver.
6bf1b50 build: add script
Nice work buddy!!
Sent from my OnePlus6 using XDA Labs
I'll flash after work. (It's in the middle of nowhere)
The first kernel of OP6~
Thank you!
I get an internal error has occurred on this device with r1 when booted . WiFi is working though, but you get that error on boot. This didn't happen on r0.
mwilky said:
I get an internal error has occurred on this device with r1 when booted . WiFi is working though, but you get that error on boot. This didn't happen on r0.
Click to expand...
Click to collapse
As far as I know, probably a vendor mismatch? Can ignore that message though, nothing harmful for running the phone "Normally".
Where's Hans Solo
Hi,
Will this patch over both partitions, and work well.
Also, does it improve battery life?
Kind regards.
echo246 said:
Hi,
Will this patch over both partitions, and work well.
Also, does it improve battery life?
Kind regards.
Click to expand...
Click to collapse
Not sure about both partitions but in terms of battery life, this is almost stock with the exception of a wakelock blocker. Will need to wait some time for any changes that will add up to better battery life over stock.
Sent from my OnePlus6 using XDA Labs
echo246 said:
Hi,
Will this patch over both partitions, and work well.
Also, does it improve battery life?
Kind regards.
Click to expand...
Click to collapse
It will do the active one
rav101 said:
Not sure about both partitions but in terms of battery life, this is almost stock with the exception of a wakelock blocker. Will need to wait some time for any changes that will add up to better battery life over stock.
Sent from my OnePlus6 using XDA Labs
Click to expand...
Click to collapse
Should be the same for R1 unless you block stuff
great to see the first custom kernel if you do get round to adding kcal will be unlocking my bootlader lol
Delete
strikerdj2011 said:
great to see the first custom kernel if you do get round to adding kcal will be unlocking my bootlader lol
Click to expand...
Click to collapse
Will need to look into it, the drivers have moved
Who, nice ! Thank's ?
Can you please add fsync disabler?
Maybe even perfect remounts on boot? Hmm something to consider
mwilky said:
I get an internal error has occurred on this device with r1 when booted . WiFi is working though, but you get that error on boot. This didn't happen on r0.
Click to expand...
Click to collapse
Hi, will your rom have Rice support?
virtyx said:
Can you please add fsync disabler?
Maybe even perfect remounts on boot? Hmm something to consider
Click to expand...
Click to collapse
It is in R3, this is a work in progress, trying to release some builds with some small changes to ensure stuff doesn't break too much
Hi,
So for anyone curious, all you need to do is flash the latest version followed by Magisk (I'm using 16.4 beta). You will get the error on boot "There's an internal problem with your device error but it has booted" but once you dismiss this you won't see it again.
Regards,
Ravi

Categories

Resources