[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] f(x)THaxxorX:
[ 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 :

[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