FORUMS
Remove All Ads from XDA

 View Poll Results: Anyone want to try Permissive for SELinux?

Yes
 
1 Vote(s)
100.00%
No
 
0 Vote(s)
0%

[6.0+]Mimori Kernel [AOSP & Lineage OS Based ROM]

2,638 posts
Thanks Meter: 1,199
 
Post Reply Email Thread
Announcement from Nicklas Van Dam: New upstream build is release :)
Mimori Kernel | Stability for performance
For Xperia M
Based on Lineage OS 14.1 source

Code:
#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.
 */


Mimori Kernel based on Lineage OS 14.1 source, and included many improvement and optimization on processor, I/O and include some feature for Xperia M / M dual devices that use Marshmallow as base ROM.

Mimori offered kernel performance, stability, smoothness process on cpu and already have full support on NEON, this kernel need kernel configuration app to control this kernel, so try to find kernel configuration app after flash this kernel.

Recommended Kernel Configuration :
- Kernel Adiutor (BETA)
- Device Control

Okay this is several features that i include in this kernel.

This kernel feature is :
Kernel Features

* Linux Kernel Version 3.4.113
* Compatibility with AOSP,CM And LineageOS based ROM [Android 6.0+]
* Added overclock up to 1,4Ghz
* Added Double Tap 2 Wake Feature (Incl. Vibration)
* Added custom CPU Governor : Alucard,Intelliactive,IntelliMM,Lionheart,Adaptive & Blu Active (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom I/O Sched Governor : zen,sio,sioplus,tripndroid,fifo,fiops,vr and maple (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom TCP Modules : Advanced,Bic,Westwood,Hybla,Vegas,Veno,Yeah and more
* Added CPU Voltage Table Control
* Implement Power Efficient Workqueues
* Dynamic management of dirty page writebacks
* Added Interface of Gentle Fair Sleepers, Software CRC and Arch Power (Option Disable by Default)
* Added Frandom Support
* Added Dynamic Fsync 2.0
* Entropy Tweaks
* NEON VFPv4 Optimized (hard)
* Added Intelli Plug v4.0
* Added Intelli Thermal v1.0
* Added F2FS File System Support (Based on Linux 3.4.y Branch) (Working)
* Added EXFAT File System Support (Driver Version v1.2.9) (Need Test)
* Added USB Keyboard Support
* Optimized I/O Sched
* Compiled using GCC 5.4.X Hyper Toolchains
* Updated CVE Patch From LineageOS Kernel Source 20171106[/LIST][/LIST]


How to install :
1. Download Mimori Kernel and install it from recovery mode, use TWRP recovery (TWRP Link)
2. install kernel adiutor from Playstore for kernel configuration (i don't have myself app to control kernel) (Try to use BETA version to get fix for CPU temperature)
3. Final step, let's configure kernel like what you want it and enjoy my first custom kernel

For download, look at download tab on top of this thread

Thanks to :
@PecanCM [For Kernel Source]
@Alex_Gamer [For Kernel Tester & Troubleshoot]
@thichthat [For DT2W Source]

XDA:DevDB Information
Mimori Kernel For Xperia M, Kernel for the Sony Xperia M

Contributors
Nicklas Van Dam, PecanCM, Alex_Gamer
Source Code: https://github.com/Nicklas373/Mimori...LineageOS_14.1

Kernel Special Features: Overclocked, ARMV7 NEON Optimized

Version Information
Status: Stable
Current Stable Version: Seventh Build
Stable Release Date: 2018-02-11

Created 2016-09-03
Last Updated 2018-02-19
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170824-185731.png
Views:	4556
Size:	52.9 KB
ID:	4251043   Click image for larger version

Name:	Screenshot_20170824-185743.png
Views:	4502
Size:	52.3 KB
ID:	4251044   Click image for larger version

Name:	Screenshot_20170824-185829.png
Views:	4466
Size:	74.6 KB
ID:	4251045   Click image for larger version

Name:	Screenshot_20170824-185659.png
Views:	4332
Size:	37.4 KB
ID:	4251073   Click image for larger version

Name:	Screenshot_20170824-185757.png
Views:	4286
Size:	26.1 KB
ID:	4251074   Click image for larger version

Name:	Screenshot_20170824-185808.png
Views:	4244
Size:	38.4 KB
ID:	4251075   Click image for larger version

Name:	Screenshot_20171003-202932.png
Views:	3298
Size:	76.1 KB
ID:	4291185   Click image for larger version

Name:	Screenshot_20180219-121521.png
Views:	1690
Size:	55.3 KB
ID:	4424553  
The Following 32 Users Say Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
 
 
3rd September 2016, 06:22 PM |#2  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,199
 
Donate to Me
More
Kernel Adiutor OTA Update Information
Now for CyanogenMod And AOSP Based ROM, Hana Kernel Offered OTA Update feature for kernel update using kernel adiutor app for CyanogenMod Based ROM with "download" feature in kernel adiutor.
You can download new build in that menu included ; introduce, kernel feature and changelog update. Now i'm still try to enable it on LineageOS too, i'm just need to wait confirmation from the admin .

For anyone want to install this kernel, can access too using KA. just like normal download and installation for kernel

Have fun
Click image for larger version

Name:	Screenshot_20161206-153447.png
Views:	1392
Size:	60.3 KB
ID:	3959632Click image for larger version

Name:	Screenshot_20161206-153456.png
Views:	1378
Size:	61.5 KB
ID:	3959633Click image for larger version

Name:	Screenshot_20161206-153505.png
Views:	1362
Size:	56.0 KB
ID:	3959634Click image for larger version

Name:	Screenshot_20161206-153515.png
Views:	1302
Size:	83.3 KB
ID:	3959635
The Following 3 Users Say Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
3rd September 2016, 06:22 PM |#3  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,199
 
Donate to Me
More
Kernel Adiutor Information
For Kernel Adiutor Usage

During new stable version of Kernel Adiutor have problem with CPU temperature, now we should use BETA build from Kernel Adiutor to get fix for that problem.

And for set on boot configuration, i'm not recommended it again , since that only can make kernel error during boot up process.
So set kernel when system is already boot is best option for stability and performance.

If kernel adiutor to hard for configure, then you can try Device Control app to manage your kernel.
This app is almost same like KA but it's little simple and more friendly for configuration
The Following 2 Users Say Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
3rd September 2016, 06:31 PM |#4  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,199
 
Donate to Me
More
Changelog :


Seventh Build (20180211):
- Fixed some upstream issue
- Upstream to 3.4.113 (REBASE change)
- Fix issue with OTG problem (Recovery or System)
- Updated F2FS to latest 3.4.y and misc fixes

Sixth Build (20180122):
- Updated Kernel Security Patch to 20171106 (Based on MSM8960T Source)
- Change GCC to GCC 5.4.X Hyper Toolchains
- Misc fixes with intelli thermal
- Applied last patch with 3.4.113
- Applied security patch with "KRACKS attacks"
- Removed sdcardfs drivers (not used by device)
- Misc CPU Optimization
- Set readahed to 512kb
- Added GPU optimizations flags
- Improve Hard Floating Point for neon-vfpv4

Fifth Build (20171002):
- Introduce IMAGINE Codename
- Upstream Linux Kernel to 3.4.113 based on git.kernel.org
- Revert change of F2FS (back to old source)
- Revert some optimization change
- Added Maple I/O Sched (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- I/O Sched Optimization for SIO and ZEN
- Enable Interface Of Software CRC
- Misc CPU Optimization
- Added some sched optimization
- Disabled USB Fastcharge v1
- Reverting Permissive, Back to Enforcing
- Added Blu Active CPU Governor (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- Added Support for Neon VFPv4 With Hard Floating
- Disabled Quick Wake Up Drivers

Fourth Build (20170913):
- Added Optimization on I/O Sched (Improves SSD Speed)
- Misc fixes for conservative governor
- Added F2FS and EXFAT File System Support
- Added Hyper CPU Governor
- Optimized KSM
- Update Intelli Plug to v4.0
- Optimized SLUB
- Set readahed to 256KB
- Added CCACHE for faster kernel building
- Updated CVE Patch (Kernel Security Patch) to 20170826 Based On MSM8960T
- Misc Optimization
- Added Quick Wakeup driver
- BACKPORT F2FS from branch Linux 3.4.y (git.kernel.org)
- Reverting Quick Wakeup Driver
- Added USB Keyboard features
- Updated SDCARDFS Driver
- Misc fixes

Third Build (20170821):
- Little Improvement on CPU Bus Speed
- Added Dynamic Fsync 2.0
- Added Frandom Support
- Added Interface of Gentle Fair Sleepers (Option Disable by Default)
- Misc change on I/O Partitions
- Dynamic management of dirty page writebacks
- Removed "+" Symbol From Kernel Version String
- Implement Power Efficient Workqueues Feature (Enable by Default)
- Revert Alucard CPU Governor to v1.0
- Added Interface of Arch Power Features (Disable by Default)
- Entropy Tweaks
- Build vfp with softfp
- Misc change with cpufreq
- Added Intelli Plug and Intelli Thermal
- Fix Neon VFP
- Upgraded Kernel to 3.4.4
- Change toolchains to Hyper Toolchains GCC 4.9
- Decrease thermal limits to 70c

Second Build (20170817):
- Set kernel as permissive
- Enabling 972Mhz to fix slow response on boot and skipped frequency on system
- Added Custom TCP Congestion
- Added CPU Voltage Control
- Added DT2W Vibration Support
- Added USB Fastcharge v1
- Adapted Some CPU Governor with CPU Freq Table

First Build (20170816):
- INITIAL BUILD
: - Included Custom CPU Governor
- CPU Overclocked to 1.458Mhz
- Using NEON Optimized as VFP
- DT2W Feature
- CPU Optimization Algorithm
- Custom I/O Sched
The Following 13 Users Say Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
3rd September 2016, 06:31 PM |#5  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,199
 
Donate to Me
More
Kernel Adiutor Configuration
CPU Manager :

CPU Max Frequency : 972Mhz (For Normal Usage) . 1.2Ghz (For Multitasking Usage) & 1.4Ghz (For Hard/Gaming Usage)
CPU Min Frequency : 384Mhz
CPU Governor: Alucard or Interactive (For Normal Usage), Alucard or IntelliMM (For Multitasking Usage) & Lionheart or Intelliactive, Blu Active (For Hard/Gaming Usage)
(Beside that leave it as stock)


Hotplug Manager :

Mpdecision = Disable
Intelli Plug = Enable
Profile = Eco for Performance
(Beside that leave it as stock)


Thermal Manager:

Thermald : Disable
Intelli Thermal : Enable
Core Control : Enable
Frequency Throttle Temperature : 60c
CPU Throttle Temperature : 70c
Thermal Limit Low = 2
(Beside that leave it as stock)


GPU Manager

GPU Max Freq : 400Mhz
GPU Governor : Ondemand or Performance (For Hard Gaming)


I/O Scheduler =

(Leave it as stock)


Misc =

Software CRC Check = Disable
Dynamic Fsync = Disable
Arch Power = Disable (Not really recommended)
Gentle Fair Sleepers = Disable
TCP Congestions = Depends on your need


Option already update during new kernel feature is include
For explanation (cpu hotplug, and i/o sched) check on this thread
CPU Governor : Link- 1 Link-2
I/O Sched : Link
CPU Hotplug :Link - 1 Link - 2

Special Thanks to @gsstudios for guide
The Following 15 Users Say Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
3rd September 2016, 06:33 PM |#6  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,199
 
Donate to Me
More
[INFO] Double Tap 2 Wake & BETA Build
For Double Tap 2 Wake

Try to use kernel adiutor and check in wake tap, after that choose DT2W and enable it using "full'" option and then let's try DT2W features with vibration on mimori kernel

NOTE : BETA Build For Testing (Not Stable)

github/build

For BETA, try to look date for kernel. Find latest one, and anyone can test latest beta if don't want wait for stable update. I can't promise to make fast update for stable source, i don't want to make any problem. so it's better stay at beta and whenever it ready, and it should release on thread
The Following 10 Users Say Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
4th September 2016, 05:01 AM |#7  
Garv Maggu's Avatar
Senior Member
Flag Delhi NCR
Thanks Meter: 518
 
Donate to Me
More
Thanks.
The Following User Says Thank You to Garv Maggu For This Useful Post: [ View ] Gift Garv Maggu Ad-Free
4th September 2016, 05:22 AM |#8  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,199
 
Donate to Me
More
Quote:
Originally Posted by Garv Maggu

Thanks.

you're welcome, i'm still working for optimization in armv7 vfpv4 module.
have fun
The Following 3 Users Say Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
4th September 2016, 08:55 AM |#9  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,199
 
Donate to Me
More
Post Updated
New kernel build v1.1 is released with several fix for vfpv4 and neon modules, download link in on download tab.
have try
The Following 2 Users Say Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
4th September 2016, 11:18 AM |#10  
Senior Member
Flag Panipat
Thanks Meter: 766
 
Donate to Me
More
Great!
The Following User Says Thank You to abhatia1435 For This Useful Post: [ View ] Gift abhatia1435 Ad-Free
4th September 2016, 07:59 PM |#11  
Member
Flag Denver
Thanks Meter: 11
 
More
Please add dt2w
The Following User Says Thank You to romspeed For This Useful Post: [ View ] Gift romspeed Ad-Free
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes