yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Premium Android Development] -DM-:
My observations so far on I.1_2_17 over I.1_2_12 are that the phone runs definitely much more cooler than on the previous kernel (default settings, no Kernel Adiutor used here) and battery life might be increased...I say might because I flashed it a few hours ago and did a bunch of manual reboots as I was updating some modules, but I noticed that the battery takes longer to deplete while using the phone and it doesn't drop even 1% if left alone....I could do between 4.5 to 5.5 hours of sot on a full charge with I.1_2_12 depending on medium to heavy my usage was...I'll see after a full charge how it goes...

So great work on the update... Thanks ;)
[Xperia Z5 Premium Android Development] Tilman:
I flashed Z5Prem-DSDS_Sunkernel_Permissive_v224_I.1_2_17_sats_dual.zip and my phone won't just go past the Sony screen, the boot screen appears, fades, red led light & reboots and does the same everytime. The weird thing is that I had no trouble flashing I.1_2_12 previously on RomAur v4.1, 4.1 is because I found it more stable. And I have twrp 3.0.2 installed though I also tried flashing with twrp 2.8.7.0 but no luck. Can anyone help me please? I don't know what I'm doing wrong.
[Xperia Z5 Premium Android Development] -DM-:
I.1_2_17 was super unstable when I first flashed it as well, I'm on RomAur also but 4.2.1, I was able to boot after flashing but the system constantly crashed....I.1_2_12 indeed flashed just fine

I resolved the problem with I.1_2_17 by entering recovery then first wiping cache and dalvick and then flashing the kernel...then it booted just fine and I haven't had a single reboot of freeze since!
[Xperia Z5 Premium Android Development] Tilman:
Well in your case you at least are able to boot up, for me, the kernel just doesn't want to take me past the Sony logo at all. And I don't think not wiping the cache & dalvik would get me stuck at the Sony logo.
[Xperia Z5 Premium Android Development] -DM-:
Yes it did boot but froze and rebooted right away after flashing the kernel...was always able to boot but again the system was completely unstable with constant reboots...I flashed back 12 and everything went back to normal, but I tried again the morning after to flash 17 but did wipe cache and dalvick first right before flashing the kernel and that cleared my problem....

So frankly it will not hurt for you to try ;)
[Xperia Z5 Premium Android Development] Tilman:
So I tried what you said & guess what, I had to turn on my laptop to flash a new kernel cause it just won't boot as usual, I guess there's some fault for fw. 224 & dual sim version of the latest version of this kernel cause I don't think there's any problem on my end.
[Xperia Z5 Premium Android Development] -DM-:
never know until you try as they say ;)

a boot log with adb might be useful in your case for Zach to maybe pinpoint the root of the problem...
[Xperia Z5 Premium Android Development] houboy:
I'm run RomAur 4.2.1 with fw 224 and booted fine. So far, I've had only 3 random reboots, 2 today and one on the first day. Other than that, I personally think its more stable than other kernels. It cleared the fingerprint scanner not functioning bug for me, well I havent had it since 3 days ago (i ran another kernel and I would get it in around 3 hours after a reboot). Thanks dev for your awesome work! *Also, I haven't made any changes to the default configuration of the kernel (kept same scheduler and governor).
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Well, it sounds a bit sarcastic, but perhaps that's not the intention :)

Anyway: that's far from satisfactory - it should at least survive a week or two (stock kernel isn't that stable, I had issues with it, too - so it's rather hard to improve on top of that)

I'm currently investigating a few triggers and causes for hangs, reboots, etc.

and hopefully will know how to address them

Thanks
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Multi-Hotplug test-kernel :

Download, AndroidFileHost :

224 Kernel

https://www.androidfilehost.com/?w=files&flid=89758 SunKernel_for_Z5Prem 224_I.1_2_17

253 Kernel

https://www.androidfilehost.com/?w=files&flid=89758 SunKernel_for_Z5Prem 253_I_V.1_2_28_4

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

TODO:

(Notes for myself)

- [FIXME] if instability persists: remove one hotplug related hotplug fix

Notes:

Several commits that caused trouble have been removed, so this kernel should be pretty reliable

Kernel Adiutor is currently acting up a bit with switching between MPDECISION and Intelliplug or MSM_HOTPLUG, so e.g.:

disable intelliplug, enable intelliplug and disable mpdecision,

that should stick

Battery efficiency:

Downclock 1.3 GHz (little core) and 1.5 GHz (big core) [limit max frequency via e.g. Kernel Adiutor or EX Kernel Manager]

For those use interactive governor, otherwise the UI might not be smooth enough and sound might stutter.

Mentions:

(additional ones)

thanks for _LLJY + Beta tester crew and androidexpert35 for testing !

Sauce:

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

https://github.com/zachariasmaladro...commits/Sun-Kernel_32.2.A.0.253_vI_V.1_2_28_4

Thanks
[Xperia Z5 Premium Android Development] -DM-:
Runs cool and pretty fluid.... But reboots galore
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Under what circumstances do those reboots occur ?

Can anyone with an unmodified Stock ROM please also test these kernels ?

are you using RomAur ? modified thermal engines ? init scripts ?

Thanks
[Xperia Z5 Premium Android Development] -DM-:
Reboots are completely random (even happened while charging while the phone was untouched)

Yes running RomAur 4.2.1, no modified thermal engines and no added init.d scripts (just the ones included with the rom)

Thanks
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Download, AndroidFileHost :

224 Kernel

https://www.androidfilehost.com/?w=files&flid=86341 SunKernel_for_Z5Prem 224_I.1_2_17

253 Kernel

https://www.androidfilehost.com/?w=files&flid=90382 SunKernel_for_Z5Prem 253_I_V.1_2_28_6

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Download, AndroidFileHost :

224 Kernel

https://www.androidfilehost.com/?w=files&flid=86341 SunKernel_for_Z5Prem 224_I.1_2_17

253 Kernel

https://www.androidfilehost.com/?w=files&flid=91354 SunKernel_for_Z5Prem 253_I_V.1_2_31_WIP

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

Sauce

https://github.com/zachariasmaladro...mmits/Sun-Kernel_32.2.A.0.253_vI_V.1_2_31_WIP
[Xperia Z5 Premium Android Development] RogueFiber:
I do have a stock ROM. I had several reboots during my short time using this kernel however I were using the v253_I_V.1_2_28_4. The reboots usually happened when the phone had been inactive for a time and then I unlocked with fingerprint and opened an app.

I have now upgraded to v253_I_V.1_2_31 to see if the reboots are happening less.

I had trouble with AurKernel as the fingerprint hardware stopped working. Hopefully this kernel will fix this.

Anyway great work with this so far!
[Xperia Z5 Premium Android Development] zacharias.maladroit:
This indicates idle or low power/energy saving related issues,

which should have been addressed in the latest kernel (hopefully).

If you're using XPosed, try Fingerprint Enabler (http://xdaforums.com/xposed/modules/mod-fingerprint-enabler-t3411066) ,

I doubt that it's caused by the Kernel, since it occurs with every single one, and must be an issue on the ROMs side (fingerprint reader)
[Xperia Z5 Premium Android Development] RogueFiber:
Let's hope for that! Thanks.

I'm not using XPosed as first I thought that were the problem so I removed everything and the problem stayed. Maybe I needed to reflash kernel or something?

I couldn't think it was the kernel either until I removed everything and the problem still persisted. Might have been stuff laying around until I flashed this kernel instead?

I will get back to you with the test results of the reboots.
[Xperia Z5 Premium Android Development] -DM-:
Worked flawlessly for a bit more than 24 hours then first freeze after clicking on an hyperlink from facebook to open it in firebox...no reboot, had to force shut down manually...crashed on boot after that...

Other remarks, seams to run a bit warmer and a bit more battery hungry as well all this compared to my usual daily usage with the past kernels....

Again I_V.1_2_12 is the only version that has never crashed on me and with which I manage up to 5.5 hours of SOT with medium usage...

Thanks
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Haha, -DM-,

you're killing it :laugh:

was that a special kind of website with lots of flash (flash is dead on Android, right ?), javascript, pics, multimedia content, exotic stuff ?

hm, facebook app tends to do weird stuff, I'm not using it,

so not even coming close to that usage pattern/test-case :confused:

Well, .31 is the first that boots up again and works for several folks, so something is moving in the right direction,

I'm curious what it is this time,

optimization flags too aggressive or unstable again ? :confused:

Anyway, will see if I can find the culprit or possible candidates,

Thunderplug Hotplug feels a bit weird, perhaps a different Hotplug mechanism is in order ...

Thanks !
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Multi-Hotplug kernel (

stable

approach) :

Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=92267 SunKernel_for_Z5Prem 253_I_V.1_2_34_WIP_bricked-msm_hotplug-intelli

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

TODO:

(Notes for myself)

- [FIXME] if instability persists: re-add one hotplug related hotplug fix (but might also cause instabilities and boot failure)

- [FIXME] fixed previous security issues (had left them out for now), need to check if I overlooked any from the past

Notes:

Several commits that fix trouble have been added, so this kernel should be

more

reliable

Kernel Adiutor from PlayStore is currently acting up a bit with switching between MPDECISION and Intelliplug or MSM_HOTPLUG, also the new overhauled UI has some functional limitations

(functions removed or currently not working):

Meanwhile use:

Kernel Adiutor-Mod [V15] [18JUL2016]

no offense to the Original author of Kernel Adiutor, this tool simply offers the bells and whistle the Kernel currently needs, otherwise resorting to console input (or scripts) is needed

Thanks

Unless severe problems occur (or I missed something important), this will be the last/latest kernel release for some time. The kernel has matured quite a bit and should be good to go

Thanks for your understanding :)

Battery efficiency:

Downclock 1.3 GHz (little core) and 1.5 GHz (big core) [limit max frequency via e.g. Kernel Adiutor or EX Kernel Manager]

For those use interactive governor, otherwise the UI might not be smooth enough and sound might stutter.

Mentions:

(additional ones)

thanks for [MENTION=6791680]_LLJY[/MENTION] + Beta tester crew and [MENTION=5627933]androidexpert35[/MENTION] for testing !

Sauce:

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

https://github.com/zachariasmaladro...mmits/Sun-Kernel_32.2.A.0.253_vI_V.1_2_34_WIP

Thanks & Enjoy !
[Xperia Z5 Premium Android Development] -DM-:
And ironically it was a link from a Sony's Facebook post in the app which opened a Sony's page product in their site with Firefox...

Sony's getting back at you for messing with their kernel ;)

No flash on that page by the way (you can still run flash with Firefox by using the old flash installer apk by the way, but there is no point anymore as most things moved to html5)

Yeah the FB app is crap but convenient when I need it (I have it hibernated, no syncs or notifications, blocked some services and don't even let load at boot...so it's pretty tamed down over here)....

Indeed going towards the right direction with 31 (only one crash)

Let me flash 34 and I'll see you tomorrow ;)

Thanks
[Xperia Z5 Premium Android Development] xerxess:
someone have same experience with me?

in my z5 dual, im use rom X with zach kernel and thats run very well

but when i use rom X in my z5 premium with latest zach kernel it didnt booting..but when im use kernel rom aur its run well..

maybe someone know why?
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=95778 SunKernel_for_Z5Prem 253_I_VI.1_2_44_2

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

Notes

Android timeout (for me, Zach) is in effect starting NOW (August 16th until at least END of August) - so no development, PM, answers, etc.

Sauce

https://github.com/zachariasmaladro...ommits/Sun-Kernel_32.2.A.0.253_vI_VI.1_2_44_2
[Xperia Z5 Premium Android Development] the_brad:
Thank you for your good work!

I just flashed the new one an hour ago and took some steps different from usual (at least for me):

- (made backup)

- flashed your kernel

- formatted ART-cache and cache

- booted (no bootloop!!)

- reboot to TWRP

- flashed SuperSU 2.76

- reboot (3 or 4 bootloops, all far before bootanimation starts)

- device is now up and running well so far!

Congrats. That might be a stable one ;)
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=98064 SunKernel_for_Z5Prem 253_I_VI.1_2_45_4_13

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

Notes

This is an EMERGENCY kernel release to address most issues,

FM Radio

is still leading to lockups

Feedback

How is camera video recording working ?

How is startup of camera app working (faster) ?

How is stability ?

How is smoothness ?

How is performance ?

How is battery ?

How is temperature ?

How is charging LED and disconnecting working (cyan color) ?

.

.

When did the FM radio app STOP working ?

Kudos

to [MENTION=5627933]androidexpert35[/MENTION] , [MENTION=6791680]_LLJY[/MENTION] , the BETA Testing team, [MENTION=4798704]RyTekk[/MENTION]

Sauce

https://github.com/zachariasmaladro...its/Sun-Kernel_32.2.A.0.253_vI_VI.1_2_45_4_13
[Xperia Z5 Premium Android Development] -DM-:
Video is choppy with visible onscreen delay while recording...

The camera app starts fine...

Manual mode end up in black screen view finder...

Exiting the camera app cause a general system lag and can't access camera after that unless doing a reboot...

Can't comment on the rest yet as the kernel was just recently flashed...will keep you updated ;)

Thanks
[Xperia Z5 Premium Android Development] Tilman:
I just booted the kernel up, let the phone cool down & settle for 10 minutes, then tried opening camera app it took 5 seconds to open the app, another 5 with a black screen, after that the camera ran well but everytime I launch camera on an average it took 8-10 seconds to actually take a photo!!!! Radio did freeze the phone. Performance is well enough.

Well at least this version did boot up well as from 1.2.12 none of the versions did boot up for me. Will test this for sometime.
[Xperia Z5 Premium Android Development] zacharias.maladroit:
This indicates that Sony's app, driver, etc. handling might rely on buggy behavior when it worked before,

I'm currently in the process of tracking down where it started, input is much appreciated:

http://xdaforums.com/showpost.php?p=68282913&postcount=455

Thanks !

That's interesting, are you using mostly Manual Mode (like -DM- wrote it seems to cause additional issues) ?

FM Radio seems to also rely on buggy behavior since it occurs on an unmodified ROM (here), and also happens with AndroPlus' Kernel according to feedback, which doesn't have as much modifications.

Looking forward to more feedback from both of you,

Thank you !
[Xperia Z5 Premium Android Development] -DM-:
Can't tell on which kernel the video was still working as I always revert back to Z5Prem_Sunkernel_Permissive_v224_I.1_2_12_sats.zip as that's my stable daily driver...

The screen also goes black if you slide into camera apps, just like it does in manual mode...auto mode kinda works if you don't zoom in otherwise you get that delay onscreen effect just like in video recording....

As far as stability, it's stable (ie: hasn't crashed on me yet)....

Haven't checked temps but the device doesn't feel hot per se...

For performance...there is a lag of a second or so when when opening any apps....

That's all I gathered so far.... ;)

Thanks
[Xperia Z5 Premium Android Development] Tilman:
Well, I just realized, when you're in superior auto mode & quit the camera app & just within a second if you again try to launch it, it will take more than 7 seconds, but if you try after some minutes, it launches faster compared to previous versions of the kernel, same was for manual mode too. This is insanely weird.

I've got no complaints for battery life though I use SmarTemperature v1.5.

Well, just try opening the camera app as soon as you exited it.

I'm still on 45_4_13, to further test, well I'm still on RomAur v4.1 & haven't yet encountered any crashes or bootloops. I don't think there's any issues with performance here, I use Greenify with Shallow Hibernation & everything works fantastic.

The video choppiness & the weird camera delay is also present on 3rd party apps like Camera FV-5 & A Better Camera.
[Xperia Z5 Premium Android Development] -DM-:
[MENTION=3037651]zacharias.maladroit[/MENTION]

To add to my previous feedback, there is something wrong with the drm keys on kernel 45, hence maybe the screw up with the camera...

You can see what I mean front this screenshot

Compare to this regularly

And I took a backup of my TA before unlocking my bootloader way back then...I even reflashed my keys.ftf to see what's up, all my keys are active when I checked tests/security in service menu, but definitely not working though...maybe a problem when you repacked your kernel?!?
[Xperia Z5 Premium Android Development] the_brad:
I'm back to .44 because that's more stable for me. Can confirm cam problems. When I recorded a video for about 20 seconds and stopped recording, it took about 20 seconds to save it. And as long as it was busy, saving the file, nothing else was there, no buttons, except stop button. From then on, camera got choppy and I had that black screen problem, too, on manual mode. Recording was very choppy, too, which seemed, like stabilization feature did not get enough cpu power. Have mine running at 1.6 for big and 1.2 for small cores. Back to .44 and everything works again.
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=99358 SunKernel_for_Z5Prem 253_I_VI.1_2_45_6_15_QC

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

Notes

This is an EMERGENCY kernel release to address most issues,

Attention

The FM radio app leads to device lockup on launch (most probably incompatible with recent security changes)

so disable it or freeze it via Titanium Backup

Kudos

to [MENTION=5627933]androidexpert35[/MENTION] , [MENTION=6791680]_LLJY[/MENTION] , the BETA Testing team, [MENTION=4798704]RyTekk[/MENTION]

Sauce

https://github.com/zachariasmaladro.../Sun-Kernel_32.2.A.0.253_vI_VI.1_2_45_6_15_QC
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Thanks for the in-depth feedback, guys !

The issue should have been resolved,

camera recording should be close to smooth and working reliably,

also all other functions (beside FM Radio which seems to have broken with security updates),

should work as well :)
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=100695 SunKernel_for_Z5Prem 253_I_VI.1_2_46_2_TP

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

Notes

This is an EMERGENCY kernel release to address most issues.

Also this will be

the LAST Kernel build for the Stock ROM for some time

since I'm migrating over to AOSP/CM13-based ROMs again,

and taking more (much needed) personal time,

so NO new Kernel updates for some time

Attention

The FM radio app leads to device lockup on launch (most probably incompatible with recent security changes)

so disable it or freeze it via Titanium Backup

Kudos

to [MENTION=5627933]androidexpert35[/MENTION] , [MENTION=6791680]_LLJY[/MENTION] , the BETA Testing team, [MENTION=4798704]RyTekk[/MENTION]

Sauce

https://github.com/zachariasmaladro...ommits/Sun-Kernel_32.2.A.0.253_vI_VI.1_2_46_2
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Feedback / Comments ?

Please give the following Kernel a test and let me know how it works

it's a reworked 1_2_12 Kernel (SunKernel "reborn")

with some modifications, pretty plain actually

253_II.1 [initial build]

some general improvements

only a few security fixes are included, will be merged later

sound improvements (at an early stage) [make sure to select "Headset High Performance Mode" via e.g. Kernel Adiutor Mod]

backlight lowered close to power-saving mode ("dim") during boot,

additional governors: smartmax, alucard, darkness, elementalx, zzmoove

wakelocks: can be disabled (for wlan, modem, sensors)

FauxSound

BCL: battery percentage can be set when big cores will be shutdown to save battery (once it's e.g. pretty low)

GPU currently idling at 180 MHz

Thermal: if your device tends to get really hot (it shouldn't), enable BOTH Core Control + Temperature Throttle [seems to work fine on the AOSP Kernel]

Core Control (core_ctl): here you can set the minimum and maximum little + big cores active

.

.

253_II.2, 253_II.3 [2nd test build]

ported over zram + zsmalloc changes from Motorola Kenzi repo (thanks to [MENTION=4798704]RyTekk[/MENTION] for the hint)

lz4 compression efficiency and reliably improvements (speedup, etc.)

addressed QuadRooter kernel-side vulnerabilities (CVE-2016-5340 , CVE-2016-2059), still waiting for Sony or Qualcomm driver updates [ROM chefs, please take a look at Nexus 5, 5X, 6, 6P if those updates can be used]

addressed CVE-2016-5696

added frandom, add random32 support (prerequisite for the fix for CVE-2016-5696 to work) + fix frandom

make cpuset handling more reliable around hotplugging

[NOT added - thanks Sony (stock ROM breakage) !] zswap, cleancache, frontswap ["Zswap is a Linux kernel feature providing a compressed write-back cache for swapped pages. Instead of moving memory pages to a swap device when they are to be swapped out, zswap performs their compression and then stores them into a memory pool dynamically allocated inside system's RAM"]

Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=102550

should work BOTH on .224 based, and .253 ROMs

Notes

Source:

https://github.com/zachariasmaladro...mi_r2/commits/Sun-Kernel_32.2.A.0.253_vII.1_3

Notes

- FM Radio App is broken (with recent security updates)

- so either disable it or Freeze it via Titanium Backup

That's enough changes for one week, August, or some more

Happy testing :)
[Xperia Z5 Premium Android Development] -DM-:
Radio App working fine, maybe because it looks like that the security patches didn't stick, still shows April 1rst level patch...

Other than that, kernel running fine here so far since a few hours..

ps: I like the way that you take breaks by the way ;)
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Patchlevel is set in the ROM, so ROM developers / "ROM chefs" need to increment it,

also: there are some patches still missing in the kernel source, and we are waiting for Qualcomm / Google's GPU, etc. SoC drivers

Interesting, what ROM are you running ? it can't be the ramdisk since [MENTION=817586]the_brad[/MENTION] gave me the latest ones for Z5 and Z5P,

but only on Z5 the app leads to Kernel Panic / Freeze and reboot.

Great to hear, so finally you got an up-to-date and stable kernel :D

Lol, I couldn't take the high battery consumption, so I had to do something about it,

but needed some "digesting" beforehand to decide how to develop the kernel ;)