FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[KERNEL][CM13][3.18.43] mKernel R1 made by msdx321

55 posts
Thanks Meter: 76
 
By coderstory, Member on 22nd October 2016, 12:45 PM
Post Reply Email Thread


Changelog:
Quote:

R1-HOTFIX:
- Fix speakers problem

Intro:
Quote:

Brings useful features in and focus on optimation

Disclaimer
Quote:

/*
* 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.
*/

Feature:
Quote:

- Add elementx gov
- Add zen, fiops and sio gov
- Add KCAL control
- Add Fsync switch
- Enable all TCP algorithms
- Use -Ofast instead -O2 for compile
- Use Linaro's toolchain
- Latest linux branch fully merged 3.18.43
- OC the freq from 1.3/1.8 to 1.6/2.15 for standard edition, GPU as well
- Disable Software CRC
- Use LZ4 for zswap and zram

Bugs:
Quote:

- All bugs offical CM has

TODO:
Quote:

- Fully merge Linaro's branch ( might not)
- OC CPU and GPU by using freq & volt tables from Snapdragon 821 ( depend on yours opinions)
- More useful CPU govs such as nightmare
- Adreno boost

Source Codes:
https://github.com/msdx321/android_k...xiaomi_msm8996

Download Link:
https://drive.google.com/open?id=0B4...HQ5bEFhcEN2cDQ

Credits:
Quote:

- Cherry picked most things from the OP3's elementalx kernel

Attached Thumbnails
Click image for larger version

Name:	X4%[HW[EU9YS8KVOM@6JZ]V.jpg
Views:	2370
Size:	29.6 KB
ID:	3911673  
The Following 8 Users Say Thank You to coderstory For This Useful Post: [ View ] Gift coderstory Ad-Free
 
 
22nd October 2016, 12:53 PM |#2  
Junior Member
Thanks Meter: 1
 
More
Oh Thank You
Perfect!!
22nd October 2016, 01:01 PM |#3  
gowtham300's Avatar
Senior Member
Thanks Meter: 216
 
More
Hey i'm. Trying your kernel out but please address battery's drain and I can't seem to set the clock speed in kernel auditor it always reverts back
22nd October 2016, 01:48 PM |#4  
coderstory's Avatar
OP Member
Flag HangZhou
Thanks Meter: 76
 
More
Quote:
Originally Posted by gowtham300

Hey i'm. Trying your kernel out but please address battery's drain and I can't seem to set the clock speed in kernel auditor it always reverts back

About battery's drain...Since I haven't modify the code too much, I should be almost the same as the stock kernel.

About freq reverting, seems like there is something locked your freq. For example, have you opened the power saving feature or something like that?
22nd October 2016, 01:56 PM |#5  
gowtham300's Avatar
Senior Member
Thanks Meter: 216
 
More
Quote:
Originally Posted by coderstory

About battery's drain...Since I haven't modify the code too much, I should be almost the same as the stock kernel.

About freq reverting, seems like there is something locked your freq. For example, have you opened the power saving feature or something like that?

No this issue is also prevalent in 32gb mi5 on the other 2 kernels also
22nd October 2016, 03:48 PM |#6  
Harrynowl's Avatar
Senior Member
Thanks Meter: 558
 
Donate to Me
More
Quote:
Originally Posted by coderstory

About battery's drain...Since I haven't modify the code too much, I should be almost the same as the stock kernel.

About freq reverting, seems like there is something locked your freq. For example, have you opened the power saving feature or something like that?

I found ElementalX governor had/caused problems when I used it on my Kernel. The root of the issue causing speeds to revert was the CPU tables starting at line #46 weren't quite right.
22nd October 2016, 04:50 PM |#7  
coderstory's Avatar
OP Member
Flag HangZhou
Thanks Meter: 76
 
More
Quote:
Originally Posted by Harrynowl

I found ElementalX governor had/caused problems when I used it on my Kernel. The root of the issue causing speeds to revert was the CPU tables starting at line #46 weren't quite right.

Thx, dude. Can't fully test the kernel since I don't have a actual phone and some one ask me to do this kernel. By the way, your way to overclock the kernel is quite unstable. No not just cherry-pick the commit from flar2 or use freq & volt table from snapdragon 821
22nd October 2016, 05:04 PM |#8  
coderstory's Avatar
OP Member
Flag HangZhou
Thanks Meter: 76
 
More
Quote:
Originally Posted by Harrynowl

I found ElementalX governor had/caused problems when I used it on my Kernel. The root of the issue causing speeds to revert was the CPU tables starting at line #46 weren't quite right.

Well, the freq in freq table acts as CPUFREQ_RELATION_H. So I don't think there is a serious problem in ElementalX governor
25th October 2016, 07:22 PM |#9  
gowtham300's Avatar
Senior Member
Thanks Meter: 216
 
More
When will we get 821 speeds @Codestory
26th October 2016, 01:57 AM |#10  
Senior Member
Thanks Meter: 174
 
More
Is possible that WiFi strength crabs m became better with custom kernel? Or the mi5 really have WiFi hardware issues?

Thanks for your share m8. this aims to be good!!

Sent from my MI 5 using Tapatalk
1st November 2016, 08:41 AM |#11  
Senior Member
Flag Tarnów
Thanks Meter: 575
 
More
Is there will be development going? Im searching kernel for my clean Cm install I really want OC thanks
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