yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] zacharias.maladroit:
CPUQUIET Hotplug test-kernel :

Download, AndroidFileHost :

224 Kernel

https://www.androidfilehost.com/?w=files&flid=88041 SunKernel_for_Z5 224_I.1_2_20

253 Kernel

https://www.androidfilehost.com/?w=files&flid=88660 SunKernel_for_Z5 253_I_III.1_2_24

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

TODO:

(Notes for myself)

[FIXME: re-add GPU bwmon fix ?

Notes:

More Notes:

If the 2.2 GHz of the big core and 1.63 GHz of the little core are too much,

limit them via e.g. Kernel Adiutor, EX Kernel Manager, etc.

Sauce:

https://github.com/zachariasmaladro..._r2/commits/Sun-Kernel_32.2.A.0.224_vI.1_2_20

https://github.com/zachariasmaladro...commits/Sun-Kernel_32.2.A.0.253_vI_III.1_2_24

Thanks

Feedback needed for:

stability

longterm performance/throttling

general performance (is it enough for e.g. Pokemon Go to work smoothly ?)

hotness (heating ?)
[Xperia Z5 Android Development] zacharias.maladroit:
I tested and tweaked the **** out of HIMA Hotplug (well, as long as Sony Stock firmware allowed),

and it still was laggy and got hot, etc.

so that chapter is done (again !).

In the past it wasn't great and it unfortunately didn't get better meanwhile :confused:
[Xperia Z5 Android Development] Ashray_Vk:
No love for the z5p man? :p

Sorry, been very busy these days. Out on a vacation. Hope all things are fine with you :D will help you test once I'm back .
[Xperia Z5 Android Development] _LLJY:
It's pretty stable, zero crashes so far.

Intelli thermal next update?(seems like an interesting module to add)

Great job zach! Keep it up!
[Xperia Z5 Android Development] sirdoha:
Hi LLJY and Zach:)

Can I Flash the SunKernel V24 on SlimX 2.4?

I mean is it stable and free from crash/ random reboot?

And how is the battery life compared to V13?
[Xperia Z5 Android Development] _LLJY:
Testing 24 right now, sure you can flash it.

Btw SX and XX have separated as sperate projects now
[Xperia Z5 Android Development] sirdoha:
OK. I will wait for some positive comments before flashing it. Thanks _LLJY and Jach a lot.

AND sorry for my misunderstanding between SlimX and XperiaX ROM.
[Xperia Z5 Android Development] zacharias.maladroit:
Hi Ash,

Kernel will be built later, this evening (Europe timezone),

I've need to collect a few experiences and think of a few theories, maybe optimization flags need to be changed,

after that I'll push the kernel out to all devices :)

Anyone still having trouble with installing this Kernel (1_2_24) ?

If yes, I might perhaps have to tune down the optimization flags to the minimum :/

not sure though if they are the reason for the trouble (Z5P users also reported trouble but those went away after wiping /cache and dalvik cache)

which makes sense since with the aggressive optimization flags, cache files could be built differently and not work with that kernel (just a theory).

Isn't it (well was) a "good practice" to wipe /cache and dalvik cache after flashing a new kernel ?

That's at least what I remember of the past :)
[Xperia Z5 Android Development] Tilman:
Well as I mentioned in the Z5P forum, the latest version of the kernel never worked for my E6883, v1.2.12 worked well though, still using it, as 1.2.17 doesn't go past the Sony logo, tried wiping cache & dalvik, didn't help though & unfortunately God knows for what reason I'm weirdly unable to get a logcat for that. Well I hope future versions work well with E6883 & fw.224!! Still got to thank you for 1.2.12, it's amazing.
[Xperia Z5 Android Development] -DM-:
Looks like the wipe process with the last kernel I.1_2_17 for the z5p was just a bandaid...got the kernel running for a day without hiccups but started to get unstable after some time, then crashed and ended in bootloop and another cache/dalvik wipe didn't fix the problem, not able to boot/or just boot for a while that specific kernel....

Back to I.1_2_12 for the time being ;)
[Xperia Z5 Android Development] zacharias.maladroit:
Both of you got a PM,

please let me know how it goes :)
[Xperia Z5 Android Development] RyTekk:
Dynamic Fsync is too dangerous, I had to wipe data to make my phone works again.
[Xperia Z5 Android Development] sirdoha:
Do you have any method to make this Kernel work? It runs smoothly for 1 days and then bootloop :(
[Xperia Z5 Android Development] nreuge:
Dynamic Fsync can be disabled in kernel adiutor.

Overall, I have a better feeling with v24 than v17.
[Xperia Z5 Android Development] zacharias.maladroit:
well, why does it have to be the kernel - or solely the kernel ? :confused:

Also folks blamed the kernel or fauxsound for headphone -> speaker output switch when raising the volume,

but in fact it is a Sony ROM bug (which might have to do with the headphone "optimal output" driver/stuff)
[Xperia Z5 Android Development] zacharias.maladroit:
Multi-Hotplug test-kernel :

Download, AndroidFileHost :

224 Kernel

https://www.androidfilehost.com/?w=files&flid=89758 SunKernel_for_Z5 224_I.1_2_17

253 Kernel

https://www.androidfilehost.com/?w=files&flid=89718 SunKernel_for_Z5 253_I_V.1_2_28_4

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

TODO:

(Notes for myself)

- [FIXME] if instability persists: remove one hotplug related hotplug fix

Notes:

Several commits that caused trouble have been removed, so this kernel should be pretty reliable

Kernel Adiutor is currently acting up a bit with switching between MPDECISION and Intelliplug or MSM_HOTPLUG, so e.g.:

disable intelliplug, enable intelliplug and disable mpdecision,

that should stick

Battery efficiency:

Downclock 1.3 GHz (little core) and 1.5 GHz (big core) [limit max frequency via e.g. Kernel Adiutor or EX Kernel Manager]

For those use interactive governor, otherwise the UI might not be smooth enough and sound might stutter.

Mentions:

(additional ones)

thanks for _LLJY + Beta tester crew and androidexpert35 for testing !

Sauce:

https://github.com/zachariasmaladro..._r2/commits/Sun-Kernel_32.2.A.0.224_vI.1_2_17

https://github.com/zachariasmaladro...commits/Sun-Kernel_32.2.A.0.253_vI_V.1_2_28_4

Thanks
[Xperia Z5 Android Development] xerxess:
I dont know if its fully related to your kernel or not..

But after install your latest kernel..

I found something trouble

1. I cant open recent app in bottom right screen

2. I cant open display setting

3. Notification didnt show up

And the last

4. I think in latest kernel, chargering slowly than before

Rom : Rom X v2.4

I hope it can give enough information

Thank you
[Xperia Z5 Android Development] nreuge:
No such troubles for me (point 4, I don't know, didn't charge yet)
[Xperia Z5 Android Development] Alessandro2553:
Androidfilehost offline.
[Xperia Z5 Android Development] xerxess:
Its weird..

Before, im use this kernel with rom x, its fine..

I did reflash rom without wipe but it didnt help..

Do you have idea?
[Xperia Z5 Android Development] nreuge:
Have you tried to wipe cache and dalvik cache ?

Otherwise, you would need to wipe data, they could have been corrupted...
[Xperia Z5 Android Development] RyTekk:
Yah, you should go back some previous pages to read the changelog, Zach has raised the charged time from 30s to 100s (IDK what is it?).
[Xperia Z5 Android Development] xerxess:
I know it, but i didnt expect to decrease like this..

2-3? can take until 30 minute

I dont mean to offend just give my opinion..

Im sory if my opinion didnt enough clear

Heheh
[Xperia Z5 Android Development] sirdoha:
Sorry if it was annoyed you :fingers-crossed:

But I have tried X ROM with many version (2.2.1, 2.3, 2.3.2, 2.4) and even Stock 253 firmware. But all cause bootloop if I install SunKernel V.13 +

However, I knew that the new official RELEASED (rtm) version of this kernel will be released soon. I'm so much looking forward to its stability and new features.

Sorry and thanks a lot [MENTION=3037651]zacharias.maladroit[/MENTION]
[Xperia Z5 Android Development] peter.schwake@gmail.com:
For me all of your newer kernels bootloops after a time...
[Xperia Z5 Android Development] albertobom:
For me too :(
[Xperia Z5 Android Development] RyTekk:
I unlocked charge current to 2100 mA for QC2.0 (Sony has restricted at 1500 mA), if you want you can ask Zach to add it but need a lot of votes for it, he really doesn't need it so he won't do it for just some people.
[Xperia Z5 Android Development] the_brad:
You mean, sony restricts QC2.0 to 1500mA @ 9V? That sucks and kinda explains, why it charges so slow...

Count me in!
[Xperia Z5 Android Development] xerxess:
Ohh i see

Maybe i will modify it just for me

Can you tell me the location to modify limitations?

I want to learn something

Thankyou
[Xperia Z5 Android Development] RyTekk:
https://github.com/RyTekk/sony_kernel_kitakami_8994/commit/71582d9795a22e1a947aacdf5ce175e4a7e60204

I just edited for sumire only.
[Xperia Z5 Android Development] zacharias.maladroit:
Can you guys please write which ROM, which Xposed Mods, which root apps (Kernel related, System modification related),

after which Kernel version, under which circumstances, etc. ?

This also occur with a "vanilla" Firmware (e.g. flashed via XperiFirm, rooted and flashed Kernel) ?

[MENTION=5231789]nreuge[/MENTION] what ROM are you using ? any thermal engine modifications ? init script modifications besides the ones that you are offering ?

Thanks

ah - you have a quickcharger, that's why I saw no difference with the normal charger :eek:

thanks for that information !

That helps a lot !
[Xperia Z5 Android Development] peter.schwake@gmail.com:
At the moment I use Xperia X ROM 2.4, but bootloops also with 2.3.3 and on stock.

I have tried with Xposed and without it. Makes no difference.

Flashed .253 via flashtool before I installed the ROM.

Bootloops always before bootanimation, on Sony Logo.

Recovery works.

Works for a while, then it bootloops.

If I reflash kernel, clean Dalvik/Cache it works again.

Use SuperSU Systemmode

Sometimes it loops a while, then it boots up normally (crazy I know )

Anyway, thanks for all your work and sorry for my bad English :)
[Xperia Z5 Android Development] albertobom:
I quote this also.
[Xperia Z5 Android Development] zacharias.maladroit:
No problem (zur Not kannst du auch auf Deutsch schreiben :D ),

hm, if it bootloops from Recovery it indicates thermal issues or that the hardware cannot take it (overclocking),

weird so this started with .12 , .13 kernel ?

(because that also has the overclocking)

Just to be really sure: this also happens after a freshly flashed Firmware, rooted, Kernel

and no other modifications whatsoever ?

Here's your cookie

(<-- link inside)

and let me know if you feel better
[Xperia Z5 Android Development] RyTekk:
LOL I told you my charger name, I think you know it. Btw if you wanna see the changes with normal charger, just edit 5V values, 2100 mA is safe enough since battery is charged at 0.75C (0.8C is the limitation of li-ion to get long lifetime).
[Xperia Z5 Android Development] zacharias.maladroit:
This is the kernel from Post #294

Download, AndroidFileHost :

224 Kernel

https://www.androidfilehost.com/?w=files&flid=86341 SunKernel_for_Z5 224_I.1_2_17

253 Kernel

https://www.androidfilehost.com/?w=files&flid=90430 SunKernel_for_Z5 253_I_V.1_2_28_6

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)
[Xperia Z5 Android Development] nreuge:
I use deodexed stock rom .253 with my own mods, no thermal engine modification and I only use the init script Setprops_tweaks.sh from my Z5 Endurance Tweaks v3.

Beside that, I use my own init sh script Headphone_gain.sh to recover the stock default headphone volume level (I'll share it later...).

And of course kernel adiutor!

Thanks for your good work !! :)
[Xperia Z5 Android Development] xerxess:
where i can that file /which tools to do that? thankyou

----------------------------------------------------------------------------------------

by the way

after full clean install again rom then use latest kernel (28.4), all work again..no bug so far
[Xperia Z5 Android Development] albertobom:
Yes after a fresh install also.

Try the new kernel and boot well. Let me do some more tests. :fingers-crossed:
[Xperia Z5 Android Development] peter.schwake@gmail.com:
Can confirm, new kernel is working :')
[Xperia Z5 Android Development] albertobom:
OK, after play a little bit I can say this kernel is a bit more stable for me that the previous ones but after I apply kernel auditor or L Speed optimization it gets unstable, get stuck on antutu.
[Xperia Z5 Android Development] sirdoha:
Hi [MENTION=3037651]zacharias.maladroit[/MENTION], will this version fix all crashes and bootloop???
[Xperia Z5 Android Development] nreuge:
Had a chrash today with v28_6.

Back to 28_4.
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=3923492]albertobom[/MENTION]

what specific optimizations do you use ?

thanks

well, most of the known causes of crashes should have been addressed,

if userspace tools (Kernel Adiutor, etc.) and userspace (modifications made by scripts, etc.) cause instabilities - this of course is not area of responsibility of the kernel

thanks

[MENTION=5231789]nreuge[/MENTION] under what circumstances did this occur,

thanks
[Xperia Z5 Android Development] albertobom:
Nothing special, the usual. I'm thinking that on this kernel is my fault that it bootloops.

But here my settings on kernel auditor :

Cpu - nothing changed, governor interactive.

Thermal - temperature regulator

Gpu - nothing changed.

Screen - don't think that matter.

Wakeup - double tap set to off

Sound - nothing changed.

Battery - fast charge by USB on

I/O Scheduler

Internal memory - row - 4096 kb

SD card - row - 4096 kb

Low Memory Killer - Aggressive

Virtual Memory - swappiness set to 65

Entropy - nothing changed.

Lspeed app I just remove it.
[Xperia Z5 Android Development] nreuge:
Had just taken a few camera shots and was looking at them in album.

Sudenly, It crashed and after reboot I had lost my shots.
[Xperia Z5 Android Development] jackq:
I had reboots on latest version, when i hardly use device and benchmarking using antutu then phone rebooted itself, have to back to 28_4 tested and working well (btw. antutu score lower than on 2-12 (28-4 52k, 2-12 63k)).
[Xperia Z5 Android Development] DaveKing:
I too had reboots in my E6653 in three situations. First in the middle of a call, second on browsing with chrome, and third in antutu. In Quadrant and Geekbench 3 doesn't reboot. The version is 28-6. Back to 28-4 too.

BTW, I loved the 1_2_24_QUIET which stabled the CPU frequency to maximum. And had a very good battery life too.

Thanks for all the work you've been doing, zacharias.maladroit . Great developing!

Cheers!
[Xperia Z5 Android Development] toncheee:
I'm on 2-12 and it is all fine, stable never got any chrash.

Tried 2-17, 2-24, 2-28_4 2-28_6 and all of them bootloops my device with 4 red led flashes, never passed Sony bootlogo.

2-24 booted only once, but after first reboot again 4 red flashes and bootloop

Reverted to 2-12 and boots with no problem.

What should i do?
[Xperia Z5 Android Development] DaveKing:
which rom's version do you have? I use ROMAur and it's very stable with all zacharias.maladroit's kernels. ROMAur is based on Sony's ROM with some nice changes.
[Xperia Z5 Android Development] toncheee:
I have. 253 stock ROM with root and xposed.
[Xperia Z5 Android Development] zacharias.maladroit:
Download, AndroidFileHost :

224 Kernel

https://www.androidfilehost.com/?w=files&flid=86341 SunKernel_for_Z5 224_I.1_2_17

253 Kernel

https://www.androidfilehost.com/?w=files&flid=91305 SunKernel_for_Z5 253_I_V.1_2_31_WIP

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

Sauce

https://github.com/zachariasmaladro...mmits/Sun-Kernel_32.2.A.0.253_vI_V.1_2_31_WIP
[Xperia Z5 Android Development] enjelpuspa:
Hi. I am experiencing some sort of trouble on the newest kernel, my device keeps freezing and restarting itself for unknown reason :( I am currently using Quick Charger 3.0 Aukey for around 6 days, could it be the charger has any interfere with the kernel that caused frequently freeze and restart? :confused:

Device: Xperia Z5 Dual (E6683)

ROM: Xperia X Rom
[Xperia Z5 Android Development] _LLJY:
Beta team bit experiencing any issues whatsoever. An issue on your side maybe?
[Xperia Z5 Android Development] enjelpuspa:
It probably is :eek:

I re-flashed the rom and the kernel many times with full wipe, but my device keeps freezing and restarting. Hence, perhaps my prejudice is true. Haven't try other roms and kernels though, yet. Maybe now I should try to go back using UCH20 first and see the result.

Any other suggestions? :)
[Xperia Z5 Android Development] toncheee:
Hi, I just flashed 2-31 and it is the frst one that booted normally after 2-12.

Will see how it performes.
[Xperia Z5 Android Development] LMcR92:
If you find it is lagging under load move thunderplug to load balance.
[Xperia Z5 Android Development] Dockyy:
[MENTION=3037651]zacharias.maladroit[/MENTION]

Not laggy at all, thunderplug works perfectly...
[Xperia Z5 Android Development] LMcR92:
I did not state is WAS lagging, I said if for anyone who want more umph under load. Was only given a tip out.
[Xperia Z5 Android Development] Dockyy:
oh sorry if you thought that mate, i just said that for zach and support his thunderplug idea...
[Xperia Z5 Android Development] the_brad:
.31 runs great for me! No bootloops so far and it booted straight through the first time! Device stays cooler and hotplugging works flawlessly.
[Xperia Z5 Android Development] LMcR92:
Have you tried switching to load balance and enabling sched boost?
[Xperia Z5 Android Development] LMcR92:
Don't know what kernel app you use but this is my setting I'm trying just now only switched hotplug style to load balance and touch boost. Sched boost seems to switch the load to the Big cores but as expected more heat and battery use.
[Xperia Z5 Android Development] LMcR92:
You may know this already.

http://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549/page91
[Xperia Z5 Android Development] LMcR92:
Well with "load balancer" all cores are active I've seen so far. But I am sure with some tinkering Zach can get this perfect.
[Xperia Z5 Android Development] _LLJY:
Another script :P , this time it is highly experimental.

Edit: does not work

you can either flash it(may not flash at all :P)

or you can manually install it. the init script goes to /system/etc (permission 0644)

the script goes to /system/etc/init.d (permission 755)

IMPORTANT(MUST READ):

you must be on V31

please switch to the userspace governor when testing (and please delete kernel adiutor YOU HAVE BEEN WARNED)

if the script works, you should see the maximum frequency jump up and down depending on cpu temperature and load.

EDIT:

the script is intended to replace the thermal engine and cpu governor(in the future) right now it is still in testing.
[Xperia Z5 Android Development] albertobom:
Which kernel version are you using? And kernel auditor settings please. :D
[Xperia Z5 Android Development] albertobom:
But your settings are? :confused:
[Xperia Z5 Android Development] zacharias.maladroit:
Multi-Hotplug kernel (

stable

approach) :

Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=92190 SunKernel_for_Z5 253_I_V.1_2_34_WIP_bricked-msm_hotplug-intelli

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

TODO:

(Notes for myself)

- [FIXME] if instability persists: re-add one hotplug related hotplug fix (but might also cause instabilities and boot failure)

- [FIXME] fixed previous security issues (had left them out for now), need to check if I overlooked any from the past

Notes:

Several commits that fix trouble have been added, so this kernel should be

more

reliable

Kernel Adiutor from PlayStore is currently acting up a bit with switching between MPDECISION and Intelliplug or MSM_HOTPLUG, also the new overhauled UI has some functional limitations

(functions removed or currently not working):

Meanwhile use:

Kernel Adiutor-Mod [V15] [18JUL2016]

no offense to the Original author of Kernel Adiutor, this tool simply offers the bells and whistle the Kernel currently needs, otherwise resorting to console input (or scripts) is needed

Thanks

Unless severe problems occur (or I missed something important), this will be the last/latest kernel release for some time. The kernel has matured quite a bit and should be good to go

Thanks for your understanding :)

Battery efficiency:

Downclock 1.3 GHz (little core) and 1.5 GHz (big core) [limit max frequency via e.g. Kernel Adiutor or EX Kernel Manager]

For those use interactive governor, otherwise the UI might not be smooth enough and sound might stutter.

Mentions:

(additional ones)

thanks for [MENTION=6791680]_LLJY[/MENTION] + Beta tester crew and [MENTION=5627933]androidexpert35[/MENTION] for testing !

Sauce:

https://github.com/zachariasmaladro..._r2/commits/Sun-Kernel_32.2.A.0.224_vI.1_2_17

https://github.com/zachariasmaladro...mmits/Sun-Kernel_32.2.A.0.253_vI_V.1_2_34_WIP

Thanks & Enjoy !
[Xperia Z5 Android Development] peter.schwake@gmail.com:
Loops on sony logo... tried reflashed supersu, wipe caches etc. But .31 works very well (thanks, nice work) so I went back to it...

But anyway enjoy your 'break' :') I go to bed now xD
[Xperia Z5 Android Development] RyTekk:
Yah, you guys had better choose a version that is suitable for you to let Zach take a long rest, he has contributed hardly for us ;)
[Xperia Z5 Android Development] sirdoha:
Agree with you. His contributions for us are really significant and enormous :). We should respect and let him take a breath after a hard-working period :)

---------- Post added at 02:16 AM ---------- Previous post was at 02:12 AM ----------

Just a question: There are lots of version of Zach's Sunkernel like Hima-hotplug, bricked-msm, quiet, sum, ....

What is the differences and what is the most optimum version for daily use which need battery and stability.

Thanks all guys for reading my question :)
[Xperia Z5 Android Development] goRt:
.12 for me.

Although today I'm trying .31 as that has good reports.
[Xperia Z5 Android Development] sirdoha:
What's version of SunKernel you are using? :confused:
[Xperia Z5 Android Development] goRt:
Reverted to .12, .31 had small lags but battery life was much worse hardly ever sleeping.
[Xperia Z5 Android Development] toncheee:
Aftet two days on .31 reverted back to .12

.12 have much better battery life for daily use. I don't Play games or do benchmarks.

Tried .34 but couldn't boot, continuous bootloop...

Is it possible to dissable cyan led on .12?
[Xperia Z5 Android Development] DaveKing:
Xposed problem solved. System installation problem. Don't convert the Xposed installer from user to system. The systemless had problems with that. So no problem related with the kernel! Nice! Last build rock stable and fast. Thanks zach
[Xperia Z5 Android Development] nreuge:
About v34: which hotplug (intelli_plug, bricked or msm_hotplug) do you prefer ? And why ?

Which is the best in terms of performance and/or battery life ?
[Xperia Z5 Android Development] RyTekk:
Why don't you to be the first one who report it :D, take a day for each hotplug for daily usage and benchmark, I am gonna wait for it ;). IMO, I guess intelli_plug will more likely to put temperature and battery on top, unfortunately I have never tried these two rest hotplugs.
[Xperia Z5 Android Development] _LLJY:
Msm should work best, bricked is slightly wonky. Intelliplug is just pure crap
[Xperia Z5 Android Development] zacharias.maladroit:
Notes:

Video-Recording seems to be broken with latest (few) Kernels,

can anyone point to the Kernel where it worked the last time ?

Haven't figured out yet where it might have gotten introduced or what might cause it,

Thank you for your help
[Xperia Z5 Android Development] GryTEcHoG:
.12 had it working for me in Z3+ and this version was good with battery in use, so It would be best if you could use that as base and apply new changes.

Thanks
[Xperia Z5 Android Development] DaveKing:
The 28_4 kernel works flawless, with the video and performance.

I'm with E6653.

Cheers
[Xperia Z5 Android Development] toncheee:
.12 was best, please use that one