[3.18.140][EAS][O/Pie][GESTURES]Chimera Kernel[FINAL]

rupanshji

Senior Member
Sep 4, 2015
210
573
133
Pajeetpur
Disclaimer :

* Your warranty is now void.
*
* We're 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, and if
* you point the finger at us for messing up your device, we will laugh at you.




Chimera is a fusion of stol... picked features from different custom kernels and Uniqueness.
Tested working perfectly on Pixel XP , Nitrogen OS and crDroid, LineageOS Treble build and Reloaded CAF as well.



Governors :
  • conservative
  • ondemand
  • userspace
  • powersave
  • schedutil (for EAS)

IO-scheds :
  • BFQ
  • FIOPS
  • NOOP

Features (Fusion of uniqueness and picking) :
Code:
[LIST=1]
[*]Energy Aware Scheduling
[*]CPU Boost
[*]DT2W v2.0 with Haptic Feedback! (thanks to sir [user=5913332]@tanish2k09[/user] )
[*]Optimized CPU voltages (from Beatrix kernel)
[*]Adreno Idler (From Beatrix kernel)
[*]Disabled crc check for faster I/O (from ElectraBlue kernel)
[*]Force USB fastcharge
[*]CPU OC and UC frequency table
[*]f2fs support
[*]Voltage Control (thanks to [user=8676174]@DyWN[/user])
[*]Sweep2Wake + Haptic Feedback
[*]Disabled Sweep2Sleep to prevent annoying sleeps while gaming
[*]CD-ROM Emulation (For drivdroid)
[*]QC 2.0 (Thanks to nichcream -- Should work now, extensive testing still needed)
[*]Sound Control (From Spicy Kernel)
[*]SDFAT support
[*]Treble Build
[*]Up To date with latest linux-stable and CAF Tags
[*]Built with Bootlin TC and graphite (GCC 8.2)
[*]Integrated Treble and Non-Treble Builds
[*]Spectrum Profiles
[*]KCAL
[*]KLapse
[*]Android P Support
[*]Android Q Pre-Release Support
[/LIST]
Downloads :
Note - You can flash the zip both on Treble and Non Treble. Please stop spamming the thread and my telegram with that!

GDrive -- OR -- Old builds

Credits :

Coming soon?
Feel free to post your thoughts or new ideas in this thread, and tag me or @tanish2k09, preferably both :D

Bugs:
You tell me :p

Extra Stuff I want you to know :

Important Notes if you wish to add the kernel to a ROM

Revert the following commits :
Or Even better, bundle chimera-lite, a more daily-user intended kernel!-
https://github.com/ChimeraKernelProject/chimera_land-current -b lineage-16.0-lite

Finally cherry-pick these commits in your device tree :

(This is important or else schedutil won't be the default governor and spectrum won't work)

Optionally, you can bundle Spectrum and KA apps from this commit

If you wish to build Non-Treble, Remove this block of code


Based on - Ritesh Saxena's kernel
Other Sources - GitHub


XDA:DevDB Information
Chimera Kernel, Kernel for the Xiaomi Redmi 3S

Contributors
rupanshji, tanish2k09, RiteshSaxena, Swapnil Soni
Source Code: https://github.com/ChimeraKernelProject/chimera_land-current

Kernel Special Features: Custom kernel deer

Version Information
Status: Stable
Current Stable Version: Final
Stable Release Date: 2019-07-03

Created 2018-01-10
Last Updated 2019-07-03
 
Last edited:

rupanshji

Senior Member
Sep 4, 2015
210
573
133
Pajeetpur
RESERVED
CHANGELOG

Final r2
Code:
Bump klapse to v5.0
Merge LA.UM.7.6.r1-05300-89xx.0
OLD LOGS

FINAL Re- release
Code:
Fix deadlock issue causing display failure while using klapse
FINAL
Code:
Upstream to 3.18.140
Merge LA.UM.7.6.r1-04500-89xx.0 
Use a proper KLapse implementation
v6r3
Code:
upstreamed to v3.18.138
compiled with updated toolchain
Update AnyKernel2
v6r2
Code:
fix mdss kernel panics caused by klapse_push
v6
Code:
Added KLapse support
Upstreamed to 3.18.136
v5.2_r3
Code:
Fix major EAS bug where cost data wasn't dynamically calculated in the previous build
Build with Graphite flags
Increase minimum brightness
Remove Nethunter/HID support
v5.2_r2 rebased
Code:
Upstreamed to 3.18.132
Merged LA.UM.7.6.r1-04000-89xx.0
Remove -dirty append in Kernel version
Fixed DT2W v2 implementation
Disable DT2W v2 by default(Can be enabled via KA)
Add Haptic Feedback to S2W
Remove useless features
v5.2_r2
Code:
Merged 3.18.131
Fix Schedutil not being applied upon boot
v5.2
Code:
Upstreamed to 3.18.126
Merged LA.UM.7.6.r1-03400-89xx.0
Revamp EAS Model
Compile with BootlinTC+Graphite
v5.1r3
Code:
Rebased to <insert latest CAF tag here>
Upstreamed to 3.18.124
Tweaked spectrum and init config
Removed Alucard and Darkness governors
Fixed Max GPU clock in spectrum not being applied (tenks @parvezch boi)
v5.1r2
Code:
Fixed Vendor Mismatch on all ROMs
v5.1
Code:
Upstreamed to 3.18.122
Rebased to LA.UM.7.6.2.r1-03200-89xx.0
Removed Interactive Governor
Fixed Vendor Mismatch Issue
Compiled with DragonTC 8.0
Cross Compiled with Linaro 7.3.1
Tweaked Spectrum configs
schedutil is the default governor now
v5.0r2
Code:
Upstreamed to 3.18.120
Merged [Insert Latest CAF Tag here]
Rebase Non treble to TeamReloaded
v5.0
Code:
Added EAS support
removed wakelock triggers
Enabled Adreno Idler(I forgot to enable it in the defconfig F)
Added CPU Boost
Removed Lisi
Removed Electron
Upstreamed to 3.18.116
Switched DT2W to half screen by default
Added Performance profile in spectrum
Adjusted frequencies in spectrum profiles
Switched to schedutil governors in spectrum profiles
V4.1
Code:
Added Android P sGSI support
Upstreamed to V3.18.14
Spectrum Profile Fixed
Added FIOPS IOSCHED
Enabled NOOP IOSCHED
Enabled BFQ IOSCHED(In non-treble)
Added Lisi Governor
Added Electron Governor
Fixed Kernel Version
V4
Code:
INTEGRATE TREBLE AND NON TREBLE BUILDS INTO ONE ZIP
Upstreamed to v3.18.113
Rebased Treble source
Spectrum Profiles Added
Compiled with DTC 7.0 Clang TC
Re-Added KCAL
V3.0(Includes Treble)
Code:
Switched base kernel source
Add Haptic feedback for DT2W V2
Add S2W back
Disabled S2S in S2W
Downstreamed to 3.18.71(only in non treble build)
Remove exfat as no longer needed
Add UC and OC frequency table
V2.1
Code:
Upstreamed to 3.18.104
Add Voltage Control For Little Cores
Add Faux Sound Control
Add SDFAT Support
Fix Kernel Version in Settings
Disabled S2W(Since working to implement t2s)
V2.0-r2
Code:
Fix Stability Issues in some ROMs
Remove Overclock for battery performance and stability
Switched Base Source
V2.0
Code:
Switched to Rebased kernel
Wireguard VPN Support added
QC2.0 (Should work, Extensive Testing still needed)
Switched to DyWN's & bawaviki's OC
CD-ROM Emulation added
Sweep2Sleep added
KCAL Removed(Due to some problems, Will re-add soon)
v1.2r2
Code:
Upstreamed to 3.18.102
V1.2
Code:
Added Wakelock triggers
Added Voltage Control
Dt2w v1.0 --> v2.0 thanks to tanish2k09
V1.1
Code:
Fixed Kernel Aduitor problems
Added dt2w
Fixed governers not showing up
V1.0
Code:
Initial build
 
Last edited:

rupanshji

Senior Member
Sep 4, 2015
210
573
133
Pajeetpur
I have now tested the kernel. Kernel Auditor isn't working properly but the phone is working fine. No heating issues and all. I will find a workaround/fix asap

Thanks for the feedback
 
  • Like
Reactions: fxsheep

rupanshji

Senior Member
Sep 4, 2015
210
573
133
Pajeetpur
@rupanshji
You are much pro. Congo.

Wut sort of cpu gov is TheNewBeginning?
Haven't seen that anywhere before...
Thanks Mate!

Btw I made the first build around 5AM governers were not showing up
I fixed it a few minutes ago. I haven't myself tested it much :p will tell you more about it once I test it well xD . Tho I will ask mayu09(got it from his kernel :p) more about it once he is free :D .
.
.
.
.
.
UPDATED to V1.1
Added dt2w support
fixed governer problems (check changelog)
Kernel should be stable af now guys :)
 
  • Like
Reactions: Chris828

tanish2k09

Senior Member
Jun 21, 2014
1,811
2,194
0
@rupanshji

Try adding my Trace2sleep, dt2w V2 and swipe2wake modules.

Adding two more gestures above dt2w doesn't consume noticable battery because the screen is already kept active by dt2w.