[Kernel] TRIM: Speeding up the Galaxy Note n7000

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
UPDATE: new CM 10.1.3 kernels that make /preload writable and mount /cache, /data and /preload with the discard option.
 

der_Kief

Senior Member
Jul 2, 2014
1,079
374
113
Keŋɡɐ
crap, this is the latest the CM has ever been on a CM11 nightly!!!
http://download.cyanogenmod.org/?device=hammerhead&type=snapshot
and by a whole week! :(
Now it seems to be ready :eek: (at least for hammerhead)


--Update--
Just installed latest nightly build 20140915 and afterwards the corresponding kernel and TRIM works :good:
Everthing is running normally and thank god my device is not bricked :D

--Update2--
Good to know to have a TRIM capable and working device :cool:
 
Last edited:
  • Like
Reactions: Lanchon

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
Now it seems to be ready :eek: (at least for hammerhead)


--Update--
Just installed latest nightly build 20140915 and afterwards the corresponding kernel and TRIM works :good:
Everthing is running normally and thank god my device is not bricked :D

--Update2--
Good to know to have a TRIM capable and working device :cool:
lol you grabbed the kernel before i announced it!!!!!
its my first kernel for the n7000 and i don't have a device so i was waiting for a friend to test it before letting it out :)
glad everything's working then, and thanks for testing!

have you been using stock CM for a long time on this device? if so, do you feel a difference in performance? it should be more responsive and less laggy. difference while multitasking should be noticeable, when play store is installing updates for instance, or when the device is finishing boot up.
 
Last edited:

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
UPDATE: the n7000 didn't get CM11 M10, so i'm releasing a kernel for the latest nightly instead:
cm-11-20140915-NIGHTLY-n7000

enjoy!
 

der_Kief

Senior Member
Jul 2, 2014
1,079
374
113
Keŋɡɐ
lol you grabbed the kernel before i announced it!!!!!
its my first kernel for the n7000 and i don't have a device so i was waiting for a friend to test it before letting it out :)
glad everything's working then, and thanks for testing!

have you been using stock CM for a long time on this device? if so, do you feel a difference in performance? it should be more responsive and less laggy. difference while multitasking should be noticeable, when play store is installing updates for instance, or when the device is finishing boot up.
;) :)

not using CM long enough to feel a huge performance gain but its noticable more snappier...
Benchmarks gives about + 5-10%


i have one more question:
Lets say i will upgrade CM11 to a newer Nightly do i need to upgrade the kernel to a newer version ?
 

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
;) :)

not using CM long enough to feel a huge performance gain but its noticable more snappier...
Benchmarks gives about + 5-10%


i have one more question:
Lets say i will upgrade CM11 to a newer Nightly do i need to upgrade the kernel to a newer version ?
this kernel is for M10, other configs unsupported :)

really, my crystal ball is being unclear on the changes the CM team will do to the upcoming nightlies... lol, whats so wrong with staying on the M releases??
 

LAKAME_MAN

Senior Member
Jun 23, 2012
578
254
0
@Lanchon I just did a clean flash of CM today. That means I formatted partitions like cache and data. My internal storage is FAT, so that would mean TRIM won't work on my internal storage. Considering the fact that I just VERY recently formatted some of the partitions that are affected by TRIM, is there any point in actually using this RIGHT NOW? Or will the effect only be apparent if a long time has passed since formatting those partitions?
Thanks for your work.

this kernel is for M10, other configs unsupported :)

really, my crystal ball is being unclear on the changes the CM team will do to the upcoming nightlies... lol, whats so wrong with staying on the M releases??
The problem is that there is no M10 for our device :D
 

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
@Lanchon I just did a clean flash of CM today. That means I formatted partitions like cache and data. My internal storage is FAT, so that would mean TRIM won't work on my internal storage. Considering the fact that I just VERY recently formatted some of the partitions that are affected by TRIM, is there any point in actually using this RIGHT NOW? Or will the effect only be apparent if a long time has passed since formatting those partitions?
Thanks for your work.



The problem is that there is no M10 for our device :D
your internal storage is ext4 (/data). so is /cache. only your internal sdcard is fat. format with CM recovery will not trim. for format with other tools, google your tool (most probably no trim). format is not a replacement for trim; full wipe with stock maybe is. you probably need trim, who knows.

lol yes!!!! theres no M10!!! sorry, im releasing various kernels and roms today, got mixed up lol :)
 

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
;) :)

not using CM long enough to feel a huge performance gain but its noticable more snappier...
Benchmarks gives about + 5-10%


i have one more question:
Lets say i will upgrade CM11 to a newer Nightly do i need to upgrade the kernel to a newer version ?
lol sorry i was being an arse!!! :)

flashing a newer nightly will overwrite my kernel. flashing my "old" kernel back would create a mismatch and is unsupported. that said, it could work; i wouldnt do it on my phone.
 

LAKAME_MAN

Senior Member
Jun 23, 2012
578
254
0
your internal storage is ext4 (/data). so is /cache. only your internal sdcard is fat. format with CM recovery will not trim. for format with other tools, google your tool (most probably no trim). format is not a replacement for trim; full wipe with stock maybe is. you probably need trim, who knows.

lol yes!!!! theres no M10!!! sorry, im releasing various kernels and roms today, got mixed up lol :)
Sorry, I meant internal sdcard when I said internal storage.
I went ahead and flashed the kernel on September 7th's nightly (I guess that means I won't be supported? LOL :D ). My device is affected by the brick bug. I installed lagfix and did all the stuff you had written. It feels a bit faster, but it might be placebo... well at least my device is not bricked. I'll see how this goes :good:
 

der_Kief

Senior Member
Jul 2, 2014
1,079
374
113
Keŋɡɐ
lol sorry i was being an arse!!! :)

flashing a newer nightly will overwrite my kernel. flashing my "old" kernel back would create a mismatch and is unsupported. that said, it could work; i wouldnt do it on my phone.
no problem ;)

so will you do now and then an update for the nightlies ?
Or can we request an kernel for a specific nighly ?

btw. thx for the good work :good:
 

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
UPDATE: THREAD CLOSURE AND REOPENING

this thread was closed 2 weeks ago on the premise that i was not providing source code for my n7000 kernel.
(i was and i do; see step-by-step instructions on how to exactly recreate any of my kernels from source here.)

but solving this issue is taking some time. fortunately a forum moderator has been kind enough to temporarily reopen the thread while the team evaluates the situation further.

many thanks to him.

2ND UPDATE: all is fine and dandy, thread reopened permanently!
 
Last edited:

Lanchon

Senior Member
Jun 19, 2011
2,703
4,455
0
no problem ;)

so will you do now and then an update for the nightlies ?
Or can we request an kernel for a specific nighly ?

btw. thx for the good work :good:
i plan to do a monthly release concurrent with the M snapshots of other phones. i would chose a nightly more or less at random for lack of better information.

but by all means, if there is a nightly found to be specially stable say in the discussion thread, point me to the discussion and i'll try to provide a kernel for it.

ultimately the solution is that CM provides monthly snapshots for all devices. even if they are not stable enough and don't qualify for 'M' releases, they would be better than nightlies (have all the devices specific bugs, but less bugs in the generic CM codebase). i will talk to CM about the possibility of them outputting these 'UM' (unsupported monthly) releases. it would solve other issues too, like compatibility with my OpenPDroid generic overlay releases.

sorry about the very late reply, thread closed right after your message.
 

defecat0r

Member
Dec 13, 2011
31
12
0
Oh, good to see this thread is back open. Great success for me, if anybody is looking at doing something to their phone that will ACTUALLY make a difference to performance, this is it!
 
  • Like
Reactions: Lanchon

Kcube989

Senior Member
Mar 25, 2012
251
29
0
Las Piñas
Can you please make one for cm-11-20141009-NIGHTLY-n7000.zip. I would just have stuck with 1007 nightly but i cant download it cause of an error.

Edit. Can download 07 now so please disregard my above statement
 
Last edited: