yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] Nicklas Van Dam:
You can change with boot kernel cmdline with that parameter, but you can't do on this kernel. You need to revert commit for set as permissive, because I'm set it on kernel not boot.img .

So you'll need to change it on kernel source and recompile again if you need, I can't make on boot parameter. That need to build up with boot.img, and more way to finish it.

So I choose to make it permanently, if you need enforcing then I'll make one for you when new build is release
[Sony Xperia M] stalkerMPro:
Permanently Enforce mode? Thanks, but no)

Cant i change it for already booted selinux? Of course till reboot.
[Sony Xperia M] Nicklas Van Dam:
Yes, you can after I set it enforce on kernel.
[Sony Xperia M] Nicklas Van Dam:
New update for mimori kernel is released, Introduce IMAGINE codename for update key ;). For this time, mimori included upstream patch of linux 3.4.y to upgrade linux kernel nicki 3.4.0 -> 3.4.113. Thanks to [MENTION=6247971]jpzex[/MENTION] to give a patch file about upstream file, and on this update is included much of optimization and improvement on kernel performance.

Include new cpu governor (blu active, new i/o sched governor (maple), update intelli plug to v4.0, other misc toggle features and now it's work with hard floating point with full support neon-vfpv4 that will improve rendering performance when play a game or in daily use ;).

In this build, i'm disable USB Fastcharge. that not really useful i think when charge over usb, it's still use stock voltage and not increase any power for charging. so i disable it for now, other feature is fluid performance from cpu management after several patch on it. It's quite stable update to use for daily usage.

It's shipped with enforcing now :)

Have try !

Download link is on download tab, and sorry for long time update. i'm busy with real life, and i'm still need a test after build to prevent any bug happen after release :laugh:

(specially for Blu Active and Maple I/O Sched is thanks to [MENTION=7970097]sudokamikaze[/MENTION] for him workaround to make it work for linux 3.4.x based kernel)
[Sony Xperia M] AyamPushUp:
Hi dev, been using this kernel since last "HANA" build, can't say no more, it flawless, but I just need one more feature, can we get KCAL support?

Thx dev :)
[Sony Xperia M] petjacz:
Please what's KCAL? Thx
[Sony Xperia M] sudokamikaze:
That's nice about Maple, but can you stop kanging my works? I seen, you have MY workaround for maple, but you didn't add to credits and even closed your pm's

Also, stop redo my and [MENTION=5091819]spezi77[/MENTION] changes, ok?
[Sony Xperia M] Nicklas Van Dam:
I know about that case, sorry for that case. I know this is totally my false, but this is because I don't know with what I must add your signature name in github commit or event in XDA thread. You never include your email or event github ID in your github commit, I can't only use your name because that's not identical identity and can be duplicate with much of same name.

I know this from hard of your work and [MENTION=5091819]spezi77[/MENTION] work, for maple because that's workaround to work for Linux 3.4.x kernel. You can treat me on this case, because I'm totally false and I know it. But that's from I don't know how can I include your work without any identical identity like ID or email address.

So please think about it, I'm not people that always steal anyone work without permission. But on this case I don't know what should I do, if you tell or give clear explanation about your identity then I can include your name.

And I'm never said this is totally my work, some part of it is based on cherry-pick and adapt to this kernel.

I'm already send you a PM, and i think you should already read it. I know you already angry because I'm late in answer.

I can add credit for you and [MENTION=5091819]spezi77[/MENTION] on that changelog and github commit if you want it, but if you not want it then I can redo or remove that feature from my kernel because my false to steal your work without any permissions.

I'll responsible with what I did, I won't run.
[Sony Xperia M] sudokamikaze:
As you can see i said "redo", if you had our commits like cherry-pick's i didn't blame you but you added it by yourself and commited with your credits.
[Sony Xperia M] Nicklas Van Dam:
For your work [MENTION=7970097]sudokamikaze[/MENTION] that I'm steal from your kernel is :

1. Maple I/O Sched

2. BioShock CPU Governor

Okay, only both of that. I can removed it if you want, just remind I won't run on this case and I'll tell to all of my friend to ask about credit only if want to use one of your work. Except that not.
[Sony Xperia M] Nicklas Van Dam:
I'm forget to cherry pick because it's to big for fecthing one source of your kernel, so if you want to remove then I can remove following features that I said on before thread.

I know, I must cherry pick but I can't do that because you're did much patch and much of that is incompatibel with my Nicki code. So I must squash and make manual patch to apply it to my Nicki after adapt it.

Okay, I'll remove it in following update if you're not allowed me to add it in this kernel if I'm want to add your credit on thread.

You're not blame, but you create direct commit here and that's act direct blame for me. That's why I direct to reply with that answer, in 4 years I'm learn on this community only on this time I get this case. It's because I'm steal or copy someone work without permissions.

This is my second record with copyright case, it's so killed.

I won't run until this problem finish.

Thanks for your response
[Sony Xperia M] Nicklas Van Dam:
During some of change reported as stealing in github commit (without mention name in squashed commit) work from [MENTION=7970097]sudokamikaze[/MENTION] , then for next release I'll remove some features that already implemented on this kernel.

1. Maple I/O Sched

2. BioShock CPU Governor

This is totally my false because use commit without asking permission on kernel source.

But I'll still think twice again about it, is steal or use people work on github source is illegal although I'm only miss add signature name????

This is unpredictable.
[Sony Xperia M] infus38:
hey :) , hummm github , a space where you can share what you want , also you can found help on ,thus project can go more faster and reach purpose . So illegal you say ? no it's not illegal

github is make for work if people can't enderstand that just leav ,no need always see name on work .You can just work and people can enderstand by people who do that

thus what is the problem ? [MENTION=5608002]Nicklas Van Dam[/MENTION] has nothing steal, he has use to understand . so no need to remove that ,i think [MENTION=7970097]sudokamikaze[/MENTION] that not like that github

so i think you can forget and keep in your brain you have help somebody . People don't care about your name (just big dev can say what you say about name in work ) if it's show on this kernel work .So just work and if people use your work be hapy
[Sony Xperia M] sudokamikaze:
I asked politely before that. To simply add to credits or to special thanks, but you just igrnored me.

About cherry-pick's, i simply fetch(yeah 500mb of hdd space) when i get some errors during cherry-pick or git am's i've simply fixing them, addind and commiting, original authorship present and no problems. Why i'm writing this msg's ?' I didn't liked this because you ignored me..

Also my kernel work's based on my friend's sources, i didn't know them before i started to work on their kernels, and now i'm team member. Because i just asked lol, you can remove it or not remove, you decide.

But you just added my commits, with your authorship and ignored my request's then warnings
[Sony Xperia M] Nicklas Van Dam:
I'm not ignoring your request, it's just I can't re-post same github change. I can add it on github comment or in XDA change log, if I'm ignore you then why I should reply your answer on this thread. Have you ever think about it?

I've busy day in college in that week when you reply my message, so I can't answer it directly. If this depend on my decide then I'll hold it and and your name on change log as credit author name to who is make it for that change, how's your think? Is that fine?

And for work in a team, I think almost everyone can work or ever work in a team. I'm work in a team too with this development, and other kernel based development. I'm not only work at this device, so you can't just include reason I'm in a team and you must blame me like this. I know this is my false, and if this teamwork then team will so angry about stealing. I know that feel, because I've same case in a other thread.

My question, if I'll hold it and and your name on change log as credit author name to who is make it for that change, how's your think? Is that fine?

Thanks for your response
[Sony Xperia M] Nicklas Van Dam:
[MENTION=7970097]sudokamikaze[/MENTION] and as long as you know, you're message isn't receive or add in my pm box message. It's automatically send it to my primary email, so I only check it when I'm open email. I'm not always check email in everyday, maybe only once in a day. So that's can be reason why I'm late in reply, but I know you're send it to me. Because that I'm reply your email back, but can please to be wait for little longer for me?

I just need a time to do it if you want, every want have their busy day and busy week. So I think you're already understand about when busy time is killing you in real life.
[Sony Xperia M] sudokamikaze:
I asked you 2weeks or maybe more ago, then i writed another email, then another, every week, then i created comment here. Simply add me to credits and done. I asked firstfully about that. Then you started to redo commits and i didn't liked it, as i say above
[Sony Xperia M] Nicklas Van Dam:
Okay, I'll add your credit as like your wish on github comment and XDA change log. But I'm just want to tell it, last of 3 weeks ago I was very busy with my college work and some final project that's why I can't answer any reply directly. I think you're know and understand about that situation but you're not, so I'm just left it until I've free time.

You want a credit? Okay, you'll got it in every commit that I blamed as stealing from your commit and hard work.

Thanks for your response
[Sony Xperia M] Nicklas Van Dam:
[MENTION=7970097]sudokamikaze[/MENTION] , okay sir I'm already add your name as credit in all of commit that I'm blamed as stealing your copyright and hard work. Is this fine now? Should I add it in other thread?

////NULL////
[Sony Xperia M] sudokamikaze:
Thanks a lot, i mean XDA thread, you have "Thanks to:" comlumn. I asked firstfuly about that

And thanks for the understating, I'm glad that everything was resolved
[Sony Xperia M] Nicklas Van Dam:
Okay, this is a great news this problem can solved with a great ending ;).

Thanks for your confirmation sir :)
[Sony Xperia M] spezi77:
New to XDA and deving?

Please read this before using the work of others:

Sharing Policy on XDA-Developers

Have a nice day!

;)
[Sony Xperia M] Nicklas Van Dam:
No sir, i'm not a new member here. I'm just forget to add something that really critical ;), Thanks for your suggestion :good:
[Sony Xperia M] petjacz:
2 Nicklas Van Dam: Hi, today morning I installed Mimori imagine kernel on my RR 5.8.4.

Looks gr8! :) Thx 4 it!

I hope it will be stable and considerate to my batery ;)
[Sony Xperia M] petjacz:
Mimori Kernel vs. USB-OTG

Hi, tried someone support for USB-OTG on Mimori IMAGINE Kernel :confused:

Each time flash disk is inserted I get phone reboot :crying:

USB-OTG worked well in RR 5.8.4

EDIT:

Each time I reboot my dual sim phone, the second card can not be used for calling until I switch airplane mode. Call receiving is working fine.

Anyone has the same experience?
[Sony Xperia M] Nicklas Van Dam:
For OTG, it's good on Lineage . I'm using lineage now, no problem. Maybe I'll try to looking at for RR, anyway for dual sim problem I don't know about that. Maybe it need a test, because I'm single sim user.

I'll make a new build when I've a time, I'm very busy now with my college. Sorry :crying:
[Sony Xperia M] RAZER001:
yup i faced only otg usb issue on mimori imagine kernel.

then reverted back to previous version on rr581 that is working like a charm. intenet working on both the sim
[Sony Xperia M] LastDarkWarlord:
bruh i cant download ur kernel from the auditor :(
[Sony Xperia M] LastDarkWarlord:
Also can u integrate WireGuard in the kernel?
[Sony Xperia M] trashmaster76:
Hey [MENTION=5608002]Nicklas Van Dam[/MENTION] Sorry if this is a bit off-topic, but have you ever booted Android Oreo on the Xperia M? There are some Oreo changes in your repos and I want to make a Oreo ROM for Lumia 525. Because both devices have similar specs (i.e. msm8227, 1GB RAM)
[Sony Xperia M] Nicklas Van Dam:
I've try once to boot it up, but it's seems still have much problem on SELinux permissions. It make me headache to resolve it, once I try to boot with disable that feature I got problem with kernel error.

Lumia 525 and Xperia M only different on kernel in display driver if I'm not wrong, but I don't know on device tree.

But for now I don't have any free time to do, because I'm still have an semester exams until next week. Thanks for your suggestion :).
[Sony Xperia M] gothed:
simple question, will this work on mokee rom nougat based?

thanks
[Sony Xperia M] hhjadeja007:
Yes
[Sony Xperia M] gothed:
so, can i just direct flash this using my TWRP?

or do i need fresh rom installation?

i already on mokee 7.1.2 latest version
[Sony Xperia M] hhjadeja007:
Yes you can directly flash.
[Sony Xperia M] Nicklas Van Dam:
You can directly flash this kernel on every ROM, without wipe data ;). As long as that ROM is 6.0+ then you're safe to use :)
[Sony Xperia M] gothed:
thanks for the response ;)

salam kenal from Jogja
[Sony Xperia M] Nicklas Van Dam:
New update is released

New kernel version is updated :), in this version i'm already update kernel with latest security patch, some improvement on GPU and CPU and change GCC to GCC 5.4.0 Hypertoolchains so it can improve the kernel improvement.

Now mimori kernel already full support of neon-vfp4 with hard floating point, so it can give better performance on gaming than before. It's already stable after 3 days test after first release.

Sorry for long time off, because i've busy with my college :eek:.

Download link is on download tab, and you can see changelog it's on first page of this thread ;)

Have try :)

New update is already available on Kernel Adiutor for OTA Updates
[Sony Xperia M] petjacz:
Hi Nicklas Van Dam, is there USB-OTG support for RR v5.8.5? Thx
[Sony Xperia M] Nicklas Van Dam:
OTG Support? :confused: OTG when using ROM or in Recovery? can you give a log when you're used OTG feature?
[Sony Xperia M] RAZER001:
When i use usb otg on new updated mimori kernel, screen freezes and i have to pull battery to restart it.
[Sony Xperia M] gavinfernandes2012:
Has it been tested on android n?

If not, I could test it for you if there's any chance of it working.
[Sony Xperia M] Nicklas Van Dam:
Android N? Hmmm sorry for now, i'm don't have plan to move to N for now. anyway this different source kernel too, i will try it later. i'm try to working with new gcc for now :)

but if N is more stable from now, then i will try it ;)
[Sony Xperia M] gavinfernandes2012:
It's okay thanks, I couldn't find anywhere on the thread that specified where the original source came from, that's why I was asking, and the heading said 6.0+ so I was just confirming.
[Sony Xperia M] Nicklas Van Dam:
maybe i will work it too sometimes ;)
[Sony Xperia M] abhatia1435:
Can the Ambient Display option be added?
[Sony Xperia M] Nicklas Van Dam:
I will try it later, but I'm not sure I can add it. :/
[Sony Xperia M] SunitTalwar:
kernel for slim rom

can you compile kernel for slim too??

here is the bootimage
[Sony Xperia M] Nicklas Van Dam:
Downloading, i will try it now. anyway this is aosp? :confused:
[Sony Xperia M] SunitTalwar:
most probably yes slim roms are based on aosp btw any updates on universal kernel ??

Thanx
[Sony Xperia M] Nicklas Van Dam:
hmmm, i'm still find another way for that. try this

AoiCore+_SLIM-nicki.zip

please make backup before flash, and tell me what happen. :)
[Sony Xperia M] SunitTalwar:
thanx bro it worked ,rom boots fine(actually its still booting right now),clean install slim rom 1.1 latest build

have not tested the kernel yet as its still "android is upgrading"

btw for other roms do i have to upload the bootimage or just replace it normally in the kernel.zio ??
[Sony Xperia M] Nicklas Van Dam:
you can replace it with zImage or any kernel file to re-compile it again with boot.img.

please correct me if i am wrong, it's almost midnight here ;)

so your slimrom isn't boot with my kernel?
[Sony Xperia M] SunitTalwar:
it is booting fine what i meant was i did a clean install with gapps and all so its still optimizing for first boot

so yes in short it boots perfectly fine no problem at all

no bootloop no stuck at bootlogo

completely normal boot and by the time i complete this post my phone just booted into homescreen so no problem here sir

awesome work

ill edit this if i found some bug

thanks once again
[Sony Xperia M] Nicklas Van Dam:
I'm sorry to make you explain like this before :( and I didn't want to make you annoy before. glad to hear this work. So yes you can only replace it :).

Anyway don't call me sir, I'm still 18 here :)
[Sony Xperia M] simmusss:
If u r using slim rom,plz tell me slim rom supports cm theme manager ,,,,,, sory to post here,,,

---------- Post added at 11:34 PM ---------- Previous post was at 11:29 PM ----------

Thanx for the kernel bro ..... But create a all like nui style, u ll more popular after
[Sony Xperia M] Alex_Gamer:
No, that ROM have cm sources but doesn't mean theme chooser it's compatible.
[Sony Xperia M] simmusss:
Thanx for replng bro....
[Sony Xperia M] Nicklas Van Dam:
No, but you can try like rro or substratum for AOSP , maybe that compatible for your ROM.

Are you my kernel for slim ROM? Make like nui? Hmmm not to in my aim, I will make different and more optimize than before :D . Thanks for reporting
[Sony Xperia M] SunitTalwar:
oh i am 20 and i still no nothing about compiling and kernel :p

anyways can you lower the minimum brightness than the default one its way to bright

no slim does not support cm theme manager also plz dont try to apply rro or substrantum layers with system ui and framework selected it would give you com.systemui has force stopped error on reboot

slim as of now does not support layers or substrantum and they are not much interested in adding this support

according to them rro/substrantum works on aosp framework and slim uses completely different framework

so i would advice you not to use any theme rest its your wish

ohkk i tested textile os and it worked with old layers app not the substrantum one

slim is based on aosp not cm
[Sony Xperia M] Alex_Gamer:
I know but uses cm sources too, if u see the changelog u can notice oh and the ROM has a little amount of cm functions :D
[Sony Xperia M] Nicklas Van Dam:
can you give me last_kmsg log after plug usb otg? it's available on kernel adiutor -> settings -> last_kmsg .

after create then send that log to me, so i can check it ;)
[Sony Xperia M] RAZER001:
see this dmsg.txt
[Sony Xperia M] Nicklas Van Dam:
i don't see any related error or warning that refer to OTG, beside only some sepolicy denials and some heavy progress that already killed by LMK. and it seems you're using sony audio engine from that log.

i don't get this error on lineage, is this error only happen on RR ROM or other ROM too?

and that's dmesg not kmsg log. i need log from kmsg to get know where's error from in kernel.
[Sony Xperia M] petjacz:
Both usage not working.

When I connect the pendrive when booted into RR v5.8.5, screen freezes and after approximately 20 seconds the phone will restart itself. The last_kmsg (/proc/last_kmsg) attached.
[Sony Xperia M] RAZER001:
:p sorry for dmesg. here is kmsg atteched.
[Sony Xperia M] Nicklas Van Dam:
it's from kernel current problem, okay i'll check on it.
[Sony Xperia M] Nicklas Van Dam:
that from missing upstream patch error, it start from 3.4.26. I'll need a time to re-apply upstream again. It's really complicated to only find where is the current bug.

So i'll rebase this kernel to fix this bug first, and start upstream again later
[Sony Xperia M] Nicklas Van Dam:
New update is release !

New updated with rebase kernel source to 3.4.15 is already release, now OTG feature is already fixed. on this rebase version only rebase for linux kernel during error on 3.4.26.

For now, nothing optimizations or security patch is rebase. all still working good, i'll upstream this kernel again, but it need more that to do it. so i choose to launch rebase build at first than make a build with upstream. During error on OTG is really critical

Have try ;)

Download link is on download tab
[Sony Xperia M] petjacz:
Hi Nicklas Van Dam, perfect build! Working like charm :) Thank you!!
[Sony Xperia M] Alvarote1998:
I have Hana kernel with 1.7Ghz overclock, today I visited this site to update the kernel and I see thats his new name is Mimori and only gets 1.4Ghz, someone can explain me why?

Why should I update if I loose so much performance?

Thanks
[Sony Xperia M] petjacz:
2 Alvarote1998: For better batery? ;)
[Sony Xperia M] Nicklas Van Dam:
I reduce overclock first is for save battery, and i think that's not safe too to use very high frequency in boot time. In fact yes it will speed up your boot process and etc in first boot before KA (kernel adiutor) configure automation your kernel if you already set it.

But during sometimes KA give error like kernel set on boot not work, so sometimes kernel will still use 1.7Ghz freq at maximal in all time. That will make device easy to get overheat, battery drain and will make problem on device. I want try to avoid that because some users have much problem with that.

Why i drop it to 1.458Mhz (1.4Ghz), that's the safest clock speed that i think to use for high performance or event for user that forget to set max clock speed.

That will reduce risk with your device to get overheating or broken, i can make it higher to 1.5Ghz. But i think it not much different between that and i feel device is easy to get overheating in that freq, so i'll only use the safe freq for global usage ;)

Thanks for answer it
[Sony Xperia M] petjacz:
Hi, since the last build was installed, there I had two batery colapses over night - the phone was completely discharged in the morning (batery wasn't fully charged, was only at 25% I think).
[Sony Xperia M] Nicklas Van Dam:
what you mean by discharged? your battery was drain in sleep mode or you can't charge your device?
[Sony Xperia M] petjacz:
Yes, drain in sleep (battery discharged), charging without problem.
[Sony Xperia M] petjacz:
Hi, here are my results for RR v5.8.5 and Mimori kernel published @ 2018-01-24, 03:44:

.mtp device issues - sometime immediately or after some time unstable connection ... maybe RR problem ... after reboot all ok?

.webdav server (WebDAVServerUltimate) not working - can't connect from computer

.display adapter/driver issues (ghosts on the screen, scrrenshot does not capture this state) ... occures once ... maybe RR problem?

Anyway thank you for your work Nicklas Van Dam!
[Sony Xperia M] Nicklas Van Dam:
:confused:

what is all of that issue :confused:, i'm not sure that come from my kernel. MTP is working fine in my test, only need to swith to MTP mode and data is can read by PC. if screenshot can't capture or save image it maybe from your external storage can't read by device, first if you're used adopted storage after boot. You need to wait until your external storage is finished to decrypt and can use normally. For .webdav server i don't know what is that app :confused:, try to send me last_kmsg if that really refer from my kernel. So i can check that problem ;).