yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] nreuge:
Well, I was using little 1555 MHz / big 1958 MHz with darkness governor, good battery life, weak performance.

I've change to little 1708 MHz / big 1958 MHz still with darkness governor. As a result, battery life was no longer good at all. I know why: darkness gov uses 1708 MHz too much often...

Then, I've changed gov to alucard, and as a result battery was as good as my first config but with very good performance !!

Therefore, OC little is good for both battery life and performance, but only if the chosen governor manages OC properly.
[Xperia Z5 Android Development] _LLJY:
OC big is more beneficial, little cores hate overclocks
[Xperia Z5 Android Development] _LLJY:
I'm facing a lot of cell standby issues with 1.9.4, back to 1.9.3
[Xperia Z5 Android Development] zebasketteur:
Where is the 1_9_3 version ?
[Xperia Z5 Android Development] klemen241:
same here, wont wakr up from standby, i mean screen wont, phone works. Also where are links for older versions
[Xperia Z5 Android Development] toncheee:
Never had this kind of problems, try to change Governor to Alucard
[Xperia Z5 Android Development] klemen241:
i have both on alucard
[Xperia Z5 Android Development] toncheee:
Did you underclock GPU?

I had this problems when I did that on some older kernels
[Xperia Z5 Android Development] klemen241:
little is on 1300mhz, should i set it to 1700?
[Xperia Z5 Android Development] toncheee:
Not the CPU, I have Little on 1,3, and Big on 1,95

but GPU it is on different tab in kernel adiutor, you can set it from 180 to 630, someone mentioned that it is enough to put it to 390, but them I had those simptomes as you mentioned, so now I have it on default (630) and all is OK
[Xperia Z5 Android Development] nreuge:
What do you mean by "hate"

It's now an obviousness for me that OC little is very beneficial in term of battery life...
[Xperia Z5 Android Development] klemen241:
yes i had it on default 630. Strange, first time it happend yesterday after i was using phone, today it happend after night when it was in sleep
[Xperia Z5 Android Development] DaveKing:
Me too. Several reboots in 3 days using Bluetooth and GPS.
[Xperia Z5 Android Development] koekoek91:
Hmm this is strange. I even underclocked gpu to 305mhz maximum with no problems or lagg during my need for speed no limits gaming sessions.

Since yesterday I'm trying again to tweak version 1.9.4. Before I was using interactive governor on both big and little and underclocked both to 1248 with no noticeable lower performance. But had frequent random reboots and bad battery life for me.

Right now I'm trying again with same clock speeds but bioshock governor.

But battery life got even worse.

Someone have any governor suggestions maybe? And could include some info / suggestions on tunable for the suggested governor(s).

I'm not totally giving up on this kernel yet[emoji14]
[Xperia Z5 Android Development] klemen241:
yes i need some good settings too, for performance and battery balance
[Xperia Z5 Android Development] koekoek91:
Tomorrow I will test using allucard governor. Guess I'm just gonna try most governors and test them for a day for battery life in my case,with similar usage compared to the other days.

Still would love to get some more info for the tunables of these specific governor's if anyone has the knowledge[emoji4] : interactive, bioshock, nightmare, zzmove and conservative.

Any info on the settings to use for tunables for would be great (mostly interested in optimal battery life).
[Xperia Z5 Android Development] nreuge:
I confirm this stanby issue... It occurs more and more often since a week :(
[Xperia Z5 Android Development] nreuge:
These issues could be due to kernel incompliancy with XZ / XC SystemUI ports.

Going back to X SystemUI port and give feedback ASAP.

Edit:

Standby issue happens even with X SystemUI...
[Xperia Z5 Android Development] HaoZeke:
1.6 won't boot at all, using the dsds version... 1.9.4 works fine, along with 1_5.3 (I believe that's an edited 1.9.5? )

Tested on the latest stable 3.0 ROMX on the E6603
[Xperia Z5 Android Development] klemen241:
No offence but this thread is a mess, cant find any links to older version or updates
[Xperia Z5 Android Development] sirdoha:
Just look at the headlines "WIP", you can easily know the reason why it's so messy. Because sir Zach has to put all his efforts on making a better kernel for us so no time for redecoration. I'm sure that he will reorganize it after all the works go into their orbit.
[Xperia Z5 Android Development] zacharias.maladroit:
Apologies, I actually wanted to beautify the first post a bit, and list all of the main folders of AFH but currently AFH is experiencing "growing pains"

So I'll do it here in text form:

there are more or less 2 folders:

"DRAGONS" (bleeding, edge, potentially broken or kernels turning out to be a "lucky strike")

253_Kernels (these work for .253 ROMs and .224 ROMs - both Marshmallow, which should be what you're looking for)

Right you are :D
[Xperia Z5 Android Development] zacharias.maladroit:
Introducing SunKernel , codename Corona

Download, AndroidFileHost :

253 Kernel

SunKernel_for_Z5 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 Android Development] sirdoha:
Sounds great and promising! Flashing now and will report soon! Good jobs, [MENTION=3037651]zacharias.maladroit[/MENTION]

Update: the new version is so good! Keep it up, [MENTION=3037651]zacharias.maladroit[/MENTION]
[Xperia Z5 Android Development] xerxess:
Had try the latest kernel

So far so good, also have good battery

Until now, no random reboot
[Xperia Z5 Android Development] nreuge:
Just had a crash. I was listening to music. Back to Androkernel v37.
[Xperia Z5 Android Development] odl:
I just got reboot with latest (1.9.4.6) version.. is issue with random reboots when using BT fixed in this version? I'm using BT constantly (smart watch / car audio..)
[Xperia Z5 Android Development] DaveKing:
For me, terrible performance and freezes on XRom.. Back to 1.2.46 tp... The ramdisk should be totally seen and changed. The phone start very quickly and then with time lose a lot of performance. Not speaking of rebbots when using gps or Bluetooth... The fiops or sio, should be introduced in newer Kernels. Raw and deadline are very old and not optimized, having a lot of battery consumption. This Kernel was good... I think it should be revised from the start. Sorry Zach.. I'm being honest.

Cheers to all
[Xperia Z5 Android Development] zacharias.maladroit:
Introducing SunKernel , codename Corona (Interim build)

Download, AndroidFileHost :

253 Kernel

SunKernel_for_Z5 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

Kernels for the other Kitakami devices will follow suit
[Xperia Z5 Android Development] zacharias.maladroit:
Please post more details (apps, init scripts, thermal, ROM, Kernel/System settings, etc. etc.)

Thanks

did a bunch of file transfers with bluetooth, no issues,

stuttering of audio with bluetooth should be gone with cpuboost re-enabled,

please test.

What did you do before it rebooted ?

Using a specific custom ROM with custom init or custom thermal ?

Kernel Adiutor ?

Thanks for the report,

this might indicate either entropy depletion, memory leak or other related issues,

entropy depletion might be addressed now (III.1_9_4_7).

Speed: CPUBOOST is re-enabled so that should improve smoothness back to peak at the cost of higher battery consumption,

fiops or sio are not really needed since e.g. sio does no sorting which is very similar to the modified noop I use,

I'm using an optimized ROW i/o scheduler and it was specifically tailored towards flash storage and been shown in benchmarks to be superior ...

Are you blaming battery consumption on the i/o scheduler ?

there is NO cfq or bfq used unless you set it by default (ROW is default)
[Xperia Z5 Android Development] koekoek91:
Okay here is what i've found so far.

3 random reboots when im selecting spdm_dw_hyp as GPU governor. I found this accidentally by selecting it while I actually wanted to select a different governor.

Keeps rebooting when I select GPU governor spdm_dw_hyp in Kernel Adiutor Mod newest version. I tried it 3 times now and 3 crashes.

Other than that its running fine as of now but I just flashed a couple hours ago.

One more thing... CPU hotplug doesn't seem to work correctly as I can only hotplug the little cores. Or maybe im doing something wrong, could be the case too.

I will first keep using 1.9.4.6 for a bit to see if I get any more issues.

Extra info: ROMX V3.0, debloated and Greenified (+ Xposed module) most apps, thats it. I use Kernel Adiutor Mod to tweak the kernel (Sunkernel Corona 1.9.4.6).

Its not alot, but ill keep trying to test to make this kernel better, because I think it can become really nice if we all keep testing and give Zach more info, and not changing version every few days because I think that way it isn't going to be helpful to make it greater ;):highfive:

Edit: another thing, I use Interactive governor which is also in stock sony kernel / rom and try to tweak the tunables for better battery life. Also using NOOP i/o scheduler.

I remember Rytekk saying something about governors in this thread, that alot of them used are outdatet or maybe not very reliable? Could the governors be causing issues related to what people are reporting maybe? Just a thought that slipped my mind that I forgot to mention :p
[Xperia Z5 Android Development] odl:
I'm not 100% sure it is BT related - it's just because others points it in that direction and I assume it's possible reason, as I have BT always on and connected to at least one device.

so far these reboots happen to me only when I'm not using phone at all or few minutes after I put it on the table. I'm using dual sim version with stock rom with few xposed modules (so I assume your support ends here ;)). in kernel adiutor I have only headset high performance mode enabled - didn't touch anything else.
[Xperia Z5 Android Development] DaveKing:
Thanks for the reply. Well regarding the Shedulers we all know that some have more i/o activity, since have to schedule working tasks from the cpu. Fiops in this case is wonderful, fast, reliable and superior in battery consumption. I will use your modified raw, cause noop is not at my taste of performance. Deadline is fast drain and cfq is acceptable but not very good. I will test this new version of your excellent kernel. Entropy is a major part of the speed of a kernel and too the smoothness. I'm sure you will be the reference for z5 Kernels. Keep it up.
[Xperia Z5 Android Development] nreuge:
Sorry Zach, but I take a break from your kernel for a while. I'm lacking time to test it extensively.
[Xperia Z5 Android Development] koekoek91:
I haven't had any issues on 1.9.4.6 other than when selecting that spdm_dw gpu governor as I mentioned earlier.

Battery life could be better but i would have to test more and during the week for a normal day. I spend to much time looking at the screen now lol.

So I will use it for a few days during the weekend and monday probably. (that is aslong as im not getting problems with the kernel, but overall as of now I would say it is improving :)
[Xperia Z5 Android Development] HaoZeke:
XRom is freezing and stuttering a lot as time since boot increases...

There are also some overheating issues (sort of allayed with the SmartTemp mod).

I don't think you ought to be suggesting a bunch ofi/o schedulers without checking the existing optimizations...

The dev put loads of work into this and still is trying very hard.

It's hardly fair to suggest he start over.

If you really want new i/o schedulers, I'm sure Zach would say no if you added them...
[Xperia Z5 Android Development] DaveKing:
I'll not give you many chances. The issues only happen with his latest kernel. And if you are smart, look at other people with the same problems. Just you to know I don't have reboots with andropluskernel, so it's not ROM related. If you haven't anything to do, beside piss the others, go to sleep.
[Xperia Z5 Android Development] HaoZeke:
I don't think I understand your point or your "chances".

These are unstable builds as is clearly mentioned on all of them.

Don't flash if you can't handle it.
[Xperia Z5 Android Development] zacharias.maladroit:
What makes you think that the ramdisk is at cause ? it's "vanilla" modified ramdisk by tobias.waldvogel's tool

also: do you have any data to back up the statement that ROW and deadline consume more battery ? (e.g. test data)

I know the following exists:

http://androidmodguide.blogspot.de/p/io-schedulers.html

but there are lots of sites on the web that post claims that do not have any kind of backing in experiments (tests), experience and truth [not claiming that is applies to that site]

Hey, I'm open to including i/o schedulers if they make sense,

I've included stuff out of personal preferences and choice (feature requests) up til now and it didn't do any good

stability, battery lifetime and reliability wise.

Usually more complex governors tend to involve higher calculation overhead (CPU !) thus the battery consumption goes down,

this was stated from upstream (Linux Kernel) developers - they should at least have some knowledge,

no ?

Well, SunKernel is pretty different from AndroPlus (and Stock) since it includes several changes and how it does things,

feel free to take a look at the source and name potential candidates that cause this kind of behavior,

e.g. also when this behavior started

Naming Kernels which are several generations behind or do not contain latest security fixes do not really help

since either they're less secure (e.g. addressing latest Android Security vulnerabilities, QuadRooter, etc.) or they're based on entirely new Kernel bases.

Corona e.g. bases on latest sonyxperiadev copyleft source which seems to be a lot different from previous source,

so it also could be an issue in latest Linaro/Codeaurora source which is even harder to track down
[Xperia Z5 Android Development] islanders:
first of all i'ld like to thank you for your amazing job, and i'd like to ask you about the 1.9.4.7 does it have any issues like random reboots ? , and how about the battery life is it great ?
[Xperia Z5 Android Development] nreuge:
Zach, to prevent any frustration of some people, I suggest you to indicate your latest stable kernel version every time you release a new one.

If I am right, it is 253_II.3 (even if you don't like it, at least it is "stable" and doesn't drain)

And while trials and errors are absolutely needed to progress, why not to update the stable one more regularly (with 100% reliable stuff) ?

It was just humble suggestions...
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks to [MENTION=7328701]koekoek91[/MENTION] for the Donation,

that was unanticipated and made my day :) !
[Xperia Z5 Android Development] zacharias.maladroit:
And it's welcome :)

Well, not even I know what Kernel is "stable" since all work stable for me since a few versions,

so how about we arrange that testers and users kind of post stable in their feedback so I know which one can actually be named "stable" ?

Also if you want to go with 100% stable (which by definition with this device and OS is a misnomer since it even Kernel Panics and reboot on locked bootloader - so it's prone to be a stillbirth from the beginning :( ),

I'd go with the Debian approach but you won't like it:

hardly any updates and missing out on even needed features ;)

Well drain - that I don't know - it might be even due to sound processing improvements (raising some suspicion right now),

in an internal build I've removed most of the governors not optimized for big.LITTLE,

also darkness and nightmare interfere with core_ctl, BCL <--> KTM, msm hotplugging (well, at least sort of).

Also: most if not all parts of the kernel already were in totally stable Kernels before - so the drain doesn't really make sense

Anyway,

tl;dr

Testing Kernel

https://www.androidfilehost.com/?w=files&flid=119620
[Xperia Z5 Android Development] koekoek91:
Your welcome mate.

And I was exactly thinking what [MENTION=5231789]nreuge[/MENTION] says... maybe to avoid getting alot of critisiscm about problems with a kernel, it might be a good idea to state the kernel that seems the most reliable and stable to most people and keep it apart from newer updated kernel which have to be tested.

I could imagine, its not cool to keep reading people going back to androplus kernel because something is wrong with yours.

So if you do it like this, people can reflash your latest (stable) kernel when the updated one has a problem, instead of Androplus kernel.

Ultimately its everyones personal choice which to choose, but I thought this way maybe it will be less de-motivating for you to keep working and trying to improve your kernels,

when reading alot of negative things in the feedback..

If it even is affecting your motivation lol I dont know, but thats just what I could imagine. ;)

Im still running 1.9.4.6 with no major problems (no random reboots or crashes) but there is some battery drain.

I will test 1.9.4.8. Im curious to see if removing the non fully functional governors for big/little has any impact on stability.

Im using Interactive governor, and underclock instead of overclock as I dont see the point of overclocking my device. It runs fine for me at 1248mhz big cores and 960mhz little cores.:D
[Xperia Z5 Android Development] nreuge:
You cannot decide that a kernel is stable or doesn't drain because it is for you, I think you will agree with me.

Then, you have too few testers, say about 5 loyal testers, giving feedbacks which moreover are sometimes contradictory :eek:

So, I admit the task is very hard, you would have 50 testers, it would be far much easier...

Thanks for your hard work, I'll test this last testing kernel tomorrow ;)

---------- Post added at 03:05 AM ---------- Previous post was at 02:58 AM ----------

"going back to androplus kernel because something is wrong with yours"

Ha ha, the "death sentence" :D:D
[Xperia Z5 Android Development] _LLJY:
Fantastic battery life with 1.9.8

Audio is also amazing
[Xperia Z5 Android Development] xerxess:
Do you have link for that version?

I didnt see it..

Last time im only found out 1.9.4.7
[Xperia Z5 Android Development] _LLJY:
1248 MHz + 960mhz makes your device inefficient, if you over clock you will see improvements in battery life
[Xperia Z5 Android Development] koekoek91:
Do you have any data for that?

I have searched alot for info about efficiency for the Sony Z5 and which cores are more efficient but I couldn't really find anything helpful.

So i started searching for info about the interactive governor and read that it can be tweaked greatly for much better efficiency.

http://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

I know it is for a nexus phone, but it can be applied to any phone that has the interactive governor.

Im still playing with the tunable values, but I had atleast some progress in configuring the governor to let the cpu not spend to much time at unnecessary high frequencies when im just scrolling for example.

If you have any data for it and settings for how you achieve that better battery time, which governor and tunable settings etc, I would love to see it and try.

But overclocking and just setting a governor, does not help for me in terms of battery life.

ill post some screenshots of my results once im finsished we could compare if you have some results of how battery life is when overclocking?
[Xperia Z5 Android Development] _LLJY:
Afaik, the highest and lowest frequencies will always be the most efficient for any device. And from what I know, 864mhz is very inefficient for Cortex A57 cores(or the snapdragon 810, can't remember off the top of my head)
[Xperia Z5 Android Development] koekoek91:
Going from lowest clock to highest clock and back without spending to much time going back and forward on other frequencies then yes..

Where do you get 864mhz?

How did you tweak your kernel, and how are the results? Like Deep sleep time and time spent at frequencies during screen off.

And pure screen on time after a full charge. Things like this im interested in ;)
[Xperia Z5 Android Development] HaoZeke:
Hey, so on 1.9.7 and STOCK .253, everything was working smoothly, not got the numbers yet but battery was doing ok (idle) [After appops to disable location, Doze (to kill background data) and greenify (with xposed)].

Performance dropped using an app called HEBF. Basically it an ART fix which seems to be the cause. That and generic "performance and battery" tweaks weren't helping matters at all.

This also seemed to be the case with L-speed and practically every build-prop modification based app. Less "tweaks" resulted in markedly better performance, with no lag or overheating.

No temperature issues with the SmartTemp mod. Before applying the mod I had one random reboot due to overheating though, I guess.

Otherwise everything was fine before using these tools.

I also changed to alucard in Kernel audiutor mod and disabled gentle fair sleepers and logging.

EDIT:- Glad to see the new kernel.. will try it out. Fingers crossed.