yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] SunitTalwar:
Been using your kernel since the intial relaase and have never faced such a problem like this before

when ever i flash your latest(1.3.6) kernel and reboot from twrp , my phone never boot up

no sony logo no red light just nothing complete dead,, for once i thought its gone for sure bcoz even after connecting it to chager it wont boot .just the red light blinking with a 2 sec gap.But luckily fastboot works and i was able to flash stock kernel back and it boots fine

Btw i am using aosp caf rom by stryder (clean install)

xperia m dual sim

Pls look into it as i have been a user of this kernel since long

---------- Post added at 04:52 PM ---------- Previous post was at 04:50 PM ----------

Been using your kernel since the initial release and have never faced such a problem like this before

when ever i flash your latest(1.3.6) kernel and reboot from twrp , my phone never boot up

no sony logo no red light just nothing complete dead,, for once i thought its gone for sure bcoz even after connecting it to changer it wont boot .just the red light blinking with a 2 sec gap.But luckily fastboot works and i was able to flash stock kernel back and it boots fine

Btw i am using aosp caf rom(naugat) by stryder (clean install)

xperia m dual sim

Pls look into it as i have been a user of this kernel since long
[Sony Xperia M] Nicklas Van Dam:
Not boot? Hmmm, that's a new ROM and I'm never try that ROM . sorry for this error -_-, again -_-.

I'll try that ROM tomorrow, and check if I can fix it or not.

Maybe that from SELinux -_-
[Sony Xperia M] SunitTalwar:
No problems.. Just wanted to let you know..

SElinux would effect the device after atleast the sony logo is shown(that is after phone even attempts to boot)??

Also even offline charging was not working .. only red light blinking continously as if phone is trying to boot but is failing

Anyways tried 3 times but same result

For me it was complete black screen .. no life at all

no haptic vibration after pressing power button also no hard reboot or charging seems to work.

Luckily fastboot and flashmode worked .. :p
[Sony Xperia M] Pusn:
Same things on my C2005 with v1.3.6 under lineage-14.1-20170427-nightly-nicki-signed - black screen, no sony logo, red flash, no charging. Return to stock rom kernel helps.
[Sony Xperia M] Nicklas Van Dam:
Great :v, why only my device that success. Anyway, is kernel installation process run successfully?

Can someone make a recovery log after install?

After flash kernel, try to not reboot and go to advanced menu in twrp and choose create log or log in that menu.

After that send that log to me, then I'll try to look at it
[Sony Xperia M] Nicklas Van Dam:
EDIT

Not too, I need test from single sim device now -_-
[Sony Xperia M] SunitTalwar:
Well i have a dual sim device too .. still need the log ??

btw the kernel installs fine in recovery
[Sony Xperia M] Nicklas Van Dam:
[EDIT]

This is AOSP kernel, I'll to fix it tomorrow. I'm very sleepy now -_-.
[Sony Xperia M] Nicklas Van Dam:
I'm removing new version link download, i'll try to fix that issue and do a clean install.

I'll upload new build if this problem already solved
[Sony Xperia M] Adarsh Dubey:
Anyone wants to test new kernel builds?
[Sony Xperia M] SunitTalwar:
Sure are long as i would be able to access fastboot ....

Count me in

BTW Using 7.1.1 rom dual sim but single firmware flashed
[Sony Xperia M] Adarsh Dubey:
Okay bro! :D
[Sony Xperia M] petjacz:
Hello! I'm here too, but haven't so much time and use my phone in production env. so can't be the first who is testing.
[Sony Xperia M] emc02:
First of all: great kernel that gives a new boost to my old phone! Sadly lineage support is dropped...

Well, I've flashed the kernel over latest lineage rom and it works well, but it startet with the max. Frequency of 1,78Ghz. Maybe this is some reason for instability on some devices? Default and unconfigured clock speed should be 1 GHz?!
[Sony Xperia M] emc02:
Double post...
[Sony Xperia M] Nicklas Van Dam:
I'm already make a test build, for temporary maybe DT2W features will be disable in this kernel. I'll try to find a way to fix it, and i'm already have a source about that problem but i'm not sure to try it.

I'll test this build and check for stability with some kernel tester that already to help to test, Thanks for all participation in this kernel ;).
[Sony Xperia M] Scorpion_Ibm:
[MENTION=5608002]Nicklas Van Dam[/MENTION]

Does this support F2FS and/or SDcardFS?

If not, can these be added to the kernel? as I think this would give our little phone a much needed boost in I/O

Another question does this work with the latest Resurection Remix for xperia M?
[Sony Xperia M] Nicklas Van Dam:
For F2FS for now it's not, but I'm already enable that feature in test build. And think that necessary feature, I'll try to enable that feature after I can enable it back doubletaptowake feature.

And for compatibility with RR, this kernel is compatible with all ROM based on android 6.0 :D

Anyway maybe new update will launch in this week if I'm not very busy with my college, thanks for your comment :).
[Sony Xperia M] Scorpion_Ibm:
So this won't work with latest RR based on Nougat right?

What about SDcardFS?
[Sony Xperia M] Nicklas Van Dam:
it's work bro ;), i mean this will work for all custom ROM for xperia m / m dual with android os at least 6.0.

for SDcardFS i'm still need a time to port that feature, maybe that can be my next target. For now i'm still focus with kernel stability and performance before porting additional features ;)
[Sony Xperia M] Adarsh Dubey:
In simple it will work on your rom and all the roms which have atleast android 6 and will work on all others after that (nougat roms)
[Sony Xperia M] Scorpion_Ibm:
Thanks for looking into this. Hope you can do it cuz this is the only active kernel right now.

I think I'll have to wait until you get F2FS and SDcardFS fully working.
[Sony Xperia M] Nicklas Van Dam:
Great, it's only me that active in here :eek:.

Where's the other :( ?
[Sony Xperia M] shaqman89:
I'm a silent participant here. :good:
[Sony Xperia M] Nicklas Van Dam:
Okay, i've friend now :D
[Sony Xperia M] norman0:
Love your kernel
[Sony Xperia M] Nicklas Van Dam:
New update is released

New update for Hana kernel is already released, on this update i'm include stock updated thermal engine to avoid overheat and have better management then Intelli Thermal (configuration option available in Kernel Adiutor Configuration thread). And i'm removed all hotplug manager and only use stock mpdecision to keep device performance, added more additional optimization for another change is avaliable in changelog.

This build is for performance and stability :)

New guide is already updated in KA configuration thread, please look at that for configuration method.

and download link is in download tab

NOTE

Please clear data on your KA before install this update (to avoid conflicts with last configuration).

Only apply this method in this build.

Thanks to [MENTION=7148956]Adarsh Dubey[/MENTION] for kernel tester to give any additional information to me ;)
[Sony Xperia M] Adarsh Dubey:
Thanks to you for keeping the kernel development going on :)
[Sony Xperia M] Nicklas Van Dam:
For CPU Usage

If anyone have problem with core 2 that lost control to 1.78Ghz, then you need to set up again max CPU freq in CPU control in KA.

Sometimes new thermal can't read max CPU freq that already updated, but this problem is rare not frequent like old build.

NOTE

Try to disable MPDecision when you apply cpu governor more than 1Ghz or you'll get random cpu freq on core 2, i'll port custom CPU Hotplug in new update for now try to run device without mpdecision.
[Sony Xperia M] Nicklas Van Dam:
New update is released

in this updated, i'm included much major change for kernel stability and performance. for changelog you can see in changelog thread. And in this update i'm included with latest security patch for kernel, fix problem with thermal and now intelli thermal should really work in our device and i'm already optimized CPU frequency table and still bunch update inside kernel.

And new guide is already updated in KA configuration thread, please look at that for configuration method.

and download link is in download tab

NOTE

Please clear data on your KA before install this update (to avoid conflicts with last configuration).

Have Try !!! :laugh:
[Sony Xperia M] cahdawe:
sir, may ask something?

now, i'm using your kernel version 1.3.2, but i want to back to use stock CM13 kernel because my girlfriend want to use my phone and she confused with kernel auditor. My phone battery save is bad and the phone is very hot because she didn't change the the cpu freq.

Could you give me a tutorial or flashable zip with stock kernel? Thanks
[Sony Xperia M] shaqman89:
You could just reflash CM13 without wiping data.
[Sony Xperia M] Nicklas Van Dam:
v 1.3.2 ? O_o that's very old version, you only need to reflash your system and you're safe to use. Try to clear your data partition if you've bootloop, and one again. Don't call me sir, I'm still 18 years old xD. Just call my name :)
[Sony Xperia M] cahdawe:
i know it is very old because i didn't use my phone for about 4 months.

my girlfriend lost her phone, so she borrowed my xperia m.

is it safe to just flash the system without wipe data? because it takes time to bring back the all applications that she uses now.

and i have some mods installed like second partition, busybox, and xposed.

or maybe can i edit the kernel? by disabling the overclock freq? because kernel auditor cannot auto start and apply my setting
[Sony Xperia M] Nicklas Van Dam:
If you're downgrade then you'll need to clear your data partition, that's necessary to avoid bootloop.

For KA, try to update KA and my kernel to latest and stable version. I'm not responsibility if you're using beta version. And try to set on boot in CPU configuration, set 1 or 1,2Ghz.
[Sony Xperia M] cahdawe:
the KA is the latest version and the boot configuration cannot be applied :(
[Sony Xperia M] krouma:
So I can set frequency which will be used during boot? I stopped using Hana kernel because phone was ovrrheating in recovery due to frequency 1,7 GHz.
[Sony Xperia M] Nicklas Van Dam:
yes -_-, great. Am i explain about KA Configuration still incomplete? or hard to understand?

yes you can, install KA and on your device, go to CPU section and set min or max with your governor for CPU after that click set on boot slider and it will turn on and will applied for boot.

And please take note for this, never try to install or place your KA app into your external storage for adopt, normal, partial or event linked storage. That will make set on boot option get delay and sometimes not work because that depends on your SDCARD speed for booting and loading up that app.

So i suggest to install this in your internal storage and this app won't make your internal storage it's full, it's only 18mb approx for max size :v .

Oh ya [MENTION=6768842]krouma[/MENTION] thanks for your clarification about KA, if anyone still have question or problem just ask it. and i'll try to resolve it ;)
[Sony Xperia M] krouma:
Thanks but these settings are applied after loading KA, buy KA isn't in recovery so it uses 1,7 GHz.
[Sony Xperia M] Nicklas Van Dam:
already clear data for KA?, try to using script option in settings from KA?
[Sony Xperia M] Sanjai23:
Where is the download link for this kernel
[Sony Xperia M] shaqman89:
Have you read the OP?

It is stated:
[Sony Xperia M] Sanjai23:
Iam using XDA app so can u upload the kernel here plzzz
[Sony Xperia M] shaqman89:
Here you go: https://xdaforums.com/devdb/project/dl/?id=25241

Alternatively, you could view the thread in a webview by selecting the three dot menu - load in browser, so you could access the download tab temporarily.
[Sony Xperia M] :
Thanks for the new update, working amazing on monkee rom 6.0.1.
[Sony Xperia M] Nicklas Van Dam:
New update is released

New update for Hana kernel is already released, on this update i'm reverting and rebuild kernel from lineage os source and remove all item from Hana and rebuilt it with new and fluid optimization for new kernel. This update is quiet stable enough to use as daily usage and performance usage.

Sorry for long time not updated anything, since my device is broken and now already repaired. I need to adapt and fix several eternal problem. Now this kernel already controlled by Intelli Plug and Intelli Thermal with working feature and have some misc option to control Dynamic Fsync, Arch Power and Gentle Fair Sleepers which can improve your device when it disable or enable.

Beside that, for first time i'm included custom TCP congestions to improve network connection and implement new feature to make kernel run smoothly, i'm removed overclock to 1.7 and only use it until 1.4Ghz from 384Mhz, that's already enough and reduce overheating problem during my test.

I'm not included GPU OC in this build, i'll included it later if really needed. For now this build is recommended to use and update from Hana to Mimori, For update method. Try to re-install your ROM or just flash boot.img to get clean kernel and let it boot.

After that you can flash this kernel and let's try this new kernel.

New guide is already updated in KA configuration thread, please look at that for configuration method.

and download link is in download tab
[Sony Xperia M] shaqman89:
May I ask, why the name change?
[Sony Xperia M] Nicklas Van Dam:
I don't know ;), i can change it back. but this is not included one change for Hana. So this is a new based kernel, i can change it back whenever everyone want revert it back.

And this still not on final, i'm still searching about some commit. Should i revert it back? xD

At the point, this will release as new update with less bug. I don't want to release any update with have critical bug just like before release.

But i can't promise to give quick update, because i only tester of this kernel. I need a new kernel tester to know what's broken and not working quickly during kernel test.
[Sony Xperia M] shaqman89:
Ah, that explains it. A new base :)

Its okay, I was more wondering whether it meant that it was tested on a primary device or can we dirty flash it.

Unfortunately I couldn't be a quick tester since the device is a primary one jot used by me, but I could test occasionally.
[Sony Xperia M] Nicklas Van Dam:
dirty flash i think it's still can, but i'm not really sure about it. Since this kernel using new module during replaced toolchains and added some module, i think that can automatically replace and update to latest kernel.

You can still flash with dirty flash, but report it to me after you flash. Check on kernel adiutor and go to settings, check on below options if we have menu to create last kmsg.

If not then you need to re-flash your ROM, but for re-flash is rare to happen. because i'm not make it different in kernel installation algorithm.

Only for kernel source, thanks for try it ;)
[Sony Xperia M] Angga Munez:
Wow very smooth in rr 574

Thanx
[Sony Xperia M] Nicklas Van Dam:
Okay, thanks :D and have try ;)
[Sony Xperia M] norman0:
The new kernel is running well.
[Sony Xperia M] Nicklas Van Dam:
Off Topic

Sorry for off topic, I'm already ported TWRP v 3.1.1-0 to our device (nicki). And almost all feature work without problem, if anyone want to try it. Maybe i'll upload it separately here or wait for kernel update ;)
[Sony Xperia M] hhjadeja007:
Please share it on twrp thread. So everybody can easily find it. And thanks very much for your work. Now only thing remaining is using oreo on my nicki. Then I can die peacefully:laugh:
[Sony Xperia M] Nicklas Van Dam:
Share on TWRP Thread? can i share it? it's still [MENTION=5917809]cucumber09[/MENTION] as op, i'm already ask him for permission and it seems he still not give me any answer to share it :rolleyes:.

I'll share it, and let's see for any respond, for oreo. Maybe i'll try to port it when Lineage OS 15 is release. Sorry for not porting AOSP Oreo, i can't port AOSP because some strange critical error on compile process :crying:.

I'm uploading now :)
[Sony Xperia M] Nicklas Van Dam:
TWRP v3.1.1-0

Done, Here for TWRP v3.1.1-0 For nicki

https://xdaforums.com/showpost.php?p=73544150&postcount=475
[Sony Xperia M] thichthat:
Sorry for being quite for a very long time.

For your kernel, I highly recommend to disable dynamic fsync and USB fastcharge.

Dynamic fsync can cause file corruption and USB fastcharge can cause some problem on connecting phone with computer.

I'm now very busy on studying french and cannot have much time to work on this device now. If you want, I can share the source code of the NUI kernel app, but it is just quite ugly so I will not share it publicly.
[Sony Xperia M] didyou:
After downloading the file I installed TWRP recovery daemon. The phone does not open with TWRP recovery. I installed it again with the old kernels, but this time WiFi is not active. Where am I doing wrong?
[Sony Xperia M] Nicklas Van Dam:
Back to old recovery? Yes you can, just flash old FOTA image from twrp thread and you'll have old twrp .

Are you installing my kernel and not getting WiFi connection? Which version did you installing and what's your android version ?
[Sony Xperia M] didyou:
I use UNOFFICIAL lineage-14.1-20170824. I have to install TWRP Recovery and install your kernel and also have to throw the old kernel that the phone is constantly in recovery mode.
[Sony Xperia M] Nicklas Van Dam:
Throw old kernel? Are you new to install my kernel or already installed other kernel (Mimori not Hana)?
[Sony Xperia M] didyou:
I downloaded your Mimori Kernel. I then installed TWRP Recovery. I flashed the Mimori Kernel. Then I restarted the phone, but TWRP Recovery is always running. I also had to flash the old kernel. The old kernel is not wifi enabled either.
[Sony Xperia M] Nicklas Van Dam:
Okay, thanks for your report. can you please to try reinstall your system and let it boot? after that try to install mimori kernel again, and if problem still exist then please give me last_kmsg report using kernel adiutor - settings and scroll down until you find create last kernel message and upload here in txt. ;)
[Sony Xperia M] Keyursoni:
What is the difference between nicki-los and nicki-nicklas in unofficial lineage website?
[Sony Xperia M] Nicklas Van Dam:
it's only different on F2FS Compatibility, my build since 20170903 already added F2FS compatibility for data partition and 20170904 already included F2FS with cache partition and included pre-build kernel from my beta release of custom kernel (F2FS).

and for los, is only stock lineage build without any modifications.

Why you ask on this thread?
[Sony Xperia M] Keyursoni:
Bcz i don't know the correct thread for discuss about that.

Can i dirty flash nicki-nicklas on los build?
[Sony Xperia M] Nicklas Van Dam:
yes, you can. But if you want to test F2FS on xperia m, beside that you can use a normal los build from [MENTION=7670323]droncheg[/MENTION] if you only want to update your ROM.

You can PM me about my ROM or F2FS topic, i'm still not have any Q/A thread about F2FS. And it seems not much people or member here interested with my current project, so i think i'll abandon or silently develop this project.
[Sony Xperia M] droncheg:
lineage-14.1-20170904-UNOFFICIAL-nicki-nicklas.zip LineageOS with Nicklas kernel for Xperia M
[Sony Xperia M] stalkerMPro:
Hi! Can i try to install latest RC build kernel from your GitHub - Build directory?

I have already copied kernel zip to sdcard, but decided to ask you before installing it)
[Sony Xperia M] Nicklas Van Dam:
Yes, you can. But remind that RC (Release Candidate) build, so I can't promise that will stable as usual like official XDA build.

Have try :)
[Sony Xperia M] RAZER001:
Installed mimori kernel on my xmd rr5.8.1 16022017 and stuck on logo. Will restoring nandroid backup work? And what should i do to use this kernel?
[Sony Xperia M] hhjadeja007:
If you have a nandroid backup then I would recommend you to download this rom : lineage-14.1-20170904-UNOFFICIAL-nicki-nicklas.zip from lineageos.do2.pw and do a clean install and then restore nandroid backup. This rom has mimori kernel inbuilt.
[Sony Xperia M] Nicklas Van Dam:
Stock on boot? Why? Can you tell me your installation procedure?
[Sony Xperia M] Nicklas Van Dam:
Thanks to reply it ;), but I'm not recommended to use that ROM. Seems that ROM is only use for F2FS experimental, you should install updated lineage with my kernel after ROM installation. Then it will boot :)
[Sony Xperia M] RAZER001:
Installed from twrp directly and then started the phone
[Sony Xperia M] Nicklas Van Dam:
Installing from twrp? Hmmm it should boot correctly, have you installed other kernel beside my kernel?

Try to restore your kernel (boot.img) on twrp, or reinstall your ROM only and let it boot. After that go to twrp again and install mimori kernel, after install to go to advanced menu of twrp and choose copy log or I'm forget what option is, but it'll look like to copy your recovery log and include your kernel log if exist in twrp option.

After copy log, then your log will be available on your sdcard. Then try to boot your system, if still not boot. Restore your boot.img and upload your log here.

I'll check it on your log, and will try to solve it :)
[Sony Xperia M] Nicklas Van Dam:
I think, I'm already fix ROM compatibility for all ROM. That's nougat Ressurection remix, right?
[Sony Xperia M] RAZER001:
Thanks, restored backup and then installed again this time it boots correctly. Dont know what happened before. Thanks for this awesome kernel :)
[Sony Xperia M] Nicklas Van Dam:
your welcome, and have try ;)
[Sony Xperia M] MH^2:
I have instal root supersu , but why this kernel can't work if i open kernel auditor in rom rr 7.1.2?
[Sony Xperia M] hhjadeja007:
Can you please share a screenshot of what's not working?
[Sony Xperia M] Nicklas Van Dam:
root from supersu? are you grant supersu access for kernel adiutor?
[Sony Xperia M] MH^2:
I can't send my screenshot...

---------- Post added at 09:52 PM ---------- Previous post was at 09:49 PM ----------

Sorry my english to bad

---------- Post added at 10:03 PM ---------- Previous post was at 09:52 PM ----------

notification to accept root access not come out.

---------- Post added at 10:08 PM ---------- Previous post was at 10:03 PM ----------

Have you try it in rom rr 7.1.2? Root access for this rom can't work, maybe this my fault....please help me
[Sony Xperia M] stalkerMPro:
Nicklas Van Dam, what about SElinux on this kernel?

It`s in Permissive mode by deafult.

Tried to set Enforce mode, nothing changes..

Tried by iSu, kernel adiutor (custom function), and manually by terminal.

Running on lineage-14.1-20170427-nightly-nicki-signed and Mimori 5 build.
[Sony Xperia M] Nicklas Van Dam:
Hmmm, you need enforcing? Yeah, I'll said. You can't do anything to set it as enforce, if you want then I'll change it on directly on kernel. That's permanently, anyway why you need enforce?

And if almost all need enforce then I'll revert back about permissive change, oh ya. Why you try five build? That's still experimental :confused:, that's almost stable. But I'm still to test some part and upgrading Linux kernel.

I'm set it as permissive to make easier when want to install soundmod,SuperSU or other mod or app that only work when in permissive mod.
[Sony Xperia M] stalkerMPro:
I don`t request to build kernel with enforce mode, just want to know if there is a way to change it without rebuilding of kernel.

On default los kernel i make it boot in permissive mode(by androidboot.selinux=permissive console parameter added by hex editor) and if i need i can change to enforce mode by init.d on boot.

About su, i use built in cm su. Its enough to me)

As i understand, we can install apps/sound drivers that needs permissive mode and than run on more secure enforce.

Tried 5 build like 4) To test and look differences with los kernel)