[Kernel] TRIM: Speeding up the Galaxy Note n7000

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
UPDATE: new CM 11 kernel is up!

unfortunately we are still not there where TRIM goes official and this thread is finally retired.

so in the meantime i bring you new a kernel with zeitferne's freezefix, the fix for a notable bug that haunted the Exynos 4210 platform from JB days until now. in fixing this, once again zeitferne showed his amazing prowess as a kernel developer. in CM-12.1, which exists thanks to Lysergic Acid's awesome work, this bug caused periodic freezes and reboots and made the platform unstable enough for me to recommend CM 11 instead for daily usage. this bug also existed in CM 11 -hence the new 11 kernels- but for unknown reasons it hardly manifested itself there.

WARNING: zeitferne's freezefix is incompatible with the PegasusQ CPU governor. make sure you switch away from that governor, ideally before upgrading the kernel, or else freezes will happen. PegasusQ is a problematic old beast; maybe it should be purged away from our repos once and for all.

fun fact: freezefix bug and fpbug were both introduced by samsung in the exact same piece of code... someone there should be shot!

enjoy freezefix!
 
S

stekuclutr

Guest
Given review.cyanogenmod.org/#/c/138094/ and review.cyanogenmod.org/#/c/138095/ do I still need to flash this on Samsung Galaxy Note (also known as GT-N7000 or n7000) running Cyanogenmod 11?

Is the default kernel in Cyanogenmod 11 now identical to the one in this thread?
 

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
Given review.cyanogenmod.org/#/c/138094/ and review.cyanogenmod.org/#/c/138095/ do I still need to flash this on Samsung Galaxy Note (also known as GT-N7000 or n7000) running Cyanogenmod 11?

Is the default kernel in Cyanogenmod 11 now identical to the one in this thread?
i had almost forgotten about those 2 commits lol. yes, you don't need to flash my kernel anymore, cm11 official is the same thing.
 
S

stekuclutr

Guest
yes, you don't need to flash my kernel anymore, cm11 official is the same thing.
Thank you very much for helping make this happen. Perhaps now cyanogenmod will start releasing official cm13 for n7000, just like it did for i9100 (which run exactly the same hardware, just screen size is different).

A slight aside - I cannot find if cyanogenmod has merged freezefix to cm11 codebase for the kernals that run n7000 and i9100, can someone point me to it?
 

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
Thank you very much for helping make this happen. Perhaps now cyanogenmod will start releasing official cm13 for n7000, just like it did for i9100 (which run exactly the same hardware, just screen size is different).

A slight aside - I cannot find if cyanogenmod has merged freezefix to cm11 codebase for the kernals that run n7000 and i9100, can someone point me to it?
not merged. my CM11 kernels also don't have it, it breaks PegasusQ governor. to merge one would need to remove the governor as it is accessible via performance settings in CM11. the bug doesn't seem to show up in CM11, but probably happens from time to time. thing is, CM11 is deemed obsolete.

it is not exactly the same hardware, but could be easily ported. CM has a policy of no official support unless the maintainer actually has a device.

anyway, correct me if im wrong: the n7000 is well served by other aftermarket LP and MM roms, right? and there seem to be so few notes, i don't know why; i think they sold a lot of them.
 
S

stekuclutr

Guest
the n7000 is well served by other aftermarket LP and MM roms, right?
Not really, there is only one MM rom for it on xda http://forum.xda-developers.com/galaxy-note/development/rom-nightowl-alpha1-t3255536 and to the best of my understanding the person making it is including stuff that is not part of official cm13 - such as overclocking by default. I prefer to have the official cyanogenmod releases, which are also downloaded over HTTPS and a file hash is available.

Getting MM onto the Note should be easier than for i9100, since it does not even need repartitioning of the /system partition because it is larger by default.
 

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
Not really, there is only one MM rom for it on xda http://forum.xda-developers.com/galaxy-note/development/rom-nightowl-alpha1-t3255536 and to the best of my understanding the person making it is including stuff that is not part of official cm13 - such as overclocking by default. I prefer to have the official cyanogenmod releases, which are also downloaded over HTTPS and a file hash is available.

Getting MM onto the Note should be easier than for i9100, since it does not even need repartitioning of the /system partition because it is larger by default.
well, there is no official regardless of preferences, and there won't be unless a developer who owns an n7000 is interested in maintaining it.
that rom is fishy, the developer seems not to be publishing source code. the device tree is required to build the kernel, it is part of the kernel, and so it covered by the GPL; it should be published. <-- WRONG!! see here.
 
Last edited:
  • Like
Reactions: hewhomustnotbenamed

hewhomustnotbenamed

Senior Member
Jul 3, 2015
272
54
0
well, there is no official regardless of preferences, and there won't be unless a developer who owns an n7000 is interested in maintaining it.
that rom is fishy, the developer seems not to be publishing source code. the device tree is required to build the kernel, it is part of the kernel, and so it covered by the GPL; it should be published.
So, this ROM related owls is not as trustworthy as other roms?
I have been trying to find a good (stable and relatively smooth) rom for ages. To be honest, I have not had a good experience with that rom but the developer is extremely helpful. I appreciate his efforts.
Could you suggest me a good rom? Are you still making your versions of CM? I would love to use that.
If anyone could help me, Please
CM11 has official releases, the last one being 12th June. Is that one better or RR MM or any of your versions that may be live.
I am a little tired of trying to find good 6.0.1 rom for n7000. There seems to be none that is stable. Having random reboots with that rom
 

SoulSlayer69

Senior Member
Oct 10, 2013
140
114
0
well, there is no official regardless of preferences, and there won't be unless a developer who owns an n7000 is interested in maintaining it.
that rom is fishy, the developer seems not to be publishing source code. the device tree is required to build the kernel, it is part of the kernel, and so it covered by the GPL; it should be published.
Are you talking about bauner's NightOwl? Isn't the source code here enough? (Asking as an android-noob like I am) -> https://github.com/bauner
 
  • Like
Reactions: Lanchon

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
Are you talking about bauner's NightOwl? Isn't the source code here enough? (Asking as an android-noob like I am) -> https://github.com/bauner
yes, absolutely. there's the kernel and device trees, including common. i don't know what happened to me when i looked for it and couldn't find it, this was just stupidity on my part, i try not to be stupid but not always succeed :( big apology!
 

SoulSlayer69

Senior Member
Oct 10, 2013
140
114
0
yes, absolutely. there's the kernel and device trees, including common. i don't know what happened to me when i looked for it and couldn't find it, this was just stupidity on my part, i try not to be stupid but not always succeed :( big apology!
Well, I'm not a dev so I can't understand by myself if source codes are complete or not, but I always looked at bauner as a skilled, professional and polite dev (like you are too), so reading that was so strange to me. Glad to read you were wrong, and happy it happens really rarely, because your code rocks on our devices!

@ Stekuclutr: NightOwl doesn't bring any kind of overclock at this moment, you can tune kernel values as you want with Kernel Adiutor (or a similar app), but it just bring every useful kernel patch, mod and feature for N7000 (mostly of them comes directly from Lanchon, like TRIM, Isorec and more) on CM base to be the most smooth and stable rom ever compiled for N7000. And whitout any kind of bloatware.
About "official CM" support, I think it doens't really matter because NightOwl is completely based on CM source code, codes are online, I think he just doesn't want to afford the effort of ufficial support. And this, just regards the dev and his life. Moreover, it implements OTA updates (they work really good), and if you want, you can check MD5 hash too.
To be honest, there is OmniRom 6 -for N7000- here on XDA and googling you can find Resurrection Remix on G+ too: the old maintainer (varund) dropped support, so it comes from another dev, but nothing about it here.
I tested RR as it was 5.1.1 and NightOwl was faster, smoother, stabler. Same apply to OmniRom, at least at this moment of development.

Sorry for OT, those were my 2 cents;)
 
Last edited:
  • Like
Reactions: Lanchon

Lister Of Smeg

Senior Member
May 20, 2013
676
216
63
Hi Guys,

Can you help out an old dog.... :( Or just put me down!!!!! lol

Ok, so I've got both the N7000 and i9100.... and both have been fine, happily running between KK and MM. And I've been running ISORec recovery, and running TWRP 3 on both of them....

However I've had a couple of issues with both devices, namely when trying out various Root mods. In order to get it back up and running, I've had to resort to flashing Odin compatible recoveries/kernels, just to be able to get into to recoveries so can reflash a proper kernel. ie: ISORec TWRPs....

However on both devices, now matter how many times I flash it.... Neither of them come up with the new kernels and keep showing the original.... What, and where am I going wrong please...??

N7000 = Dirty Unicorn 8.x rom (KK) / PhilzTouch
S2 = AICP 11 rom (MM) / SiyahKernel v6.0b5

I want to be able to run TWRP 3.0.x.x on both of them, again.... as previously!!

Many thanks, Lister