yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] zacharias.maladroit:
376/378 Nougat kernel, v376_III.3_14_2 with

INTELLI_PLUG (hotplug switch)

https://drive.google.com/open?id=0BykGGWB96CBQM0pRUmZxaWI1aUU Z5_SK_Perm_v376_III.3_14_2_ctl_X_sum.zip

https://drive.google.com/open?id=0BykGGWB96CBQUWVYZWlqWURhOUE Z5-DSDS_SK_Perm_v376_III.3_14_2_ctl_X_sum_dual.zip

Changes (short):

Tweaks:

- when you want something more battery friendly switch to the "eco performance" or "eco conservative" profile of it. Default is "balanced" which mostly keeps all (little) cores plugged all the time.

(using Sony Music app)

so better use a different Music app for now with that kernel,

I'll see what the crash log can say about it and whether it points to the cause ...
[Xperia Z5 Android Development] zacharias.maladroit:
Nope, it's supposed to work,

just give it another try with newest kernel,

didn't have a chance to test with Sony app yet,

since the per-folder access and playback doesn't sometimes work with the usage pattern I have

Yeah, sometimes the white noise reduction is the thing you really need, it can be countered with switching headphones or reducing the AMP via fauxsound but it's supposed to be great by default.

Talking of white noise:

everyone testing latest kernel please see if the white noise goes up,

there are some changes that potentially can influence it - but it also is supposed to address stability with e.g. offloading (less battery consumption while playback)
[Xperia Z5 Android Development] koekoek91:
The thing is...

When it comes to sound, im a total noob :p

I have no idea even what white noise means and how I should recognize it.

Same goes for other audio settings.

So I personally don't like to mess with it alot and keep it as simple as possible.

I recently bought 2 headsets: Bowers & Wilkins C5 s2 and RHA t10i.

One of those im going to return. First I wasn't sure, but the last week i've been switching between both and I think i've made my choise and will keep the RHA t10i.

Just flashed latest kernel about 30-40 minutes ago and listened some music for a while while switching between DSEE HX and Equalizer with Studio mode.

So far, I notice that I slightly prefer DSEE HX now on the new kernel, BUT only when turning the volume way up.

On Equalizer studio surround mode sound is better for me overall (also on a bit lower volume).

It feels like it changes from song to song sometimes too.... see this just makes me all confused and my feedback will probably be useless and make things more complicated for you and everyone else :p

I just want to keep it simple.

But to get back to the point DSEE HX sounds better to me now than on previous kernel.

I'll listen more music tomorrow at school.

And most important (for me) I hope to see no random reboot anymore. Although it was usually just 1 a day when listening music (on previous kernel), so not a big issue for me ;)
[Xperia Z5 Android Development] zacharias.maladroit:
Ah - forgot to mention,

that SafetyNet should pass - provided you do NOT install busybox :o

Let's see if there's any confirmation from [MENTION=817586]the_brad[/MENTION] ;)

If that kernel is okay-ish,

I'll move back to Marshmallow and backport the stuff - still got better battery life there and everything works like it should,

+ Project Meli + Viper4Android sound mods possible which is a nice ear-candy ;)

that Nougat release is not really a quantum leap like it's supposed to be ...
[Xperia Z5 Android Development] whalesplaho:
Im using eco performance in 3.12.5 and noticed lags..

. Buh ll try eco conservative on latest kernel and see!
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=7328701]koekoek91[/MENTION]

(using Sony Music app)

so better use a different Music app for now with that kernel,

I'll see what the crash log can say about it and whether it points to the cause ...
[Xperia Z5 Android Development] klemen241:
Bootloop on romx 511
[Xperia Z5 Android Development] the_brad:
Thanks for (not) adding busybox in this release. I just tested it and am sorry to confirm this one for not passing safetynet.:eek: I'll keep up it's track, when I got time tomorrow evening...:highfive:
[Xperia Z5 Android Development] zacharias.maladroit:
it's a NOUGAT kernel, what do you expect ?
[Xperia Z5 Android Development] zacharias.maladroit:
perhaps I messed something up with the ramdisk,

but I made sure to include the new one :confused:

will take a look upon next kernel release ...
[Xperia Z5 Android Development] Destroyedbeauty:
I know what you mean. I really do!

This is the main reason(s) (all the things that you did write down here above) why I did return my Z5 after 1,5 day (!!!) and changed to the Samsung Galaxy S7 this time around. Samsung did everything right with the S7 - awesome battery life, monstrous camera performance and top notch build quality + zero overheating issues with their in-house built Exynos SoC, compared to the horrible disaster known as Qualcomm SD810. I don't understand how Qualcomm could screw up their own architecture so badly as they did in general.

The fun thing is though that the Z4 Tablet (same SoC as the Z5 line-up) is performing well without any heating issues, thermal issues, insane power spikes issues or so-so. Maybe Sony did put more priority at their tablet and thus into optimizing the **** out of the SD810 for the Z4 Tablet - for some unknown reason? Hm..

But back on topic..

Even my old Xperia Z did perform better in every way compared to the whole Z5 line-up regarding overall performance and user experience, even though the SD600 SoC was plauged by the "famous" MSM_HSIC_HOST battery leeching kernel wakelock.

So.
[Xperia Z5 Android Development] _LLJY:
The reason why the z4 tablet does not overheat is because of simple science. Tablets have a larger surface area and thus can conduct heat away from the chassis much better than a phone which has a much lower surface area. oh and for the record,the S7 does not perform as consistently as the Z5, tried and tested on marshmallow. The s7 thermal throttles as well and is very unstable in games like GTA.
[Xperia Z5 Android Development] Destroyedbeauty:
My S7 is rock solid whatever I am using it for. No issues here.

Z5 performing better at MM? Then, tell me why my Z5 was nothing else than stuttering, freezing(s) and filled with lag issues, no matter what I did on MM - this was also after an clean flash of latest MM Z5 FW.

Strange..
[Xperia Z5 Android Development] _LLJY:
My z5 same situation as your s7, it's rock solid especially on MM and because of the adreno GPU, more games run better and support it better. I wanted to switch to the s7 but decided against it when I tried my bro's s7 for a day.
[Xperia Z5 Android Development] RyTekk:
Your kernel is the only thing what makes me stuck at 185 firmware, am waiting for you to take an update for your kernel to the latest source.
[Xperia Z5 Android Development] CHROME19969:
the MM update from sony is very disappointing it has very serious Bluetooth problems with lag and stutter but LP runs smooth as butter.
[Xperia Z5 Android Development] Destroyedbeauty:
The MM update for Z4 Tablet is kickass in every way though.

The same update for the Z5 series is nothing else than a shame.

Did they even certificate and bugtest the FW before release?
[Xperia Z5 Android Development] zacharias.maladroit:
Alright guys,

you know the drill

no reproducers (app that triggers the reboot) - no stable kernels anymore Looks stable ?

I meanwhile updated the kernel source and changed the optimization flags but I still need to find an app that causes my phone to reboot :confused:

Features:

(will add more later if I forgot anything)

Overclocking:

http://xdaforums.com/xperia-z5/general/tweak-improve-performance-reduce-t3387879

http://xdaforums.com/showpost.php?p=67444047&postcount=150 ( [MENTION=6791680]_LLJY[/MENTION] 's thermal-engine modifications are attached )

Source:

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

Download, AndroidFileHost or HERE (in this thread) :

SunKernel_for_Z5 224_I.1_2_8

DO NOT ASK about different phone models, sumire ONLY for now,

I need testing feedback and/or an app (benchmark, etc.) that causes the reboot

otherwise it's really hard to make changes in the dark and it takes significantly longer than necessary

Thanks
[Xperia Z5 Android Development] RyTekk:
I updated new thermal-engine to adapt your kernel or even any kernel else for OC :D

UPDATE: I've just did an Antutu test on 1.2.8 version, the test run smoothly without reboot a I got about 4k2 extra points (I got reboot at Image processing fisheye on 1.2.5 version). My settings (I use Kernel Adiutor):

CPU: alucard governor for both clusters

Virtual Memory: vfs_cache_pressure - 50

Misc Controls: Network - westwood | All wakelocks were disabled

The rest fields aren't mentioned just leave them as default

And be mixed with my tweaks (reduce throttling, force to turn on 4 big cores/true octa-cores).

Screenshots' description (from left to right): Geekbench 1.2.5 interactive gov, 1.2.5 alucard gov, 1.2.7 alucard gov, 1.2.8 alucard gov; Antutu stock kernel, Antutu 1.2.8 SunKernel.
[Xperia Z5 Android Development] _LLJY:
If any of you guys want a thermal engine that does not sacrifice performance but has a little higher temps, Go for Rytekk's: http://xdaforums.com/xperia-z5/general/tweak-improve-performance-reduce-t3387879 . However if you guys want to play safe: https://drive.google.com/file/d/0B1GT7O5RajNnRE1kTGcxRlJxNUU/view?usp=drivesdk here you go. But make sure you download init.qcom.post_boot.sh from Rytekk's thread first.
[Xperia Z5 Android Development] RyTekk:
I've thought like you when edit values to adapt OC but then I thought again and, yah, just remove cluster0 and cluster1 and their values in action and action info so now my thermal-engine always adapt with whatever OC ;)
[Xperia Z5 Android Development] _LLJY:
There's another way actually, set the highest frequency as something very high,(I set mine as 2.2ghz) then it will choose the closest highest frequency, which in our case it's 2054mhz and 1708mhz
[Xperia Z5 Android Development] RyTekk:
Yup but it will be out dated if there're higher clock appearence, so for simpler, just remove those settings that include maximum values. Anyway that's your choice, I respect it and just give you a simpler way :)
[Xperia Z5 Android Development] CHROME19969:
the worst thing is that the fingerprint sensor was working vary well until the update then it started giving errors like "removed finger too fast" and "not recognized" even for some people it stopped detecting the sensor all together i reverted straight back to LP.

now im on cm13 alpha cause its worth it, i guess im a sucker for good themes.
[Xperia Z5 Android Development] RyTekk:
There're some reports about governors:

ElementalX: laggy, poor benchmark result, doesn't help battery to be more friendly

ZZMoove: still laggy but better than ElementalX, better battery life specially when screen off

Alucard: best governor, smoothly in daily as well as good result in benchmark

interactive: as nearly good as alucard but seems that more aggressive (hotter and faster battery draining)

Now you can remove ElementalX (and maybe ZZMoove as well) to don't make users be confused when choosing governor as well as keep source to be as close as stock.
[Xperia Z5 Android Development] _LLJY:
For me, my benchmark results are the best in interactive, zzmoove and alucard. EX governor is too unstable for big.little the benchmark results below are what I got with interactive .
[Xperia Z5 Android Development] RyTekk:
How's your CPU clock spend time?
[Xperia Z5 Android Development] Lptrex9:
Hı anyone tested ın e6603

Is ıt workıng ın e6603

Thaks for kernel
[Xperia Z5 Android Development] _LLJY:
I'm not so sure because I frequently reboot my phone because of that stupid fingerprint scanner issue. But I will play Minecraft (a surprisingly CPU intensive game) for awhile and see the clock times.
[Xperia Z5 Android Development] RyTekk:
A really bad thing has just happened for me, when I touch my phone with SRS-X3 to connect them via NFC, the phone was sudden freeze, screen went off and LED flashed red three times, then the phone rebooted but it didn't seem to finish boot (stuck after "powered by android" logo), I forced it power off by combo keys power+vol- and return on it.

UPDATE: the issue above is come from Bluetooth, I've just got the same as soon as bluetooth was turned on.
[Xperia Z5 Android Development] klemen241:
Yea I am idiot sorry :D
[Xperia Z5 Android Development] zacharias.maladroit:
nah, bro, you're cool :cowboy:
[Xperia Z5 Android Development] zacharias.maladroit:
376/378 Nougat kernel, v376_III.3_13_4 with

INTELLI_PLUG (Sony Music app + audio effects test)

https://drive.google.com/open?id=0BykGGWB96CBQM0pRUmZxaWI1aUU Z5_SK_Perm_v376_III.3_14_2_ctl_X_sum.zip

https://drive.google.com/open?id=0BykGGWB96CBQUWVYZWlqWURhOUE Z5-DSDS_SK_Perm_v376_III.3_14_2_ctl_X_sum_dual.zip

[MENTION=7328701]koekoek91[/MENTION]

It's been playing Music since ~ 30 minutes so far [stable ?], before it would crash after a few minutes (or SECONDS)

with modified effects (DSEE HX, Clearaudio, etc.)

Ignore those error messages in dmesg, a part of those are only diagnostic in nature,

the other part I don't know (calibrations) - could be due to raised safety precautions in the code that it triggers now [it's new code since Nougat]
[Xperia Z5 Android Development] Devo7v:
Do you have USB Debugging disabled?
[Xperia Z5 Android Development] crisout:
I having the same problem, I already have usb debugging disabled.

Thanks for all your work zacharias.maladroit! :)
[Xperia Z5 Android Development] whalesplaho:
I have lags in camera and video recording..... Except dat no ish for now!
[Xperia Z5 Android Development] koekoek91:
Okay mate

So with this kernel I can use Sony music app or should I try a different app for now?

Little confused now, but because it says Sony music app + audio effects test I think its for testing the kernel on Sony music app? :p

Edit: 3.13.4 is for testing Sony music app and 3.14.2 is for using other music app?

Please clarify :)

Ill read the posts on PC when I am at school,, maybe itll be more clear to me then :p
[Xperia Z5 Android Development] whalesplaho:
not so buddy..... 3.13.4 is tha version released for users to test with & post feedbacks.

3.14.2 was directly for yhu to test tha music app whether it work perfectly or still crash & also he pushed tha version number up so to make a differs from tha first test version release!

---------- Post added at 09:37 AM ---------- Previous post was at 09:35 AM ----------

@koekoek91 i asked zach to get me tha kernel without having drm fix, busybox & twrp den i patched with poc tool using my TA.img & latest recovery & ta-da it works..... i can enter recovery using vol- or vol+ when tha orange leds turn on..... no more E:legacy bla bla bla error in twrp too..... :good: :dance:
[Xperia Z5 Android Development] koekoek91:
Okay thanks for clarifying.

I will flash 3.14.2 and listen some music and will see what happens :p

Those E: legacy errors are a little annoying yes, but aslong as everything works as it should I am okay.

---------- Post added at 10:18 AM ---------- Previous post was at 09:57 AM ----------

@zacharias.maladroit

[MENTION=4471890]whalesplaho[/MENTION] has clarified for me that 3.14.2 was directed to me.

Will start listening to music with Sony app and DSEE HX and see if I get any crashes.

Previously on 3.12 series kernels it would not crash after seconds or minutes for me, but more like after about a half hour or later.

Anyhow.. Will test on 3.14.2 and let you know.
[Xperia Z5 Android Development] whalesplaho:
yeap brov..... users too can download 3.14.2 and test to see dem selves since it has music app crash bugs fix!

he sent me too 3.14.2 for use....
[Xperia Z5 Android Development] the_brad:
Yes, it's diasbled.
[Xperia Z5 Android Development] koekoek91:
[MENTION=3037651]zacharias.maladroit[/MENTION]

3 14.2 has been stable with Sony music app for 2 hours straight now so I think it is stable.

Battery life while playing music also seems a bit more improved.

If I still get a crash later on ill post logs.

Thanks mate.
[Xperia Z5 Android Development] zacharias.maladroit:
At stock settings or did you do any changes via Kernel Adiutor ?
[Xperia Z5 Android Development] whalesplaho:
changed to eco conservative... its okay when i changed back to balanced.

:highfive::highfive::highfive::good::good::good::good::good:
[Xperia Z5 Android Development] klemen241:
flashed 3.10.84-5.11 and its horribly laggy, what is the problem?
[Xperia Z5 Android Development] sirdoha:
+1

Me too. Music app is rock stable now!

However, battery life when using seems worse :confused: Maybe some charge cycle should help?
[Xperia Z5 Android Development] koekoek91:
For me it drains less battery than before when listening music.

Maybe you will see improvement after a couple of cycles.

Are you using Kernel Adiutor or another kernel manager or just run default settings that come with the kernel on everything?
[Xperia Z5 Android Development] sirdoha:
I run default settings, actually I have uinstalled Kernel Adiutor. Could you suggest me some settings with the Adiutor app to optimize battery life?
[Xperia Z5 Android Development] whalesplaho:
Im using tha settings yhu posted on KA and i noticed dah seems battery drains faster than stock settings.... Did yhu noticed?
[Xperia Z5 Android Development] koekoek91:
No I haven't noticed yet.

This would seem weird to me though.

Since on stock settings in KA-Mod the frequencies keep jumping up and down more than necessary and use (imo) to high a frequencies for certain tasks.

But ill try look into it.
[Xperia Z5 Android Development] whalesplaho:
Tha stock i meant is tha kernel default settings.... Lemme know please!
[Xperia Z5 Android Development] koekoek91:
Yep I understood you were speaking of the kernel default settings :)

i'll see soon if I can compare.

Taking screenrecordings can help to show the frequencies behaviour differences between my (Xenon v2) settings vs default kernel settings.

---------- Post added at 15:44 ---------- Previous post was at 15:38 ----------

On Marshmallow the Xenon v2 governor profile i made with the help from [MENTION=6791680]_LLJY[/MENTION] made quite a difference in terms of battery life while still maintaining good performance.

I run the same settings now on Nougat but so far I haven't been able to see a difference between stock kernel settings vs Xenon v2 settings.

I barely ever run stock settings though..., So ill revert my settings to stock kernel settings soon and try to make a good comparison.

In the meantime here are some screenshots from the settings that I usually use ;)

https://drive.google.com/open?id=0B1-5Lr_Sntl5ZGJ3bWVzOUtzYXc
[Xperia Z5 Android Development] koekoek91:
[MENTION=3037651]zacharias.maladroit[/MENTION]

Just flashed 3.14.2 again to compare stock kernel settings vs my own custom settings.

I was wondering... these governor tunable values (above hi speed delay, target loads etc...)

Have you set these values when building the kernel or do they come from sony's stock kernel or something?

Alot of values don't really make sense to me , the way they are configured.

Im going to use stock kernel settings for a few days to compare and compare screenrecordings froom CPU behaviour.

Edit: I was ta.lking about these setings on the screenshots.

Mainly above_hispeed_delay and target loads seem weird :p

Some other values I would also change, but first ill see how battery life is.

Can't imagine it will be better with this :silly:

Edit 2: today 3 random reboots shortly following eachoter up.

Performance seems laggy or acting up weird too, (example fingerprint unlocking) alot less smooth sometimes.

On default / stock kernel settings 3.14.2 kernel.

[MENTION=4471890]whalesplaho[/MENTION] Kind of a painin the arse for me so far you could say :laugh:
[Xperia Z5 Android Development] whalesplaho:
[MENTION=7328701]koekoek91[/MENTION] please try tha stock settings and lets know.... I dnt know too...

[MENTION=3037651]zacharias.maladroit[/MENTION] sound seems better and good... Tho im using Viper4Android buh tha sound is crisp and of better quality!
[Xperia Z5 Android Development] koekoek91:
Read my post above :)
[Xperia Z5 Android Development] whalesplaho:
I did but i didnt have random reboots, presently using stock settings and its okay buh no differs on battery. Still drains!!!

I ll try yur settings again and see buh im a little bit confused with tha cpu tunable of tha Big and Little processors...
[Xperia Z5 Android Development] koekoek91:
I was too when I started learning about this.

I learned most important stuff from this thread:

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

I think Iread the whole thread atleast 5-8 times before I started to iunderstand it :laugh::eek:

I think I will apply my own settings again and try to improve it from there.
[Xperia Z5 Android Development] whalesplaho:
Double posts...

I ll check tha link above!
[Xperia Z5 Android Development] koekoek91:
Forgot to say you should have somw basic knowlwsge about most values.

They can ve found easily with a Google search ;)
[Xperia Z5 Android Development] whalesplaho:
kinda of not easy understanding.... really appreciate yur effort in making dose settings!

i have reverted back to yurs & ll try for some days.... using any other apss like LSPeed or so to save juice?
[Xperia Z5 Android Development] koekoek91:
It can take a while before you'll understand it.

It took me a long time too. But im happy to help whenever I can.

Im just using Greenify + KA-Mod for now ( since no xposed yet ).

I tried L-Speed but was also using Greenify + a bunch of Xposed stuff at the same time.

So eventually I just thought by myself, its probably better to keep it as simple as possible with less apps.

so less risk of apps conflicting with eachother.
[Xperia Z5 Android Development] whalesplaho:
was thinking greenify wont work since no xposed.... i ll give greenify a shot & see too!:good::highfive:
[Xperia Z5 Android Development] koekoek91:
Greenify works even some functions work without root.

With Xposed it Wil probably be better though :)

By the way, I also use myandroidtools app to disable some services.

Thats pretty much it for now :laugh:
[Xperia Z5 Android Development] whalesplaho:
it make me remember app services app to disable so apps during LP days!!!!!

thanks so much buddy.....

Godbless Zach for dis kernel....
[Xperia Z5 Android Development] freaky2xd:
This is a great Kernel for Marshmallow but please add undervolting!
[Xperia Z5 Android Development] Nyuubi:
Report for kernel v3.14.2 and fw .378:

Smooth af and along with this it's incredibly cool even playing(e.g: The World, NOVA 3) or watching videos(e.g: YouTube or on VLC). I'm on the E6633 variant if this is of any help!

Also, [MENTION=3037651]zacharias.maladroit[/MENTION] is it possible to make a request to add the profiles for the zzmoove governor? Thanks again for all your hardwork!
[Xperia Z5 Android Development] whalesplaho:
I dnt know wah is wrong.... Wake up dis mawn and android os was eating 35% of my battery. My battery drop from 90% to 70%. I noticed dis was after install forcedoze and greenify cos i neva had dis issue before.... Im just too surprised seeing my battery drain dah much and o have uninstalled tha 2 apps.

[MENTION=7328701]koekoek91[/MENTION]
[Xperia Z5 Android Development] Hiku:
Install Wakelock Detector to see what keeps your device to be woke up.
[Xperia Z5 Android Development] koekoek91:
I'd do as [MENTION=8120302]Hiku[/MENTION] said and install betterbatterystats or wakelock detector and see what keeps the device awake.
[Xperia Z5 Android Development] whalesplaho:
I ll install dah and see guys.... Thanks!!!
[Xperia Z5 Android Development] whalesplaho:
Buddy i left 77% den wake up n met 60%.... Initially it was 95% den it drop to 77% before nite without data n wasnt using tha phone. [MENTION=7328701]koekoek91[/MENTION]