yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Premium Android Development] -DM-:
Interesting about the patch level thing as when I flashed SunKernel_for_Z5Prem 253_I_VI.1_2_46_2_TP it showed August 5th as of April 1st right now....unless I was hallucinating at the time but I don't think I was under the influence :D

I might have to reflash that kernel just to check to really see if I was tripping?!?

I didn't check the radio app while I was testing that kernel though (so I can test it at the same time to see if it goes in kernel panic)...I'll get back to you on that one...

Quadroot indeed in check with this kernel (and you can also see that I'm running the radio from the left icon)...radio is cool to have especially in an earthquake prone area like where I am...

I'm on E6853 with RomAur 4.2.1, but further debloated by me and a bunch of apps with disabled services (I'm looking at you Google Play Services)

So yes stable and up to date kernel... First time I don't have to revert to I.1_2_12_sats, in fact it feels like I'm still on it, good move from your part to rework on that version...

Thanks and see you on your other break ;)

Edit/Update:

I went back to as far as SunKernel_for_Z5Prem 253_I_V.1_2_34_WIP_bricked-msm_hotplug-intelli and worked my way back up one by one to SunKernel_for_Z5Prem 253_I_VI.1_2_46_2_TP

All of them do cause kernel panic when opening the radio app but Z5Prem_Sunkernel_Permissive_v253_II.1_3_sats doesn't as I previously stated....so at least some new info for you to ponder as it looks like it's not the recent security changes causing the problem ;)

And I guess I was really tripping when I said that I saw August 5th level patches as it doesn't show in any of those kernel...so i really don't know where I saw this now, that weird ;)

One more update, image enhancement (x-reality etc...) not working just like I pointed out in post 113 with a previous kernel....camera is fine well except from the crappy quality now, but no delay...

I realized that something was wrong because I could clearly tell that the colors seemed washed out, so went to check into display settings...
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Introducing SunKernel , codename Corona

Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=108584 SunKernel_for_Z5Prem 253_corona_III.1_5_2

Notes

- ALL functions (well, most) have been tested and should work reliably (including FM Radio app, which still acts up from time to time)

- The Kernel is built on the following premise of having a slim Base with which only the relevant (needed & desired) areas are updated, others are deliberately left alone

- [e.g. not ALL Hotplug mechanisms are merged which cannot be used or NOT needed to avoid cluttering the source or even binary from any unwanted effects]

Power efficiency Tests

- Downclock the max GPU frequency to 390 MHz [this should be NO Problem for e.g. MX Player Pro with HW and HW+ acceleration for even 1080p videos (tested)]

- Downclock the max CPU frequencies for BIG to 1.5 GHz, little 1.3 GHz

- Darkness/SmartMax governor for little CPUs, SmartMax for big CPUs

- More aggressive Task packing for HMP Scheduling (this needs in-depth knowledge and LOTS of tests)

- ...

Attention

- This kernel is in

TESTING

state since power efficient WQ, quickwakeup, LPM improvements, NVIDIA relax improvements, KTM/BCL interface, CAF changes and some more got merged

- The goal is to IMPROVE STABILITY and RELIABILITY but it needs more TESTING to confirm this intention

- issues CANNOT be ruled out - caveat emptor !

- This is reason enough to Backup your data, have another Kernel release on your phone's Internal or External storage ready in case of (potential) trouble

Kudos

to [MENTION=5627933]androidexpert35[/MENTION] , [MENTION=6791680]_LLJY[/MENTION] , the BETA Testing team, [MENTION=4798704]RyTekk[/MENTION] , [MENTION=5169444]AndroPlus[/MENTION]

Sauce

https://github.com/zachariasmaladro...-Kernel_Eclipse_32.2.A.0.253_corona_III.1_5_2
[Xperia Z5 Premium Android Development] -DM-:
WOW!!

...that's all I got to say
[Xperia Z5 Premium Android Development] xerxess:
its only me, this kernel isnt support fast charge?

when im use this kernel, toggle fast charge in kernel adiutor is gone
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Please edit your post and remove or trim the (rather long) full-post quote ;)

Kernels have been updated in the AFH folder with fastcharge :)
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Introducing SunKernel , codename Corona

Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=109746 SunKernel_for_Z5Prem 253_corona_III.1_8_2_bcmdhd

Notes

- ALL functions (well, most) have been tested and should work reliably (

including FM Radio app

)

-FM Radio app should work reliably now, the wakelock toggles made it stop working randomly (when activated ?!) + also to Kernel panic once activated

-In-built WiFi Module is

EXPERIMENTAL for suzuran [Z5 Compact] (need feedback)

- The Kernel is built on the following premise of having a slim Base with which only the relevant (needed & desired) areas are updated, others are deliberately left alone

- [e.g. not ALL Hotplug mechanisms are merged which cannot be used or NOT needed to avoid cluttering the source or even binary from any unwanted effects]

Power efficiency Tests

- Downclock the max GPU frequency to 390 MHz [this should be NO Problem for e.g. MX Player Pro with HW and HW+ acceleration for even 1080p videos (tested)]

- Downclock the max CPU frequencies for BIG to 1.5 GHz, little 1.3 GHz

- Darkness/SmartMax governor for little CPUs, SmartMax for big CPUs

- More aggressive Task packing for HMP Scheduling (this needs in-depth knowledge and LOTS of tests)

- In case your phone uses LOTS of Background tasks, try to use conservative governor for BOTH big and little cores, this will make your phone a bit less smooth but battery consumption goes down

- ...

Attention

- This kernel is in

TESTING

state since power efficient WQ, quickwakeup, LPM improvements, NVIDIA relax improvements, KTM/BCL interface, the WiFi driver is built-in, CPUQUIET, CAF changes and some more got merged

- The goal is to IMPROVE STABILITY and RELIABILITY and also

CUT Battery consumption

but it needs more TESTING to confirm this intention

- issues CANNOT be ruled out - caveat emptor !

- This is reason enough to Backup your data, have another Kernel release on your phone's Internal or External storage ready in case of (potential) trouble

Kudos

to [MENTION=5627933]androidexpert35[/MENTION] , [MENTION=6791680]_LLJY[/MENTION] , the BETA Testing team, [MENTION=4798704]RyTekk[/MENTION] , [MENTION=5169444]AndroPlus[/MENTION] , Myself5,

Sauce

https://github.com/zachariasmaladro..._Eclipse_32.2.A.0.253_corona_III.1_8_2_bcmdhd
[Xperia Z5 Premium Android Development] -DM-:
Just gave a quick try at this latest kernel and ran into a weird bug after I finished being on a call the screen became black with a bunch of vertical white lines, couldn't get out of it so had to do a forced power off...didn't think much about it at the time...

But the same thing reappears every time I tried to boot into recovery, the screen goes crazy before twrp splash screen load...have to wait for the twrp screen time out to kicks in to be able to access it...I reverted to a backup and reflashed this latest kernel and I can recreate the bug everytime I boot into recovery but wasn't able to recreate it during phone use, but something is definitely odd about it...so maybe somebody can confirm this!

On the other hand corona_III.1_5_2 is running brilliantly, you guys can try to switch to alucard governor for big and little cpu without downcloking the frequencies and leave everything else to default ...I got super good results with it, ≈10% battery drop per hour on usage and flat line during idle/sleep, phone is smooth, cool and snappy...Haven't used it for a full day yet to see final behavior but looking great so far!

So give that governor a try, see for yourself and comment on it...
[Xperia Z5 Premium Android Development] Tilman:
Well I can enter the recovery without any weird behavior or screen going crazy before entering to TWRP!!!

This latest kernel has been running smooth on CPUQuiet & smartmax governor with amazing battery life. It's still too early to speak on battery life but early impressions are quite good.
[Xperia Z5 Premium Android Development] -DM-:
[MENTION=3037651]zacharias.maladroit[/MENTION]

The bug that I described in my previous post has to do with the kernel based on the wrong display type, this video that I found on YouTube shows pretty much the problem, in my case I get it every time right after the splash screen when entering recovery (+ that one time while in use)

Went to /sys/devices/mdss_dsi_panel/panel_id and my panel id is 3 (might be sharp from what I've seen on other xperia phones)

Also found this on github, it's for LG phone but you might make sense of it, I don't ;)

There is no problem with corona_III.1_5_2, but present if flash corona_III.1_8_2_bcmdhd
[Xperia Z5 Premium Android Development] _LLJY:
Hi Zach, please completely remove little OC, I just tested big OC with PoGo + intensive use. OC is a lot cooler thanks to the faster RaceToIdle performance. I think 2054mhz is the sweet spot for OC. Little cores should stay at 1.5ghz, they are horrible over clockers.
[Xperia Z5 Premium Android Development] benengyj:
E6853 using kernel 1.9.4 on RomAur 4.2.1 seems to break Magisk - does not pass safetynet even when root is not mounted, not sure if it's an error on my part of if something about the kernel is preventing it.

My observations - volume of notifications is pretty low for and WIFI signal seems much weaker too compared to other kernels.
[Xperia Z5 Premium Android Development] _LLJY:
You can only pass safetynet when you are running complete stock.
[Xperia Z5 Premium Android Development] KbaB.BroS:
Romaur also flashes SuperSU automatically on the system side and that's the reason you can't bypass the safetynet properly. Even using systemless SuperSU won't work, the dev for magisk recommends phh's superuser if you want to bypass the safetynet however that superuser tool doesn't work properly, some root apps won't work.

Actually you can with Magisk. Only problem is phh's superuser doesn't work very well on our devices.
[Xperia Z5 Premium Android Development] benengyj:
Yup. I uninstalled/unrooted SuperSU before flashing Magisk and phh's Superuser on top of RomAur and it works perfectly. Just that Aur's kernel still has that "fingerprint hardware not available" bug appearing periodically and the battery drain (which seems to be much better after I froze some system apps).

Yup...it seems to be very dependent on the kernel used. Your modified stock kernel and Aur kernel allows me to run Magisk/xposed/phh's properly but Sunkernel seems to get detected even when SuperSU/Magisk/etc isn't even installed.
[Xperia Z5 Premium Android Development] benengyj:
Forgot to add that it totally works for me when using other different non-stock kernels.
[Xperia Z5 Premium Android Development] _LLJY:
Stock ROM* kernel is fine.
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Introducing SunKernel , codename Corona

Download, AndroidFileHost :

253 Kernel

SunKernel_for_Z5Prem 253_corona_III.1_9_4_6

[leads to Nirvana, AFH is currently too slow]

Notes

- ALL functions (well, most) have been tested and should work reliably (including FM Radio app, which still acts up from time to time)

- the Kernel (GUI) might be laggy, under investigation how to mitigate this, please consider that

this might save A LOT of battery

(lower clocked GPU)

-

YOU HAVE THE CONTROL: if the GUI is too laggy,

disable Adreno-Idler, State_Notifier (Adreno_Idler is the only user) and disable GENTLE_FAIR_SLEEPERS, this should improve it A LOT

- The Kernel is built on the following premise of having a slim Base with which only the relevant (needed & desired) areas are updated, others are deliberately left alone

- [e.g. not ALL Hotplug mechanisms are merged which cannot be used or NOT needed to avoid cluttering the source or even binary from any unwanted effects]

Power efficiency Tests

- Downclock the max GPU frequency to 390 MHz [this should be NO Problem for e.g. MX Player Pro with HW and HW+ acceleration for even 1080p videos (tested)]

- default idle frequency for the GPU is at 27 MHz which might cause trouble with STAMINA MODE, might cause lagginess (currently under investigation), this might be a bit mitigated by using Adreno Idler (currently included)

- testing Downclock the max CPU frequencies for BIG to 1.5 GHz, little 1.3 GHz (depending on your usage case it might improve battery time or make it worse and take longer for things to complete)

- More aggressive Task packing for HMP Scheduling (this needs in-depth knowledge and LOTS of tests)

- ...

Attention

- This kernel is in

TESTING

state since power efficient WQ, quickwakeup, LPM improvements, NVIDIA relax improvements, KTM/BCL interface, CAF changes and some more got merged

- The goal is to IMPROVE STABILITY and RELIABILITY but it needs more TESTING to confirm this intention

- issues CANNOT be ruled out - caveat emptor !

- This is reason enough to Backup your data, have another Kernel release on your phone's Internal or External storage ready in case of (potential) trouble

Kudos

to all devs who are working on Xperia devices and of course all of the other devs on XDA, 4pda, etc. etc.

Sauce

https://github.com/zachariasmaladro...-Kernel_Eclipse_32.2.A.0.253_corona_III.1_9_4
[Xperia Z5 Premium Android Development] -DM-:
1_9_4_6 running nicely without any glitch...
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Introducing SunKernel , codename Corona (Interim build)

Download, AndroidFileHost :

253 Kernel

SunKernel_for_Z5Prem 253_corona_III.1_9_4_7

[leads to Nirvana, AFH is currently too slow]

Notes

- Bluetooth transfer worked for me

- lagginess for sound playback, bluetooth, etc. should be "fixed" with re-enabling of CPUBOOST

-

disable

CPUBOOST for better battery sayings like before

Sauce

https://github.com/zachariasmaladro...-Kernel_Eclipse_32.2.A.0.253_corona_III.1_9_4
[Xperia Z5 Premium Android Development] -DM-:
The other one didn't got time to cool down yet ;)

Let's give this one a twirl...
[Xperia Z5 Premium Android Development] -DM-:
[MENTION=3037651]zacharias.maladroit[/MENTION]

The only thing I noticed with corona_III.1_9_4_7 is that it tends to run a bit warmer than 1_9_4 which I've used since you posted it... Around 5°C to 10°C higher with same usage on both kernel and no thermal mod, just overclocked big to 2054MHz and LITTLE kept stock, both with nightmare governor....

corona_III.1_9_4 is totally fine on my device, no complaints on my side whatsoever (also haven't tried corona_III.1_9_4_6 more than a few hours as you updated it right away to 1_9_4_7)

Thanks
[Xperia Z5 Premium Android Development] zacharias.maladroit:
[MENTION=3336974]-DM-[/MENTION]

yeah, I'm updating as I see fit,

e.g. the following one was IMO necessary

battery drain in idle should be much lower (if even existent),

also battery consumption during audio playback appears lower,

offending governors got removed, optimized flags used (for real !), quicker wakeup from standby

Testing Kernel

https://www.androidfilehost.com/?w=files&flid=110894
[Xperia Z5 Premium Android Development] -DM-:
I will report back on this new one....

On my side idle battery is flat, LTE on 24/7, 2 imap push email accounts, some messaging app, double tap to wake on...and use adaptive brightness when the screen is on

I posted those before but it's a good example on how the battery behave

-During the night

-The all day

But I must say that I use greenify and whatever I don't need/use is hibernated, including google play services, anything analytics and a bunch of other services are disabled, apps background data are restricted on mobile network except for a few...so that definitely help with the idle ;)
[Xperia Z5 Premium Android Development] Muhammad amine:
I have lost the wake option after flashing last kernel.1.9.8...

My device Z5p E6833....
[Xperia Z5 Premium Android Development] -DM-:
Correct, but you still can enable it from settings/display... don't need to do it from kernel adiutor, unless it has been disabled in the rom that you're using a well...
[Xperia Z5 Premium Android Development] Muhammad amine:
Yes I am using RomX and there is no wake option in the settings
[Xperia Z5 Premium Android Development] Tilman:
So I flashed the v1.9.8 just for the heck of it!! And I slept for 4 hours with LTE on & the notification LED turned off, & there was no battery drain at all. And its fast enough at Alucard governor, CPU boost turned off and, big and little cores locked at stock frequencies.
[Xperia Z5 Premium Android Development] DarkSilentSC:
The battery section in Arduitor says Battery capacity is 2900mAh instead of 3430mAh for Z5 Premium Dual. Is this reading error, or something else going on?
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Not entirely sure what Kernel Adiutor reads out but check with additional tools (e.g. CPU Z) whether there it also is lower,

nothing related in Kernel was changed that could evoke such lowering of capacity :confused:
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Introducing SunKernel , codename Corona [Testing]

Download, AndroidFileHost :

253 Kernel

SunKernel_for_Z5Prem 253_corona_III.1_9_10

[leads to Nirvana, AFH is currently too slow]

Notes

- ALL functions (well, most) have been tested and should work reliably (including FM Radio app, which still acts up from time to time)

- the Kernel (GUI) might be laggy, under investigation how to mitigate this, please consider that

this might save A LOT of battery

(lower clocked GPU)

-

YOU HAVE THE CONTROL: if the GUI is too laggy,

disable Adreno-Idler, State_Notifier (Adreno_Idler is the only user) and disable GENTLE_FAIR_SLEEPERS, this should improve it A LOT

- The Kernel is built on the following premise of having a slim Base with which only the relevant (needed & desired) areas are updated, others are deliberately left alone

- [e.g. not ALL Hotplug mechanisms are merged which cannot be used or NOT needed to avoid cluttering the source or even binary from any unwanted effects]

Power efficiency Tests

- Downclock the max GPU frequency to 390 MHz [this should be NO Problem for e.g. MX Player Pro with HW and HW+ acceleration for even 1080p videos (tested)]

- default idle frequency for the GPU is at 27 MHz which might cause trouble with STAMINA MODE, might cause lagginess (currently under investigation), this might be a bit mitigated by using Adreno Idler (currently included)

- testing Downclock the max CPU frequencies for BIG to 1.5 GHz, little 1.3 GHz (depending on your usage case it might improve battery time or make it worse and take longer for things to complete)

- More aggressive Task packing for HMP Scheduling (this needs in-depth knowledge and LOTS of tests)

- ...

Attention

- This kernel is in

TESTING

state since power efficient WQ, quickwakeup, LPM improvements, NVIDIA relax improvements, KTM/BCL interface, CAF changes and some more got merged

- The goal is to IMPROVE STABILITY and RELIABILITY but it needs more TESTING to confirm this intention

- issues CANNOT be ruled out - caveat emptor !

- This is reason enough to Backup your data, have another Kernel release on your phone's Internal or External storage ready in case of (potential) trouble

Kudos

to all devs who are working on Xperia devices and of course all of the other devs on XDA, 4pda, etc. etc.

Sauce

https://github.com/zachariasmaladro...Kernel_Eclipse_32.2.A.0.253_corona_III.1_9_10
[Xperia Z5 Premium Android Development] -DM-:
First boot, phone got super hot ≈70°C+ and didn't look like it wanted to cool down either... Kinda settled down in the high 50ⁿC after a while, so flashed back 1_9_8 and reflashed it one more time and boot went fine with normal heat right after boot (≈60°C) then settled down rapidly into the low 40° and well in the low 30° when coming back from idle....

Downloaded an app update some few hours later from the play store and got a heat spike in the 70°C+ during the download and install and again didn't want to cool down afterwards for a while., battery went down 5% in a minute or so....

So it seems like something is causing random heat spikes which takes longer time to cool down....!?!

No extra mods added by the way....

Thanks
[Xperia Z5 Premium Android Development] DarkSilentSC:
Sorry about the lack of screenshot picture, but CPU-Z does read 3430mAh battery capacity. Just Adiutor reads 2900mAh. Wonder if there are any Z5 properties written anywhere?
[Xperia Z5 Premium Android Development] zacharias.maladroit:
That sounds rather serious,

I wonder why none of the other devices reported anything similar :confused:

Can I get some feedback please ?

Overclocking or no overclocking ?

The SoC (processors) should be fast enough, no ?

The past experience has shown that NOT using overclocking makes the phone behavior cooler in total ...
[Xperia Z5 Premium Android Development] -DM-:
Just overclocked big to 2054MHz, LITTLE is kept stock to 1555MHz with nightmare governor on both....everything else untouched... This is the settings have been using on your past kernels without any heat issues and great results....

Looks like [MENTION=7050263]Muhammad amine[/MENTION] reported heat problem as well from his above post, let see what his settings are if any?

I didn't try to reset the clock of big to stock and check as I reverted back to the prior kernel (1_9_8) since I'm on vacation right now traveling around until the end of October so only limited time to do testing but I can give 1_9_10 another quick shot with stock values...

Will report back when done...

Thanks
[Xperia Z5 Premium Android Development] Muhammad amine:
I overclocked big to 2054MHz, LITTLE is kept stock to 1555MHz with alucard governor on both...
[Xperia Z5 Premium Android Development] -DM-:
[MENTION=3037651]zacharias.maladroit[/MENTION]

Tested cpu and governor with stock values and still getting those heat spikes...
[Xperia Z5 Premium Android Development] _LLJY:
GPU at 72 is fine, we long as the CPU isn't at crazy temps like >70 that's when you know that not just the GPU is hot, the whole chip is hot.
[Xperia Z5 Premium Android Development] -DM-:
But not normal if it spikes on its own for no reason whatsoever though
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Agreed,

you meanwhile still got those with the new (internal) testing kernel ?
[Xperia Z5 Premium Android Development] -DM-:
Haven't noticed any with 1_9_11, but I'm not under the best conditions for testing as I'm traveling, but at least I can compare the results to 1_9_10 as I tested it with the same circumstances....

All I can say is that 11 is in general a few degrees higher than what 1_9_4 was on a regular basis but nothing to cry about ;)
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Download

Z5P (satsuki): https://drive.google.com/open?id=0BykGGWB96CBQaVZTdnF5QnVTMU0

253_corona_III.1_9_11_ctl_X

253_corona_III.1_9_12_ctl_X
[Xperia Z5 Premium Android Development] the_brad:
Thanks for the new one, gonna test right now :)

One thing, that made me curious: I tried to switch SELinux to enforcing, as I'm playing around with safetynet and systemless stuff. So far I have a untouched system partition and been using a modified stock kernel (tobias.waldvogels ramdisk changes: DRM, TWRP, nothing else) and safetynet checks passed flawlessly. Now I use your kernel and it fails. I thought ,that might happen due to SELinux set to permissive.

I have no luck in terminal using

su
setenforce 1

It just stays permissive... Any special switch required for your kernel or do I have to look somewhere else?

Thanks :)
[Xperia Z5 Premium Android Development] -DM-:
[MENTION=3037651]zacharias.maladroit[/MENTION]

Perfect work on 1_9_12...all heat issues are now gone...smooth and snappy usage, idle battery is flat line (left the phone untouched for 6 hours and battery stayed at the same level during that time period)

Complete stable kernel version...Bravo!