Manjuu Kernel v2 for NightOwl CM 12.1 / LineageOS 13

N

notauseranymore

Guest
This kernel is made based on @bauner's CM 12.1 NightOwl ROM, LineageOS 13 with a few changes,. Originally based on my preference in what features I want added, I thought the rest of the Note 1 users might benefit from a bit more variety on his projects.

Just flash the kernel and you're done, make sure you're on the latest ROMs by bauner. As always, I'm not responsible if you brick your device due to some freak accident.

What's new:
  • V3
  • Merged kernel patches from bauner's commits
  • Redo some optimisation flags

    V2
  • Did some optimisations
  • Tweak Interactive codes
  • Fix possible memory leaks
  • Please refer to my commits for more detailed info

    V1.5
  • Set Westwood as TCP default

    V1
  • Set Interactive as the default governor
  • Undervolt by 50mV
  • 13-step CPU frequency

Download links:
CM 12.1
LineageOS 13

I did not test LineageOS 13, so please have a copy of the original NightOwl kernel on standby before flashing.

Credits:
bauner for his amazing work with the Note 1
Christopher83 for those toolchains
GeeckoDev for the War Kernel r3 sources

XDA:DevDB Information
Manjuu Kernel for CM 12.1 / LineageOS 13, Kernel for the Samsung Galaxy Note GT-N7000

Contributors
AutumQueen92
Source Code: https://github.com/AngryManjuu/android_kernel_samsung_tw_n7000/tree/cm-12.1

Kernel Special Features: Compiled with GCC toolchain optimised for our CPU (ARMv7 Cortex-A9)

Version Information
Status: Stable
Current Stable Version: V3
Stable Release Date: 2017-03-17

Created 2017-02-15
Last Updated 2017-03-21
 
Last edited:
N

notauseranymore

Guest
Some kernel tweaks you might like:
Download Kernel Adiutor Mod since it's easier for this.

Set governor as Interactive and in CPU Governor Tunables, add according to this screenshot:

The target loads do not need to make a new line, one spacing for each of them is the way it is written.
For example, write it as: 95 200000:60 300000:33 and so on.


For better multitasking:
 
Last edited:

Boombastical

Senior Member
Jun 3, 2009
128
45
48
Updated to V2, refer to my commits for detailed changed/additions
Hi AutumQueen92,

I would like to ask you a few questions, if you don't mind...
- Have you tried a Forest-LP kernel ?
- If „Yes“, what is the difference between those two... ?
- Is your kernel overclocked ?
- What is your experience between those three kernels when you compare them (Bauner's, Forest-LP and your own) ?
- Don't be too polite and then not to write about your kernel too... [emoji2]
Thanks in advance.

Cheers ! [emoji481] [emoji481]

Sent from my GT-N7000 using XDA-Developers Legacy app
 
Last edited:
N

notauseranymore

Guest
Hi AutumQueen92,

I would like to ask you a few questions, if you don't mind...
- Have you tried a Forest-LP kernel ?
- If „Yes“, what is the difference between those two... ?
- Is your kernel overclocked ?
- What is your experience between those three kernels (Bauner's, Forest-LP and your own) ?
- Don't be too polite and then not to write about your kernel too... [emoji2]
Thanks in advance.

Cheers ! [emoji481] [emoji481]

Sent from my GT-N7000 using XDA-Developers Legacy app

1. Yeah I've tried it.

2. If you mean this kernel and his, we both used different toolchains (compilers). I'm not sure what UberTC does but the one I used is made to optimise the Note's CPU itself so it works better. But then Forest's kernel has some kind of overclocked display panel, I'm not sure what that is. It's been a long time since I used his kernel so mine is more updated since it's based on Bauner's.

3. Nope, I don't want overclock. Apps these days are made for quad-core CPUs, so overclock will do nothing except hurt your hardware.

4. I haven't been using Forest's kernel very long, I preferred War kernel or Bauner's stock kernel better. By combining those two to make mine, I feel that it's faster now although I want to do a longer usage without rebooting. Lately I've been rebooting a lot to stabilise the kernel and make some fixes, but the first usage is already showing good results. I'm trying to implement my custom tweaks, if I can't embed it into the kernel I'll post a small section for it in next month's update. Right now battery usage is about the same but better performance.

5. ??? You mean I should post a more detailed explanation about the kernel?
 

Boombastical

Senior Member
Jun 3, 2009
128
45
48
1. Yeah I've tried it.

2. If you mean this kernel and his, we both used different toolchains (compilers). I'm not sure what UberTC does but the one I used is made to optimise the Note's CPU itself so it works better. But then Forest's kernel has some kind of overclocked display panel, I'm not sure what that is. It's been a long time since I used his kernel so mine is more updated since it's based on Bauner's.

3. Nope, I don't want overclock. Apps these days are made for quad-core CPUs, so overclock will do nothing except hurt your hardware.

4. I haven't been using Forest's kernel very long, I preferred War kernel or Bauner's stock kernel better. By combining those two to make mine, I feel that it's faster now although I want to do a longer usage without rebooting. Lately I've been rebooting a lot to stabilise the kernel and make some fixes, but the first usage is already showing good results. I'm trying to implement my custom tweaks, if I can't embed it into the kernel I'll post a small section for it in next month's update. Right now battery usage is about the same but better performance.

5. ??? You mean I should post a more detailed explanation about the kernel?
No, thanks !
Everything is clear now !
I already have downloaded your kernel last week and I'm gonna flash it now, cause I'm already few months using Forest-LP OC kernel and it is very stable kernel ... With no „reboots“ at all...
I'll report my experience after few weeks with your kernel...
Thanks again for explaining your work. [emoji106]

Sent from my GT-N7000 using XDA-Developers Legacy app
 

Boombastical

Senior Member
Jun 3, 2009
128
45
48
No, thanks !
Everything is clear now !
I already have downloaded your kernel last week and I'm gonna flash it now, cause I'm already few months using Forest-LP OC kernel and it is very stable kernel ... With no „reboots“ at all...
I'll report my experience after few weeks with your kernel...
Thanks again for explaining your work. [emoji106]

Sent from my GT-N7000 using XDA-Developers Legacy app
After less than a day of using your kernel I'm amazed with working of it, but I use „performance“ governor and it works great. How difficult for you is to OC this one to 1,6 GHz ?


Sent from my GT-N7000 using XDA-Developers Legacy app
 
N

notauseranymore

Guest
After less than a day of using your kernel I'm amazed with working of it, but I use „performance“ governor and it works great. How difficult for you is to OC this one to 1,6 GHz ?


Sent from my GT-N7000 using XDA-Developers Legacy app

That's very hard to believe because performance governor just clocks your CPU at max frequency the entire time. Also very impossible, I don't want OC on the Note 1. If you want it so badly you can try building your own kernel and adding it.
 
Last edited:

bauner

Retired Recognized Developer
Jan 23, 2008
4,726
10,330
263
Near Nürnberg
After less than a day of using your kernel I'm amazed with working of it, but I use „performance“ governor and it works great. How difficult for you is to OC this one to 1,6 GHz ?


Sent from my GT-N7000 using XDA-Developers Legacy app
The performance governor is not a good idea.
As @AutumQueen92 said it will run the cpu at the highest clock all the time.
After a very short time it will reach the thermal throttling temperature and then it will constantly switch between 800 and 1400Mhz

You can see it with this app
https://play.google.com/store/apps/details?id=com.yanyan.cputemp
 
  • Like
Reactions: Boombastical

surVfate

Member
Oct 10, 2013
7
2
0
Using V1 right now and it is very stable, should I flash the V2? Also one more thing is it possible to tweak the minimum brightness value to 1 without changing the source value and rebuild the whole kernel afterward? Thanks!
 

Boombastical

Senior Member
Jun 3, 2009
128
45
48
The performance governor is not a good idea.
As @AutumQueen92 said it will run the cpu at the highest clock all the time.
After a very short time it will reach the thermal throttling temperature and then it will constantly switch between 800 and 1400Mhz

You can see it with this app
https://play.google.com/store/apps/details?id=com.yanyan.cputemp
I know that thermal throttling is something what can be a problem but I have monitoring app which show me all the time what is a current temperature of processor and untill now I have no problem at all except that battery life is half of what it should be normaly...
Actually, when I wrote last post I was on „Ineractive“ governor and now I use „Performance“ governor and „cfq“ scheduler with 256 kb „read ahead“ value on the internal memory and also on the SD card. So I'll update you how far I will be satisfied with this combo. In the next few weeks I also will flash new from the scratch again your LP rom and again test it with your kernel and then again with Forest LP kernel and then at least with this one kernel...

Sent from my GT-N7000 using XDA-Developers Legacy app