yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Q&A, Help & Troubleshooting] kk12002:
any note 3 to note 4 adopters..what's ur opinion?
[Galaxy Note 4 Q&A, Help & Troubleshooting] avenging:
note 4 already sold out in extra bahrain wonder if it will come to saudi tomorrow
[Galaxy Note 4 Q&A, Help & Troubleshooting] avenging:
already sold out also extrastores online saudi and oman and i didnt even realize it was in saudi already lol
[Galaxy Note 4 Q&A, Help & Troubleshooting] iznee:
Upgraded from note 3..this phone is amazing to me. Better battery life, batter screen, better sun light visibility..simply loving it
[Galaxy Note 4 Q&A, Help & Troubleshooting] kk12002:
buddy how is the sound volume. .call quality and speaker quality as compared to note 3?
[Galaxy Note 4 Q&A, Help & Troubleshooting] iznee:
Overall sound volume is much better than note 3, speaker although is much louder than note 3, I still find it flat with no base. Maybe a good sound mod will make it better.
[Galaxy Note 4 Q&A, Help & Troubleshooting] kk12002:
Hi. .I've noticed the 4G signal dies after some time..yhen a restart solves the issue..I've done it 5 times now..anyone have the problem. .or just a network issue. .
[Galaxy Note 4 Q&A, Help & Troubleshooting] kk12002:
Be sure to test your device *#0*#
[Galaxy S II Q&A, Help & Troubleshooting] QA Bot:
Q&A for [Kernel] TRIM: Speed up CyanogenMod on the Galaxy S2 i9100

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
[Galaxy S II Q&A, Help & Troubleshooting] DaveKing:
Hi. I'm using your kernel and it's way better than the others available for my i9100, including dorimanx. There's just one thing that I read in your first post, which is you don't supporting overclock. That's the only lack of this kernel cause my device OC to 1.6Ghz with no problem and have a major boost, without voltage changing. If there could be a possibility to unlock this feature in your kernel would be incredible. The best combination in years for any device I had. AICP (latest version with CM kernel support) and TRIM kernel with OC support. Of course with all the precaution that it's necessary. By the way, mine receive the warning of insane chip, but I'm using it for about 56 hours and no problem at all! It's so fast...if only you could help me to unlock the OC feature in kernel... Would be the Zeus of God's! :D

Thanks for your excellent work, Lanchon!

Just tell me how could I support all your effort.

Cheers .:good:
[Galaxy S II Q&A, Help & Troubleshooting] nhmanas:
Lol is this kernel battery eater?

I have aftermath brickbug rev0x19 emmc

Before this kernel my screen on time: 3h40m

On this kernel: 2h30m

By the way kernel works well and did its job. I have trimmed all my partitions successfully.

But I have a question. How can I go back to official cm kernel?

Just have to flash cm11-nightly zip without wipe data? Cuz battery is going to be a serious problem

Edit: Just flashed some cm11 kernel. NO wipe!
[Galaxy S II Q&A, Help & Troubleshooting] tcbr10:
kernel for cm11 nightlies 30/10/14

you can create this kernel for cm11 30/10/14 nightly becuase i dont know how to create the self build.

thanks!!

(i9100 VYL00M 2012 0X19 Brick Bug )
[Galaxy S II Q&A, Help & Troubleshooting] jaswinprakash:
Will this work on stock jb 4.1.2 gt i9100 with siyah kernel?

My phone has brick bug(insane chip) will this hard brick emmc?
[Galaxy S II Q&A, Help & Troubleshooting] nhmanas:
what is your phones values on emmc bug check app?
[Galaxy S II Q&A, Help & Troubleshooting] nitroflame:
I tried your kernel on last SlimSaber, but Wifi stopped working. Is it a known issue? (I had to revert to SlimSaber kernel, losing trim capability). Thanks in advance!
[Galaxy S II Q&A, Help & Troubleshooting] I_am_a_number:
performance feedback

Thanks for all the work.

Using your patches on my i9100.

Been using CyanogenMod for at least 18 months then moved to monthly snapshots from M8 through to M11. Now have the cm11-119 nightly with you patch for trim and changed the sdcard.c binary. Running nicely.

androbench:

cm11-m11 cm11-nightly-119-TRIM

--------------------------------------------------------------------------------

#Micro-bench

Target: /data (ext4)

Use Buffer: No

SEQ RD 39.16 MB/s 47.31 MB/s

SEQ WR 5.31 MB/s 6.88 MB/s

RND RD 1073.45 IOPS(4K) 1148.9 IOPS(4K)

RND WR 75.62 IOPS(4K) 80.8 IOPS(4K)

#SQLite benchmark

Insert 22.17 TPS 22.05 TPS

Update 28.69 TPS 30.08 TPS

Delete 27.5 TPS 28.91 TPS

#Macro benchmark

Target: /data (ext4)

Browser 327.0 msec 361.25 msec

Market 743.0 msec 625.0 msec

Camera 579.0 msec 752.25 msec

Camcorder 1794.0 msec 1512.0 msec

Cheers!
[Galaxy S II Q&A, Help & Troubleshooting] xMAKAVELIx:
post

will try and post the feedback
[Galaxy S II Q&A, Help & Troubleshooting] arab-pl:
A big thank you to the OP

[MENTION=4141005]Lanchon[/MENTION] thankyouthankyouthankyou.

Just installed, works flawless.

Pictures (for fame) attached :)

before:

View attachment 3024925

after:

View attachment 3024926

Update: emmc chip? insane. brickbug expected. i don't care. it was either this or buy a new phone for me.
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
no, dont worry, nothing bad will happen!
[Galaxy S II Q&A, Help & Troubleshooting] kira993:
Hello, im using OMNI rom, would like to try this kernel, read whole dev post, but didn't quite get it, what version of kernel should i flash on OMNI rom.. Btw, this is my score right now, how much of a gain should i expect with your kernel :) Thanks :laugh:
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
kernels are for CM users. if using omni, follow instructions on dev thread post #2.

for gains read "what to expect" on dev thread post #1
[Galaxy S II Q&A, Help & Troubleshooting] Rkr87:
Awesome stuff! I'm new to kernels and custom roms in general and only started looking in to this stuff about a week ago but during that time I've managed to get my phone running quicker than I even remember it running when I bought it as well as vastly improving my battery life with the help of all the guys here! Can't thank you guys enough for the work you do!

Unfortunately I don't have a bench from before I started tweaking stuff but my Androbench and AnTuTu results as they currently stand are below (can't post full links as I don't have 10 posts);

i.imgur.com/CW699J2.png

i.imgur.com/XkRhcGn.png

i.imgur.com/a5Khqng.png

Running CM 10.1.3 on Dorimanx 9.4.3 kernel :)

Running an Exynos 4210 cpu and VYL00M 0x19 eMMC chip (Insane chip, apparently)

This may not be the place, but I've found 10.1.3 to be the best of all the roms I've tried on my phone (there's been MANY in the past week).

Can anyone recommend any newer roms that I may be able to push my phone further on that are stable on 4210 chips?

Again, thanks for all the hard work! :)

[EDIT] Added my screenshots as attachments :)
[Galaxy S II Q&A, Help & Troubleshooting] tcbr10:
Someone can explain what the lines in the benchmark say.

(sequel reading etc.)

Sorry about my English.

Thanks!
[Galaxy S II Q&A, Help & Troubleshooting] tcbr10:
I'm using this kernel with cm11 22 nightly and this thing is good! By device is running like a meteor! Thanks [MENTION=4141005]Lanchon[/MENTION]!
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
well it's great you r having some fun!

unfortunately there seems to be no stable roms for your devices newer than gingerbread. not even samsung's ICS or jellybean. google music bug omni i9100 for a long read.

but cm 10.1.3 seems to work well. also, most people find that CM11 works well with my music bug fix. but reality is that the kernel or the 4210 chips are borked.
[Galaxy S II Q&A, Help & Troubleshooting] Nana Yaw:
Can I tweak ma device any more to get a better score rating than da one in the attached image?
[Galaxy S II Q&A, Help & Troubleshooting] ilmoro93:
eMMC chip VYL00M 0x19

Hello, I used eMMC check and I have insane chip, whose details are in the title. It's safe to do TRIM? My phone is too slow :(

Another question: is it possible to TRIM whit stock/stock-based roms? How? Is it safe to do?
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
yes its safe.

stock: see post #2 of main thread

these things are all answered, read!!! :)
[Galaxy S II Q&A, Help & Troubleshooting] ilmoro93:
I read this in the main thread:

If I'd wipe data with stock kernel (firmware is XWMS3) can I be sure that the emmc will be trimmed?
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
maybe. or you could brick your device. i dont know, and im not gonna research it. my help for your case will come from you reading post #2 of the main thread.
[Galaxy S II Q&A, Help & Troubleshooting] NoiseOfRain:
Hello Lanchon and tnx for your great kernel!My phone is affected by superbrick bug(VYL00M fw 0x19) but im risk to use your kernel and its work so good!But im faced with problem that when im formatted my internal and external memory in ext4 phone boot normal but standart folders(like MUSIC,VIDEO,ANDROID) do not create automatically and i dont make and write anything with file manager(access denied)/supersu mode not help and camera and gallery crash.I try several times but result the same.Pls help.
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
sorry i cant help you there. please go to one of the threads where they discuss ext4 formatted /sdcard
[Galaxy S II Q&A, Help & Troubleshooting] mbr67:
awesome, waiting for working version for cm12 too.

thanks for the developers.

i9100 cm12 Beta3
[Galaxy S II Q&A, Help & Troubleshooting] 3ph3sus:
I'm currently using [MENTION=1597520]Markox89[/MENTION]'s latest build from 20150101 which included [MENTION=5948587]zeitferne[/MENTION]'s fpbug fix. I 've listened 3 hours to music from the internal sdcard without any issue. After trying it I decided to test your trim kernel, too. I haven chosen your latest nightly kernel. Although this kernel is older than the included one everything is working fine. My first impression is that the time form booting to a useable device (from power on over launcher to the settinng menu to test the responsive time) is about 30% faster in even thogh the rom was freshly installed with pa nano gapps . The start of apps is also slightly faster. (Note: I have sim pin and pin on lockscreen enabled. I have repartioned my phone to 1 GB /system and 3 GB /data so I can use ART. With all my 32 (no big games, jst tiny apps for my every day's use) apps installed 400 MB are on /system and 1,5 GB on /data free. I didn't use a stopwatch or looked into the logs, it is just subjective. ) Unfortunately I didn't take any others benchmarks because I didn't like it. Imo user expericence is what matters and there am impressed and very satisfied considering we have an 3 and a half year old device.

a lot of thanks for your hard work keeping our old device fast and useable
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
glad we could help, thanks for taking the time to write!
[Galaxy S II Q&A, Help & Troubleshooting] 3ph3sus:
No problem, I was just bored by too much freetime because of holiday :p

Battery life is very impressive: According to betterbatterystats it drains only 0,5% per hour in idle including sometime shortly switching display on looking if it still fully charged. Mobile data (2g and 3 g) and sync are enabled. I think it can now compete with stock sammy roms. I have kitkat roms with 1% per hour in mind and they weren't really useable as a daily driver due to the fpbug. But it is all history now because your and [MENTION=5948587]zeitferne[/MENTION]'s hard work. :good:
[Galaxy S II Q&A, Help & Troubleshooting] nishant1695:
I want to know if i can use it on resurrection rom v5.2.7 (based on cm 12)? Sorry I'm new to this kernels and roms stuff... :confused:

Sent from my GT-I9100
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
no.
[Galaxy S II Q&A, Help & Troubleshooting] I_am_a_number:
Request Trim kernel for the cm-nightly20150111

First thanks for all the amazing work. Can I request a trim kernel for the cm-nightly20150111 - the first with your FP bugfix :)
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
all my recent trim kernels are fpbug fixed. and there havent been other changes in the kernel. so you can use my latest nightly kernel.
[Galaxy S II Q&A, Help & Troubleshooting] I_am_a_number:
Thanks for the quick reply. Will download tonight and post benchmarks tomorrow.
[Galaxy S II Q&A, Help & Troubleshooting] I_am_a_number:
Benchmarks

Coming from cm-11-20150111-NIGHTLY-i9100 to kernel-Lanchon-TRIM-FPBug-20141221-cm-11-20141218-NIGHTLY-i9100.

su -c "fstrim -v /system; fstrim -v /data; fstrim -v /cache; fstrim -v /preload"

Trimmed and rebooted. Benchmarks attached.
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
thanks! ive come to distrust androbench. its really not very repeatable sometimes. i hope you find less lag from now on.
[Galaxy S II Q&A, Help & Troubleshooting] I_am_a_number:
Phone behaving well, very pleased. Noticed the update, thanks.
[Galaxy S II Q&A, Help & Troubleshooting] Anatatto:
Good
[Galaxy S II Q&A, Help & Troubleshooting] NoxCivi:
Hi Lanchon,

with CM11 M12 I began some kernel tweaking on my own and threw away the preload partition AND the internal sd card partition completely (see PIT file for details). To get it working, I compiled my kernel with edited fstab.hardware and init.hardware.rc files. There I deleted the virtual internal sdcard0 and set up the physical sdcard (former sdcard1) as an external sdcard0 so that android knows only about the actually existitng physical sd card (Nexus One-like). It works pretty fine (except for the FPbug of course :rolleyes:).

Would you expect any problems, if I put the trim patches into that kernel? Will android try to trim the physical sdcard, too? Would it be actually fine, if android did trim not only the emmc but also my sdcard?

Regards,

NoxCivi
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
the trim patch wont affect the sdcard, only the emmc. the sdcard is already being trimmed without the patch (though the sdcard command has a different name). (actually it probably isnt, but only because i guess it's formatted in fat and the fat driver doesnt trim; not because of the kernel.)

i know of this change, it was discussed in an old thread and there is a howto somewhere in xda precisely for the i9100.

i dont like it though. what i do like is turning the i9100 into a /data/media device. i figured how to do it but then i didnt because i dont have the device, and it would be too much trouble for others to apply the change.

in your case, you'd be forced to use custom kernels from now on. i dont like that. i would recommend that you instead switch the sdcards (int vs ext) with a property in /data (theres one for that built into CM) and make the internal sdcard very very small. that way you can use any kernel you want.
[Galaxy S II Q&A, Help & Troubleshooting] NoxCivi:
Thanks for the quick response!

I got the idea from source.android's config-examples actually. Never found a KitKat compatible version in the in the i9100 forum.

You are right, that this customization is not mainstream compatible and I don't intend it to be. And hey, I did't set up an ubuntu solely for cm dev, if I had't planned to build my own kernel more than once ^^ Of course is will stick to the custom kernels. No plans to start nightly-hopping or switching to Lolipop here. And the internal ums partition is so much of a ICS relic, I'd rather not have it back.

The int vs. ext switch is quite interesting, as cm comes with built-in busybox, but it is a typical workaround. I like the idea of doing it right from the start. I don't like the idea of having a tiny extra sdcard. Some older apps might try to use it and then fail because it is too small. But the biggest worries I have with the switch is, that is is happening at boot time. The recovery system would be loaded with the data on the int and ext partitions in the original state (and in my case show a nonexistent preload partition, cause I would still throw that sh*t out of my PIT), wouldn't it?

The trim of the physical sdcard wouldn't work with fat32, I know, but if android (or any other OS) is able to trim exfat seems to be a mystery for the web.
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
unless you want a /data/media device (you don't), here is the best approach IMHO:

http://xdaforums.com/showpost.php?p=47119380&postcount=37

the upside:

-you can use off the shelf kernels. this is important because you might want to test other kernels, especially if you are building your own. your setup is very restrictive otherwise. (this restrictiveness is why i didnt so the /data/media mod myself.)

the downsides are all cosmetic:

-in recovery you'd have to choose install from sdcard1, backup to sdcard1, etc instead of sdcard0. this is not a real problem.

-you'd have a small "external sdcard" (which would be the internal sdcard actually) in android. this is not a problem either, but you can fix it. you can choose to not create the partition (along with /preload) or better yet, erase it so that the mounting fails. android will behave as is there is not sdcard in the external sdcard slot, with the possible difference of maybe offering to format the "card" in settings/storage.

with an important upside and no real downsides, i'd choose this option. yes, recovery will show a mount /preload option that will benignly fail with an error if invoked; so what? it also currently shows a format /preload option that fails due to a real bug when you have a preload partition and nobody cares about it.

my uninformed opinion regarding you last question: i think the fat driver (proper fat, not exfat) in recent linux kernels trims, but not the one in the linux version used in android.
[Galaxy S II Q&A, Help & Troubleshooting] IMalchev:
Also can be used for RR Lollipop based on Cyanogenmod12 ?
[Galaxy S II Q&A, Help & Troubleshooting] jaswinprakash:
Request to op,sir please include kernel for cm11 kk i9100 linaro/sabermod weeklies... Can I use any other cm11 trim kernel in this weeklies.?
[Galaxy S II Q&A, Help & Troubleshooting] mbr67:
s2 cm12 Beta16

any chance to see this in cm12?

thx
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
if there was an official cm12, id do a trim kernel for it.
[Galaxy S II Q&A, Help & Troubleshooting] KengoNakamura:
Hello guys,

I'm sorry for the stupid question but I couldn't completely understand the compatibility of this kernel.

edit: I just found this Q&A thread and read it more carefully. I see this kernel is only for CM roms. The question now is: can i flash this amazing kernel over every CM11 roms? Both official and unofficial? Both nightlies and snapshots? Running a 4.4 CM11based rom is the only thing that matters?

Thanks for your time and for your hard work, I finally found how to heal my i9100!

EDIT: okay, according to what I'm reading, I guess the answer to my questions is "Yes, you understood". Sorry but I'm a bit excited about this!
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
you can try, but it's only guaranteed to work on the corresponding version of official CM. you will not break anything though, worse thing that could happen is you'd have to flash a kernel via odin or heimdall.
[Galaxy S II Q&A, Help & Troubleshooting] glauberlima:
Thank you [MENTION=4141005]Lanchon[/MENTION] for your amazing work! Now my S2 has a rock solid kernel!

Any plans of getting your fixes incorporated into OmniROM's kernel too?

Regards.
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
thanks! nope. i think omni merged fpbug fix already. for trim youll have to look for a custom kernel, some have incorporated trim too.
[Galaxy S II Q&A, Help & Troubleshooting] zoff_ita:
Well, it is not official but CM12.1 by Lysergic Acid is quite a good ROM, he fixed camera issues and configured SecureLinux as "official requirements", his rom is missing only PIE support but for PIE support are need updated closed source drivers or someone with reverse-engineering skills to port them.

I think it is the closest thing to an "OFFICIAL CM12.1".

Think about it! ;)
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
why not ask LSD to merge trim instead of replicating efforts here? he is not CYGN Inc, im sure he's approachable. point him to my main i9100 thread, there are instructions for devs there.

btw, its not official cm from my perspective at all. i have automated build setups for all exynos 4210 devices that fetch patch build and package kernel sets unattended. they work for CM, not LSD, so i wont build for LSD. as i said before, im not a kernel maintainer, i just wanted to solve a couple of issues that i thought would never be fixed unless i stepped in, but thats all.
[Galaxy S II Q&A, Help & Troubleshooting] hurda:
Hello.

Long-time user of TRIMed kernels, thank you for this feature (and the resolving of the FPbug!).

My question: Is there any chance the i9100 gets one last huzzah in form of a TRIMed kernel for the upcoming final CM11-snapshot?
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
absolutely! but i think there wont be any M13 unfortunatly...
[Galaxy S II Q&A, Help & Troubleshooting] cherryb8844:
This is all about my phone chip and rom do i flash your latest kernel-Lanchon-TRIM-FPBug-20150713-cm-12.1-i9100.zip

On my rom than i use trimmer app for trim my device or first install the 20150713 cm official build on my device than use trimmer app for trim my device then flash your kernel

One more thing i always use philz kernel for clean install and this philz kernel will wipe prelod do i need to follow instruction for wipe preload i already repartition my memory 1GB system 3GB data and preload r untouched
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
my kernel will probably be compatible with any recent official build.

you do not need philz to install an official cm upgrade over a previous official: just dirty flash.

you do not need philz to flash my kernel.
[Galaxy S II Q&A, Help & Troubleshooting] Saber:
The lagfix app doesn't work on CM12.1 because PIE is enabled.

Trimmer works though :) (Just found out thanks to lanchon)
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
yes, but no, he is correct, he is talking about "trimmer" that does support android 5.
[Galaxy S II Q&A, Help & Troubleshooting] I_am_a_number:
12.1 branch for brickbug git page?

Hi, hope you had a great holiday. Was just wondering if you have time to add a 12.1 branch to you BrickbugAftermath github page. I have found it interesting and instructive to compile cyanogenmod and apply you patch from source. Thanks for all your work for an old phone that still seems relevant.
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
sure thanks. give me some time, im on openpdroid right now :) thanks!
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
sorrry, i pushed the (trivial) changes a week ago when i outputted the kernels but forgot to label the branch. it's done now.
[Galaxy S II Q&A, Help & Troubleshooting] I_am_a_number:
12.1 git update

Just noticed the update. Thanks didn't expect it that quickly. Will fire up the compiler.... I'll have a look at openpdroid this weekend. Thanks once again.
[Galaxy S II Q&A, Help & Troubleshooting] tnttrx:
any signs of when TRIM could find its way into the official CM 12.1 kernels?
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
its up to the maintainer, but this time he s pro trim :) i swapped a msg with him about that: it can be done if it only affects the i9100, so the rest of the device maintainers using the same kernel can't complain. why dont you nag him a bit?? :)
[Galaxy S II Q&A, Help & Troubleshooting] tnttrx:
I would be glad to do so.

could you maybe point me towards him?
[Galaxy S II Q&A, Help & Troubleshooting] Lanchon:
lol sure, this was our brief chat:

http://xdaforums.com/showpost.php?p=61971146&postcount=742

http://xdaforums.com/showpost.php?p=62007916&postcount=799

http://xdaforums.com/showpost.php?p=62009279&postcount=802

he seems to be planning this though:

http://xdaforums.com/showpost.php?p=62088144&postcount=919

and my hunch is that it will be trim-enabled :)