yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=3126160]Duvel999[/MENTION] , [MENTION=7328701]koekoek91[/MENTION] , [MENTION=3047491]Devo7v[/MENTION]

Thanks for the pointers :)
[Xperia Z5 Android Development] Zaisesl:
For me the battery is like stock without touching anything in kernel adiutor
[Xperia Z5 Android Development] koekoek91:
Thanks.

Gonna flash this now and will report back in a day or two.
[Xperia Z5 Android Development] whalesplaho:
Gonna try too soon...... Hope battery improves!!!
[Xperia Z5 Android Development] koekoek91:
[MENTION=3037651]zacharias.maladroit[/MENTION]

I think I had a few random reboots on latest aigoo 1.5 kernel.

I'm not sure though, I was sleepy this morning and fell asleep again for a few hours and when I woke up, I saw the kernel adiutor settings applied notification which I get after every reboot.

I'm pretty sure I swiped away this notification before I fell asleep so this is why I'm thinking I had a random reboot.

So I wanted to ask what's the best way for me to provide you with a logcat so you can have a look at it (if) a random reboot happens?
[Xperia Z5 Android Development] zacharias.maladroit:
Hm, the more I use that Nougat, the more I hate it,

the only "good" thing is the (seemingly) improved sound quality,

but that could be only due to recent changes or being stock without those worsening changes from the security patches.

https://sites.google.com/site/zhuow...onandroid60andabovesysfspstoreconsole-ramoops

Save output from

/sys/fs/pstore/console-ramoops

or the

/sys/fs/pstore/dmesg-*

files

AFTER the device has crashed and finished rebooting.

DO NOT turn off the device when it crashes and flashes the red LED.

Only that way, the contents are still in pstore.

Thanks :)

worse possibilities to improve stuff

worse battery life

blackbox of what actually changed or why it was changed

even more unstable

Nougat on Z5* == worst Android + modding experience EVER

(well, at least so far for me)

If that continues I'll go back to MM,

I like XPosed,

and if security patches aren't coming in and only those weird bugs are being "fixed",

it's kinda pointless to stay on Nougat
[Xperia Z5 Android Development] koekoek91:
Thanks.

I haven't turned off or rebooted my phone after the (possible) random reboot.

I've just checked /sys/fs/pstore with root browser.

It doesn't contain any files at the moment.
[Xperia Z5 Android Development] zacharias.maladroit:
Updated Kernel / ramdisk in post:

previous had broken access to internal microSD
[Xperia Z5 Android Development] zacharias.maladroit:
If it's empty,

it didn't reboot or panic :)

(or: it rebooted one time too much and something went totally wrong :eek: , but that's actually pretty improbable )
[Xperia Z5 Android Development] koekoek91:
Thanks, will flash the updated kernel.

Okay good to know.

ill bookmark the sys/fs/pstore location in root browser so I can easily acces it in case I do get a reboot/panic ;)
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks for the feedback

quickcharger/fastcharge is enabled on your own risk, it was requested a long time ago - several time - changelog mentions that Stock Thermal is used right now which isn't the best to deal with heating and other stuff

I don't get a red LED flashing, it's only being shown when restarting from e.g. TWRP but that was before the ramdisk changed, so ramdisk related non-issue; 1_5 or 1_5_2 should be good to go

nothing in the battery algorithm, etc. was changed - you enabled charging optimisation in the ROM, so why blame it on the kernel ? That option is known to cause this kind of behavior - I even have a shiny patch to emulate that behavior which was dropped due to way too long charging duration. It prolongs battery's life but at the cost of non-deterministic charging behavior

non-access to internal /sdcard partition is solved with newer repackaged ramdisk/TWRP version

mentioned in changelog is that "others to come",

meaning == I'm short on time, so why is everyone (Z5, Z5c, Z5P, Z4/Z3+) requesting and complaining of missing features ?
[Xperia Z5 Android Development] whalesplaho:
flashed latest kernel....

performance okay but battery still drops!

no issues.
[Xperia Z5 Android Development] zacharias.maladroit:
Everyone using that charging optimisation ?

How is it stock kernel WITHOUT charging optimisation vs. custom kernel WITHOUT charging optimisation ?

I just charged the battery 24 hours ago == 1% usage in 24 hours in Airplane which is significantly better than Marshmallow, so probably a few per cents per day with 3G + WiFi with little traffic and mostly idle

This is with a somewhat altered ROM which has e.g. GAProxy, etc. frozen, backed up and removed (for testing)

What debloating script or wakelock blocker mechanisms are you guys using for Nougat ?

edit:

charging optimisation, NOT battery optimisation ...
[Xperia Z5 Android Development] zacharias.maladroit:
376_III.3_5_ctl_X [

Nougat

] Kernels are in the Google Driver folder,

https://drive.google.com/open?id=0BykGGWB96CBQZHltMDNvOTBnNTg Z5_SK_Perm_v376_III.3_5_ctl_X_sum.zip

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

Changes:

If you're NOT using root or any Kernel Feature modification tool (SetCPU, Kernel Adiutor / Mod, EX Kernel Manager, etc.) chances are high that this kernel is pretty stable

I'm currently investigating another source for instabilities (on Nougat + aigoo Kernel source right now),

but it's kind of hard with all those different built kernels to track down exact source lines and traces - thus success rate only on Z5 can be close to 100%.

372/376 Could potentially be rockstable, given there's no

mis-configuration

(e.g. the re-enabled ARCH_POWER, or other things)

Battery consumption might be higher than on Marshmallow when you used XPosed before,

I good results however, the battery needs fairly long to settle with that "

charging optimisation

",

so in a nutshell to tell how bad/good the battery works with this kernel:

- disable "charging optimisation"

- use the kernel for some time (a couple charging cycles)

- use a ROM which has e.g. GAProxy and other battery draining stuff (photo analyzer, etc.) frozen or removed

- compare that to stock kernel in similar test-case

- to rule out stability and battery drain issues:

disable

"adaptive brightness" and "X-reality for mobile"

Adaptive brightness is a known cause for instability and battery drain (afaik Z5Premium feedback)

....

Note:

- 372, 376, 378 kernel

source

is the SAME

- there might be ramdisk differences which need to be further investigated

- this kernel release is using 376 ramdisk content, so if using with 378 ROM release battery could be worse, less stable, etc. - like I wrote,

no idea YET

what changed with 378

- Sound quality is pretty good and similar to the aigoo Kernel base ("Stock" sound)

-

Sumire (Z5, Z5 dual) for now, ONLY
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=6668369]Dna10[/MENTION] , [MENTION=4471890]whalesplaho[/MENTION]

apologies,

I meant "

charging

optimisation"
[Xperia Z5 Android Development] whalesplaho:
Was surprised too wen i saw battery optimisation cos dahs for making some apps active in stamina mode..

Charging optimisation is on... Didnt even check it cos it was disable on my previous rom n Battery Care was enabled. Forgotten i have changed rom..... Didnt tried stock kernel so much, been on SK. I dnt use any wakelock detector but my rom is debloates by jux using file manager fo delete apps.....

I ll give tha latest version a go soon and i noticed dah when im on mozilla firefox typing, wen i type, it takes some seconds before it picks, it lags.... And phone gets too heat while surfing and playing music too. Much hotness.!

Im presently usimg kernel adiutor but i only use tha color saturation mod in Display.
[Xperia Z5 Android Development] zacharias.maladroit:
What keyboard are you using ?

I used stock kernel for some time and it got pretty warm, too

Not sure what Sony changed that it gets that bad ...

Anyone compared the thermal engines / configurations of Marshmallow and Nougat to see what changed ?

We can't compare the binaries (programs), but it could be that there's also an issue,

dunno

Thanks
[Xperia Z5 Android Development] whalesplaho:
Xperia stock keyboard....

---------- Post added at 12:59 AM ---------- Previous post was at 12:58 AM ----------

Maybe be [MENTION=7328701]koekoek91[/MENTION] can help with tha thermal config
[Xperia Z5 Android Development] RyTekk:
A little difference in camera section and battery if I remember correctly.
[Xperia Z5 Android Development] koekoek91:
I have never used and never will use charging optimisation, because I don't really care about prolonging my battery.

I rather prefer having my phone charged more quickly, and I usually unplug from charger myself when battery reaches 100%.

Ocassionally I might fall asleep and don't unplug it and its plugged to charger for a night.

As for debloating, I use system app remover from google playstore to debloat my ROM.

I haven't heard of any scripts for debloating, and about the wakelock blocker mechanisms....

I haven't heard of a way to block wakelocks on Nougat, since we don't have Xposed yet.

Once Xposed is here, I hope Amplify and AppOpsXposed will work on Nougat, but only time will tell.

I don't have any of the issues people are reporting, only the fast draining battery.

Apart from this... the kernel works fine for me so far, even with the use of Kernel Adiutor Mod.

I plan to use stock kernel for a few days soon, to compare battery life, but I haven't gotten to it yet.

Are you asking if we can compare the thermal-engine.conf files from MM and Nougat?

If so, i've just uploaded my Nougat thermal-engine.conf file and also restored my MarshMallow backup and saved the thermal-engine.conf file from it to my google drive aswell.

So if this is what you would like to compare, maybe I can help.
[Xperia Z5 Android Development] zacharias.maladroit:
Yes, it would be good to know if the settings allow more leeway

or actually are more stricter :cowboy:
[Xperia Z5 Android Development] koekoek91:
Okay.

I don't have any knowledge about these files myself.

But if you wanna have a look at them yourself...

Here you go:

https://drive.google.com/open?id=0B1-5Lr_Sntl5REZ6VU1xdWIzSlU

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

I just realized the MM config file is from my SlimX ROM backup and I'm not sure if [MENTION=6791680]_LLJY[/MENTION] modified it

I've asked him but no response yet.

If he did modify it, then I'll take the thermal-engine.conf file from a fresh Marshmallow firmware for you and upload it later ;)
[Xperia Z5 Android Development] zacharias.maladroit:
I know, the 2.2 GHz gave it away ;)

still curious what the Stock values for MM are,

cause with _LLJY's it seems to allow way higher temperatures ...
[Xperia Z5 Android Development] koekoek91:
I was affraid it would be modified :p

https://drive.google.com/open?id=0B1-5Lr_Sntl5REZ6VU1xdWIzSlU

Added the thermal-engine.conf file taken from stock 5.11 firmware :)
[Xperia Z5 Android Development] zacharias.maladroit:
Thank you :)

Mostly the emergency temperature seems to be significantly lower (previously: 80 °C, now around 50°C)
[Xperia Z5 Android Development] koekoek91:
Okay.

And what does this mean for us?

I would assume the device will start to throttle sooner?

Any other effects this would cause?

Thank you for investigating ;)
[Xperia Z5 Android Development] zacharias.maladroit:
376_III.3_7_4_ctl_X [

Nougat

] Kernels are in the Google Driver folder,

https://drive.google.com/open?id=0BykGGWB96CBQaVV2RDJTMUVsS28 Z5_SK_Perm_v376_III.3_7_4_ctl_X_sum.zip

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

Changes:

If you're NOT using root or any Kernel Feature modification tool (SetCPU, Kernel Adiutor / Mod, EX Kernel Manager, etc.) chances are high that this kernel is

significantly more stable than previous releases

,

also

battery consumption now should be better

(needs testing)

I'm currently investigating another source for instabilities (on Nougat + aigoo Kernel source right now),

but it's kind of hard with all those different built kernels to track down exact source lines and traces - thus success rate only on Z5 can be close to 100%.

372/376 Could potentially be rockstable, given there's no

mis-configuration

(e.g. the re-enabled ARCH_POWER, or other things)

Battery consumption might be higher than on Marshmallow (ROM-side) when you used XPosed before, also when NOT using a

debloated

ROM with lots of active wakelock sources

removed

,

I got good results however, the battery needs fairly long to settle with that "

charging optimisation

",

so in a nutshell to tell how bad/good the battery works with this kernel:

- disable "charging optimisation" (for the first time I got a horizontal line in the graph :p )

- use the kernel for some time (a couple charging cycles)

- use a ROM which has e.g. GAProxy and other battery draining stuff (photo analyzer, etc.) frozen or removed [debloated or cleaned up]

- compare that to stock kernel in similar test-case

- to rule out stability and battery drain issues:

disable

"adaptive brightness" and "X-reality for mobile"

Adaptive brightness is a known cause for instability and battery drain (afaik Z5Premium feedback)

....

Note:

- 372, 376, 378 kernel

source

is the SAME

- there might be ramdisk differences which need to be further investigated

- this kernel release is using 376 ramdisk content, so if using with 378 ROM release battery could be worse, less stable, etc. - like I wrote,

no idea YET

what changed with 378

- Sound quality is pretty good and similar to the aigoo Kernel base ("Stock" sound)

-

Sumire (Z5, Z5 dual) for now, ONLY
[Xperia Z5 Android Development] zacharias.maladroit:
Yeah, earlier throttling, which should significantly prolong lifetime of the eMMC (internal storage - the heart of the device) which faulted pretty early with high temperatures (around 60-70-80°C),

read about a few occurrences on Hangouts of other devs & afaik also from Alin.

It really depends if the device can access its full potential or if it's throttling before it can even reach its max performance states and only staying cool ...

if that's the case some temperature might need to be raised (carefully, of course)
[Xperia Z5 Android Development] whalesplaho:
Gonna test new kernel and see... Thanks Zack for tha time to time update in other to give tha best kernel for Z5 on N!

Tho on 3.5, i think tha temperature is reduced a bit, not as hot as its on subsequent version...

Hope its keep getting better and especially battery life improved.
[Xperia Z5 Android Development] whalesplaho:
Latest version shows 3.7.2 and not 3.7.4 as claimed!
[Xperia Z5 Android Development] koekoek91:
Its a good thing you're saying this.

I was on 3.5 thinking this was latest kernel.

Can't keep up with zach sometimes :laugh::silly:
[Xperia Z5 Android Development] whalesplaho:
Presently [MENTION=3037651]zacharias.maladroit[/MENTION] trying to fix bugs n make tha kernel more battery friendly.... Seems hotness reduced too!

---------- Post added at 11:31 PM ---------- Previous post was at 11:23 PM ----------

[MENTION=3037651]zacharias.maladroit[/MENTION] trying to fix tha battery drain issh and make tha kernel more battery friendly with good performance.... I noticed heat reduced!
[Xperia Z5 Android Development] koekoek91:
I probably totally would have looked over his post with the new 3.7.4 kernel if you wouldn't have mentioned about the wrong numbering.

Battery consumption should be improved I see in changes.

Interesting...

I'll flash tomorrow... Too tired now :P
[Xperia Z5 Android Development] _LLJY:
Actually the thermal engine he used was outdated

It's supposed to throttle all the way at 60C.

By right it doesn't have any affect on the emmc, it never goes above 64c
[Xperia Z5 Android Development] ahalol:
very silly question. I'm still on 6.0, can i flash the latest kernel?
[Xperia Z5 Android Development] Andromeda 90:
Not bro, the terminal would enter a bootloop :rolleyes:
[Xperia Z5 Android Development] ahalol:
Thanks a lot
[Xperia Z5 Android Development] whalesplaho:
I gat 3 freezes on latest kernel.. Back to 3.5!

2 while charging

1 when i tried to unlock tha fone...
[Xperia Z5 Android Development] zacharias.maladroit:
5.11 Marshmallow only, in

older ROMs WiFi will NOT work

https://drive.google.com/open?id=0BykGGWB96CBQVFJpSTdnbkUwTGM Z5_SK_Perm_v5.11_III.3_7_4_ctl_X_sum.zip

https://drive.google.com/open?id=0BykGGWB96CBQUEVyWjFPQlVKSXM Z5-DSDS_SK_Perm_v5.11_III.3_7_4_ctl_X_sum_dual.zip

no crash or reboot logs = no further development
[Xperia Z5 Android Development] zacharias.maladroit:
Bro, how often do you charge ? :silly:

Was the phone idle while it was charging ?

any logs ?

What ROM, etc. ?

What wireless connections were activated ? What apps running ?

Thanks for testing :)

Again:

For ALL

If there's no detailed reports in the FUTURE for ANY sort of issue from ANYONE I will IGNORE it

/sigh ,

seems we need a detailed issue report form globally on XDA to report crashes, hangs, lags, etc.
[Xperia Z5 Android Development] zacharias.maladroit:
Give 5.11_III.3_7_4_ctl_X a good testing :)

5.11 ROM only, older ROMs will run into issues with WiFi, since they don't include the necessary up-to-date userspace ...
[Xperia Z5 Android Development] koekoek91:
[MENTION=3037651]zacharias.maladroit[/MENTION]

Im going to flash E6653_32.3.A.0.378_1298-7757_R2D and stay on stock kernel for a few days.

Im planning to try to collect some data to compare...

Like idle drain, active drain under certain situations, to compare later to your kernel.

I will follow your tips and disable adaptive brightness, and X-Reality and try to keep testing conditions as much as similar as possible.

So i'll be back again soon :)
[Xperia Z5 Android Development] zacharias.maladroit:
376/378 Nougat, in

CPUQUIET rqbalance (hotplug switch)

https://drive.google.com/open?id=0BykGGWB96CBQXzBfbFAyV0pCams Z5_SK_Perm_v376_III.3_7_6_ctl_X_sum_cpuquiet.zip

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

seems ccache or something else is going crazy, kernel version says III.3_7_2 all the time

fixed, disabled ccache, switching to linaro 4.9 toolchain (~ October 2016)

This is to test if the instabilities come from msm_peformance and its in-built core_ctl stuff,

there has been reports in the past that core_ctl is NOT entirely stable,

thus it's time to try out other alternatives and see if that is more stable ...

Notes:

- More lags are possible (especially during video recording)

- camera preview may be laggy

- battery consumption can be better or worse

- the device should be cooler, work more efficiently [default: rqbalance governor is better at multi-core performance; runnable better at single-core performance]

- bootup seems slower than on msm_performance (compared to stock hotplug)

- it takes several minutes after the reboot for the device to settle,

otherwise you'll get significant lags

(e.g. video recording)

- ...
[Xperia Z5 Android Development] whalesplaho:
I dnr have issues with 3.5...

I have a debloated, deodexed, superuser stock 376 rom

While charging and i tried to unlock tha fone

Normal basic apps
[Xperia Z5 Android Development] whalesplaho:
[MENTION=3037651]zacharias.maladroit[/MENTION] maybe dis log can help.... 372 still gat freezes on charging n trying to unlock
[Xperia Z5 Android Development] whalesplaho:
Not all values applied.... Dnt know if yhu can just share yur config file please!

Thanks.....
[Xperia Z5 Android Development] Zaisesl:
Im having a lot of lag with these kernel. Whan i tried to use the camera in whatsapp it lags and i cant use it. I come bak to tje Last kernel
[Xperia Z5 Android Development] koekoek91:
https://xdaforums.com/xperia-z5/themes-apps/mod-z5-endurance-tweaks-v1-tweaks-t3321841

You can find my config here.

Xenon v2 contains my CPU values.
[Xperia Z5 Android Development] devilmaycry2020:
Crashed many times, auto turn off the phone when not use. Please fix and battery drain too much. Thank you very much
[Xperia Z5 Android Development] whalesplaho:
dat needs a script manager & not kernel aduitor mod....

thanks buddy
[Xperia Z5 Android Development] koekoek91:
Yes.

You need either a script manager or enter the values in Kernel Adiutor/Mod yourself.

Personally I would recommend entering all values manually yourself and save it to a profile within Kernel Adiutor.

This way, when (and if) you notice that settings haven't stuck after a reboot, you can just apply the profile again.

Also, I have noticed when using the Xenon v2 governor profile script with a script manager, that values are not always applied correctly.

So thats why my personal favorite way of doing things is doing it manually.

Its more work, but more reliable.

And I always monitor CPU behaviour with devcheck widget.
[Xperia Z5 Android Development] whalesplaho:
Okay buddy.... i ll try again & see!:good::highfive:

---------- Post added at 12:29 PM ---------- Previous post was at 12:25 PM ----------

@Zacharias.maladroit vZ5_SK_Perm_v376_III.3_7_6 gat so much lags..... even after operating tha phone after so many mins after reboots!
[Xperia Z5 Android Development] Nyuubi:
[MENTION=3037651]zacharias.maladroit[/MENTION] vZ5_SK_Perm_v376_III.3_7_6 works fine especially the quick charge which is now fixed (no more heating when charging). However, the only problem is that my phone (E6633) lags from time to time maybe it's just me but could you please have a look into it?
[Xperia Z5 Android Development] whalesplaho:
yeah, very lag but wasnt able to check performance but noticed no heating!
[Xperia Z5 Android Development] Nyuubi:
I found a 'fix' for it, though it won't help much but it will reduce lags. If you have sth like kernel adiutor then change governor for little core to 'performance' and increase min frequency bit. For me, the battery is still good on idle as well as when playing games, all the while reducing lags considerably but not completely.
[Xperia Z5 Android Development] whalesplaho:
[MENTION=3037651]zacharias.maladroit[/MENTION] will try to fix it i believe... he is really doing good for us, Z5 gat less development dis days cos most users have upgraded to X,XP,XZ!!!

thanks buddy
[Xperia Z5 Android Development] J03llV:
Which is the most stable kernel right now? Im on 6.0.1
[Xperia Z5 Android Development] whalesplaho:
Single sim-

https://drive.google.com/file/d/0BykGGWB96CBQSzVRN2k5MlNHVXc/view?usp=sharing

Dual sim-

https://drive.google.com/file/d/0BykGGWB96CBQLTZJSW5tSUM5bDQ/view?usp=sharing
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=5092289]J03llV[/MENTION]

make sure to disable ARCH_POWER via kernel_adiutor or similar,

since in that build it's still enabled,

need to track down why or where it's still enabled after 2 known sources have been disabled.

After that it should be pretty stable
[Xperia Z5 Android Development] zacharias.maladroit:
Need feedback:

376/378 Nougat, in

CPUQUIET rqbalance (hotplug switch)

https://drive.google.com/open?id=0BykGGWB96CBQSUVwTXdmUUhHc2s Z5_SK_Perm_v376_III.3_9_5_ctl_X_sum.zip

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

Changes:

Notes:

- More lags are possible (especially during video recording)

- camera preview may be a bit laggy

- battery consumption can be better or worse

- the device should be cooler, work more efficiently [default: rqbalance governor is better at multi-core performance; runnable better at single-core performance]

- bootup seems slower than on msm_performance (compared to stock hotplug)

- it takes several minutes after the reboot for the device to settle,

otherwise you'll get significant lags

(e.g. video recording)

- ...

Tweaks:

- change

governor

for CPU/Hotplug from rqbalance to

runnable

to have even more battery savings + coolness at the cost of a little lag (or even less)