yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] whalesplaho:
Just flashed and testing....

1. ARCH Power disable by default

2. USB Fast Charger not enable

3. Changed CPUQuiet Governor to runnable......

Still testing.... Thanks for tha frequent updates!!!
[Xperia Z5 Android Development] devilmaycry2020:
How about this situation bro?
[Xperia Z5 Android Development] whalesplaho:
still testing....

1. heating reduced

2. i had one freeze when i tried to unlock den i force power off but no issue after reboot ( will still test more)

3. battery seems fair....

i ll still test more throug tha weekend.
[Xperia Z5 Android Development] zacharias.maladroit:
how about the following ? :(

one kernel and platform at a time, going after several things at the same time only stalls development or makes things impossible

Can you grab the log ?

It could help a lot,

I'm sure there's some other things to take into account with cpuquiet which needs change,

looking into it ...

Thanks
[Xperia Z5 Android Development] whalesplaho:
I try next time to do dat incase i experience dat.... No freeze since dat tho... Phone running cool tho heat up a bit buh much more better dan before.... Battery still needs improvement tho!

We getting there [MENTION=3037651]zacharias.maladroit[/MENTION].. MuchLove!!!:highfive::good::victory:
[Xperia Z5 Android Development] devilmaycry2020:
Crashed and auto turn off the phone. When the phone idle. No using. Newest kernel 5.11 v3.7.4
[Xperia Z5 Android Development] whalesplaho:
Logcat ll be more useful here brov.....
[Xperia Z5 Android Development] J03llV:
Thanks dude!
[Xperia Z5 Android Development] Nyuubi:
[MENTION=3037651]zacharias.maladroit[/MENTION]

I tried Z5-DSDS_SK_Perm_v376_III.3_9_5_ctl_X_sum_dual.zip but it had a bit of problem with the battery when the phone was on idle but it was quickly fixed with Z5-DSDS_SK_Perm_v376_III.3_10_ctl_X_sum_dual.zip for now the phone is pretty smooth and exhibits great performance.

Thanks for all the time and effort you put into this and make sure you rest enough (update at 12:31 a.m then at 6:42 a.m, are you a machine????? )
[Xperia Z5 Android Development] koekoek91:
Hi [MENTION=3037651]zacharias.maladroit[/MENTION]

Im back on your kernel again after having spent a few days completely on stock kernel/firmware.

I will share some of my findings about this later.

For now I am on Z5_SK_Perm_v376_III.3_7_4_ctl_X_sum

I was just trying to turn on my screen after having it sit on idle for about 10-15 minutes but screen didn't turn on and phone rebooted with red flashing led.

I am on .378 firmware right now.

Added the logs from sys/fs/pstore.
[Xperia Z5 Android Development] whalesplaho:
I zip tha console-ramoops cos of tha size.... I had a freeze and den it reboot itself. SK v3.9.5 [MENTION=3037651]zacharias.maladroit[/MENTION]

Seems there is latest kernel. I ll try!
[Xperia Z5 Android Development] whalesplaho:
[MENTION=3037651]zacharias.maladroit[/MENTION] just downloaded v3.10.3

Will flash and see how it goes... Hope battery drain is fixed.

Thanks for yur hardwork!
[Xperia Z5 Android Development] koekoek91:
Yess he's like a machine throwing kernels at us ha ha, hard to keep up with sometimes :D

[MENTION=3037651]zacharias.maladroit[/MENTION]

I was getting more random reboots on 3_7_4_ctl_X

So I went back to Z5_SK_Perm_v376_III.3_5_ctl_X_sum.

Because this was the last kernel that was fully stable for me, and I want to make a good comparison between stock kernel and this one, so for now I am on 3.5.

I'll catch up with the more experimental kernels testing CPUQuiet as soon as I am done comparing stock vs stable 3.5 :p
[Xperia Z5 Android Development] zacharias.maladroit:
This will be the last kernel for some time I really need to take a break from kernel dev

(thinking of stopping for good, it's great but the way the device works, it is throwing large rocks in the way of developing which takes countless kernels to test against (and time to consume) which I don't have and am not willing to dedicate to that).

Marshmallow was working fine, even with MHL built-in with Nougat even in stock, basic config it's not working and probably again takes weeks to figure out (if at all),

Sony and ALL OTHER PHONE manufacturers are supposed to offer source code that work out of the box to get a functional custom kernel base,

which is clearly not the case ( ask [MENTION=5243932]Tommy-Geenexus[/MENTION] - he probably can sing arias about it ).

I'm thinking of switching to Marshmallow and stay there until something "better" comes along ... (3.18 kernel or whatever for AOSP, etc.)
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks for the logs and testing,

it might be that there is again silent memory corruption - it could be due to the prebuilt modules

or something entirely else,

perhaps I'll figure a way out how to fix it - but this takes time to "digest" to see where it is originating from ...
[Xperia Z5 Android Development] koekoek91:
Will give Z5_SK_Perm_v376_III.3_10_4_ctl_X_sum a shot tomorrow.

Just want to see the idle drain from 3.5 first tonight and see how active drain will be tomorrow.

I hope you won't stop developing kernels for Nougat. Upto 3.5 they seem very stable to me.

But ofcourse we understand there are more important things in life sometimes.

And too bad the kernel source isn't really working out so far (although upto 3.5 kernel I can't seem to notice this from a user perspective) ;)

Thanks for the hard work and your time mate :good::highfive:
[Xperia Z5 Android Development] Tommy-Geenexus:
You are absolutely right. No point in wasting resources on the current N firmware.

Ill see if i can reach out to the persons responsible for publishing archives to sonyxperiadev,

although im questioning this after criticising the open devices project lately.
[Xperia Z5 Android Development] devilmaycry2020:
Me too but error in 5.11V 3.7.4 dual z5
[Xperia Z5 Android Development] shanpao:
I brush the latest 3.10.4 kernel, still encounter restart, is where I do wrong?
[Xperia Z5 Android Development] whalesplaho:
Please buddy.... I know yhu re reallt giving in yur best buh please dnt even think of stopping tha development buddy, we counting on yhu in making our device great cos dev has really dropped as dey re majorly focusing on latest xperias.... Tho sony aint helping too as no kernel source release for a fully functional kernel building. I ll flash latest kernel now n post feedback!

A break ia definitely needed buddy....

Godblessings always!
[Xperia Z5 Android Development] whalesplaho:
I flashed latest version and boot up... I reboot and my phone been acting weird.

1. It freeze on bootanimation and keeps bootlooping

2. I flashed previous versions and still tha same

3. I flashed AndroPlus kernel and still same

4. I flashed stock too and still same. I m using my mum's phone to post now, I dnt wanna wipe my phone ?

[MENTION=3037651]zacharias.maladroit[/MENTION]
[Xperia Z5 Android Development] koekoek91:
Hey buddy...

Dont have a backup?

edit: if you have a backup, just restore boot partition.

If you don't have a backup, you should make it next time when flashing this many kernels :p

You could try flashing just stock kernel via flashtool or adb.

edit 2: Sorry I just woke up and replied to your post, but I didn't read very well.

I see you've already tried flashing stock kernel?

Hmm thats really weird. I would expect when flashing older version of sunkernel or stock kernel it should be fixed but no?
[Xperia Z5 Android Development] whalesplaho:
I flashed a patched stock kernel, maybe I ll try flash through flashtool and see... I dnt have boot partition my bad.

I tried SK 3.5 too but no luck.

---------- Post added at 11:17 AM ---------- Previous post was at 10:51 AM ----------

I just flashed kernel.sin using flashtool but still no luck... Just freeze at biologic (Sony white screen)!!!
[Xperia Z5 Android Development] koekoek91:
Okay im running out of ideas then, weird issue you're having.

Just one more idea I have that shouldn't involve losing everything, but I don't know if it will work....

1. Go into twrp and run a backup from system and data partition and save it to your external SD.

2. Then flash new firmware, wiping everything.

3. Flash a sunkernel that worked as normal before through adb.

4. Go into twrp and go to restore.

5. Just restore system and data partition that you backed up.

I don't know if it'll work, but I think it should, and you should not have lost everything this way.

If this doesn't work im out of idea's pretty much... maybe ill think of something else later but this is it for now :p

Good luck buddy.
[Xperia Z5 Android Development] whalesplaho:
Okay.... I ll give day a shot and see!

I was thinking of Dat too big scared of loosing files.
[Xperia Z5 Android Development] koekoek91:
Hi guys,

So last week i've been comparing stock vs sunkernel (Z5_SK_Perm_v376_III.3_5_ctl_X_sum in particular).

I spent two days completely stock on .378 firmware and tested idle drain for 2 nights: result was that I lost 7% over 8 hours every night.

I tried keeping an eye on active drain aswell and noticed on .378 firmware that active drain had significantly improved for me.

While I was on .376 firmware a few weeks ago, my battery was draining really fast, even while just texting my girlfriend and doing other light to moderate tasks.

This was the same when I went with sunkernel (3.4/3.5) on that firmware and battery would jump from 100 to 99% and continue to drain pretty fast on fairly light to moderate usage.

On .378 firmware the active drain was significantly improved.

I could chat with my girlfriend and do other light to moderate tasks and battery would drain much less and take significantly longer to go down to the next percentage.

This behaviour is more or less the same on sunkernel Z5_SK_Perm_v376_III.3_5_ctl_X_sum. (On sunkernel it might be slightly worse).

Idle drain on Z5_SK_Perm_v376_III.3_5_ctl_X_sum i've found to be significantly better (only 3%lost over 8 hours) compared to 7% on stock.

So to summarize: according to my findings, sunkernel has better idle drain for me, but active drain I think is just slightly worse.

(Still it has definetly improved when comparing .376 to .378.) Not sure if its because of better firmware or something else.

I tested all of this with mobile data on 24/7, wifi just turned on at home (during evenings after school), adaptive brightness and X Reality turned off with brightness set to around 20-30%.

On a side note:

I just flashed latest Z5_SK_Perm_v376_III.3_10_4_ctl_X_sum a few hours ago.

Im not having any problems with it so far. Alot of cores seem to be going offline and coming online again alot, but even when playing games it doesn't feel laggy to me yet so far.

Will give more feedback on this kernel later ;)
[Xperia Z5 Android Development] zacharias.maladroit:
Sounds like a filesystem corruption thing (I tends to happen/can happen from time to time with lots of flashing - or whatever other random reason),

I got that one in the past but it mostly was connected to dynamic fsync or disabled fsync (fsync is set to "on" - so that) which shouldn't happen,

unless the phone, ROM, etc. is doing weird stuff itself

[MENTION=4471890]whalesplaho[/MENTION]

you got a PM

[MENTION=7328701]koekoek91[/MENTION]

you got a PM, too

that's actually my experience, too with idle drain - it's much better compared to stock,

power consumption during usage is up for improvement - but that's really fine-tuning or needs e.g. tweaking by reducing max GPU frequency,

clocking little cluster to 1.2 GHz (max frequency), big cluster 1.3 - 2.0 GHz (min-max frequency)

and some other things
[Xperia Z5 Android Development] koekoek91:
Actually I am already running 1.2ghz max on the little cluster and 633-2054mhz on the big cluster with my own tuned interactive governor profile.

Im also already running my GPU downclocked to 305mhz.
[Xperia Z5 Android Development] zacharias.maladroit:
Instead of limiting the min or max frequencies of the clusters,

you can also set highspeed_freq of little to 1200 MHz and for big cluster to 1300 MHz,

that should give approx. similar behavior and doesn't confuse the scheduling, governor, etc.
[Xperia Z5 Android Development] koekoek91:
Okay,

So what you're saying is I should leave the max/min settings alone (leave them at max 2054mhz / min 384mhz or 644mhz) for big cluster),

and set 1344mhz as hispeed_freq value in the tunables section? And the same for little (max 1555mhz / min 384mhz) but hispeed_freq 1248mhz?

Is that correct?

This sounds to me as it would behave worse maybe, but I can try it out :p
[Xperia Z5 Android Development] zacharias.maladroit:
The governor, etc. is made aware in THIS kernel to accept it and re-initialize stuff to work correctly,

but I'm still not sure it's the optimum (or if it behaves weirdly after that - e.g. scheduling incorrectness, higher battery, etc.)
[Xperia Z5 Android Development] koekoek91:
Okay,

I will just try it out and will let you know soon how it works out ;)
[Xperia Z5 Android Development] whalesplaho:
Please try and post feedback buddy... I ll try flash latest kernel and see [MENTION=3037651]zacharias.maladroit[/MENTION]

[MENTION=7328701]koekoek91[/MENTION] i couldnt make it work. I reflashed tha rom clean and restore data and system but still bootlooping.

I only restore data and everything working.... Thanks for yur time!!!
[Xperia Z5 Android Development] koekoek91:
Must have been a nasty issue.

Ive never had it like this.

Anyhow.. Glad your'e up and running again ;)
[Xperia Z5 Android Development] whalesplaho:
Its not easy buddy.... Had so many trials and error!

Thank God im backing...
[Xperia Z5 Android Development] koekoek91:
Run a backup every now and then :p

Either a full backup (boot/system/data)

Or when flashing lots of kernels just backup boot partition. It takes like 5 seconds :silly:

But then again.... in this situation a boot backup wouldnt have made a difference, seems like something was wrong on system partition.
[Xperia Z5 Android Development] whalesplaho:
Yeap... Seems it was system partition cos when i restore data backup alone it works fine. But dnt really know what happened, maybe corrupt.

---------- Post added at 09:56 PM ---------- Previous post was at 08:59 PM ----------

Flashed latest kernel [MENTION=3037651]zacharias.maladroit[/MENTION]...... I ll post feedback later!!!

Should i tweak CPU in kernel adiutor??
[Xperia Z5 Android Development] whalesplaho:
Still testing v3.12.5

1. So far battery drops very slow in idle mode

2. Drops a bit faster while using

3. Heat reduced much compared to stock

4. Havnt test sound much
[Xperia Z5 Android Development] koekoek91:
No random reboots or freezes so far for you?

I had a couple yesterday.

But this was with modifyed settings.

(Setting max speed 2054/1555 for big/little) while setting 1344/1248 as hispeed_freq values on big / little.

Right now I returned to my own personal CPU settings, and no crash or reboot so far.

Other than this I can confirm your feedback. Idling is much better on this kernel.
[Xperia Z5 Android Development] whalesplaho:
No reboots nor freezes.... I only set big/little as 2054/1245!!! Thinking of editing cpu hotplug but dnt know wah to set there!!!

Battery on Idling is fantastic compared to Usage....
[Xperia Z5 Android Development] koekoek91:
No reboots for me today either.

I think changing my personal settings for CPU might have helped.

I don't think you need to change anything on hotplug section.

Zach said I could just leave it as it is Standard,

Though for possibly better battery life you could try out changing the profile for Intelliplug from balanced to conservative or eco-conservative.

I haven't tried messing with it myself yet because I want to test for stability first with standard hotplug settings.
[Xperia Z5 Android Development] whalesplaho:
Yeah, not dat I wanna change too... Just saying if possible to get good battery but no reboots or freezes...

Heat very reduced!
[Xperia Z5 Android Development] koekoek91:
I will experiment soon with the hotplug settings.

I just want use the kernel for a couple of days to test stability with most settings on standard.

Its good to experiment though.

If you didnt have any issues so far ( dunno when u flashed it)?

I would try out conservative profile mode and use that for a day or two... And then move on to eco conservative.

And try to compare and keep test conditions as much as similar as possible to get a good comparison.
[Xperia Z5 Android Development] whalesplaho:
Does touch boost need to be disabled?

I ll try and see what result it will yield. Been running for 2 days now and no probs!
[Xperia Z5 Android Development] koekoek91:
I would assume when you want to change your hotplug settings, you'll have to enable apply on boot on the upper right in KA-Mod and I think you should disable touchboost.

This is just me guessing and trying to use common sense.

Ill experiment with this later on Thursday or Friday probably ;)
[Xperia Z5 Android Development] whalesplaho:
I know buddy.... Jux wanted to disable touch boost so need advice atleast before doing also.

Thanks
[Xperia Z5 Android Development] koekoek91:
Yes bro... When I will experiment my first actions would be to set conservative or eco-conservative profile, disable touchboost and then apply on boot ;)
[Xperia Z5 Android Development] sirdoha:
So which version provide best battery life? 3.12.5 or 3.10.4 or 3.10?

btw, where is the download link for 3.12.5?

[MENTION=3037651]zacharias.maladroit[/MENTION] [MENTION=7328701]koekoek91[/MENTION] [MENTION=4471890]whalesplaho[/MENTION]
[Xperia Z5 Android Development] koekoek91:
Zach has sent this kernel to us by PM because it could be potentially unstable.

He'll probably release it later if its stable, if there are no issues with it.

I can't tell for sure yet. I think its stable right now for me but I need to use it for a couple more days to be more sure about this.
[Xperia Z5 Android Development] whalesplaho:
cos of tha instability of some previous version, he didnt wanna post here so users wont complained about brick or bootlooping like i did so he sent it to us through pm....

tho still testing buh i can tell its tha best so far for N 7.0... SunKernel III.3.12.5!

hope he [MENTION=3037651]zacharias.maladroit[/MENTION] release soon but dat will be after our final feedback especially from [MENTION=7328701]koekoek91[/MENTION] cos he give tha best analysis!:good::highfive:
[Xperia Z5 Android Development] sirdoha:
Many thanks to both of you, [MENTION=7328701]koekoek91[/MENTION] and [MENTION=4471890]whalesplaho[/MENTION] for carefully testing the kernel. We really appreciate your efforts, without you guys and super bro [MENTION=3037651]zacharias.maladroit[/MENTION], our Z5 would never be so good like now. Really love you guys :)
[Xperia Z5 Android Development] zebasketteur:
Hi guys, just an idiot answer, What is for you the Best cpu governor d'or the 3.10.4 version ?
[Xperia Z5 Android Development] koekoek91:
Do you mean the regular cpu governor

or the cpu quiet governor ( one of them is named runnable if I remember correctly).

For regular cpu governor you want to use interactive.

The cpu quiet governor I havent messed with so I would just leave it as it is, or experiment yourself if you want.

I'm not on this kernel version anymore so im sorry I can't be of more help.
[Xperia Z5 Android Development] zebasketteur:
Interactive is better battery friendly than darkness or alucard ?
[Xperia Z5 Android Development] koekoek91:
Yes use interactive.

And have a look at this thread https://xdaforums.com/xperia-z5/themes-apps/mod-z5-endurance-tweaks-v1-tweaks-t3321841

And download the Xenon v2 governor profile ;)
[Xperia Z5 Android Development] zebasketteur:
How can i apply it with kernel adiutor ? I'm didn't know how use a profile governor like that:confused:
[Xperia Z5 Android Development] whalesplaho:
[MENTION=3037651]zacharias.maladroit[/MENTION]

new twrp is out, maybe yhu can update as well....

https://xdaforums.com/showpost.php?p=71336702&postcount=946
[Xperia Z5 Android Development] koekoek91:
I've tried to flash it with fastboot but in TWRP it still says version 3.0.2 :p

Maybe ill try again tomorrow or ask [MENTION=4675598]shoey63[/MENTION] about it :)
[Xperia Z5 Android Development] whalesplaho:
it might be dat he forgot to change it.... ask him!!!
[Xperia Z5 Android Development] koekoek91:
Just did. Will wait for his answer :)
[Xperia Z5 Android Development] koekoek91:
Just got a reply from him.

The way of entering recovery is different.

He replied this:

You must be using a kernel with an older TWRP integrated. ( Which we have with sunkernel)

To enter directly

- power off phone

- wait 5 - 10 seconds

- power on whilst holding volume down

- release power, then release volume down.

If it still boots to 3.02, then the flash didn't work or you flashed the wrong recovery.img.

Showing up as 3.1.0-0 in TWRP now and working :)
[Xperia Z5 Android Development] zacharias.maladroit:
when the LED lights up during boot:

VOL DOWN, then you'll get into the TWRP on the recovery partition,

with VOL UP, you'll get TWRP in the kernel ;)
[Xperia Z5 Android Development] koekoek91:
Yep, found out just before your post probably hehe :p

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

For the last 2 days on Z5_SK_Perm_v376_III.3_12_5_ctl_X_sum.zip

It had been completely stable.

I didnt listen to music for 2 days.

Just now, I was listening to music again and had another random reboot.

Previous random reboots I told you about by PM where also happening when listening to music.

So I suspect they are related to music.

[MENTION=4471890]whalesplaho[/MENTION] have you tried listening music with this kernel?

Edit: I'll attach logs to this post later.
[Xperia Z5 Android Development] whalesplaho:
[MENTION=7328701]koekoek91[/MENTION] i cant do without musicals buddy.... both on speaker & using handsfree!

no issues here at all, no freeze, no reboot, no lag!!!

just battery drops quick but good in idling mode.......

im currently on conversative in cpu hotplug & no issues too yet, soon try ecosystem!

---------- Post added at 11:41 AM ---------- Previous post was at 11:37 AM ----------

yeah buddy.... vol- & power button since its been flashed on fota recovery!
[Xperia Z5 Android Development] zacharias.maladroit:
What app for music listening are you using ?

Seems like I found the music-related and wifi-related issues (Z5 compact) and could fix them ...
[Xperia Z5 Android Development] koekoek91:
Im using sony's stock music app.

Z5 E6653.
[Xperia Z5 Android Development] zacharias.maladroit:
Haven't been using that much lately,

only Neutron + PowerAMP,

Sony's Music app is too limited in a few areas, although DSEE HX is a much-wanted feature I wish I had on all playback ;)

I'll try to use that app for some

Thanks
[Xperia Z5 Android Development] koekoek91:
Didn't know DSEE HX is a much wanted feature.

I personally think music quality is crap when I turn it on, same with clear audio.

Maybe its just me, but I prefer using equalizer and studio surroundsound much more.

You don't think its sony's app causing the reboots do you?

Or would you advice trying a different app?

Thanks.
[Xperia Z5 Android Development] whalesplaho:
i do use equalizer and studio surroundsound too and dnt like DSEE HX....

i use Sony Music app always & JetAudio once a while
[Xperia Z5 Android Development] sirdoha:
Hmm. I think DSEE HX actually does a great jobs. Turning it on helps reducing a lot of white noise and improve the deep of the music files. Sony is always the leading company in terms of mobile audio. (IMO)
[Xperia Z5 Android Development] whalesplaho:
I once used it and still gonna test more.... Yeap for me too!