yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Saber:
Downloads

--STOP!!! IMPORTANT, PLEASE READ--

It is important that you make a backup before flashing this kernel. If you want to restore the original kernel found in your ROM, you need to restore from a backup or clean flash your ROM.

MAKE SURE YOU'RE DOWNLOADING THE RIGHT KERNEL. OTHERWISE YOU COULD BRICK YOUR DEVICE!

For TRIM users:

To use TRIM, you can download an app on the app store called trimmer or use terminal commands as directed in the troubleshooting guide.

Isorec (Isolated Recovery)

Starting from build b022, I have introduced isorec into DorimanX kernel. You can use either TWRP or CWM. It is important to note that the default CWM recovery has kernel specific options within the menus, so if you require to use them, be sure to flash the isorec disabler.

Download for isorec recoveries:

https://www.androidfilehost.com/?w=files&flid=47550

If you have a dualboot setup or if you want to set up dualboot, you should stay on StanTRC recovery. If you want to return to StanTRC recovery, flash the isorec disabler:

https://www.androidfilehost.com/?fid=24369303960682947

Forgot to download backup/older kernel/isorec disabler after flashing TWRP?

Go to download mode and flash a kernel .tar file OR wait until OS boots and copy required files to your phone

Which build should I use?

Linaro 4.9: Use this build for best stability. Battery life is better than UBER 6.1 and is the smoothest. Most users should use these builds.

UBER 6.1: Use this build for best performance. UBER 6.1 contains bleeding edge optimizations that may not be fully reliable yet, so this toolchain is better suited for advanced users.

Go with the build that is the best for you. You are the one that is making the changes so you are responsible for choosing what experience you want with the kernel! If you are still not sure which build to choose, use the Linaro 4.9 build first.

Main download link:

https://www.androidfilehost.com/?w=files&flid=43490

Mirror download link:

https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel/releases

​

Beta builds and stable builds will only be uploaded on AFH and github.

In order to tweak the kernel properly, you need to install stweaks from the play store, or from the apk linked here, or from the XDA downloads page, or from the apk in the attachments below:
[Galaxy S II Android Development] haris1976:
let me try your kernel, btw where is download link ? :D
[Galaxy S II Android Development] Saber:
I'm still building it right now. Will upload soon, will have my features from my personal builds on top of lysergic acids fixes.
[Galaxy S II Android Development] Saber:
First build up. Can't test since I'm on kitkat rom right now. Will update to LP when I have the chance to.
[Galaxy S II Android Development] Noctis Lucis Caelum:
Ah man...... Here It is, great can you make a non trim version, pretty plsí*½í¸Š
[Galaxy S II Android Development] Saber:
I'm not on my PC right now. Probably will upload new build tomorrow (running out of space in my build machine). Would be great if someone reports the issues they encounter and what's working.
[Galaxy S II Android Development] ssanjy:
Great to see a dedicated thread for Dorimanx Kernel for S2's lollipop support.....Subscribed and will be testing whenever I get time....Great job man....Good luck....
[Galaxy S II Android Development] kostelo:
I tried it so far both on SlimLP and Omni and failed to boot on both. :( Bootloop on SlimLP and stuck on boot on Omni. Gonna keep on testing though.

Edit: Managed to boot on CM12.1 finally. Let's see how it goes.
[Galaxy S II Android Development] Saber:
Only cm12.1 ramdisk was merged. I'm working with lysergic acid and hopefully warrior to get it working on more roms.
[Galaxy S II Android Development] Troubadour666:
little report about dualboot

Hi all, i quoted myself and about what i have done.

maybe that can help for more test, i found one rom that dualbooted, didnt test another for now.

And , i forgot to add yesterday that sdcard (int card) wasnt mounted when i ran 2nd LP rom.

thanks.
[Galaxy S II Android Development] haris1976:
[MENTION=4775725]Troubadour666[/MENTION] can u give me link ROM from PAC_I9100_LP-mr1
[Galaxy S II Android Development] GreekDragon:
http://www.darksideteam.com/threads/2010-5-0-2-UNOFFICIAL-SABERMOD-PAC-MAN-ROM-5-0-la-ROM-definitiva

No idea which language it is.
[Galaxy S II Android Development] Facuu:
Dori for LP on S2, didn't see that coming, but will test asap with Slimsaber LP, and check if it works. Pedestre stopped apolo development and gustavo's kernel is also kinda dead so it's the only one left.

Don't drop it please!
[Galaxy S II Android Development] Noctis Lucis Caelum:
It won't boot on Slimsaber LP at the moment, only CM12.1 based ROM, ramdisk incompatibility.

Edit : Apolo 8 beta 9 Omni boots slimsaber fine by the way, sorry didn't mean to speak of another kernel here.
[Galaxy S II Android Development] 089man:
Sorry for stupid question... Is this twrp based?

Or is that complete other?

Works for AOSP roms, right?

I9100 Tapatalk, DU AOSP 5.1.1 Lollipop
[Galaxy S II Android Development] Noctis Lucis Caelum:
CWM 6.0.4.8

CM12.1 roms (RR,bliss....)
[Galaxy S II Android Development] Shanliang-:
It's indeed for AOSP ROMs It's CWM based. I'm currently using it with CM12.1 by [MENTION=6159291]Lysergic Acid[/MENTION].

EDIT: Oops, you beat me to it, [MENTION=6273571]NoctisBlade[/MENTION]. Perhaps what I can add is that so far I've been having great stability and battery life.
[Galaxy S II Android Development] Zile995:
I don't know, because phones/chips are different.

I would set like this:

160mhz - 900mV

200mhz - 950mV

267mhz - 1000mV

330mhz - 1100mV

400mhz - 1150mV
[Galaxy S II Android Development] spanitzer:
Is 55° okay for 1.3GHz?

I set 1.3GHz for CPU and 330MHz in the last step for GPU. But my s2 is not faster and i have only 18k in Antutu. With CM12.1 And Stock kernel i have 18k too.

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] kai1313:
to get great performance (especially if you wanna get great benchmark score) its not only depend on OC the cpu and gpu, but also governor, i/o scheduler, etc

try to get performanced based combination with this references

http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957

http://xdaforums.com/galaxy-s2/general/guide-how-to-dorimanx-kernel-pimp-t3087723/
[Galaxy S II Android Development] Nick_Knight:
Here, at your own risk.

The built-in CPU, GPU and chipsets are slightly different around the world.

https://drive.google.com/file/d/0B7qXwKJDbimyOVhYTnpUN0lybUk/view?usp=docslist_api
[Galaxy S II Android Development] DualJoe:
Does BLN/BLNWW work for anyone? The 'Test BLN' function works but in apps like Xabber the LEDs don't light up. It worked properly in KK kernel. My rom is CM12.1 nightly.

Anyone tested Xposed with this kernel yet?
[Galaxy S II Android Development] iistoryahi:
Is this work on CM12.1 I9100 Official Nightly ?
[Galaxy S II Android Development] Zile995:
Yes, works on CM12.1 nightly ;)

---------- Post added at 11:37 AM ---------- Previous post was at 11:35 AM ----------

No, BLN doesn't work, but it will be fixed, I'm sure. :)
[Galaxy S II Android Development] Nick_Knight:
It works with my preferred modules.
[Galaxy S II Android Development] Lister Of Smeg:
Hi [MENTION=5811506]gsstudios[/MENTION] / All,

Couldnt see it in the op, but does this kernel support dual booting (as in older kernels?). If so, what does it dual boot....? 2x different LP's? Or can you mix/match different Android OS's, such as KK ?

Cheers, Lister
[Galaxy S II Android Development] ssanjy:
Post#4 Troubleshooting by OP
[Galaxy S II Android Development] spanitzer:
The best settings for performance and great battery?

I'm testing 1.4GHz CPU and 400MHz GPU (1150mv) with HYPER and deadline. IO 512KB.

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] Zile995:
Try PegasusQ/ZEN :)

There are only performance profiles ,balanced profiles and more battery friendly profiles.

Performance and battery? Hm, no.
[Galaxy S II Android Development] kai1313:
if we use this kernel will it still can update by OTA for official cm 12.1 nightly?

is this step correct?

1. odin

2. untick all in the option column(autoreboot, repartition, etc)

3. Choose pda and pick kernel.tar (apollo, dori, or philz)

4. start till finishing the process

5. unplug the phone then go to recovery to flash dori latest kernel from here

if we messed up with something how can we revert to our latest rom? because i didnt see backup option on cm recovery
[Galaxy S II Android Development] Nick_Knight:
If you use a custom kernel, you have to flash the ROM in recovery and flash the kernel directly afterwards. If you make an OTA update you lose the custom kernel. In CM recovery you have to flash an signed kernel, Odin isn't needed.

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

I can't change vfs_cache_pressure.

Permission is set to 444 and can't change it to 644 to give it write permission.

I saw in the older unofficial Dori thread That there is a commit to lock it.

So can you please change it in your build ?
[Galaxy S II Android Development] Saber:
Could you please provide a link to that post?

gsstudios
[Galaxy S II Android Development] iistoryahi:
Where can i get the download link ??
[Galaxy S II Android Development] GreekDragon:
You dont look the first page? Where it is? oh wait. is on post #3.

http://xdaforums.com/showpost.php?p=61597811&postcount=3
[Galaxy S II Android Development] iistoryahi:
I already install the Kernel_Dorimanx-V11.0b003-[10-08]-[09-07]-LP-SGII-UBER-NON-TRIM.zip but im getting on samsung logo :(
[Galaxy S II Android Development] GreekDragon:
Which rom? Only works with cm12.1 based roms and not other roms (Doesn't work with Slimsaber, SlimLP, Omni, Paranoid Android yet)
[Galaxy S II Android Development] iistoryahi:
I'm on CM Official Nightly 07/16/15
[Galaxy S II Android Development] ajrajr155:
http://xdaforums.com/showthread.php?p=47565796
[Galaxy S II Android Development] Saber:
I'll see what I can do in the next build.

Edit: [MENTION=6128498]ajrajr155[/MENTION], I don't think it is a good idea to change it back to 644. Are there any dangers of changing it back?

P.S. I switched back to kitkat to work on updating the wifi drivers and because of the bugs found on lollipop roms.
[Galaxy S II Android Development] ajrajr155:
I don't think there is any danger to give it write permission (I can tweak vfs in stock cm kernel with kernel auditor without any problem)
[Galaxy S II Android Development] kai1313:
but this dori kernel isnt signed isnt? so we need to use odin like the tutorial at OP

or the latest dori is already signed so we can flash with cm revovery directly?
[Galaxy S II Android Development] Saber:
I've only signed the latest build so far. So you can flash latest build with CM recovery. Will sign all future builds as I said in a previous post.
[Galaxy S II Android Development] keepasa:
Hi. I know we're still in beta mode but perhaps these test results can help somewhat in the development stages.

RR v5.5.0 Jul-7 with DorimanX 11.0b4:

I find more stable than stock kernel. It may rarely lag after 1-2 days but at least no freezes in 3 days.

RR v5.5.1 Jul-14 with DorimanX 11.0b4:

not stable. almost constant reboot and wifi not working. In this case, better with stock.

Both combinations above have been flashed after a full wipe. Currently I'm on RR 5.5.0 with dori 11.0b3 since most stable combination for me.
[Galaxy S II Android Development] Saber:
This was said in the kitkat thread.
[Galaxy S II Android Development] _Atom_:
I saw some Muslim and non Muslim friends here and I would like to wish them Happy Ramzan "Eid Mubarak to u , ur family and ur friends"

:D:D:thumbup::thumbup:

happy flashing..thanks
[Galaxy S II Android Development] Saber:
Build B005 released. I've switched toolchain to UBER 4.9 for better smoothness and battery life. Wifi drivers have been updated, you can change vfs cache pressure now and stweaks IO read-ahead values have been reverted.

Please note that I haven't had a chance to test build b005 on my device since I was working on these improvements on the kitkat kernel, and hence I needed to be on a kitkat ROM.

gsstudios.
[Galaxy S II Android Development] arnab:
Plz use linaro 4.9.3 with a9 and vfp3 optimizations,,,iam getting more performance with this toolchain.
[Galaxy S II Android Development] Saber:
What about linaro 4.9.4? I guess not much is different between 4.9.3 and 4.9.4.
[Galaxy S II Android Development] arnab:
I didnt test with 4.9.4 as it was released just 2 days prior...it will also be as nice as the previous one ..not much difference tho...for now I will stick with 4.9.3 for a few days as its tested by many to be bugfree....i had a few performance gains tho with 4.9.3...the best thing about linaro 4.9.3 onwards is that u can use the arm-eabi- prefix...it symlinks with the respective armgnueabihf-(hf for hard float)...so we no longer need to pain stakingly set armgnueabihf- prefix parameters in the build...just use plain arm-eabi- which has symlinks to the respective one.
[Galaxy S II Android Development] Saber:
Next build will have Linaro 4.9.4 rather than UBER 4.9. If there is a difference, I will keep using Linaro instead. If not, I'll stick with UBER.
[Galaxy S II Android Development] ddnngg:
WiFi problem

Hi!

1. GREAT JOB!! NICE TO HAVE MY S2 BACK TO LIVE!

2. Today after updating new kernel (BETA5) I notice that my phone don't remember WiFi passwords. I have to enter settings and connect each restart. I'm on RR (2015-07-17 build). On BETA4 evrything was fine.

HAve a good day :)
[Galaxy S II Android Development] kai1313:
i got this thing too, but others seem work fine

Sent from my GT-I9100
[Galaxy S II Android Development] kulitom:
I don't have this problem with this rom and this kernel (Trim version). Maybe because i always flashed rom and kernel with full wipe and format system.
[Galaxy S II Android Development] chcknsld:
Any FC on launchers?
[Galaxy S II Android Development] kai1313:
only once for this 2 days for me, and it because im forcing to open too much apps without closing it properly 1st

so far so good with official CM, more fluids, fast, smooth

Sent from my GT-I9100
[Galaxy S II Android Development] sourly64:
Iam use the new update non trim in RR 5.51 and have also the wifi bug .Also i think the performance is a little bit slower than with stock kernel.

What are the best settings in Stweaks ? I change only the charging from usb ;)

Even I test performance in game Real Racing 3 ,but game is not playable it stucks and lags much :eek: have to end with homebutton

and need long time thats phone come back.

With stock kernel run normal with good performance,only proxmity sensor works after a few moment not really good (lost control the car)
[Galaxy S II Android Development] Tacio:
@gsstudios, do you have any plan to add slim rom support?
[Galaxy S II Android Development] Noctis Lucis Caelum:
I think he will do.

As long as he can get slim ramdisk, any developer out there who can help him would really help the community.
[Galaxy S II Android Development] Nick_Knight:
I was asking some post for. He need the ramdisk from [MENTION=5419355]warrior1208[/MENTION]

I don't know where is the problem. First I'm thinking [MENTION=5811506]gsstudios[/MENTION] have no time (exams) , now he build forward.....

The next money I have over, [MENTION=5811506]gsstudios[/MENTION] I spent a donation to you.
[Galaxy S II Android Development] j1gga84:
[MENTION=5811506]gsstudios[/MENTION]

where is ramdisk located?

I have latest SlimSaber and SlimLP on my PC and could upload ramdisk (here or to my dropbox) if you can tell me where I find it.

EDIT:

All I found out is that it is inside of the boot.img, so both files in attachment, hope this helps

regards
[Galaxy S II Android Development] Saber:
Ramdisk is compiled when a ROM developer builds their ROM. I already have the SlimLP ramdisk, thanks anyway. Now I just need to figure out how to get it working.

Since you post in this thread, how is the wifi on KK? Is it facing the same issues on LP (wifi passwords lost)?

gsstudios.
[Galaxy S II Android Development] Saber:
Yes, I will add slimLP and slimsaber support. I just don't have to time and hours to spend debugging after merging the ramdisk.

gsstudios.
[Galaxy S II Android Development] j1gga84:
Can't say anything about LP yet because I am still on SlimSaber 4.4.4, here everything is fine with wifi, many thanks for your work for this "old lady" ;)

I think I will update to LP during this week (CM12.1 first and if SlimLP gets better I will switch to SlimLP or SlimSaber) and switch to Dorimanx for LP then :good:

regards
[Galaxy S II Android Development] arnab:
The problem...we need different ramdisk is coz init_slim.rc....init_cm.rc...init_du.rc.. a sub routine that gets initiated from init.rc...if the sub init doesnt get activated...it bootloops...thats the main reason we need different ramdisks mainly of the three major base roms ie...slim...cm & omni.
[Galaxy S II Android Development] Noctis Lucis Caelum:
Yeah I hear you, which is why I feel like any input from any other developers would be welcome.
[Galaxy S II Android Development] Misiantowski:
For me all versions of kernel aren't stable on latest Resurrection Remix Rom. Many random freezes, very laggy, UI and other apps FC.
[Galaxy S II Android Development] jony ramsay:
same issue on my s2, and its really sad cuz with other kernels battery doesnt chargue if im ussing the phone, with this kernel the phone charges normaly as on a stock jb rom but its really laggy and freezes too, that´s the reason im stuck on jb :( as much as i love lollipop. anyway i really appreciate your effort (devs) and im grateful of your work :)
[Galaxy S II Android Development] DroidNforcer:
Everything good for me with kernel v05. Wifi work well and apears to have better reception with last driver update. Ad-hoc are now showing with cm12.1 nightly and even got to show connecting with static ip.

Run pretty smooth to me and I'm on stweak extreme batery profile with bfq io, UV tweaking plus minimal gpu clocks and -15 screen gamma, battery behaves well like on kk kernel wich works good too.

I come and go between kk and lp as lp with PIE limitation won't let me run iwconfig on terminal nor bcmon wich I use to handle ad-hocs.

Enviado desde mi SM-T210R mediante Tapatalk
[Galaxy S II Android Development] maniknarang:
http://d-h.st/tdjw

Ramdisk for latest SlimLP build.

Regards. :)
[Galaxy S II Android Development] kai1313:
today after a lags and then self reboot when opening apps(clash of clans), i got some trebuchet(im using cm12.1 nightly) fc using latest dori kernel v11 b005 trim

now im trying reflashing it and hope that wont happen again

===-===

after reflashing the same kernel, i got soft reboot after 1st boot, and when i open stweaks, my setting still the same as before except cpu tuning awake gov has changed to conservative which is the gov from my last profile was ondemmand

is it normal?
[Galaxy S II Android Development] Noctis Lucis Caelum:
Reseting Stweaks profile when reflashing the kernel is always recommended.

About your fc, I would say just maybe using a nightly build on beta kernel build, somewhere errors are bound to happen.....
[Galaxy S II Android Development] kai1313:
:good:

after using kernelwipe from hawkerpaul and reflashing the kernel again, the soft reboot at 1st boot didnt appear

i hope it will following with no launcher fc or random lags and self reboot
[Galaxy S II Android Development] Skorvy:
Can you please tell how goin after test with kernel?
[Galaxy S II Android Development] kai1313:
its still early to tell how its going, but so far the problem before still havent appear. the performance still the same as before fluid and smooth, battery still on charge so i cant tell for now but i never got wicked battery draining with dori LP and the rom that i used so far, trim worked

let see again tomorrow will the problem reappear or not or maybe i got some new problems
[Galaxy S II Android Development] Saber:
Auto Q&A thread is up now. Please leave all discussion about battery life, governors, performance and other non-development related stuff in the q&a thread.

Gsstudios.
[Galaxy S II Android Development] Saber:
Ext4 users please read this post:
[Galaxy S II Android Development] DroidNforcer:
Here is a logcat about zipaligning and fix permissions con RR-lp 5.5.0 ROM and v5 kernel.

This time wiping cache/dalvick didn't restore the apps back.

Fix permissions log is empty.

[MENTION=5811506]gsstudios[/MENTION] I'll be posting some more logs.

I press the kernel-bug button before and after. I hope is the right way.
[Galaxy S II Android Development] DroidNforcer:
The recovery logs are about trying to format and mount ext4 partitions.

For the kernel log I just pushed the kernel-bug button after system boot up.

All is for Ext-SD as with internal could not get the logs cos the tools only write logs to internal sd.

To get those logs changes to recovery and Stweak logging fuctions would have be made in order to allow to write them to ext-sd.

Regards.
[Galaxy S II Android Development] Nick_Knight:
[MENTION=5811506]gsstudios[/MENTION]

Small donation : Transaktionscode:*45X04538482304243
[Galaxy S II Android Development] Saber:
Thanks, I've received your donation earlier today.
[Galaxy S II Android Development] Malhavoc Blackdrake:
About the ext4 issue.. I could survive not mounting (or reformatting) my external SD (ext4 at the moment), but according to DiskInfo, my System and Data partitions are in ext4 too.. is this a problem?

BTW, since I'd like my external SD card to support files bigger than 4 GB, which file system should I opt for?
[Galaxy S II Android Development] Nick_Knight:
My girlfriend is still on KK v10.45v021 and the Micro-SD is ntfs formated without any issues.
[Galaxy S II Android Development] Saber:
Ext4 issue doesn't apply with system, data partitions. It only applies to internal and external storage. By default, system and data are formatted as ext4, this is the recommended file system. However for internal or external, you shouldn't format it as ext4 due to compatibility problems.
[Galaxy S II Android Development] DroidNforcer:
In my case, the ntfs partition works well on system but fails to mount on recovery. Be carefull if you need to do some flashing from ext-sd on that case.

These logs try to be about connecting to ibss wifi.

Sometimes after failling connecting to ad-hoc, in order to connect to normal ap, I have to turn off and on again.

Note, in RR-lp wifi is draining battery like crazy when on, I don't quite remember if this happend on cm.

More testing is in order :)

Regards.
[Galaxy S II Android Development] Nick_Knight:
You're right, in recovery it's only usb mount in function. She have a 128 gb Micro-SD inside to record HD video. It's the only thing for a file system without regression read/write of all PC system's. For backup/restore in recovery, we have some old smaller one vfat formated.
[Galaxy S II Android Development] DroidNforcer:
More WiFi Logs

This time I got it to show connecting on an Ad-hoc acting as AP due a bug on a VirtualBox win 7 installation.

That should not has happened but did!

Of course the results were the same, it fails.

But its a clue that android doesn't connect only when the signal is advertising its ibss but for something else.

Maybe the frame packets are diferent and that alert android to not connect...

Ps: The wifi battery draining is normal now. Maybe that was for lack of battery calibration as I use two batteries cose my usb port is broken since some time now.

Ps2: The "Android Logger" option on the "Others" tag of STweaks was always unticked. I hope it doesn't afect this kind of logs.
[Galaxy S II Android Development] deepflash:
I also have huge battery drain

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] Noctis Lucis Caelum:
Looks good, i switched to CM for a while now and couldn't be happier.

playing around with darkness and the hot plugin setting.........