yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Premium Android Development] Nibleheim:
Thanks. I will try this morning.

Edit: I hoped real hard and it looks like it worked after a clean install. I didn't realize you had moved on from .253 (Thank god my Watch could not stay connected to save it's life on .253. And it's a Sony Smartwatch... So much fail Sony...So much... You're lucky I like your phones way better than Samsung, but you're like that special friend we all have. We love you... but come on bro.)

SO MUCH THANKS! Take you're time on Nougat, I know you'll do good work and don't let us pressure you. I'm buying you a 6 pack of beer once I get my return back. Your work is amazing.

Edit2: Wow, this is pretty sweet having it functioning perfectly. I feel like I have a super computer thanks to you and Zach.
[Xperia Z5 Premium Android Development] Nibleheim:
Not to bug but I still get random reboots running LLJY's SlimX ROM. It isn't a lot, but it's several times a day. Let me know where to get logs/etc and I can send them when it happens again. I'm also on Aussie 5.11. Running E6853.
[Xperia Z5 Premium Android Development] _LLJY:
You're using 2_4_9

Or 2_5_1?

The former, is super stable for me and the latter is the one that is keeps crashing for me
[Xperia Z5 Premium Android Development] Nibleheim:
I think I'm using 2_5_1. When I have some time I'll try and figure it out. Been hell week for me..

By 2_5_1 do you mean kernel or your ROM? I tried finding either by that label and I didn't find it.
[Xperia Z5 Premium Android Development] the_brad:
Have a look at settings -> device info / about phone -> kernel-version

The part after 3.10.84-5.11_corona_ xxx:good:
[Xperia Z5 Premium Android Development] Nibleheim:
3.10.84-5.11_Corona_III.2_4_7_ctl_x - So it is the kernel, and I am running 2_4 but 7 not 9. Where is 2_4_9?
[Xperia Z5 Premium Android Development] the_brad:
https://drive.google.com/open?id=0BykGGWB96CBQaVZTdnF5QnVTMU0

For Z5 Premium and Premium dual, sort folder by date to find the newest ones
[Xperia Z5 Premium Android Development] zacharias.maladroit:
https://sites.google.com/site/zhuow...onandroid60andabovesysfspstoreconsole-ramoops

like I wrote in the past:

running incompatible Kernel <-- --> ROM combination,

or running a modified ROM is fine.

But if issues do not naturally appear on Stock from Sony, it's not supported :p

seems like I found a likely candidate that

could

cause trouble

This whole Sony affair is a mess :(
[Xperia Z5 Premium Android Development] Nibleheim:
Sorry for my nubbiness :( Now that I'm looking with a clear head and not on my phone I saw exactly where 2_4_9 was in the threads downloads... Been a long week.

None of us bought Sony because they do good programming/have good software. We bought it for the potential...
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Yeah, looking at the soon-to-be had feature abundance via LineageOS (cam with good quality, working FM Radio, etc.) - that on an AOSP-based ROM :eek:

Awesome ! :cowboy:
[Xperia Z5 Premium Android Development] zacharias.maladroit:
OP (1st post) got updated with a shortcut to the Google Drive folder

tl;dr instruction on how to get the current kernels,

please give 5.11_corona_III.2_6_ctl_X a try :)

Changelog

[Download] How to get the

current

("corona", 5.11) SunKernel(s) - Step by Step:

Note:

The optimization flags needs some testing, so it's NOT 100% sure if the kernel is entirely stable
[Xperia Z5 Premium Android Development] -DM-:
[MENTION=3037651]zacharias.maladroit[/MENTION]

First impression on 2_6 is that it's running warmer than 2_4_9 (which was pretty cool all around)...

Testing done with no extra mods...kernel behaving fine, no problems encountered except the added general heat while in use...

Thanks
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Thanks for the feedback :)

At the beginning 2_4_9 might be cooler but during longer runtimes + running large and many apps there was the potential (and it also happened),

that the phone got hot and zram + per-process reclaim were competing over each other ("races"), instabilities, slowing down and other issues.

2_6 might be warmer since it uses better optimizations + a bunch of more aggressive optimization flags which I just got rid off (potentially unsafe and/or unstable, thus also leading to races or inefficiencies "heating"),

overall it should work more reliable after the initial quirks have been worked out (with following releases) since there are several fixes for bugs that brought the phone down (null pointer dereferences, etc.).

I'm however still looking into the the weird behavior of bluetooth related instabilities or the phone not properly waking up

not entirely sure if it's 100% the kernel since it's again occurring in combination with android gms (google mobile services) and/or larger apps being killed off
[Xperia Z5 Premium Android Development] -DM-:
Thanks for the info...

Never had heat issue with 2_4_9 in the long run probably because I use greenify and only a few needed apps always run, everything else is hibernated after use?!?

Also haven't noticed any bluetooth issue either as I use wireless headphones and they're working fine, don't really use bluetooth for anything else though...
[Xperia Z5 Premium Android Development] anjelz2012:
xx
[Xperia Z5 Premium Android Development] Nibleheim:
Rude...

As soon as he's able he will get it going. He's just as excited as we are. Be patient.
[Xperia Z5 Premium Android Development] zacharias.maladroit:
I was actually inclined to write "NEVER !" and leave it for good,

but since I hate having to use Stock Kernel,

Take a look at the usual Google Folder

there are 376 kernels available

Unchartered territory, so not known how stable they are since Nougat kernel source got quite some changes ...
[Xperia Z5 Premium Android Development] Snake07:
Hi. I installed your kernel for 7.0 on single sim z5p and have couple of hours of using. So far so good. No lags, no battery drain,looks like no owerheating too. First noticed differences: backlight of boot screen reduced (a special thanks for it), no vibration when phone unlocking by fingerprint, system sounds feels little louder and harsher as if there was some changes in the mixer_paths.xml.

Is there any changelog for nougrat kernels and where i can read it ?
[Xperia Z5 Premium Android Development] devilmaycry2020:
Hi everyone

what is the different between Z5-DSDS_SK_Perm_v5.11_III.2_6_5_ctl_X_t7_dual and Z5-DSDS_SK_Perm_v5.11_III.2_6_5_ctl_X_t9_sum_dual ?
[Xperia Z5 Premium Android Development] Nibleheim:
Just something I've noticed since flashing 2_6 (Still running SlimX) that if I go out of range with my Sony SmartWatch 3 it will either turn off my bluetooth, or it will just force reboot and turn off Bluetooth. Randomly Wi-Fi will be turned off as well.

It doesn't really make a hindrance in my day because usually I'm not using my phone when I'm walking out of Bluetooth range... But it happens nearly every single time I do it.
[Xperia Z5 Premium Android Development] _LLJY:
Maybe it can be used with tasker to warn you that you're disconnected with your SW3
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Can you please get into the service menu and do a test whether vibration *

in general

* is broken,

or there's something else going on ?

*#*#7378423#*#*

Those kernels aren't even for Z5 Premium ;)
[Xperia Z5 Premium Android Development] Snake07:
Yes,vibration not working at all. Also I noticed at least one spontaneous reboot.
[Xperia Z5 Premium Android Development] the_brad:
Just wanted to leave feedback here for 376_3.3:

I did the update with flashtool last night and I was pleasently surprised, that everything worked so well!

Of course, I did not wait long to check out your kernel and it works great. No random reboots so far!

Vibration is lost (but I've read, you already fixed it for Z5) but diag-check is there (but doesn't work).

I'm glad, you are doing so well in fixing these bugs and pushing our devices far beyond sony's limitations!
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Alright, again "officially"

376_III.3_4_ctl_X [

Nougat

] are in the Google Driver folder,

https://drive.google.com/open?id=0BykGGWB96CBQc1JFWWJwc0MzY0E Z5Prem_SK_Perm_v372_III.3_4_ctl_X_sats.zip

https://drive.google.com/open?id=0BykGGWB96CBQMHM3YXlBTWM5eFU Z5Prem-DSDS_SK_Perm_v372_III.3_4_ctl_X_sats_dual.zip

I'm currently not on Nougat, so didn't test

Please give feedback,

thanks

Changes:

So 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 5.11),

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 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,

There are quite some changes under the hood for Nougat done for the ROM, so not sure what Sony did,

this could be for the better or the worse.

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
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Changelog for 376_aigoo_I.1_5

Z5, Z4/Z3+ Xperia device model Kernel series for Android 7.0 Nougat (Stock)

https://drive.google.com/open?id=0BykGGWB96CBQam8wWUtBeXJvTDg Z5Prem_SK_Perm_v376_aigoo_I.1_5_2_sats.zip

https://drive.google.com/open?id=0BykGGWB96CBQMTI2Y2tmVzE0bXM Z5Prem-DSDS_SK_Perm_v376_aigoo_I.1_5_2_sats_dual.zip

Changes:
[Xperia Z5 Premium Android Development] Snake07:
Hello again. I tried to install 376_aigoo_I.1_5 above 376_III.3_4_ctl_X but get boot loop. And installing stock kernel from twrp/fastboot does not helps. And I recently deleted my backup,lol. Any advices?
[Xperia Z5 Premium Android Development] anjelz2012:
Does not work, bootloop in the sony logo
[Xperia Z5 Premium Android Development] exvargos:
Same, E6853 376, bootloop on the sony logo.
[Xperia Z5 Premium Android Development] zacharias.maladroit:
New kernel is coming up shortly, seems I used an outdated ramdisk, not sure how those files got there in the first place

Sorry :(

detto, new kernel will be up shortly - ramdisk used will be 376 for now,

still got to download those FTF files and compare what actually changed in ramdisk for 378 firmware

Thanks for testing & interest
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Post got updated with new kernels:
[Xperia Z5 Premium Android Development] Snake07:
Installed updated kernel,no issues so far:good:
[Xperia Z5 Premium Android Development] anjelz2012:
Working perfectly in .378; Thank you!
[Xperia Z5 Premium Android Development] Muhammad amine:
I had a random reboot on 376.....

Thanks for your work dude :)
[Xperia Z5 Premium Android Development] zacharias.maladroit:
https://sites.google.com/site/zhuow...onandroid60andabovesysfspstoreconsole-ramoops

Please post output of /sys/fs/pstore/

console-ramoops, dmesg*

after the reboot

do NOT turn off the device when it is crashing

Thanks
[Xperia Z5 Premium 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=0BykGGWB96CBQeHN0YlZRODU5eW8 Z5Prem_SK_Perm_v376_III.3_7_4_ctl_X_sats.zip

https://drive.google.com/open?id=0BykGGWB96CBQQTl0SlZqYTM5cTg Z5Prem-DSDS_SK_Perm_v376_III.3_7_4_ctl_X_sats_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 Premium Android Development] arshia.sunboy:
Dear dev

Hi.I test last version in my z5p e6833 dual.

no battery drain.no deep sleep problem.no overheating.

but I have big problem.from yesterday untill now this happend for me 3 times:

when phone locked and screen black and not in use when I try to turn on screen with power

button or tap 2 screen phone dont show

suitable response and like phone freezed in sleep or dead.no response after 2 minute.

just I can restart phone with pressing vol up+power for 10 sec.

supersu installed and anything is ok

please check this problem sir.
[Xperia Z5 Premium Android Development] amprich:
I am on Marshmallow, should I use your latest 5.11 kernel, or 376 [Nougat] kernel?
[Xperia Z5 Premium Android Development] Sajad Askari:
i Have This Problems Too :(

هموطن عزیز :o

---------- Post added at 11:14 PM ---------- Previous post was at 11:10 PM ----------

use Last 5.11 Kernel

such as :

Z5Prem-v5.11_III.2_6_ctl_X_sats.zip

for dual Sim use DSDS Version

such as : Z5Prem-DSDS_SK_Perm_v5.11_III.2_6_ctl_X_sats_dual.zip
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Please test out 3.10.4 kernel in the folder (from today),

it switched to CPUQUIET as a hotplug mechanism and should be way more stable,

since ccache (cause for messing with code) and at least 2 sources of instabilities have been removed.

It also should offer better battery runtime [although something seems to have worsened it again - those pesky commits :/ ]

376 is the nougat firmware number,

how things work only 5.11 kernels are compatible with Marshmallow (ramdisk & driver related changes)
[Xperia Z5 Premium Android Development] the_brad:
Thanks for the new one! Working great so far. Had one freeze and reboot but I'm not sure if that was a kernel problem... So if it doesn't happen again, I wouldn't mind it ;)

New Hotplug works great, finally it suspends more cores and seems to run a bit cooler. Battery seems ok, nothing special, compared to stock (I have quite bad perception while at work, so...).

What kept bugging me is the fact, I don't pass safetynet as soon as I flash one of your kernels!

I read the help-thread for magisk and followed their steps and think, I might have tracked it down to the busybox, that comes integrated in your ramdisk.

Might there be the chance, you could the next kernel (IF that will come, of course :)) with a ramdisk, I'll send you when I'm home tonight? I think, it could be a better choice, to tinker around only at a minimum level, so that everybody gets the chance to make his own choices, using rootkernel-tool.

Thanks in advance ;)

edit: [MENTION=3037651]zacharias.maladroit[/MENTION] I checked my theory and can confirm: It's the built-in busybox, that triggers safetynet!

I cross-checked the same kernel, one time with and one time without busybox and voilà, it breaks as soon as I flash the one with bb.

As promised, I repacked you the kernel for E6853 with everything left working but installed TWRP and DRM-fix. Patch-logs are in that folder, too. If you want to compare ...376 with ...378, I put both in there ;)

https://drive.google.com/open?id=0BzEmiGcuf7IiNHJTejFZckNLTUU
[Xperia Z5 Premium Android Development] zacharias.maladroit:
376/378 Nougat kernel, v376_III.3_14_3 with

INTELLI_PLUG (hotplug switch)

https://drive.google.com/open?id=0BykGGWB96CBQM1B0aUhYRXZsRW8 Z5Prem_SK_Perm_v376_III.3_14_3_ctl_X_sats.zip

https://drive.google.com/open?id=0BykGGWB96CBQYkx0R1Jud0cwSjg Z5Prem-DSDS_SK_Perm_v376_III.3_14_3_ctl_X_sats_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 Premium Android Development] kristijan15:
This one seems much more stable compared to the previous version, so far played 1hr of music on stock music player and not a single reboot occured to me
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Thanks for the interest, testing and feedback,

yeah, that one slipped for some time - haven't used Sony's Music App so that wasn't on my radar

Seems like there's still some sort of dormant issue (Z5 compat) - currently investigating it
[Xperia Z5 Premium Android Development] Sajad Askari:
[MENTION=3037651]zacharias.maladroit[/MENTION]

Sorry

the last Version in Download Folder is 3.13.4

but you have posted the 3.14.3 !!!

wich version is stable?

what to do?
[Xperia Z5 Premium Android Development] zacharias.maladroit:
use 3.14.3,

it's in the same folder,

Google Drive is probably having bugs again and do NOT display the newest versions again ;)
[Xperia Z5 Premium Android Development] Tilman:
I updated to Nougat, a clean flash & flashed your kernel from adb, its been just 24 hours, but fortunately no reboots & after the first charge, I got 4 hours & 52 minutes of ScreenOnTime.
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Please try out 3.14.4,

that has improved cpuidle and lower power mode handling,

it might be more stable for those that have stability issues

https://drive.google.com/open?id=0BykGGWB96CBQSFdmbzNUMmFMbDA Z5Prem_SK_Perm_v376_III.3_14_4_ctl_X_sats.zip

https://drive.google.com/open?id=0BykGGWB96CBQVEhMd0pvRURfTnM Z5Prem-DSDS_SK_Perm_v376_III.3_14_4_ctl_X_sats_dual.zip
[Xperia Z5 Premium Android Development] Tilman:
Flashed the latest 3_14_4, it crashed & rebooted after over an hour of music playback on Sony's Music app. Rest, it's pretty stable.

IntelliPlug works amazingly good enough, I'm on an odexed fw, I don't face any stutters or lags at all. Overheating seems to be reduced by a greater margin.

Battery is average, I can still cross 4Hrs of SoT. Though Deep Sleep drain is minimal, indeed it's the lowest, I just lost 3% overnight with LTE on & the notification LED blinking all night.

There seems to be some audio quality related improvements, I don't know much, but audio seems to be improved.

Thanks always for your work.
[Xperia Z5 Premium Android Development] zacharias.maladroit:
https://drive.google.com/open?id=0BykGGWB96CBQd3ZjQnVzQ3hYdUU Z5Prem_SK_Perm_v376_III.3_15_2_ctl_X_sats_align.zip

https://drive.google.com/open?id=0BykGGWB96CBQeG9hTjh2U1JZWjg Z5Prem-DSDS_SK_Perm_v376_III.3_15_2_ctl_X_sats_dual_align.zip

For those still running into stability issues with Sony Music app,

that kernel has the alignment forced, no unaligned accesses are allowed,

not sure why it's even throwing those issues/errors in the first place,

hopefully this makes it more stable
[Xperia Z5 Premium Android Development] zacharias.maladroit:
The following kernel is working stable since several hours for me with either Sony Music App or Neutron Music Player App:

https://drive.google.com/open?id=0BykGGWB96CBQSEhxRlEyQlVCY1U Z5Prem_SK_Perm_v376_III.3_16_2_ctl_X_sats.zip

https://drive.google.com/open?id=0BykGGWB96CBQU19tcDZuRmRJU3c Z5Prem-DSDS_SK_Perm_v376_III.3_16_2_ctl_X_sats_dual.zip

please give it a try
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Got a random reboot while idle after several hours of playback [Music playback = stable; AFTER THAT: disconnecting headphones, idle = reboot]

The following kernel might be more stable than the previous one and address the issue:

https://drive.google.com/open?id=0BykGGWB96CBQd0hDZzlEZWtDYjA Z5Prem_SK_Perm_v376_III.3_16_4_ctl_X_sats.zip

https://drive.google.com/open?id=0BykGGWB96CBQaHJHTjRXV3RaanM Z5Prem-DSDS_SK_Perm_v376_III.3_16_4_ctl_X_sats_dual.zip
[Xperia Z5 Premium Android Development] Tilman:
The Kernel without doubt is rock stable, music playback is stable too. But CPUQuiet is very laggy at times, runnable/rqbalance, under moderate load makes the device overheat at times and stutter a lot. Video recording with Intelligent Active Stabilisation is the worst - it's very jittery and skips a lot of frames.

Everyone here knows you've been working hard for this, the only Kernel developer for Z5 Premium! Thanks. Hope this can be solved. Reverted back to 3_14_4.
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Not sure what the folks with their Z5 are doing to make it so unstable ;)

I however also had a weird battery drain today where 10% went by in a few minutes and the phone got pretty hot,

guess CPUQUIET isn't so "quiet" after all :p

Thus - let's switch kernel base to MSM_PERFORMANCE (Qualcomm stock hotplug) + new kernel base,

the Eclipse one is pretty much maxed out and at the limit what is possible with Stock ROM + Stock Kernel & becoming hard to keep in shape,

the issue now however is to keep the Kernel up-to-date (security updates) with minimal effort without breaking boot (sic!) of the device

The following kernel

is based on aigoo (new source, before Pedigree [stock kernel + caf merge] was released), somewhat reworked,

and pretty close to Sony's kernel source,

for wifi the prebuilt module is used

Please see the attachment

Thanks

edit:

To fully have the different experience, the following settings might need to be changed:

https://github.com/zachariasmaladro...mmit/4d9a5df4d53ebdaee2885390d44ac2cbe59bf320

input_boost_ms to 1000

https://github.com/zachariasmaladro...mmit/2a77628e0dcacf06ce536eb76653ea088ec6b2ee

sched_upmigrate_min_nice to 9

https://github.com/zachariasmaladro...mmit/fef79087f344c6a036761ca5dd5f76f0776dc5e8

https://github.com/zachariasmaladro...mmit/01aa2f79fc65374838a87ba8cc8557d29e62332a

sched_small_task_pct to 60 [might be Sony's stock value]

sched_heavy_task to 85

sched_boost / sched boost: enabled

sched_init_task_load_pct to 55

sched_upmigrate_pct to 95

sched_downmigrate_pct to 85

Those values are for testing & currently under evaluation !

edit2:

Upload is glitching so the Dual SIM Kernel might not be correct:

md5sum Z5Prem_SK_Perm_v376_aigoo_I.1_6_3_sats.zip
683c1437dbc52c3b35b877ed8abb04ee Z5Prem_SK_Perm_v376_aigoo_I.1_6_3_sats.zip

md5sum Z5Prem-DSDS_SK_Perm_v376_aigoo_I.1_6_3_sats_dual.zip
3523fef7b310ef4bbfe805d64378ddcf Z5Prem-DSDS_SK_Perm_v376_aigoo_I.1_6_3_sats_dual.zip
[Xperia Z5 Premium Android Development] Tilman:
Did you re-enable Arch Power Savings in the new one? It was enabled in Kernel Adiutor after flashing aigoo_I.1_6_3.

I think the audio needs to be balanced out again, sometimes it's just very harsh to the ears.