yashsingh1/xdaforums huggingface dataset:
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Short an concise - thank you :)

[MENTION=6791680]_LLJY[/MENTION] already answered the questions

1. there is an option for Kernel Adiutor (+/- Mod) under "Power and Battery" -> "Low Power Value" Set the Battery Level in % where big cores will shutdown - try that [e.g. raise it to 99%]

otherwise: standby, LPM and cpuidle have gotten fixed and enhanced - the big cores usually consume NO battery when in idle,

2. under the settings under "Core Control" you can set minimum of 1 little and 1 big core, disable touch boost and "input boost frequency core" under CPU tab in Kernel Adiutor

3. nope, won't work due to dynamic frequency and voltage scaling, it's a known "limitation" of snapdragon/qualcomm SoCs/CPUs, it's using the minimum voltage as it can

Hope that answers your questions
[Xperia Z4/Z3+ Android Development] jekiDlemot:
I try the core control setting but i think it is broken, i setting it like this:

min little cpu online=1

max little cpu online=4

min big cpu online=1

max big cpu online=4

it lagged so much,so i see the cpu tab that cpu1 is in lowest freq with core 2 3 and 4 not want to awake.

Lag gone when i switch governor to Alucard(all gov work except the one set lowest freq), But still core 2 3 and 4 offline forever.

and one more question, why when i switch back to the core control tab the setting change to

min little cpu online=2

max little cpu online=2

min big cpu online=2

max big cpu online=4

but the cpu still act as my setting above. Am i do wrong?

and 1 more, Low power value in power and battery tab not make the big core offline.
[Xperia Z4/Z3+ Android Development] pou_gh2:
i tested every freq and everything for better battery and i thought 864 will be good for big core and 1555 for littles but i found something,good heating but a great great great battery life! plz do what i say and enjoy the life :D ,big core(s):1536 and little cores:1248 and gpu:450 and i/o:tripndroid. maybe they help and if you underclock big core maybe you get to less heating
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
New Kernels are UP ! (5.11_corona_III.1_9_12_8_2_ctl_X)

Stability Hotfix (thermal-engine, cpuidle crash) [

TESTING

] )

Commit-based form of changelog:

git log --pretty=oneline a1a44f5809da69a742f11d734b506d5928fddbad..HEAD

9ddbefd9f3deacf57fa18e7459a1106aafddb6a7 localversion
7eb6328eced607ea21d7c584120a7666fe3a4fbf Revert "cpuidle: don't disable cpuidle when entering suspend"
612e33421681b586be3ce1db9b2b4dc5eec474f6 Revert "msm: thermal: Use phandle to input the cluster cpu map"
5b37bef7b713ab0743a30546799b49b1d8a01624 Revert "msm: thermal: Use CPU phandles instead of cpu mask in KTM"
e9d3ef69478e5bc7b8c74d7572358fbd4f16f75f Revert "msm: thermal: Fix KTM code to check psm is enabled before handling it"
67142189e4a6c74f0caa5a402326d6a72dbdda46 Revert "msm: thermal: Update scm calls in KTM with non-atomic calls"
7d38d566cc6e150f79531b82d4aafafcfbe9501a Revert "msm: thermal: Retry on failure to hotplug"
35096150dc7152a172f15d458d7521c103c0069d Revert "msm: thermal: Fix sensor number printed during thermal WD bite"
5b2b2431b5b6678058d88decd207589d099406f0 Revert "msm: thermal: Add support to read KTM thermal configuration"
3fb901ba3ca1eb3448393b4d8fce77175b997a31 Revert "msm: thermal: Add support to disable KTM mitigation via debugfs"
57fdf696e27ccc661d656b7393cec4befdd4586b Revert "msm: thermal: Add kernel boot command to disable KTM"
d6bcad0c60eca12573623b1c41c24de159892b6a Revert "msm: thermal: Support new DT properties to disable KTM feature"
db05b93b8d99151942e93c8103b42ebba539243a Revert "msm: thermal: Fix zone id to tsens map lookup"
cba81424857e4e23af319b8fa17e482733be6e5b Revert "msm: thermal: Register for panic notifier on successful probe"
3a75678e662179d731a4120b247365c9be0febd0 Revert "msm: thermal: Add support for sending CPR temperature band"
d70e6d54846095dc2ce761d3d2ddf7598b573551 Revert "msm: thermal: Add support for Cx restriction at low temperature"
e86b2def1655028adcd89c77610ae3a0b179366e Revert "msm: thermal: Add support for bandwidth limit(BWLM) feature"
5aac40ff08fe27b64ed4d219a1166a2f8d3a2921 Revert "msm: thermal: Configure core sensor id on emergency frequency init"

Human readable form of changelog:

[Download] How to get the Kernel(s) - Step by Step:

Important Notes:

Do NOT restore previous settings of Kernel Adiutor, Kernel Adiutor Mod, EX Kernel Manager, etc.

since that might lead to crash of thermal engine !

Also do NOT use BOTH core control + temperature throttle for "Thermal / Thermal Engine"

Enjoy ! :)
[Xperia Z4/Z3+ Android Development] batmobile_bang:
I'm using this kernel with stock (32.2.A.5.11 version). On the latest Kernel I got a few random reboots. I have Xposed installed with a few Mods. Will try and get a logcat the next time it happens.

I right now did a clean flash of the kernel - as I suspected the exKernel Manager had goofed up with some settings (have now un-installed exKernel manager). Any other suggestions?
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Reverting to Stock thermal-engine if you're using any mods and see if it still occurs,

in some extreme corner cases XPosed also could be the culprit but I'm using it myself and haven't faced any reboots yet (well, except when activating thermal "core control" and "thermal throttling" at the same time,

which usually is recommended against [not recommended])

If you can provide a logcat or kernel log during instabilities or after a crash it would be highly useful,

sometimes it can't be pinpointed ASAP but in the mid- to long-term there's usually a solution

Thanks :)
[Xperia Z4/Z3+ Android Development] katabroc:
Zach, thanks for the awesome work!!!!
[Xperia Z4/Z3+ Android Development] toooby:
Nice! New year, new kernel :)

Will try asap, I wonder if my random reboots are resolved.
[Xperia Z4/Z3+ Android Development] bombamanz:
need some help, currently my z3+ is 32.2.A.5.11 if i want to root it all i need to do is flash this kernel with fastboot just like that?

i have bootloader unlocked and enabled usb debugging

i want to install TWRP but it seems i need to root my phone 1st?
[Xperia Z4/Z3+ Android Development] pou_gh2:
just flash this.this include twrp and when you flash this kernel just flash super su and enjoy your rooted phone
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Any changes ?

Can you remember what you were doing while those reboots happened ?

Thanks
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
New Kernels are UP ! (5.11_corona_III.2_1_3_ctl_X)

Internal codename: spoiled little brat !

Overall revamp Release [

Major Version Bump

] )

Commit-based form of changelog:

git log --pretty=oneline a1a44f5809da69a742f11d734b506d5928fddbad..HEAD

https://gist.github.com/zachariasmaladroit/7f52031244c5a478009b27c8e12f26d7

Human readable form of changelog:

Changes since 5.11_corona_III.1_9_12_8_2_ctl_X

update to 5.11_corona_III.2_1_3_ctl_X [major version bump]

[Download] How to get the Kernel(s) - Step by Step:

Fixme:

Enable

+ Test: CONFIG_PROCESS_RECLAIM

(for the next release)

Important Notes:

Do NOT restore previous settings of Kernel Adiutor, Kernel Adiutor Mod, EX Kernel Manager, etc.

since that might lead to crash of thermal engine !

If it's still occuring it's a

ROM issue

and

none of my business

:p

Enjoy ! :)
[Xperia Z4/Z3+ Android Development] pou_gh2:
there is not this kernel on G drive bro
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
That's why there is a WARNING file,

read it :p
[Xperia Z4/Z3+ Android Development] itsita:
Flashed instead the v1.10 that was most recent, and it works amazing!!

No issues whatsoever!

Thank you so much.
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
New Kernels are UP ! (5.11_corona_III.2_4_ctl_X)

Even more overhauling, Release [

Version Bump

] )

Commit-based form of changelog:

git log --pretty=oneline a1a44f5809da69a742f11d734b506d5928fddbad..HEAD

https://gist.github.com/zachariasmaladroit/7f52031244c5a478009b27c8e12f26d7

Human readable form of changelog:

Changes since 5.11_corona_III.1_9_12_8_2_ctl_X

update to 5.11_corona_III.2_1_3_ctl_X [major version bump]

[Download] How to get the Kernel(s) - Step by Step:

Fixme:

Enable

+ Test: CONFIG_PROCESS_RECLAIM

(for the next release)

Important Notes:

Do NOT restore previous settings of Kernel Adiutor, Kernel Adiutor Mod, EX Kernel Manager, etc.

since that might lead to crash of thermal engine !

If it's still occuring it's a

ROM issue

and

none of my business

:p

Enjoy ! :)
[Xperia Z4/Z3+ Android Development] nosiobadx:
Is it a ROM issue or a kernel issue that I can't mirror my phone to TV anyone having this problem? Do you know how to fix it?
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
is that via WiFi or via USB/MHL ?

No idea, I don't have that "high tech" stuff :p

Perhaps others can help

A word of WARNING,

that latest kernel might be unstable,

with a further updated kernel I'm getting lots of reboots,

so it might be NOT suitable if you need it as daily driver, on birthday parties (recording videos), etc. etc.

Currently under investigation
[Xperia Z4/Z3+ Android Development] nosiobadx:
Via WiFi, the screenmirroring mode ?, MHL works fine
[Xperia Z4/Z3+ Android Development] pou_gh2:
in 2.4 battery is really really better in m rom and the heating got better.ty:o
[Xperia Z4/Z3+ Android Development] pou_gh2:
does 2.4 work for nougat?
[Xperia Z4/Z3+ Android Development] sanverkapur:
+1
[Xperia Z4/Z3+ Android Development] pou_gh2:
what?
[Xperia Z4/Z3+ Android Development] _LLJY:
No, the nougat source isn't even out yet
[Xperia Z4/Z3+ Android Development] toooby:
Wow, lots of updates! Have not tested yet. In the Drive I see a new kernel, added (modified) yesterday. Is that one safe to use as a daily driver? Since the last one was a bit unstable apparently.

The reboots all happened when my phone was in my pocket/standby for a while. Maybe has something to do with powersaving features and apps like Doze, Greenify and Amplify. But I got only a few reboots past weeks, so I'm not sure.
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Should be significantly more stable,

don't have much feedback for 2.4.7 yet, though no negative feedback for 2.4
[Xperia Z4/Z3+ Android Development] Kungencortes:
android n still have MAJOR HEATING ISSUES..

(webbrowsing is like cancer for this phone, esp with chrome..)
[Xperia Z4/Z3+ Android Development] pou_gh2:
is there anyway to root nougat?
[Xperia Z4/Z3+ Android Development] hanney:
Flash any kernel (or any fastboot thing) that helps you to get into recovery, and flash the newest SuperSU . I used Zach's .

---------- Post added at 12:50 PM ---------- Previous post was at 12:47 PM ----------

You can try using greenify and servicely, they're both easily to be found on play store
[Xperia Z4/Z3+ Android Development] pou_gh2:
this is my problem that i cant find a kernel to access to twrp dude,i tried patched kernel that did not work
[Xperia Z4/Z3+ Android Development] hanney:
Make sure your device unlocked, then turn off the phone, hold volume up and flash Zach's kernel through fashtool, get into recovery and flash the stock kernel with DRM, then SuperSU
[Xperia Z4/Z3+ Android Development] pou_gh2:
thats the problem that mm kernel doesnt work on N and there is no way to root N yet,thanks for your help
[Xperia Z4/Z3+ Android Development] Kungencortes:
https://xdaforums.com/xperia-z4/development/kernel-stock-nougat-kernel-patched-dm-t3540997
[Xperia Z4/Z3+ Android Development] pou_gh2:
ty but i just noticed that my rom is not ok and there is no link for that:eek::eek:
[Xperia Z4/Z3+ Android Development] lilloscar:
Hello Zacharias, I updated yesterday over other version of your kernel and in my second SIM card I have issues with calls, seems to work but didn't play any sound, no call tone, no voice but call connected.. In the other side of the line didn't hear anything too.

This could be fixed on any way or I should go back installing other version of the kernel?

Thanks
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
[MENTION=4483706]lilloscar[/MENTION] , what ROM version do you use ?

any Sound Mods ?

Can you post dmesg and logcat output ?

Anything else that behaves unusual with that kernel ?

Thanks
[Xperia Z4/Z3+ Android Development] lilloscar:
Thanks for the quick reply [emoji4]

I don't really know what happened but suddenly I get working again second SIM (2G), may be it was my operator..

Just to say, I use Nagasaki Rom 1.5

No sound mods, eventing seems to work well with the kernel.

?
[Xperia Z4/Z3+ Android Development] itsita:
Hey Zacharias,

How can i grab a kernel log after a random reboot?

Tried to use SysLog but the "Last Kernel Log" option is grayed out. maybe you can support it?

Thanks
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
https://sites.google.com/site/zhuow...onandroid60andabovesysfspstoreconsole-ramoops
[Xperia Z4/Z3+ Android Development] itsita:
Thanks,

Grabbed the file as soon as the phone rebooted...
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Thanks for the log,

I have an idea what might have happened,

but can you explain what was enabled and what you did until it rebooted ?

(I assume that radio/3g, at least WiFi, and some stuff was running)
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Feedback needed

How many of you are still using 253 firmware ?

I'd prefer to update the WiFi driver to >305 version
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
New Kernels are UP ! (5.11_corona_III.2_4_9_ctl_X)

More overhauling, more stability, more security )

Commit-based form of changelog:

git log --pretty=oneline a1a44f5809da69a742f11d734b506d5928fddbad..HEAD

https://gist.github.com/zachariasmaladroit/7f52031244c5a478009b27c8e12f26d7

Human readable form of changelog:

Description for PDesireAudio 6.0:

https://github.com/PDesire/PDesireAudioWCD9330Kernel/pull/1

thanks to [MENTION=6126659]PDesire[/MENTION] !

thanks to all devs responsible for those single commits, changes :)

[Download] How to get the Kernel(s) - Step by Step:

Fixme:

Enable

+ Test: CONFIG_PROCESS_RECLAIM

(for the next release)

Important Notes:

Do NOT restore previous settings of Kernel Adiutor, Kernel Adiutor Mod, EX Kernel Manager, etc.

since that might lead to crash of thermal engine !

If it's still occuring it's a

ROM issue

and

none of my business

:p

Enjoy ! :)
[Xperia Z4/Z3+ Android Development] katabroc:
Thanks Zacharias!

Just flashed it over my current kernel, but wifi stopped working...
[Xperia Z4/Z3+ Android Development] toooby:
Yesterday I updated to the 2_4_7 kernel. I'm on .305 btw. Everything works smoothly, tested a bunch of things like 4g, wifi, filetransfer via USB, cast functionality, etc, all without problems. Though I needed do downclock the cpu a bit to stop it from throttling in RealRacing 3, but that is as expected. After just one day I can't say anything yet about battery life.

Unfortunately I still experienced a reboot while my phone was in standby for a while. Next time it happens I will post the log here.
[Xperia Z4/Z3+ Android Development] pou_gh2:
what is this rebooting?why i didnt experience it anytime?!
[Xperia Z4/Z3+ Android Development] toooby:
I really don't know :P I still think it has something to do with hibernation or Doze, because it always happens when my phone is in standby for a while. So most of the time I only notice a reboot because of the Adiutor Mod notification that the settings has been applied at boot. Those settings only include a cpu downclock. Furthermore, Greenify is in default mode + Xposed, and Amplify is also on default settings. Firmware is stock .305. With every kernel update I flash stable SuperSU and latest Xposed, and whipe Dalvik cache. So I don't know what else I can do... :confused:

So if anyone has any idea about what causes the reboots, please let me know :D
[Xperia Z4/Z3+ Android Development] pou_gh2:
i use greenify and i dont have any problem so i think its for doze and you said you play game i think,and you need a better battery for playing games,ican help you with that,just do it and let me know,for me it works nice.put little cores on 1.2hz and big cores on 1.2 or 1.5(for you that play games i think 1.2 will be better for a goo temp)and gpu on 390 or 450 and i\o on tripndroid and plz let me know the results bro
[Xperia Z4/Z3+ Android Development] nosiobadx:
Returned from Nougat just to have this kernel and functionalities, great work.
[Xperia Z4/Z3+ Android Development] katabroc:
How did you get nougat?
[Xperia Z4/Z3+ Android Development] toooby:
I want to do a full wipe an a clean install of everything. Does your kernel also support the 32.2.A.5.11 firmware? Or should I stick to 32.2.A.0.305?
[Xperia Z4/Z3+ Android Development] Uksav:
5.11 in kernel version means 32.2.A.5.11 based kernel. :p;)
[Xperia Z4/Z3+ Android Development] toooby:
Haha ok, didn't know that :silly: thanks! :good:
[Xperia Z4/Z3+ Android Development] lilloscar:
I used Nagasaki Rom because is a stock based Rom that didn't get problem with dual sim reachability, any other Rom recommended that can use WiFi with this kernel?
[Xperia Z4/Z3+ Android Development] pou_gh2:
i used nagasaki and wifi didnt work for me,wifi does not work with 2.4.9 in nagasaki
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
please try out 2_5_1 and let me know if WiFi works again

https://drive.google.com/open?id=0BykGGWB96CBQQTB6QTZXdVJkTDg Z4_Z3P_SK_Permissive_v5.11_III.2_5_1_ctl_X_ivy.zip

https://drive.google.com/open?id=0BykGGWB96CBQaHd5Si1JOWc1WEk Z4_Z3P-DSDS_SK_Perm_v5.11_III.2_5_1_ctl_X_ivy_dual.zip

the WiFi driver change was supposed to improve WiFi operation but apparently something really weird is going on :confused:
[Xperia Z4/Z3+ Android Development] nosiobadx:
Nagasaki Rom is based on 253 that's why it isn't working , it's not a kernel issue.
[Xperia Z4/Z3+ Android Development] pou_gh2:
i flashed another rom because your kernel didnt work bro
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
lol - it in some way is,

if you're running a too new kernel with an older ROM WiFi won't work,

and that's the case

could have let me known earlier,

was asking before who still uses 305 (well, wasn't aware that there are ROMs being used that are older than 305, e.g. 253 or 224) :p

Also: how is it that the kernel didn't work ?

The ROM didn't work ;)
[Xperia Z4/Z3+ Android Development] lilloscar:
I confirm for now that it works as hotspot, not tasted yet with WiFi but it must be working for what I see :good::good::good:
[Xperia Z4/Z3+ Android Development] pou_gh2:
it works for nagasaki but i changed my rom again because this kernel has battery draining and 2.4.9 is better
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
OP (1st post) got updated with a shortcut to the Google Drive folder

tl;dr instruction on how to get the current kernels,

please give 5.11_corona_III.2_6_ctl_X a try :)

Changelog

[Download] How to get the

current

("corona", 5.11) SunKernel(s) - Step by Step:

Note:

The optimization flags needs some testing, so it's NOT 100% sure if the kernel is entirely stable
[Xperia Z4/Z3+ Android Development] kgalv419:
Question

Does this kernel work with the latest firmware Android 7.0? thanks
[Xperia Z4/Z3+ Android Development] nosiobadx:
No you'll get a bootloop
[Xperia Z4/Z3+ Android Development] kgalv419:
Thanks

thank you very much so only use on marshmallow. Got it
[Xperia Z4/Z3+ Android Development] pou_gh2:
this kernel has battery draining..i use 2.4.9 again :D
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
and this is contributing exactly how ? :confused:

:( :crying:
[Xperia Z4/Z3+ Android Development] kgalv419:
Hi Zach love your work really do, I am going to install the last ftf fimware for marshmallow (E6533) 32.2.A.0.224 Malaysia Generic however I want to know what is the issue with the 2.6 kernel and why does everyone recommend 2.4.9. I've been hearing the battery drain issue but is there anything else? Thanks so much for your work.
[Xperia Z4/Z3+ Android Development] pou_gh2:
i just flashed 2.6 again and battery dranings gone! i dont know whats happened
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
2.4.9 might be more efficient (at least faster, potentially more stable + less battery consumption) with WiFi since it uses the newest WiFi driver which only works with ROMs newer than 305

also if possible, why not flash 5.11 firmware ?

Isn't ideally the latest firmware (of an existing version) not always the greatest ?

Nougat is another story ...

2.6 is potentially a bit less stable since it has more aggressive optimization flags, like written in the changelog,

but on the other hand it has per-process reclaim disabled which was the source of instabilities + another change
[Xperia Z4/Z3+ Android Development] pou_gh2:
i have 5.11! anyway thanks for your works and for now 2.6 is working fine for me
[Xperia Z4/Z3+ Android Development] AhmedHussam:
best version for best battery life
[Xperia Z4/Z3+ Android Development] kgalv419:
Got'cha and that is so very true I believe, will go ahead and flash the 5.11 firmware. Thanks so much for your response and keep up the good work, no matter what know your work is always appreciated. Will keep an eye out for any new updates or insights, will also let you know how the firmware is doing after I flash. Thanks again :good:
[Xperia Z4/Z3+ Android Development] pou_gh2:
i will say my experience.2.6,when i flashed 2.6 i had no problem but when i charged again i saw the draining and when i charged again i felt more draining,just like v2,maybe its for stability or anything else
[Xperia Z4/Z3+ Android Development] story:
How's Adoptable Storage working with this kernel?
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Might just be the battery charging optimization - so per se it's not really "draining" but a difference in the battery stats accounting,

if you need maximum amount of battery and little draining,

then disable the charging optimization - has been shown to help in this case :)

isn't that really slowing down the device ?

microSDs are sooo much slower than internal storage

It's ROM side related so it should work if the ROM (Stock/Sony) offers that functionality
[Xperia Z4/Z3+ Android Development] pou_gh2:
when can you provide a kernel for nougat
[Xperia Z4/Z3+ Android Development] story:
I got Adoptable Storage working well.
[Xperia Z4/Z3+ Android Development] BaraaModallal:
5.11

Is it me or the latest build of zach's 5.11 seems to cause a lot of problems?

The device suddenly restarts "about two times per day", and the camera app takes a lot to open and sven longer to take a picture.

SystemUI stops at random times while using famous apps like Facebook and Instagram.

I've been using zach's kernels since the beginning, but since i flashed the last one, problems started appearing

Thanks in advance
[Xperia Z4/Z3+ Android Development] pou_gh2:
i dont have these problems
[Xperia Z4/Z3+ Android Development] kgalv419:
Latest kernel

Hi Zach just flashed the latest version of your kernel and honestly everything is running smooth. The is one thing however all my big cores are off line I can't even turn them on i placed a pic below please let me know if that's normal. thank you!
[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
NO ETAs on XDA, EVER ! :victory:

That's actually working as intended,

as long as you're not loading the phone / CPU it will NOT hotplug and ramp up the big cores

It'll do it automatically as soon as it sees need for it.

Best would be to e.g. test a racing game (Asphalt, Need for Speed, etc.) and see if it runs smoothly (more or less),

if it stutters or totally lags like a dia show - there's an issue with big cores not being enabled,

otherwise it should work as it is meant to do.

Take a look at the usual Google Folder

there are 376 kernels available

they need some good testing (SunKernel corona III.3 port from 5.11)