yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] lightmandn:
I don't think so
[Galaxy S II Android Development] AlexanderDG83:
Installed latest build (b006) on cm13 and all works fine! Thank you Gsstudios! [emoji106]
[Galaxy S II Android Development] Saber:
DorimanX 12.0 b007 has been released!

sched, LZO and LZ4 had many updates from Linux kernel 3.16. I have added back the IPv6 toggle in the tweaks tab of stweaks. Aggressive LMK profiles have been restored.

Happy flashing! - gsstudios
[Galaxy S II Android Development] Jack122:
We love you. No homo bro.
[Galaxy S II Android Development] jamu08:
Hey! the linux version is showing 3.15!!!
[Galaxy S II Android Development] Saber:
Only sched, LZO and LZ4 were updated to 3.16 code. Kernel is mostly 3.15 code with many changes from newer versions.

gsstudios
[Galaxy S II Android Development] semcem:
Dear gsstudios,

I noticed that boot time is so long (approximately 3 min) (my configuration rr 5.5.9 with dorim 12.3), my question is how we can reduce this time. Thx
[Galaxy S II Android Development] Saber:
There are many important kernel scripts that run during the boot process. I might have a look at reducing boot times, but it isn't my top priority right now.

gsstudios
[Galaxy S II Android Development] semcem:
Ok, thx
[Galaxy S II Android Development] Saber:
DorimanX 12.0 b008 has been released!

UKSM (Ultra Kernel Samepage Merging) has been added to this kernel! UKSM is an improvement over KSM (Kernel Samepage Merging) which tries to merge pages between programs. Its main goal is to save memory, however it uses the CPU quite often and reduces battery life. I have disabled it by default in stweaks and have included some tunables to play around with. Under my tests, it has been very stable with it set to medium power.

Other changes include net fixes and compiler fixes.

gsstudios
[Galaxy S II Android Development] atuser:
Wow!

Thanks a lot for your commitment dude :):good::highfive:

Keep it up.
[Galaxy S II Android Development] IonutGherman:
Yeey. Finally. You are the best!
[Galaxy S II Android Development] jamu08:
Your consistent effort is once again appreciated. Anyways, can we use L-speed with this kernel?? How kernel tweaks may conflicts with L-speed script?? Please guide.
[Galaxy S II Android Development] Saber:
Most of the kernel tweaks in L-speed are tuned by cortexbrain anyway. You can disable cortexbrain tweaks to use L-speed values, but it isn't recommended as the tweaks found in L-speed may not work well with this kernel. I can't give support if something goes wrong when using a different tuning app. Stweaks is the only tuning app that I support.

gsstudios
[Galaxy S II Android Development] jamu08:
Ok and thnx:):):)
[Galaxy S II Android Development] PanTuNieStal:
I notice that phone wakes noticably slower from sleep with this kernel. I'd say its almost 2-3s at times. Is there something I should tweak? Do far I only did some OC and UV on both cpu and gpu.
[Galaxy S II Android Development] stefano91av:
Hi [MENTION=5811506]gsstudios[/MENTION] , on i9100 with RR 5.7.1 bootloop with any your kernel

Edit: on latest CM13 is perfect your kernel! ;)
[Galaxy S II Android Development] jamu08:
[MENTION=589051]gss[/MENTION]tudio...whether enabling cortexbrain tweaks consume more battery or should i untick the tweaks available in that section.
[Galaxy S II Android Development] Saber:
Cortexbrain is meant to save battery (about 20% performance impact according to descriptions). However now with LP and MM, it has become more aggressive because of the higher RAM drainage from apps. It is recommended to keep it switched on for optimal kernel performance.

gsstudios
[Galaxy S II Android Development] kosmasgr:
After a clean installation of CM13 and b008 kernel I have the same issue again. Wifi disconnecting when screen goes off .

I need to disable cortexbrain to solve this issue.

Is there anyone with the same issue ?
[Galaxy S II Android Development] Saber:
Is it possible for you to test if one of the tweaks is causing this issue? Please provide a logcat and dmesg.

gsstudios
[Galaxy S II Android Development] kosmasgr:
I have already dirty flashed the kernel again and now its all ok. Next time I'll provide a logcat.

Thanks
[Galaxy S II Android Development] rubentkato77:
Does it work on Mokee ROM?
[Galaxy S II Android Development] Muhammadsoli:
Has anybody succeeded booting the b008 build with the latest RRemix?
[Galaxy S II Android Development] jamu08:
Yes, simply dirty flash. Don't wipe cache & Art cache after flashing, just reboot.

---------- Post added at 07:31 AM ---------- Previous post was at 06:50 AM ----------

@gsstudios......Why don't this kernel support other CPU governer like interactive, smartassv2, etc. I have read one of your reply in CPU governer thread, where u have said that pegassqe, consertive etc. are old governer......can we expect new and efficient governer support in this kernel?? Apart from hyper what other governer u recommends.
[Galaxy S II Android Development] :
From post #4 -

In my experience: HYPER gives very good performance as does ondemand. For me ondemand is slightly better for battery.
[Galaxy S II Android Development] Saber:
DorimanX 12.0 b009 has been released!

In this build, we have provided a hack to get power off charging animation working properly. Now the battery animation will not disappear forever. Please note that this is a temporary fix for the problem, a proper fix will be provided in future builds. I have only tested on CM13, but it should work fine on CM12.1.

Other changes include cleanup and fixes to the kernel's initramfs, fifo batch tuning for sioplus and tripndroid, increase nr_requests for internal and external sd to 128 and updated UBER toolchain.

Please let me know if you think that internal and external sd transfers are slower with these tuned I/O settings. I have tested the tweaks for a while and have not found any issues.

Happy flashing! - gsstudios
[Galaxy S II Android Development] Saber:
Interactive and smartassv2 don't work on this kernel. It gives SODs and have been unstable in the past.

As for other governor recommendations, you can try using darkness, nightmare, zzmoove or neox. HYPER is still the best for this kernel IMO.

gsstudios
[Galaxy S II Android Development] wason92:
Delete
[Galaxy S II Android Development] Muhammadsoli:
gsstudios

could you share your STweaks settings?
[Galaxy S II Android Development] kosmasgr:
[MENTION=5811506]gsstudios[/MENTION] , please sir take a look at the end of the catlog I provide . I had the same issue again

. my WiFi disconnects every time my screen goes off and need to disable cortex brain to solve that

Thanks in advanced

https://www.dropbox.com/s/b2vempfkmytahu6/log.txt?dl=0
[Galaxy S II Android Development] khal_nayak:
i am a bit confused, im on cm13 latest nightly but my phone has the brick bug chip so im supposed to use the non trim kernel but i see all the latest kernel r trim enabled, so is it safe to use that?
[Galaxy S II Android Development] the.gangster:
[MENTION=309697]khal_nayak[/MENTION]

no need to be confused. If you want to know more about why non-trim kernels are no longer needed you can read this. Even official nightlies are trim-enabled.
[Galaxy S II Android Development] khal_nayak:
thanks for that info, one thing i noticed is cm13 has mdnie scenarios which has cyanogenmod defaults and i use that but in stweaks that option doesnt appear and it defaults to UI, is there any way i can use the cyanogenmod defaults because the stweaks UI settings makes the screen a little to sharp for my liking.

one more thing, whats is the default minimum screen brightness and default gamma setting for cm13, i would like to use that too
[Galaxy S II Android Development] Saber:
There is no cyanogenmod mdnie profile found on this kernel. Dori didn't like how blue it was so he removed it.

The default brightness and gamma settings should be the same as CM13. If not, you may need a little tweaking to what you prefer.

gsstudios
[Galaxy S II Android Development] Saber:
I just use the default profile without any other changes :)
[Galaxy S II Android Development] khal_nayak:
other issues im seeing is with the default settings, if screen is off, whatsapp messages dont come unless u turn on screen
[Galaxy S II Android Development] khal_nayak:
[MENTION=5811506]gsstudios[/MENTION]

well the whatsapp messages not coming with screen off was due to firewall tweaks (ICMP) enabled, isnt ICMP supposed to be left on or most social apps wont work on wifi because the AP or router will send an icmp and get no reply and probably think the phone is offline, i unticked it and then tried and now whatsapp messages deliver when screen off but other issue is the phone wont give a whatsapp notification tone of a message unless u turn on screen again.

battery status of screen on etc stats dont survive a reboot, is this due to android logger set to disabled?

seems
[Galaxy S II Android Development] wason92:
Wifi doesn't always work for me (cm13 nighties)

when it doesn't work this is the output of dmesg |grep -i wifi

<4>found wifi platform device bcmdhd_wlan
<4>wifi_platform_set_power = 1
<4>wifi_platform_bus_enumerate device present 1
<4>dhd_wifi_platform_load_sdio: sdio_register_driver timeout or error
<4>wifi_platform_set_power = 0
<4>wifi_platform_bus_enumerate device present 0
<4>found wifi platform device bcmdhd_wlan
<4>unregister wifi platform drivers

This error in logcat

WifiHW : Unable to unload driver module "dhd": No such file or directory
....
WifiStateMachine: Failed to load driver

[MENTION=5811506]gsstudios[/MENTION], Is this a kernel issue, can you think of anything i can do to get it working.

rebooting a few times sometimes makes it work for a while
[Galaxy S II Android Development] cherryb8844:
Please anyone share stweak setting i dont know how to OC or UV im still on cm13 nightly and dori uber
[MENTION=5811506]gsstudios[/MENTION] you said in your repartitioning guide for noob dorimanx kernel only wipe 2gb data do i need another kernel for wipe data when i install another rom with there stock kernel or is there any kernel wipe script so i can wipe the kernel .
[Galaxy S II Android Development] Saber:
DorimanX kernel can only format 2GB /data partition on included recovery. On Isorec TWRP or Isorec CWM, this limitation is resolved. This limitation is created on included recovery as it allows dual boot to work properly on Dori kernel. Without the limitation, the kernel is unable to restore 2nd ROM. You could flash a different kernel if you want, kernel wipe script shouldn't be necessary unless facing issues.

gsstudios
[Galaxy S II Android Development] Saber:
Does this still happen if you reflash the kernel?

It does appear that the wifi driver is the cause of the problem. Will be investigate later.

gsstudios
[Galaxy S II Android Development] cherryb8844:
Your work is really adorable

Thanks
[Galaxy S II Android Development] wason92:
It does happen when i reflash the kernel.
[Galaxy S II Android Development] khal_nayak:
I'm getting even more sods compared to the cm13 kernel so how do I uninstall this kernel, I tried flashing the latest cm13 nightly but that results in boot loop so I had to reflash this kernel to get the phone to boot.

Is there any kernel cleanup tool?
[Galaxy S II Android Development] wason92:
Flashing the cm zip should work

You could try flashing that kernel with heimdall, might work.

Do you get to rom booting or is it stuck before that
[Galaxy S II Android Development] khal_nayak:
It gets to rom booting and just as the desktop is about to come it goes back to rom booting animation again
[Galaxy S II Android Development] khal_nayak:
i tried to extract boot.img from cm13 rom and flash that but still no luck, it seems to loop in rom booting only and so far i cant figure out how to cleanup this kernel and no idea what it modified causing this loop, tried the latest cm13 nightly also but still same so its nothing to do with the rom but something that this kernel messed up.

any help will be deeply appreciated
[Galaxy S II Android Development] kal4metal:
[MENTION=5811506]gsstudios[/MENTION] I have a problem with the kernel. I try to install it with the latest cm13 nightly, and as soon as it says installing kernel, it hard reboots without installation. I tried using both twrp 3 and stock cm recovery. Can you please help? :(

EDIT: I just installed it and it works like a charm, using odin, after converting it in .tar format. But I'm still curious on why it didn't work using the recovery..?
[Galaxy S II Android Development] rubentkato77:
I'm on Mokee ROM, flashed kernel and got into bootloop.
[Galaxy S II Android Development] khal_nayak:
can some1 help me get rid of this kernel and return to cm13 default kernel because kernel wipe scripts also dont seem to fix issue and the only way to get the phone to boot and get to lock screen is install this kernel but if i do that im getting a hell lot of SODs, atleast on cm13 it was at most 1 SOD per day or so and most of the times no SOD at all
[Galaxy S II Android Development] IonutGherman:
Not compatible with Mokee. Mokee doesn't support custom kernels. Tried a lot of kernels and every time received bootloop
[Galaxy S II Android Development] Saber:
You might have to clean flash CM13 again.

gsstudios
[Galaxy S II Android Development] Saber:
Not too sure what could be the cause of this issue other than some corruption in the zip that you downloaded or something wrong with your recovery.

gsstudios
[Galaxy S II Android Development] khal_nayak:
well this would be the first time for me that a custom kernel has messed up the rom which wont boot, well if u know what the kernel modifies in the system i can get rid of that to let the cm13 kernel take over rather than have to format the whole and restore everything from scratch
[Galaxy S II Android Development] kosmasgr:
For me every time I dirty flash a new nightly of CM13 , need to flash also dorimanx kernel otherwise I have a bootloop. But it's OK , this kernel is better than stock cm13.

The only way to go back to cm13 stock kernel is to clean flash CM13 ( factory reset and wipe system ) ?
[Galaxy S II Android Development] khal_nayak:
some1 mentioned on cm13 thread that this kernel does something in /data partition which causes cm13 stock kernel to not be able to access it or something which could cause this, probably [MENTION=5811506]gsstudios[/MENTION] can elaborate on this

link to post http://xdaforums.com/showpost.php?p=67952696&postcount=5581
[Galaxy S II Android Development] khal_nayak:
[MENTION=5811506]gsstudios[/MENTION] can u tell me what do these tick boxes actually tweak or do:

- tcp ram tweaks

- cpu tweaks

- memory tweaks

- battery tweaks

- system tweaks

- kernel tweaks

- io tweaks
[Galaxy S II Android Development] Saber:
Have a look at my git:

https://github.com/gsstudios/initramfs3/blob/master-mm/sbin/ext/cortexbrain-tune.sh

gsstudios
[Galaxy S II Android Development] khal_nayak:
ok so it seems like if each individual setting is changed like for eg: zram settings, they dont apply unless even i/o tweaks is ticked, is there any page of code that shows the default levels of each of the things?
[Galaxy S II Android Development] khal_nayak:
i managed to get rid the excessive amounts of SODs i was getting, disabling power efficient work queues solved it, havent got any SODs in more than 24hrs, will test it further
[Galaxy S II Android Development] Saber:
Just letting you know that PE workqueues are re-enabled on screen off, but normal settings will be restored when screen on (part of cortexbrain feature).

gsstudios
[Galaxy S II Android Development] khal_nayak:
but i dont have all the tweaks enabled, just cpu and i/o and also reduced ZRAM to 150MB, so it can be any of these also that caused no SOD till now
[Galaxy S II Android Development] Saber:
PE workqueues cortexbrain function can't be switched off via tweaks toggles, you only change screen on PE workqueues setting. (It relies on cortexbrain background process).

gsstudios
[Galaxy S II Android Development] xn0live:
Which VErsion is really stable ?(KK)
[Galaxy S II Android Development] cherryb8844:
Im using v12 0b008 22/7 on cm13 4 july nightly linaero work like a charm
[Galaxy S II Android Development] Ham1do:
Whenever I want to go back to cm13 stock kernel I restore system and boot , no data restore
[Galaxy S II Android Development] Turbine1991:
I get a constant bootloop after a clean flash when used with the Official CM13, Unofficial CM13 greenlantern and AICP nightly - using both variants of the kernel.
[Galaxy S II Android Development] ssanjy:
I had faced same problem when I had directly flashed dorimanx along with ROM.... Later I clean flashed ROM and GApps.... Booted into ROM... Used it for a while and then flashed this kernel, wiped art and cache... And it's been fantastic... Using Markox unofficial cm13 build
[Galaxy S II Android Development] Turbine1991:
Thanks for that. I've just tried a dirty flashing without and with wiping the cache, with the same rom - unfortunately it remains stuck in a boot loop. I've used both F2FS and EXT4.
[Galaxy S II Android Development] khal_nayak:
but i have no backup because i have used many kernels earlier and usually flashing the rom zip replaces it but with this kernel u cant go back to cm13 this way
[Galaxy S II Android Development] Saber:
DorimanX 12.0 b010 has been released!

Here are the changes in this build:

[B]DorimanX 12.0 b010 (BETA)[/B]
- Reverted nr_requests to 64 to reduce RAM usage on I/O load
- Fixed md5 generation on nandroid backups
- Bring back relaxed LMK profiles to allow better selection between aggressive and non-aggressive RAM management
- UBER toolchain updated

This will be the new style for posting about updates on my kernel.

Happy Flashing! - gsstudios
[Galaxy S II Android Development] wason92:
Do you have any ideas about my wlan driver problem

I checked all the partitions incase that was a problem, they're all clean.

It's really strange.
[Galaxy S II Android Development] khal_nayak:
[MENTION=5811506]gsstudios[/MENTION] can we plz have a kernel cleanup script so we can move between this kernel and the official cm13 kernel to test things incase ppl didnt do a nandroid backup
[Galaxy S II Android Development] MikiGry:
[MENTION=309697]khal_nayak[/MENTION]

Do you have stock partitions layout or you are running on costom PIT ?
[Galaxy S II Android Development] khal_nayak:
No I have repartitioned to 1gb system and 4gb data
[Galaxy S II Android Development] MikiGry:
[MENTION=309697]khal_nayak[/MENTION]

Gry to come back to stock PIT and see if it will start working. I remember , that in some devices combined with costom PIT WI-FI with dorimanX was broken.
[Galaxy S II Android Development] khal_nayak:
I think your mistaken, I don't suffer wifi issues and in using cm13, the only issue is after flashing dori kernel there is no way to go back to cm13 kernel unless u restore from backup or do a clean install or it just boot loops when dirty flashing cm13 update ROM
[Galaxy S II Android Development] MikiGry:
[MENTION=309697]khal_nayak[/MENTION]

I mean , that in some devices + custom PIT + Dori = No WI-FI
[Galaxy S II Android Development] Saber:
Usually wifi problems are associated with modified partitions. Try using a different partition layout and see if it helps. If not, there could be a problem with the updated wifi driver, where reverting back to the old one would most likely fix this.

gsstudios
[Galaxy S II Android Development] wason92:
I'll try this... but how does changing the size of partitions make the driver not load?
[Galaxy S II Android Development] GreekDragon:
[MENTION=5811506]gsstudios[/MENTION] , my friend flashed the build v0010 and when he attempt to play a song which he transferred from the computer,it can't play it. The only solution is to transfer the specific file to another location.

Can anyone confirm it?
[Galaxy S II Android Development] Saber:
This does happen sometimes with modified partitions. It isn't the main cause of this issue, usually a problem with updated drivers (if this didn't occur on older drivers). Maybe provide dmesg so I can try debugging the issue.

gsstudios
[Galaxy S II Android Development] Saber:
Can't play it meaning that they can't see it in music app? If so, try forcing MTP mode for USB transfers and see if it helps. Dual mount may require media scanner to check sd cards again for any changes, a reboot should usually fix this.

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

CRON is broken?? Or it's only me
[Galaxy S II Android Development] wason92:
posted dmesg a few days ago.

<4>found wifi platform device bcmdhd_wlan
<4>wifi_platform_set_power = 1
<4>wifi_platform_bus_enumerate device present 1
<4>dhd_wifi_platform_load_sdio: sdio_register_driver timeout or error
<4>wifi_platform_set_power = 0
<4>wifi_platform_bus_enumerate device present 0
<4>found wifi platform device bcmdhd_wlan
<4>unregister wifi platform drivers

anyway, I flashed stock package and stock pit with odin.

flashed the kernel, radio and cm13, wifi worked.

resized partitions to what they were before with repit. Wifi still works. So thanks.

Do you have any idea why different partition layouts cause problems?
[Galaxy S II Android Development] ssanjy:
[MENTION=5811506]gsstudios[/MENTION]....I'd been using v007 in Markox CM13 20160703 build when I saw a new update of 07/31....So I dirty flashed wiping cache and art and after all apps optimized I got into the lock screen...But I could not register my pattern to unlock the device....Also the device was very very laggy.....Nothing to work on.....I had similar experience in BeanStalk ROM as well... So, what I did was flashed your latest build and rebooted after wipe...Now the phone is fully functional as it was before.....What I'm trying to report is that I could not use the default kernel of the ROM I flashed....I remember that to use the default kernel I had to wipe data as well which is tiring.....Is it just me or others are facing the issue too....

Thanks...
[Galaxy S II Android Development] :
This has been reported. Something in the kernel flash must be changing /data somewhere. The only options(atm) are to clean flash or use a recovery backup to go back to stock kernel
[Galaxy S II Android Development] IonutGherman:
I have repartitioned my device with Lanchon's script to 768 mb system and 5gb data and wifi was fully functional with DorimanX kernel. The problem was that the kernel is very laggy and causing a lot of SOD's. I remember that I wanted to revert back to CM13 kernel but I couldn't. I tried to reformat the system partition and without success. I was thinking that is something in data partition so I wiped it. After clean flash all was good. You need to look at this kernel, gsstudios, to see what is the problem. In another words, the kernel is fantastic, I like it...but lagging every time...not the best option. This was my opinion. Hope it will get solved. :)
[Galaxy S II Android Development] Saber:
We will see LMK and RAM management improvements in the next build. I'm testing the latest changes right now and it seems to work better under heavy RAM load (adaptive LMK on with some settings ported from Dori G2 kernel). An improvement, but still things need to be worked on.

gsstudios
[Galaxy S II Android Development] Saber:
I have updated the OP and downloads post with the two major bugs currently experienced by users.

I have created github issue pages if you want to track the progress on the fixes:

Resurrection Remix MM ROM bootloops if cache partition is wiped

Users can not dirty flash CM13 ROM to restore stock kernel

gsstudios
[Galaxy S II Android Development] khal_nayak:
i noticed one issue, when im using wifi its all fine and if i goto battery page and look at the graph it shows wifi bar meaning wifi was on but suppose i switch off wifi and leave the phone to screen off in deep sleep and come back after a few hours and then again check battery stats it says wifi was on even though it was off during those hours, this happens if u switch wifi on/off from notification tray but i use another app which turns wifi off when not connected to any AP and when that turns it off then battery stats say wifi was off for that many hours unless i turn it on again