yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] DaveKing:
well, tried the NoctisBlade steps and no go. It isn't a Gapps problem. So I think it's a hardware incompability with the kernel drivers of dorimanX. With the Gustavo's kernel for KK I don't have the wifi problems. So it must be it. I'll stick to LP, i found a way to have a very good performance with BlissPop Rom, Apollo LP built8 with swap enabled. The phone flies now. And the quantity of customization LP have it's brutal. A lot of improvement possibilies can be done in that field in terms of color usage and battery consume. Well, until LP kernel not coming out I will stay with my i9100 has it is. Thanks gsstudios for the feedback. Will stay intent for developments in here for LP.

Cheers. :good:
[Galaxy S II Android Development] the.gangster:
[MENTION=5811506]gsstudios[/MENTION]

I might be wrong. But weren't such Wifi issues the reason why stelistcristi added Wifi driver update and patches to his build?

At least after that, no more problems like these had been reported in his thread, any longer.

So maybe that would fix it...
[Galaxy S II Android Development] nhmanas:
Trim takes leaser than other kernels why?
[Galaxy S II Android Development] Saber:
I know that some people only like to use TRIM disabled kernels, so I decided to build with the added changes. Major features will also be on the trim disabled kernel, but most updates will only be for the TRIM enabled kernels.
[Galaxy S II Android Development] nhmanas:
I mean I use your trim kernel and I use fstrim script. When I was on gustavo's kernel triming take 10-15 sec. But it takes 3 secs on your kernel. Thats weird (ofcourse script is successful. I double checked that)
[Galaxy S II Android Development] Saber:
I thought it was always a quick process. I remember using kk builds of Gustavo kernel and stelistcristi's dorimanx builds and both took me less than 10 secs.
[Galaxy S II Android Development] chhapil:
here the some figures it should take. i have 4gb data partition

Results with Lanchon kernel

~ # time fstrim -v /cache

time fstrim -v /cache

/cache: 98455552 bytes trimmed

real 0m 1.14s

user 0m 0.00s

sys 0m 0.03s

~ # time fstrim -v /data

time fstrim -v /data

/data: 702799872 bytes trimmed

real 1m 15.50s

user 0m 0.00s

sys 0m 0.22s

~ # time fstrim -v /system

time fstrim -v /system

/system: 56053760 bytes trimmed

real 0m 3.44s

user 0m 0.00s

sys 0m 0.02s

~ # time fstrim -v /preload

time fstrim -v /preload

/preload: 14548992 bytes trimmed

real 0m 0.65s

user 0m 0.00s

sys 0m 0.01s

~ #

Results with Dorimanx Kernel with not proper fix

~ # time fstrim -v /cache

time fstrim -v /cache

/cache: 98455552 bytes trimmed

real 0m 0.05s

user 0m 0.00s

sys 0m 0.00s

~ # time fstrim -v /data

time fstrim -v /data

/data: 702799872 bytes trimmed

real 0m 0.14s

user 0m 0.00s

sys 0m 0.01s

~ # time fstrim -v /system

time fstrim -v /system

/system: 56053760 bytes trimmed

real 0m 0.05s

user 0m 0.00s

sys 0m 0.00s

~ # time fstrim -v /preload

time fstrim -v /preload

/preload: 4759552 bytes trimmed

real 0m 0.01s

user 0m 0.00s

sys 0m 0.01s

This happens because, apart from Indie fix to block secure erase command, Doriamanx had also commented some crucial code in core.c

check my repo for additional fixes.

https://github.com/chhapil/Dorimanx-SG2-I9100-Kernel/commit/6065ab97729a12ffb9ea41eb4632d0d070569e3d
[Galaxy S II Android Development] Saber:
My commits are the same as stelistcristi's. Will consider to add additional patches in next build.
[Galaxy S II Android Development] chhapil:
stelistcristi's trim is broken for sure, i have tested it.

You can only confirm the results if your results match with lanchon's build
[Galaxy S II Android Development] Saber:
Sure, will make sure that I won't make that mistake. Must redownload the git since I stuffed up with all of the governor stuff.
[Galaxy S II Android Development] Saber:
Latest build uploaded today. TRIM is now fixed thanks to [MENTION=4354573]chhapil[/MENTION]. No other changes done yet.
[Galaxy S II Android Development] j1gga84:
[MENTION=5811506]gsstudios[/MENTION]

when do you think new wifi drivers will be implemented? :)

I know that [MENTION=3055339]stelistcristi[/MENTION] implemented new drivers in his testbuild but I do not remeber if they made problems or not.

Concerning TRIM, do we have to activate it somehow? Or only flash TRIM kernel and everything is ok?

I am using SlimSaber 4.4.4 of [MENTION=1228651]fusionjack[/MENTION], is it safe to use kernel with TRIM enabled?

EDIT:

Concerning trimming, this app should work better !?

https://play.google.com/store/apps/details?id=com.fifthelement.trimmer

How often do I have to trim? one time and then system stays trimmed?

regards
[Galaxy S II Android Development] Saber:
Now I'm finished with all of the exams, I'll try updating the WiFi drivers. AFAIK, there wasn't any problems with the updated drivers, in fact, the drivers helped solve some WiFi problems. I should hopefully build it by the end of this week.

With TRIM, it should be safe for most devices. You need to start/activate trimming using the lagfix app (as explained in the troubleshooting). Once activated, trim should be permanently enabled on your phone. In good practice, trim should be applied at least once a month to ensure the phone is properly trimmed.
[Galaxy S II Android Development] Saber:
This is also a quick update on the governors, it seems that lulzactive is bugged on dorimanx kernel. Core 0 frequency is stuck on 1200mhz (default freq) and doesn't scale down. In other words, the governor will not be added back to the kernel.

One last thing, I'll will make the build with updated driver as experimental. If all goes well, will promote to beta and will push changes to all future builds (as usual procedure)

Update: More issues occured when trying to merge patches from stelistcristi. Tried to build with stelistcristi's source, yet issues still show.

Update2: Will attempt to merge lollipop ramdisk as promised soon. If all goes well, I'll create a new thread for lollipop kernel.
[Galaxy S II Android Development] Tacio:
If you'll have time and opportunity could you please update busybox like chhapil has made for his 4.1.2 dorimanx branch and merge wifi drivers update for your 4.4.4 dorimanx kernel?
[Galaxy S II Android Development] Saber:
Wifi drivers has been a bit problematic for me, sure, I'll update busybox for next build

Lollipop is giving me a headache too. Bootloops and problems with recovery (of course after merging with lollipop ramdisk). This may take a while to fix since I'm still a bit of a noob compared to the great cybernetus or computoncio.
[Galaxy S II Android Development] shiftyHungary:
Though it is stated in the OP that this kernel is for AOSP based ROMs, might I install it for CM11?

In my reading, there shouldn't be any problem, but I'd like to get this confirmed. Thanks!
[Galaxy S II Android Development] j1gga84:
Try and report back ;)

If it will not boot you can simply flash another kernel through CWM ;)

Regards

Sent from my GT-I9100 using german Tapatalk 4
[Galaxy S II Android Development] shiftyHungary:
By default, this was my intention too, but since I had a stable system setup, I didn't want to change.

Now that Xposed messed up something on 5.1.1, and have random reboots, I'm about to revert from LP to KK, so I'm giving CM11 a go with this kernel, and will report back here with the results :)

Edit:

Okay, after the installation, the WiFi works well, but I'm having constant Play Services FC popping up, leaving the system unuseable - tried 2 kinds of Gapps, looks like that's not the problem.

Though I used the trim version, I'll give a go with a non-trim one too, and report back.

Edit#2:

Quickly flicked through the CM11's thread, the Gogle Play Services FC is reportedly not a kernel/gapps related problem, but something with the ROM's Linaro/O3 optimisation. Therefore I'm giving a go for a non-O3 CM11, and see the results - yet to return! :D

Edit#3:

After having installed the latest nightly from official CM site, and had the non-trim version also installed, everything works fine: WiFi running, no FC's, the phone is blazing fast, having all the capabilities of the kernel, though I still have to check for battery lifespan, but that's not too much affected by the kernel. I do recommend to install it for everyone using CM11, no danger at all.

Still have to test trim version, will do that in the evening, and report back.
[Galaxy S II Android Development] j1gga84:
[MENTION=4277612]shiftyHungary[/MENTION]

Many thanks for testing Dori on CM11 :good:

I think [MENTION=5811506]gsstudios[/MENTION] will appreciate it :)

And yes, the annoying Google Play Services FC's are related to Custom ROMs optimization.

To avoid it you have to flash older Google Play Services or deactivate high accurancy location services (only device)

[MENTION=5811506]gsstudios[/MENTION]

Since I flashed your Dori (TRIM Version) I sometimes have big battery drain in standby (device does not go do Deep Sleep and is hot around camera.. :confused:) and usage.. :confused: Could it be the reason because I still use my old profile from latest build of cybernetus?

regards
[Galaxy S II Android Development] Nightshadow931:
Just check with BBS and some task manager(3C toolbox pro recommended) to see what's causing it not to sleep, and what exactly is keeping your CPU so occupied.
[Galaxy S II Android Development] ruleh:
Wifi and cfg80211

I have spent a great deal of time looking at the networking stack of this kernel (more specifically at cfg80211).

It seems like cfg80211 is a bit messed up. Some parts are like kernel 3.14 whereas some others go back to 3.0 (and don't comply with 3.15).

It simply is not consistent, add that to the bcmdhd drivers that are also torn between versions and you get a slightly buggy wifi.

Therefore I would like to request a change to cfg80211.

If possible, could you make it more consistent so that it is more on level with a single kernel version.

(also it seems to miss out a few things which are on every other kernel version from 2.6 to 4 --probably android "optimizations")

Having this particular part of the kernel much lower (such as the same level as the bcmdhd drivers originally were) would make driver compatibility between wifi and cfg80211 much better and would also allow other wifi drivers (such as external usb dongles) to use cfg80211 effectively.

(this is assuming that the wifi dirver doesn't use [if LINUX_VERSION_CODE] to change something crucial )

Also if you have time, could you take a look into the brcmfmac drivers as a potential alternative for bcmdhd?
[Galaxy S II Android Development] Saber:
Chhapil and I will update this once we figure out how to solve the errors that pop up after updating drivers. There may be inconsistencies currently since the drivers were backported from i9305 source, but not all files were updated during the process.
[Galaxy S II Android Development] Saber:
Very possible that old profile is causing phone not to deep sleep. Just reset stweaks in recovery.
[Galaxy S II Android Development] chhapil:
There are bound to have inconsistency, as not all parts of the kernel are upgraded during updating the Linux kernel version. As per computino this one is 95% of 3.15

I'm trying to bring it to 3.18.

If you see other kernels they are all tied to 3.4.107. That's being the latest LTS release by Google.

So that's again a dialemma whether to move back to 3.4 or upgrade to 3.18

There are two reasons there is been holdback from my end

1. I'm not yet well versed to cherry picking git. I'm able to do some parts of it but not everything.

2. Not good understanding of Linux and android kernel.

I'm trying to figure out all those parts properly.

Such finding as yours help atleast to concentrate on particular area.

Thanks for that
[Galaxy S II Android Development] silvers01:
i have a question :)

http://wiki.cyanogenmod.org/w/EMMC_Bugs#eMMC_parts_known_to_be_buggy

the link above^ have a patch fixed for super brickbug

the patch is to be applied in the kernel, am i right?

if so, then, if your kernel have that patch, we can use trim even if our emmc have a super brickbug, am i right? :)

sorry but that's how i understand it XD
[Galaxy S II Android Development] Saber:
This kernel has all of the necessary patches to prevent superbrick bug from occuring. But due to the nature of re-enabling trim, this brings back to possibility of bricking your device. Read Lanchon's guide (located in 3rd post just in-case some people didn't want to use the search function) if you are not 100% sure whether to use a TRIM enabled kernel or not. It should be fine on most phones that have affected chip, but of course I don't accept the responsibility of bricking someone's device.

In other words, if you feel that you don't want take the risk, I would advise sticking with a TRIM disabled kernel.
[Galaxy S II Android Development] Saber:
Important message to TRIM users

Not to accuse stelistcristi for his work (which I greatly look up to), but this is just a reminder to people using his builds. TRIM is broken in his (stelistcristi's) builds. My builds has TRIM properly enabled, so if you want to ensure you want to have the best experience, it's best to use a kernel with TRIM that has been properly implemented (e.g My dorimanx builds, gustavo kernel or lanchon's kernel). If only if he was still active on XDA, then I would have given him guidance to properly fix TRIM.
[Galaxy S II Android Development] DaveKing:
Hi [MENTION=5811506]gsstudios[/MENTION], any developments about the 5.1.1 kernel of yours/dorimanx?

About kk kernel, I opened my i9100, saw the bat500 leak, removed and cleaned the pcb. After that I was with a lot of faith that with your kk kernel I wouldn't have the WIFI problem. But that didn't happen. I still have the problem, but the WIFI in other kernels and in LP specific, works a lot better after the remove of that leaked battery. It's crazy, I even don't have reboots that I had constantly when I had the WIFI on. But regarding your KK kernel to my i9100, it must be a wifi drivers problem that doesn't allow to turn on the wifi correctly as we state before. The hardware problem it's closed.

Cheers

ps: I hope your exams went well for you! ;)
[Galaxy S II Android Development] Saber:
Right now I'm focusing on updating wifi drivers. Lollipop isn't the main priority yet. But once wifi drivers are updated, I can focus on making kk kernel more stable before moving onto lp.
[Galaxy S II Android Development] DaveKing:
thanks [MENTION=5811506]gsstudios[/MENTION], and offtopic. Exams went well? We want our buddies to do well in life! ;) I hope so.

Cheers mate!
[Galaxy S II Android Development] Saber:
yeah, exams went well. It was only the mid year exams, end of year exams matters the most over here. Thanks for your support (and everyone else too).
[Galaxy S II Android Development] Saber:
New DorimanX kernel build uploaded. Now it includes latest FPU bug fix that is also used in CM and with some additional small changes to stweaks. Sorry couldn't upload this last week, was busy with all of the exams. But now, I can start uploading some new builds.

Update: NON-TRIM version also uploaded too. Enjoy
[Galaxy S II Android Development] Tacio:
gsstudios, have you updated busybox in the new build?
[Galaxy S II Android Development] Saber:
No, not yet. I wanted to get the updated fpu bug fix over and done with. I'll definitely add it on next build.
[Galaxy S II Android Development] DroidNforcer:
[MENTION=5811506]gsstudios[/MENTION] should we reset STweaks profile after flashing this last kernel update? If so, is it safe to restore a backupped profile from within STweaks?.

Thank you very much for your good work and tremendous effort and sharing it with us! Keep it like this and very good thing awaits for you in life. Congrats man! :good:
[Galaxy S II Android Development] vickymbbs:
[MENTION=5811506]gsstudios[/MENTION],I'm using your latest trim kernal with fusionjack's slimsaber 4.4.4...every thing perfect smooth with great battery backup.thanks for your work on dorimanx kernal to keep alive..:thumbup:..waiting for lollipop kernal;)
[Galaxy S II Android Development] kurokirasama:
Hi,

Do you know which version to install in PA 4.6 Beta 5?

Thanxz and regards,
[Galaxy S II Android Development] Saber:
The latest build of course :) But with trim, it's up to you to decide. Stability wise, they're the same. Trim should work fine for most devices.
[Galaxy S II Android Development] wawa9292:
wifi won't turn on

It's only me or anyone other facing same problem with wifi??

Let me explain mine conditions:

-Pit mod 1gb system (i'm using pitmod before and there is no issue with wifi)

-AOSB 1.3.7. (No problem before with this rom, since when i'm using it's stock kernel wifi normally behave)

-i've tried using any gapps i've knows, even i try not install any gapps.

But from all variation i've tried, i realize that when i'm not using last dori kernel the wifi can be turned on..

And just after i flash dori kernel then the wifi issue is back..

Is there any fixes for this issue..

Or maybe wifi driver fix??

Thanks
[Galaxy S II Android Development] shiftyHungary:
Is AOSB based on 4.4.4?

If not, that may be the cause.
[Galaxy S II Android Development] wawa9292:
Yes.. AOSB 1.3.7 is 4.4.4..

Thats so confusing..
[Galaxy S II Android Development] shiftyHungary:
I'd recommend for you to use HawkernelWipe script if you don't do so. You may have some WiFi modules stuck/messed up, therefore it not loads properly.

Check that too.
[Galaxy S II Android Development] Saber:
DorimanX build v11 uploaded. It includes updates to busybox and io schedulers. I'm keeping it as a beta tag for now.

Update: non-trim builds are up too.

Also, remember this is a development thread. All questions about settings, battery life, stweaks, app compatibility should be in the Q&A thread, not this thread (Linked in OP). Everything else (that's kernel related) is permitted to be posted on this thread.

Update 2: Updated the OP too. Got the download and changelog links mixed up before. Now all fixed. Sorry for the inconvenience!
[Galaxy S II Android Development] DroidNforcer:
problem with super user

Updated to build 11 and the terminal emu worked fine with my usual trim and file system check commands but lucky patcher stop functioning properly saying it must be supersu or busybox so I opened supersu and it said that the su binary was not installed and that the app could not install it nither and closed it self. After that terminal emu would't take any command requiring su nor run scripts. Tried to clean cache of supersu just to do something but did not fix the issue. Did flash kernel again this time cleaning cache partition plus dalvik clean plus stweak profile reset. The problem remains. After that installed busybox installer app to see anything and it confirmed busybox being version 1.23.2. So for now i'm going back to the previous kernel build wich solves this. Anyone else is experiencing this?
[Galaxy S II Android Development] Saber:
That's weird, working all good for me. I need more reports before reverting commits. Maybe there are some compatibility issues with the new busy box.
[Galaxy S II Android Development] Saber:
Another quick update to the kernel. I've added proper descriptions to the built-in profiles in stweaks, now you can see some of the changes I've done to these profiles. I've also added an option to use user defined profiles for those who like to customize dorimanx (it's pretty much extra versions of the default profile, however this will help when people want to switch between profiles). So far, 3 should be enough for most people. Don't worry, these profiles are separated, so it looks all organised. You can't restore them in the recovery as of yet, but I might keep it that way permanently as a safety feature. Last change was some various fixes to some descriptions (some descriptions I changed didn't make complete sense before, but now it's all fixed).

Last note: I've changed the naming scheme for the zips.

TRIM and NON-TRIM versions are both uploaded today. ;)

Update: v12 builds have been promoted to stable. No bugs for the past 24hours.
[Galaxy S II Android Development] aef-em:
LSD dorimanx for lolipop

hey [MENTION=5811506]gsstudios[/MENTION]

big thanks for your time and work!

--
[MENTION=6159291]Lysergic Acid[/MENTION] posted a dorimanx for lolipop (published in his cyanogenmod 12.1 rom- post link ).

would you consider integrating your kernel with his?
[Galaxy S II Android Development] thearczoro:
Hope the kernel integrated with latest TWRP 2.8.7.0 from [MENTION=414800]arnab[/MENTION] http://xdaforums.com/showpost.php?p=60824013&postcount=2

If possible. :o
[Galaxy S II Android Development] Nick_Knight:
This kernel have a specialty [MENTION=5074262]StanTRC[/MENTION] recovery.

---------- Post added at 09:38 PM ---------- Previous post was at 09:12 PM ----------

@gsstudios , i have flashed the v012 trim on my girlfriend's phone, so far so good 128GB Micro-SD ntfs formated all fine. Only thing is in STweaks the new user profiles, all changes and save after reboot and all is gone. Also in default profile, and yes i have cleaned all for flash. Maybe you can figured out.

Regards
[Galaxy S II Android Development] Saber:
Working fine for me. Have you tried kernel wipe script? Have you checked if other apps are conflicting with the settings in stweaks?
[Galaxy S II Android Development] Saber:
If I implement TWRP, we will lose dual boot, and since I have no experience in manipulating the code in TWRP, it would be a useless upgrade for the kernel. If you've read the OP, I've said that the only time I would have to update recovery would have to be when I make LP kernels. Haven't been uploading builds for a while cos I've been busy outside my XDA life.
[Galaxy S II Android Development] Saber:
After testing the kernel on busybox enabled apps, I've found that the updated busybox has caused problems with older apps. Next build will have busybox reverted back to previous version. A temporary fix will be to reflash v10 build, then run the app like normal.

Sorry for the inconvenience.

Update 1: V012 build has been demoted to beta because of incompatibility issues. v010 is still the current stable version.

Update 2: My internet speed is quite slow right now. I need to re-download my own source to revert local cpu governor commits. So that means the v013 release will be delayed to early next week.

Update 3: Testing BFQ update. So far, it is faster than previous versions.
[Galaxy S II Android Development] dj-rayz:
top

merci
[Galaxy S II Android Development] Tacio:
gsstudios, have you done any comparison tests between new bfq and tripndroid?
[Galaxy S II Android Development] Resync:
wlan is not working

and recovery is useless because it cant handle ext4 (cant mount anything)
[Galaxy S II Android Development] GreekDragon:
Just Installed Neatrom AOSP 4.4.4 with DorimanxTRIM... lets see how good it is...
[Galaxy S II Android Development] Saber:
Tripndroid will normally beat bfq in any benchmark test. Bfq is good if you do lots multitasking and require to record HD videos, but I personally don't like how its a complicated algorithm. For me, the simpler is better. In my build I'm testing now (not released yet), bfq seems faster and more fluid overall, but I still prefer SIO, Zen and tripndroid.
[Galaxy S II Android Development] Saber:
Wlan is not working because the driver is not compatible with your ROM/device. Ext4 mounting is a known issue to dorimanx kernel, I will work with other devs to solve this problem.
[Galaxy S II Android Development] Saber:
Yay, I'm having a study break for 2 weeks :) What's more important is that I've uploaded build v013 that reverts busybox to fix app incompatibilities such as in betterbatterystats installation and have updated BFQ to v7r8 (previously v7r3). v013 will most likely be promoted to stable since it fixes that problems from v012 and v011.

Update: TRIM and NON-TRIM uploaded. I'll have a crack at lp now.
[Galaxy S II Android Development] OlMightyG:
Does 5GHz WLAN work with this kernel?