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

Anyone want to try Permissive for SELinux?


  • Total voters
    1
  • Poll closed .
Search This thread

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,381
25
Tangerang
github.com
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 :victory: 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-Kernel_MSM8227_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
 

Attachments

  • Screenshot_20170824-185731.png
    Screenshot_20170824-185731.png
    52.9 KB · Views: 5,269
  • Screenshot_20170824-185743.png
    Screenshot_20170824-185743.png
    52.3 KB · Views: 5,209
  • Screenshot_20170824-185829.png
    Screenshot_20170824-185829.png
    74.6 KB · Views: 5,154
  • Screenshot_20170824-185659.png
    Screenshot_20170824-185659.png
    37.4 KB · Views: 4,965
  • Screenshot_20170824-185757.png
    Screenshot_20170824-185757.png
    26.1 KB · Views: 4,918
  • Screenshot_20170824-185808.png
    Screenshot_20170824-185808.png
    38.4 KB · Views: 4,850
  • Screenshot_20171003-202932.png
    Screenshot_20171003-202932.png
    76.1 KB · Views: 3,889
  • Screenshot_20180219-121521.png
    Screenshot_20180219-121521.png
    55.3 KB · Views: 2,306
Last edited:

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,381
25
Tangerang
github.com
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 :laugh:

Have fun :D
Screenshot_20161206-153447.pngScreenshot_20161206-153456.pngScreenshot_20161206-153505.pngScreenshot_20161206-153515.png
 
Last edited:

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,381
25
Tangerang
github.com
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 ;)
 
Last edited:

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,381
25
Tangerang
github.com
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
 
Last edited:

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,381
25
Tangerang
github.com
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 :D
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 :laugh:
 
Last edited:

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,381
25
Tangerang
github.com
[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 :victory:
 
Last edited:

Kb44994

Member
Feb 4, 2013
41
7
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app

Sent from my SM-J700H using Tapatalk
 

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,381
25
Tangerang
github.com
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app

Sent from my SM-J700H using Tapatalk

sound is bursting? :confused: i think i'm not to modified to sound on this kernel, maybe that's from high cpu usage so that's make sound is distortion. i will try to look at sound option.
[EDIT]
 
Last edited:
  • Like
Reactions: Kb44994

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,381
25
Tangerang
github.com
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app

Sent from my SM-J700H using Tapatalk

i'm update kernel with clean build and kernel optimilization, i hope that can fix your problem. i'm already compare sound with stock and my kernel. i'm not hear any particular change on sound volume, maybe very little difference, please to wipe dalvik-cache and cache after install this update ;)
 
  • Like
Reactions: Kb44994

Top Liked Posts

  • There are no posts matching your filters.
  • 32
    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 :victory: 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-Kernel_MSM8227_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
    15
    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 :D
    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 :laugh:
    13
    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
    10
    [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 :victory:
    7
    Double Tap 2 Wake has successfully port to Hana kernel, i'll try to make it stable and port another feature before another update.

    Thanks for support all :D

    Source Link