yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] Nicklas Van Dam:
Kernel Adiutor Information

For Kernel Adiutor Usage

During new stable version of Kernel Adiutor have problem with CPU temperature, now we should use BETA build from Kernel Adiutor to get fix for that problem.

And for set on boot configuration, i'm not recommended it again , since that only can make kernel error during boot up process.

So set kernel when system is already boot is best option for stability and performance.

If kernel adiutor to hard for configure, then you can try Device Control app to manage your kernel.

This app is almost same like KA but it's little simple and more friendly for configuration ;)
[Sony Xperia M] Nicklas Van Dam:
Kernel Adiutor Configuration

CPU Manager :

CPU Max Frequency : 972Mhz (For Normal Usage) . 1.2Ghz (For Multitasking Usage) & 1.4Ghz (For Hard/Gaming Usage)

CPU Min Frequency : 384Mhz

CPU Governor: Alucard or Interactive (For Normal Usage), Alucard or IntelliMM (For Multitasking Usage) & Lionheart or Intelliactive, Blu Active (For Hard/Gaming Usage)

(Beside that leave it as stock)

Hotplug Manager :

Mpdecision = Disable

Intelli Plug = Enable

Profile = Eco for Performance

(Beside that leave it as stock)

Thermal Manager:

Thermald : Disable

Intelli Thermal : Enable

Core Control : Enable

Frequency Throttle Temperature : 60c

CPU Throttle Temperature : 70c

Thermal Limit Low = 2

(Beside that leave it as stock)

GPU Manager

GPU Max Freq : 400Mhz

GPU Governor : Ondemand or Performance (For Hard Gaming)

I/O Scheduler =

(Leave it as stock)

Misc =

Software CRC Check = Disable

Dynamic Fsync = Disable

Arch Power = Disable (Not really recommended)

Gentle Fair Sleepers = Disable

TCP Congestions = Depends on your need ;)

Option already update during new kernel feature is include :D

For explanation (cpu hotplug, and i/o sched) check on this thread

CPU Governor : Link- 1 Link-2

I/O Sched : Link

CPU Hotplug :Link - 1 Link - 2

Special Thanks to [MENTION=5811506]gsstudios[/MENTION] for guide :laugh:
[Sony Xperia M] Nicklas Van Dam:
[INFO] Double Tap 2 Wake & BETA Build

For Double Tap 2 Wake

Try to use kernel adiutor and check in wake tap, after that choose DT2W and enable it using "full'" option and then let's try DT2W features with vibration on mimori kernel :)

NOTE : BETA Build For Testing (Not Stable)

github/build

For BETA, try to look date for kernel. Find latest one, and anyone can test latest beta if don't want wait for stable update. I can't promise to make fast update for stable source, i don't want to make any problem. so it's better stay at beta and whenever it ready, and it should release on thread :victory:
[Sony Xperia M] Nicklas Van Dam:
you're welcome, i'm still working for optimization in armv7 vfpv4 module. ;)

have fun
[Sony Xperia M] Nicklas Van Dam:
Updated

New kernel build v1.1 is released with several fix for vfpv4 and neon modules, download link in on download tab.

have try ;)
[Sony Xperia M] abhatia1435:
Great! :D
[Sony Xperia M] romspeed:
Please add dt2w
[Sony Xperia M] Alex_Gamer:
Niiiice! I was waiting for new release, I'll test it now :D
[Sony Xperia M] Nicklas Van Dam:
my laptop is back from service center :D, and now is time to back :laugh:
[Sony Xperia M] Nicklas Van Dam:
i will try on next update, it's to hard to add that anyway ;).
[Sony Xperia M] Alex_Gamer:
Good to hear that your laptop its back to rock :D
[Sony Xperia M] Kb44994:
Really good work working like a charm

Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
[Sony Xperia M] Nicklas Van Dam:
sound is bursting? :confused: i think i'm not to modified to sound on this kernel, maybe that's from high cpu usage so that's make sound is distortion. i will try to look at sound option.

[EDIT]
[Sony Xperia M] Nicklas Van Dam:
i'm update kernel with clean build and kernel optimilization, i hope that can fix your problem. i'm already compare sound with stock and my kernel. i'm not hear any particular change on sound volume, maybe very little difference, please to wipe dalvik-cache and cache after install this update ;)
[Sony Xperia M] Nicklas Van Dam:
Updated

New kernel build v1.2 is released with several clean build for kernel and optimization on kernel compiler to reduce size, download link in on download tab.

have try :)
[Sony Xperia M] Nicklas Van Dam:
Updated

New kernel build v1.3 is released with first stable build :D, added auto hotplug drivers and more optimization for armv7 and krait processor

download link in on download tab.

have try ;)
[Sony Xperia M] Nicklas Van Dam:
Honestly AOSP can use SuperSU but with version v2.78 SR 3 I guess, your device will reboot and loop at once after install SuperSU and you can use your device with SuperSU :D
[Sony Xperia M] Godlydevils:
ok,

I wonder why would you suggest no to that

as doing that on 7/12 rom worked perfectly

I used 10/12 cm rom

the hana kernel didn't work for me

you didn't mentioned if wipeing cache is necessary, but I did

after that, I also needed supersu in my new rom

didn't worked either

so I did combination and one by one, but none of them worked

right now, just a rom with not even twrp, gave up on both
[Sony Xperia M] Nicklas Van Dam:
don't try to wipe cache in your cm rom after flash any zip or kernel file, or you'll get a bootloop. i don't know why too about that problem.

but if you're wipe cache your ROM then you'll need to wipe your data too as following step to make your ROM is boot up again. I don't guarantee supersu by chainfire will work with CM ROM, since SE Linux status is still enforcing in my kernel. why you don't use a built-in supersu by CM?
[Sony Xperia M] Godlydevils:
I did that wiping cache and dalvik the first time I flashed supersu, didn't worked

I do use that inbuilt one, but there are some apps which requires supersu to know that I have root access,

was just trying sound mods
[Sony Xperia M] PanzerVolr:
can I flash this on Mokee Marshmallow? I don't know if it is aosp based or cm based for our device.

or you will recommend any other marshmallow rom to use this kernel with?

batterylife is good?
[Sony Xperia M] Nicklas Van Dam:
you can flash this kernel with mokee rom, that cm based ROM :) .

and for battery life it depends from your usage i think, i can't give accurate answer for that.
[Sony Xperia M] Nicklas Van Dam:
yes, that the problem is. wipe dalvik cache in cm14.1 now is really problem i guess, so try to avoid that.

my kernel don't need any wipe on cache or event in data, if you've installed other kernel beside hana then you only need to re-flash your system to make your boot partition is clean and you can flash this kernel.

for supersu i don't know too, that problem happen to me too :/. some apps get slow response with supersu built-in by cm.

maybe you can try to ask it on Q/A tread or maybe i'll try to find how to make it permissive and try to use supersu by chainfire if i can.
[Sony Xperia M] PanzerVolr:
My usage is whatsapp + telegram + firefox/chrome. I don't even use google apps, apkmirror ftw.

I am getting 3 hours 30 mins SOT on cypher os nougat but my device was all time awake in standby so I am going back to marshmallow for stable usage.
[Sony Xperia M] Nicklas Van Dam:
3 H and 3 M for sot? I think that normal for usage? :/ or I don't know too since my battery is already old.
[Sony Xperia M] Godlydevils:
thanks, that would help many who use supersu

about that supersu built in,

there are two things I'd like to mention

There's an app called du battery saver, it has a feature which slows down cpu which requires root, that does not work in cm neither with builtin or supersu by chainfire

and I was trying the viper4android audio mod, builtin didn't worked over there, so that's the concern I had

and besides, supersu, seems better to me, coz I have used it previously on older cms, and on other devices, plus, debug part, logging part, and many more, it has features, we can't deny the work put in there.

tho I did wanted to use hana kernel, but I'm gonna avoid that, have other problems with this rom as of now, mentioned on his post, once I flash a decent update, will look forward to your kernel, and until then I expect u will come up with some features, and maybe if that fixes any bugs with cm, that would save my time from reflashing and stuff
[Sony Xperia M] Nicklas Van Dam:
Hmmm honestly maybe you can try app SE Linux changer on XDA thread, just try to google and you'll find it. That app will change your SE Linux to permissive from enforcing, and you'll get easy to use any mod like v4a and any other mod that need permissive.

But I don't with SuperSU itself, I'll try to find permissive method. Thanks for your suggest :)
[Sony Xperia M] thinhx2:
[MENTION=4929675]thichthat[/MENTION] [MENTION=5608002]Nicklas Van Dam[/MENTION] you can send me commit to enable d2w on marshmallow? Thank you
[Sony Xperia M] Nicklas Van Dam:
Here you are for commit, Link and this too https://github.com/Nicklas373/Hana-Kernel_MSM8627-AOSP_7.0/commit/0f6eba75c7fe23af98238643e785fa43d90e85b0

sorry for late answer, that's was midnight in my country i'm already fall in sleep xD.
[Sony Xperia M] thinhx2:
https://github.com/Nicklas373/Hana-...had detele FIH to can boot. i need this file?
[Sony Xperia M] thinhx2:
I need detele FIH project of kernel Sony M to can boot on Lumia 520. Without detele FIH project,my phone dont boot

When you have time? I want PM to you
[Sony Xperia M] Nicklas Van Dam:
you can PM me now maybe, but i'm try to study for my test tomorrow.

Maybe you can PM me in next monday, or contact me at FB.
[Sony Xperia M] :
No wifi on hana kernel on AOSP 7.1 xperia m C1905

Hello, I used the AOSP ROM from [MENTION=4343949]PecanCM[/MENTION] everything is working but I want to test new power and flashes hana kernel. Works great but I cant toggle on wifi..now I revert back to stock kernel from AOSP rom..how can I help to make the wifi work..

Thanks

Edit- I do use supersu flashed via TWRT
[Sony Xperia M] Nicklas Van Dam:
No wifi toggle? :confused:

hmm i think that problem on Wifi module, i'll check it later. Thanks for your report

maybe you can try to reflash AOSP ROM and go to your /system/lib/modules and check for wlan.ko file in that folder, make backup that file in your extsdcard and re-flash Hana kernel, if your wifi still not available then re-place that wlan.ko file in your system and set it permission to rw-r-r and reboot your phone.
[Sony Xperia M] :
Alright I will try that, I will report back afterthat

---------- Post added at 12:12 ---------- Previous post was at 11:34 ----------

It looks that the original zip files was corrupted, redownload hana kernel zip solve the problem..
[Sony Xperia M] Nicklas Van Dam:
Oh okay that's good, and have fun :laugh:
[Sony Xperia M] Damian11131:
Nothing
[Sony Xperia M] Nicklas Van Dam:
New update is released !

New update is released for Hana Kernel with optimization on Alucard hotplug and CPU Governor (For dual core device) and include update linux to 3.4.17 and some misc fixes :D.

I'm change some method for usage in KA configuration, and this update before my semester test is start on next first week of january :).

Have Try !

Link download is on download tab
[Sony Xperia M] nageswarswain:
got a boot loop by flashing over cypher os 7.1.1
[Sony Xperia M] Nicklas Van Dam:
bootloop?:confused:

are you already flash another custom kernel beside Hana kernel?, can you tell me your flash procedure?
[Sony Xperia M] nageswarswain:
Sorry... For my quick review... On second attempt it booted fine.... Now testing... Will report soon
[Sony Xperia M] Nicklas Van Dam:
oh okay, then have try :)
[Sony Xperia M] mayanxoni:
Working fabulously...

---------- Post added at 12:58 PM ---------- Previous post was at 12:57 PM ----------

Working great on my CyanogenMod 14.1

Didn't find any lag yet.
[Sony Xperia M] sushobith:
[MENTION=5608002]Nicklas Van Dam[/MENTION] will it work in RR rom?
[Sony Xperia M] Nicklas Van Dam:
yes, this will work with ROM based on CM and AOSP in 6.0+. And RR is based on CM, so you're safe to try :).
[Sony Xperia M] Nicklas Van Dam:
Oh okay, then have fun :)
[Sony Xperia M] nageswarswain:
I am on latest Hana kernel, flashed on cypher OS 7.1.1.installed the kernel auditor to tweak and followed the multitasking tweak posted by op. Everything seems fine. But I found a little bug that when I am on lock screen the proximity sensor is activating itself. Then turning off automatically when I unlock the screen. Has anyone noticed this? You can notice this while on lock screen (the red led turns on all the time you stay on lock screen.?)
[Sony Xperia M] krouma:
I have CM 14.1 (based on AOSP 7.1.1) and noticed this too ;)
[Sony Xperia M] Nicklas Van Dam:
That's response from DT2W function, when you're active it or try to unlock your phone. That's normal reaction to tell that DT2W is working :)
[Sony Xperia M] GunturAriePamungkas:
Wifi no internet access

Sir, Please Help. I'm use CM13 Final

I'm flash v1.2.4 but I'm use WIFI no internet access and I clean flash again, Try flash v1.2.3 same problem WIFI no internet access.
[Sony Xperia M] Nicklas Van Dam:
Maybe that problem from WiFi module, are already to install another kernel beside this kernel?

Try to re-install your system with gapps, after that check if your WiFi is working or not. After that use file manager that can access root and go to /system/lib/modules and copy files "Wlan.ko" to your ext or internal storage).

After that try to install Hana kernel again and replace that Wlan.ko file into modules folder and reboot your phone, and let's see what happen.

Sorry I can't make any flashable zip or any proper fix for now, my laptop is on repairing process in service center.
[Sony Xperia M] Nicklas Van Dam:
New update is released !

New update for Hana Kernel is already released, i'm already fix problem with overload core 2 clock speed when overclock freq is set for both core processor. And included with several fixes and updated linux kernel 3.4.18 .

I'm already included new cpu governor, and new guide for recommended usage for KA.

Download link is available on download tab ;), Have try :o .
[Sony Xperia M] Nicklas Van Dam:
NOTE :

Sorry, i'm missed this point.

Now try to set lower frequency at 384Mhz, not 192Mhz. i'm already set that freq as stay frequency, you can still to use 192 Mhz if you want it. I'm set 384 to avoid lag when transition cause 192 is only set for battery saving.

For lineage OS i'm already pull compatibility commit to KA admin, and he already merge it.

Commit Link

and now we only need for KA update app, and Lineage OS user can try OTA feature update to from KA :).
[Sony Xperia M] Nicklas Van Dam:
[INFO] Alpha update

New alpha update is under testing, i'm really dizzy about hotplug problem. now this problem is under process. Last build hotplug is working normally but when you try to play hard game or process then core 1 will stuck again at 918Mhz or even over to 1,782Mhz.

so please don't try to use at hard process for latest build, maybe i'll try to make alpha build at this night if i can.

So far i'm already fix that hotplug, but i'm still need to test it for other process.

Thanks for waiting :)
[Sony Xperia M] olibub:
can be graphic overclocked on 600mhz?
[Sony Xperia M] Nicklas Van Dam:
600Mhz? :eek:

i don't know, but i want to try to overclocked that still in safe freq zone. i don't want to take any resist about higher frequency for now.

Now only for hotplug problem as main to resolve it.
[Sony Xperia M] olibub:
..okey :) .. btw thank for your work
[Sony Xperia M] Nicklas Van Dam:
New update is released !

Now, critical problem with hotplug is solved. i'm back to only using old mpdecision for now, but only for a while until i can find solution how to use another with all core can work correctly.

In this update i'm re-base to lineageos kernel source and re-built kernel from base, some features is re-added and other features is removed.

Details on changelog thread, and link download is available on download tab.

Have fun :).

I'm also already updated Kernel Adiutor Configuration, because some features is disable for a while. i'll try to add it in next update :D
[Sony Xperia M] Nicklas Van Dam:
New update is released !

New quick update is released for Hana Kernel ;) , in this update i'm switch to optimize NEON VFPV4 again after revert back to NEON floating point. NEON give slow rendering when play a game, so i'm switch it and change some graphite,CPU Governor and optimize kernel module.

New Kernel Adiutor configuration is also updated with new CPU Governor is added, and have try :laugh: .

Download link is available in download tab
[Sony Xperia M] Nicklas Van Dam:
Anyone like SuperSU show up on lineageOS ? :D
[Sony Xperia M] farshad7:
androidfilehost link

Hi!

Thanks for this fabulous kernel.

I just wonder if there are androidfilehost links to the 1.3.x versions!

Cheers,

Farshad
[Sony Xperia M] Nicklas Van Dam:
Sorry sir, not available. That version only available in xda download thread, if you want to download it. Then you can try to access this links for version 1.3.X

1.3.1

And

1.3.2

Have try ;)
[Sony Xperia M] shaqman89:
Thanks for this great kernel. :)

I'm using it with RR Nougat.

Just wondering a bit about the recommendation, why are none using higher than 1,3 GHz. Is it not recommended or just not sure about the stability?
[Sony Xperia M] Nicklas Van Dam:
That's old method, but for stability our device still can hold until 1.4Ghz. But will get easy to overheating, not like 1.3Ghz. But I think now 1.3Ghz isn't enough to play some game now, so 1.4Ghz can use for game governor. But I'm still testing that clock speed for use in a long time duration.

Thanks for your question :)
[Sony Xperia M] petjacz:
Please, what RR version are u using? Is it stable? Thx
[Sony Xperia M] shaqman89:
It is 5.8.1 Nougat.

https://xdaforums.com/xperia-m/development/rom-resurrection-remix-nougat-v5-8-0-t3512094

And yes, it is stable for me.
[Sony Xperia M] petjacz:
can you post on that forum changelog's screenshots?
[Sony Xperia M] Adarsh Dubey:
Kernel is working on resurrection remix 5.8.2 but after a while my phone doesn't unlock or sometimes touch doesn't work after enabling double tap to wake..... And will this Kernel get updates? [MENTION=5608002]Nicklas Van Dam[/MENTION]
[Sony Xperia M] Nicklas Van Dam:
Phone doesn't unlock? Try to clear data your kernel adiutor, and try to re-set your CPU freq, governor and hotplug. Check if both core is really work with limit, for update, it's yes.

But not in now, I'm very busy with my daily life in college. So I don't have a time with this development.

I'll try to make update when I've a free time, thanks for your answer.
[Sony Xperia M] Adarsh Dubey:
No bro i tried everything like setting cpu and all the configurations like you said but it only happens after enabling double tap to wake that the touch doesn't work so i have to remove battery and switch it on to get it working
[Sony Xperia M] Nicklas Van Dam:
That's problem on wakelock, are you disable or enable in mpdecision option?

Anyway hotplug can be give this problem too, or maybe what option that you're used with your DT2W? Full or half?
[Sony Xperia M] Adarsh Dubey:
Had disabled it and full DT2W... Anyway don't worry im not using DT2W now
[Sony Xperia M] Nicklas Van Dam:
Oh sorry:crying:, that's bad to hear that. Maybe i'll try in next day. I'm very busy on this month, next week it's full of presentation and next week again it's my test will be held in 2 week from 17 April -_-.

Sorry for this inconvenience :(
[Sony Xperia M] Adarsh Dubey:
Nothing to be sorry bro.... We all have busy days... And i too have entrance exams.... You are developing for this device that's more than enough :) and thanks for making this kernel.... Take your time bro :D
[Sony Xperia M] Nicklas Van Dam:
Thanks for your answer bro :D, I'm appreciated it :).
[Sony Xperia M] petjacz:
Kernel (v1.3.2) is working on resurrection remix 5.8.0 but charging is very slow (using usb cable from computer, 50% after 8 hours with wifi and cell. data ON) + battery is more hot than with original RR kernel. Anyway thanks for it!

EDIT - WARNING:

I killed my XMD! Current state = when pressing power button the red led flashed three times, pause, three times, pause etc. and can't boot up, I think phone is dead.

Last interaction: charged up to 100% (OK), checked new emails etc. (OK) and go sleep, in the night checked the time on the lock screen (woked up using power button, OK). In the morning when pressed power button the red led flashed three times like described above... :(

EDIT2:

What is the behavior of totally discharged batery? Is it the red light flashing three times? Maybe yes :)

For safety, reverted back to RR kernel.
[Sony Xperia M] Nicklas Van Dam:
New build is on testing

I'm already fix some problem on this kernel, and sorry for late update. I'm very busy on this month, maybe i'll upload new build tomorrow after test for daily usage is passed.

for problem with battery and phone hang and doesn't unlock, that problem with thermal and hotplug manager. i'm already fix that, and now i'm already add other thermal manager with new and optimized hotplug.

Thanks for waiting and support everyone ;).
[Sony Xperia M] mayanxoni:
Thanks for your great efforts brother. I'm also using Hana Kernel for Nicki. But I think there's a little problem with all these builds. I fresh installed Hana Kernel yesterday onto the latest build of LineageOS i.e., 20170427. Everything is working so smoothly except one thing - USB Tethering. Whenever I try to Tether my laptop with the phone, it returns to the previous state(charging). Please do something for this.

Current configuration:

Device : Sony Xperia M C2004

Root Status : Unooted('cause there's no root access in this build)

Bootloader Status : Unlocked

Kernel : Hana Kernel

Android Version : 7.1.2

ROM : LineageOS 14.1 Official Nightly Build 20170420

P.S.: Thanks Again for the great Kernel. :good:
[Sony Xperia M] Nicklas Van Dam:
For USB tethering, that maybe from USB fast charge feature. You need to enable it on kernel adiutor with root access, try to get root access to configure all kernel feature.

It you are use lineage, then try to install this zip https://mirrorbits.lineageos.org/su/addonsu-arm-signed.zip and install it on recovery, after that go to developer option and find root access option and select app and adb. And then you'll have a full root access.

I'll try to test USB tethering once again before post a new build, thanks for your report bro :) .
[Sony Xperia M] Nicklas Van Dam:
[EDIT]
[Sony Xperia M] mayanxoni:
Thanks for the reply bro! I'll try it today.
[Sony Xperia M] Adarsh Dubey:
update???
[Sony Xperia M] Nicklas Van Dam:
Wait bro, I'm testing it again -_-.

I don't want to make any serious problem with stability on this update.
[Sony Xperia M] Adarsh Dubey:
Okay bro take your time..... You said you will upload thats why i asked.... Eagerly waiting for update :D sorry and thanks for the awesome 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 new thermal engine to avoid lost control on core 2 when throttle is reach limit (configuration option available in Kernel Adiutor Configuration thread). And i'm include new hotplug manager, improved cpu governor and change SE Linux to permissive.

And included with stability fix, have try and thanks to give report and support to me ;).

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

and download link in download tab :laugh:

NOTE

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

Only apply this method in this build.