yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Saber:
Build b037 is out!

This update doesn't have many changes over the previous release. I have reverted o3 flags to fix problems with higher power consumption and stability issues in the previous build. Some stability fixes were synced from CM. Also, I have discontinued UBER 5.3 as I believe there is no good reason why I should keep these builds.

Happy flashing, gsstudios ;)
[Galaxy S II Android Development] LeBourrin:
OK, I had the feeling that the battery discharge a little faster, so I'll install the b037.
[Galaxy S II Android Development] LeBourrin:
beta 37 installed. thanks

[MENTION=5811506]gsstudios[/MENTION] On first post, androidfilehost.com link offers download to Linaro and Uber 5.3. Not Uber 6 kernel file.
[Galaxy S II Android Development] Saber:
Still in experimental folder. Will fix this soon.

Edit: All fixed :)
[Galaxy S II Android Development] Zile995:
SELinux is disabled on DorimanX kernel ;)
[Galaxy S II Android Development] kole_anba:
hello

small problem with dorimanx my oar with such freeze and stweaks, someone has an idea !!!!! my Rom, the Resurrection Remix 5.48 lp

thank you for your answer
[Galaxy S II Android Development] DaveKing:
here no problem, and 20800 of performance in antutu :D very stable! Try to see the options in Stweaks. And other thing, try in recovery at kernel options, setting up to default settings, and delete data and cache of stweaks app.

Cheers
[Galaxy S II Android Development] kulitom:
Ok, problem solved. Viper4android works great. I delete some system apps in titanium backup, so i think it's a problem with too small free space on system partition (i have default system partition size)

what's your settings?
[Galaxy S II Android Development] kole_anba:
thank you, but no better .....

I'll have to deepen it

apolo beta 9

is ok for me, but wishes for more Canger on this kernel ..

with apolo configurator there is the option USB fast charging (650mA) ..

very useful with the way ..... if gps with dorimanx or other I can have all this would be a happiness
[Galaxy S II Android Development] kai1313:
guys, i have eMMC chip type VYL00M with FwRev 0x19

which is at cm table said that it has brickbug impact, and on eMMC check said it has insane chip

But some people said at Lanchon thread it safe to TRIM

Did you guys has the same eMMC type and succeed TRIMing your phone with this great Dori kernel?
[Galaxy S II Android Development] Zile995:
Works on my emmc/phone ;)
[Galaxy S II Android Development] Saber:
You mean gps isn't working? You can set the charging rate of usb in the 'OTHER' tab, just set the slider to 650mA.
[Galaxy S II Android Development] kai1313:
which version of dori did you used?

are we need to format our preload partition?

I did TRIM my phone with terminal help because when im using lagfixx free 1.5.1 from the thread that Lnachon thread reffered i got error that said not supported

But when i do with terminal with this command

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

i got this

did i succeed trimming my phone or not?
[Galaxy S II Android Development] kelwinsj:
installation failed

i tried installing it on the new official nightly builds but it kept failing ....don't know what the error is.

i will try the new beta and report back
[Galaxy S II Android Development] Saber:
If you are on cyanogen recovery, you can't install this kernel. IMO, cyanogen recovery is the worst (I don't know how many times I've said this). For now, the only way to install the kernel on official nightly is to flash philz recovery, then flash kernel. Not too sure if new build works flawlessly on newest nightly. Will update op to give instructions for official nightly users.

Update: I have updated the OP to guide users how to install this kernel on official CM12.1 nightlies.

Update: Provided a link to my website that explains various TCP algorithms. This should help with the question of why the option to choose TCP algorithm was added.
[Galaxy S II Android Development] Saber:
Probably just app problem. If you can trim in terminal, all should be good :)
[Galaxy S II Android Development] AF_624:
Edit:Any possiblity to have bln working on next version??

Thanks
[Galaxy S II Android Development] Zile995:
Yes, you succeed ;)
[Galaxy S II Android Development] kai1313:
its a relieved :D

so, when i need do TRIM again?

are flashing the kernel update make me need to TRIM again or just when i update/change my ROM ?
[Galaxy S II Android Development] Resync:
BLN doesnt work.... BLNWW included
[Galaxy S II Android Development] arnab:
[MENTION=5811506]gsstudios[/MENTION]...can u plz check yr kernel with the tweaks app using LQ
[Galaxy S II Android Development] Saber:
You shouldn't need to TRIM regularly. Once a month is usually good enough for most users.

When you update kernel, you won't have to TRIM again, just follow your schedule. But if you flash a new or update your ROM, that will replace the kernel with a non-trim one. So that means you will have to TRIM again.
[Galaxy S II Android Development] Saber:
Sorry, but can you please clarify what do you want? Are you asking for me to check if my kernel works on LP roms?
[Galaxy S II Android Development] mordan:
Hey man, first of all I want to thank you for your great work!

I am facing a problem, I checked my device with the eMMC app and I installed your 11.0 Kernel Trim Enabled, and the 11.0002b Trim Enabled. Running Lagfix errors on all 3 partitions. Any ideas? I did grant root access.

To be more accurate, I'm running the official CM 12.1 for the i9100 and the error I get on all 3 of them is:

error: only position independent executables (PIE) are supported.
[Galaxy S II Android Development] Saber:
Build b038 is out!

I have been testing this build for a few days now and it has been pretty stable. This build features updates to the HYPER CPU governor thanks to dorimanx. Realex-fire synced missing changes to LMK and OOM. Default I/O scheduler was changed to BFQ.

Also, I won't be able to make any new builds for a while because I have exams :)

Happy flashing, gsstudios
[Galaxy S II Android Development] Troubadour666:
i hope same succes on your exams as you have on dev Man.
[Galaxy S II Android Development] j1gga84:
[MENTION=5811506]gsstudios[/MENTION]

All the best for your exams :good:

And after the exams, with fresh panache, myself, and I think also a lot of other users, would love to see some love for MM 6.X.X :)

Because with a Dorimanx on MM it would be possible to use SuperSU without any workarounds and that would be awesome because development of MM (CM13.0) for our S2 has made huge progress in the meantime :good:

take care

regards
[Galaxy S II Android Development] ahmadabumaizer:
Can someone please do a antutu test with the latest update please
[Galaxy S II Android Development] Mufasa243:
Which rom are you using exactly ?
[Galaxy S II Android Development] Saber:
Unofficial CM12.1 by CNBlack
[Galaxy S II Android Development] lightmandn:
Still have lags on RR 5.5.9. I do not feel the changes to build b033. I believe that it is necessary to pay more attention to memory allocation because it lags begin when memory 200 more megabytes. For comparison in stock RR kernel this can be seen at 50 mb.
[Galaxy S II Android Development] Saber:
That has been my main focus in my recent builds. More improvements still need to be done, but right now I don't have time.

gsstudios
[Galaxy S II Android Development] LeBourrin:
Just to tell you that i'm running b38 for more than 5 day without launcher force close. It is stable.

Please note that there are slowdowns when memory is low but there is nothing to do for that. Lollipop is bigger than Kitkat.
[Galaxy S II Android Development] Cyanic Sword:
Might be a bit late, but good luck for your exams. Congrats on the 100 pages. Can you tell me what's wrong with the vpn. I have tested TotalVPN to be able to connect, but it comes up with an error. I could fix it because I have time, but I need to know whats going on. Thanks!
[Galaxy S II Android Development] Saber:
Hi,

there is a known problem with VPN on dori kernel, currently all VPN apps are affected.

gsstudios
[Galaxy S II Android Development] Saber:
Build b039 is out!

While my studies have been going well and exams are just around the corner, I have also been extensively testing recent changes to this kernel.

This build features changes to the kernel tick rate hz (changed to 300 from 250), which should give a slight performance boost. UBER toolchain got updated to GCC 6.1, this time I'm compiling it myself with cortex-a9 optimizations compared to the generic toolchain I have been always using. zzmoove got a few profile fixes and I merged some security fixes from CM. As always, let me know of any issues, but since I have exams coming up, I may not be able to debug any logs.

Happy flashing! gsstudios ;)
[Galaxy S II Android Development] lightmandn:
I noticed that the entropy of the kernel constantly has a value of 70%. In the stock it about 3-5%. Perhaps this information will be useful for future optimization. Thank you for developing, Josh!
[Galaxy S II Android Development] Saber:
Entropy on dori kernel is much more advanced than stock kernel. No tuning is required as it auto adjusts itself. :)

gsstudios
[Galaxy S II Android Development] lightmandn:
Can I change these values on their own to test? Where is it?
[Galaxy S II Android Development] Saber:
proc/sys/kernel/random

Read wakeup threshold and write wakeup threshold are the two parameters you can change, but I don't recommend changing them.
[Galaxy S II Android Development] lightmandn:
Can i change this value on source code?
[Galaxy S II Android Development] Saber:
If you are talking about kernel repo, it is located in /drivers/char/random.c

Otherwise, it can be tuned by user using root file explorer.

gsstudios
[Galaxy S II Android Development] lightmandn:
Thanks, gsstudios. I test this and tell results on this forum.
[Galaxy S II Android Development] Saber:
Build b040 is out!

I was planning to release this after my exams, but there were some important changes I didn't want people to wait for.

I have re-enabled software CRCs for data integrity in event of a power loss. In previous builds I have disabled it thinking it would increase performance, but there wasn't a noticeable difference. I have made a toggle in stweaks to enable/disable this feature if you believed it was better when switched off. Please note that you must make sure what you are doing when playing with this value.

While I was looking at the cortexbrain script, I realized that I forgot to implement auto-switching of PE workqueues. Now if you have disabled PE workqueues in stweaks and if the phone is in deep-sleep mode, cortexbrain will switch this back on to save power. Once your phone wakes up from sleep, your original setting will be restored.

UBER toolchain got updated with recent updates from yesterday and I have re-enabled CONFIG_ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES.

This should hopefully be the last build before I head off to exams.

Happy flashing! - gsstudios ;)
[Galaxy S II Android Development] KnightElf009:
No support for mm 6.0?
[Galaxy S II Android Development] Skyline:
Not yet
[Galaxy S II Android Development] camp0s:
I have problem with STweaks, after I install Busybox the app won't load anymore, white screen forever (Busybox 1.24.2) - I tried to uninstall Busybox but nothing; even a dirty flash is not solving the situation, I need to completely wipe the phone in order to get STweaks load again - but then with an older Busybox (1.22 something).

Any hints? Tnx.
[Galaxy S II Android Development] Saber:
I'm working on it. Right now I'm busy with exams.
[Galaxy S II Android Development] Saber:
You should never install busybox over the one that is included in dori kernel. It breaks a lot of functions that is required for the kernel.
[Galaxy S II Android Development] lightmandn:
Try to help you with memory problem, Gsstudios. I saw in the code lines on /drivers/memory/emif.c

case DDR_DENSITY_1Gb:

If I understand correctly, this indicates that the total amount of memory equal to one gigabyte. If I understand correctly, this indicates that the total amount of memory equal to one gigabyte. In fact, in our device 768 megabytes of RAM, and the rest is allocated for video memory. Perhaps this is the reason for such behavior of the kernel?

PS: This is just a guess and try to get to the bottom memory problems.
[Galaxy S II Android Development] Saber:
We don't touch this code, so it really doesn't relate to the problems we've been having. I have a new build being prepared so stay tuned. Currently I'm doing extensive testing on stability and battery life.

gsstudios
[Galaxy S II Android Development] Saber:
Do you mean 70% free?

Yes, tuning entropy does effect the overall operation of the phone (although it is thought to just be placebo). The reason why stock kernel uses almost all of entropy is because it has very low wakeup thresholds. Dori kernel is the complete opposite. I might test with lower values.

gsstudios
[Galaxy S II Android Development] lightmandn:
First, it was necessary to deal with the concept. After it became clear that a large pull of entropy is normal, and as it turns out is not critical. On the performance of pull in this case does not affect in any way, even if you reduce it to a minimum, which is actually a bit weird. Apparently lacking the pull and small.
[Galaxy S II Android Development] Hussien 99:
is this kernel support SlimSaber - Build#6 ? :confused:
[Galaxy S II Android Development] Saber:
No. This kernel only supports CM12.1 ROMs and other ROMs based on CM12.1.

gsstudios
[Galaxy S II Android Development] Saber:
Build b041 is out!

I have done many tweaks to VM settings. LMK profiles are now fully synced with Dori's G2 kernel, this means that RAM management is now very aggressive and should be able to kept free RAM over 200MB. Swappiness was increased to 40% because we need as much free RAM as possible. I have included a TRIM button in stweaks thanks to chhapil.

Other changes include general stability fixes and updated toolchains. See changelogs for full list of changes.

Happy flashing! gsstudios ;)
[Galaxy S II Android Development] Skyline:
Hahaha I am seeing these words in changelog since a week or less and you are firing kernel builds with lot of changes there on git

Want to ask one thing this time seriously you are going release b042 after your exams.?? ;)

Your work is always appreciated Josh
[Galaxy S II Android Development] Saber:
Haha. Whenever I release a new build, I find something else that could help us a lot and as a result, I have to keep breaking these promises :)

b042 will probably be delayed (I don't know if I want to rush out another build). The fixes I'm testing right now seem really important as they do fix some serious vulnerabilities.

gsstudios
[Galaxy S II Android Development] j1gga84:
[MENTION=5811506]gsstudios[/MENTION]

Please don't get me wrong, I admire your continuous work for the oldie but goldie S2, but why do you still put so much work into the development of the LP kernel instead of MM? ;)

The development of CM12.1 and derivates stopped already a long time ago ;)

A MM Dorimanx would be a big blessing because until now it is not possible to use SuperSU on CM13.0 so a 12.0 b001 would be awesome after your exams, what do you think? And no, I don't ask for any ETAs ;)

regards and good luck for your exams :good:
[Galaxy S II Android Development] Saber:
Soon I will be retiring LP kernel development. There is no promise that we will see a MM Dori kernel, as there are currently some issues that is stopping the kernel from booting.

You can keep track here: https://github.com/gsstudios/initramfs3/issues/21

gsstudios
[Galaxy S II Android Development] LeBourrin:
gsstudios you are great. Thank you for all the work you do for our S2 !
[Galaxy S II Android Development] Saber:
Build b042 is out!

Following from one of my previous posts, after I released b041 earlier today, I discovered that the kernel was unpatched from vulnerabilities in the wifi driver. If you have been following the android security bulletins, more issues were found this month.

This release aims to solve these vulnerabilities. No other changes were made. I will now retire development for the LP branch so I can prepare for MM in the future.

gsstudios ;)
[Galaxy S II Android Development] ahmadabumaizer:
Which build do you recommend using

And what do u mean by eol

Thanks..
[Galaxy S II Android Development] Saber:
Latest build.

EOL = End of life = Last build ever

gsstudios
[Galaxy S II Android Development] ahmadabumaizer:
Which is better

Lianaro or uber
[Galaxy S II Android Development] Saber:
Everything has been given in the OP and downloads post. Try the UBER build first.

gsstudios
[Galaxy S II Android Development] mco2015:
Hello gsstudios,

I've been using your kernel for almost a year now, tried like 15 different builds. The memory problems persist and my device is so slow that I just couldn't use it properly. I use RRemix, but I always needed another kernel simply because RRemix never (despite many requests over the years :( ) implemented BLN and USB fast charge, 2 things that are VERY important to me (especially BLN).

However I really was stuck with dorimanx problems the last 5 months, even though I acknowledge your incredible work and perseverance.

2 days ago I installed RRemix MM 6.0.1. and I am truly amazed. Super fast, super fluid, 30% more battery, zero FC and no memory problems.

All these advantages are now more important to me than BLN and USB fast charge, sadly..

It is my opinion that LL is now dead for our device. If you would consider going into MM, I would support.

I recommend everyone try RRemix MM 6.0.1., version 5.6.9. IT is AMAZING! I have i9100 for 4.5 years and never seen it so fast and reliable.

Now if only someone would put BLN into MM for i9100... ;)

I will keep following this thread expecting news about Dorimanx MM ;) but can RRremix be more optimized? A challenge I'm sure. Really hard.

Thanks for your hard work gssstudios!
[Galaxy S II Android Development] :
You have BLN in-built for RR 5.6.9. Just flash BLN Mod in recovery and install synapse from the store, and you can configure BLN.

As gsstudios has mentioned planty of times(including in the opening posts of this thread), MM is being worked on. It isn't like a magic rabbit.
[Galaxy S II Android Development] the.gangster:
Honestly [MENTION=5811506]gsstudios[/MENTION],

It's hard to believe that. I read so many times about a final build here, that I would really recommend you one thing: good luck for your exams and try to focus on them now. Because that is one thing you need to do for you and your real life now. Don't feel obliged to fix anything in case you realize new issues. CM12 users have plenty of builds to choose from already. Your exams will remain unique for your future. You can't fix them later once you blast them.

So after achieving excellent results in your exams, feel very welcomed again to contribute again with your kernel builds, no matter for which platform. (OK, personally I would love to have some more alternatives for CM13, but do whatever you feel called to.)

And thanks for all the work you done already.
[Galaxy S II Android Development] lightmandn:
Very sorry that project is closed. I would like to use all of the memory on our device. I realy hoped for this.
[Galaxy S II Android Development] Saber:
All hope is not lost yet. Once I've fully recovered from everything that's going on, I will still be contributing to our device.

As for the status of MM kernel, realex-fire managed to get past kernel logo but kernel still doesn't boot into OS. Device shows that kernel is functioning but it's just not booting.

gsstudios
[Galaxy S II Android Development] lightmandn:
MM course is good, but I want to see just fix LP. On MM roms not everything works as it should. Well, will wait for good news, gsstudios. Good luck!
[Galaxy S II Android Development] xXStUpIdN00BXx:
Minimal OS?

will it work on minimal OS?
[Galaxy S II Android Development] GreekDragon:
No. Is only for CyanogenMod based roms.
[Galaxy S II Android Development] Saber:
Just letting you guys know that next kernel will support both MM and LP :)

Almost there :)

gsstudios
[Galaxy S II Android Development] ssanjy:
What a great news....... Thanks a lot.... Eager to test....
[Galaxy S II Android Development] Saber:
We still need to fix issues with selinux. Once fixed, we should have a working kernel ready.
[Galaxy S II Android Development] lightmandn:
Great news. Thanks for the LP support !
[Galaxy S II Android Development] Muhammadsoli:
Great news:good:

I'd like to ask you to use TWRP recovery in the upcoming builds as a base:D
[Galaxy S II Android Development] :
The bundled recovery doesn't matter anymore. We have isorec
[Galaxy S II Android Development] Muhammadsoli:
But currently it's impossible to mount storage with IsoRec;)
[Galaxy S II Android Development] :
What do you mean? I can mount int & ext storage no problem as well as mount usb.......works perfectly for me
[Galaxy S II Android Development] Saber:
I think he means that TWRP currently has problems with mounting USB storage when wanting to transfer files while phone is in recovery. CWM runs perfectly fine like what you've described. It will be on my to-do-list.

gsstudios

Not a good idea since there are some important features in stanTRC recovery that is specific to this kernel. I will keep other recoveries optional as I always have been.

gsstudios
[Galaxy S II Android Development] Muhammadsoli:
Got it:laugh:

Besides has Realex-Fire succeeded to boot the MM kernel?
[Galaxy S II Android Development] Saber:
Right now I'm testing the changes and MM kernel still doesn't go past android is starting screen. There is still an issue with selinux, and it needs to be working in order to get past this issue. I just got back into development so I will be able to start debugging again.

gsstudios
[Galaxy S II Android Development] GreekDragon:
Just catch me up if you need any help. :)
[Galaxy S II Android Development] Muhammadsoli:
Sorry for offtop, but please check this thread

http://xdaforums.com/galaxy-s2/help/heeeeelp-stuck-samsung-logo-t3403737
[Galaxy S II Android Development] Saber:
Apologies for the delay on news.

Currently we are still stuck with selinux problems as described from last time. Right now the possibility of a working kernel is uncertain (sorry if I left everyone's hopes too high).

However, I've been testing from the CM12.1 side and the results have been great. Let me know if you want to see a kernel build regardless of whether CM13 is working on this kernel. So far, that's the only thing I can provide as of right now, otherwise, we still need to wait before everything is fixed (CM13 support of course).

gsstudios
[Galaxy S II Android Development] lightmandn:
With pleasure I will enjoy CM12.1 and wait for CM13. I hope many users will support me, and you do a new build for the LP.
[Galaxy S II Android Development] LeBourrin:
Take your time, there is no hurry for a CM13 kernel, for me anyway.
[Galaxy S II Android Development] Saber:
DorimanX 12.0 b001 has been released!

Please note that this build only supports LP, but future releases will have MM support.

Although CM13 ramdisk is present in the kernel, it will be stuck on android is starting screen so please do not run the kernel on CM13!

There were many changes done to this kernel, most of which were done by realex-fire. A lot of missing changes were merged from CM, Mali video driver got updated, our init system got reworked, kernel size has been reduced and many other changes (see changelogs).

I have tested the kernel for a few days now and it has been very stable, kernel runs smoother and faster than ever before.

Happy Flashing! - gsstudios
[Galaxy S II Android Development] lightmandn:
The kernel works well. Thank you! It is a pity that the memory problem is still present. I hope in future versions it will be eliminated. May I ask when this problem arose? When you go to 3.15 or LP?

PS: I tested the first LP and found that even then this problem arose. Since there is no problem in KK, it is clear about where to look it.