yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] whalesplaho:
Is tha kernel forced permissive selinux too brov and kcal support?

Thanks... Will download and a give a shot!
[Xperia Z5 Android Development] whalesplaho:
[MENTION=3037651]zacharias.maladroit[/MENTION] Systemui fcs after flashing n rebooting..
[Xperia Z5 Android Development] timlu85:
Hi, GreyLeshy is there any new update for Z5 ?

Green Kernel is more stable for daily use :good: although sometimes still get random reboot
[Xperia Z5 Android Development] GreyLeshy:
Use the kernel from [MENTION=3037651]zacharias.maladroit[/MENTION]

post
[Xperia Z5 Android Development] renan37325:
Can you launch this update for z4 dual?
[Xperia Z5 Android Development] GreyLeshy:
I don't have time for this.
[Xperia Z5 Android Development] zacharias.maladroit:
Kernel for 32.2.A.5.11 (5.11 Android Marshmallow 6.0.1) ROMs

https://drive.google.com/open?id=1Bz_m5Wcb8ePyT7K0dGtCZ_qAoNeGAcXC Z5_SK_ENF_v32.2.A.5.11_I.1_4_sum.zip

https://drive.google.com/open?id=1f0Q-VaX4Rf1MxE797vSQYghVkRrJlgul Z5-DSDS_SK_ENF_v32.2.A.5.11_I.1_4_sum_dual.zip

goes best with e.g. [MENTION=6791680]_LLJY[/MENTION] 's SlimX latest "V2 Duality" release

Battery life is pretty great :)

Features

built with 4.9 Linaro Toolchain (newer GCC versions are tricky to get working with MM kernel base and Sony's original kernel sauce)

enhanced compiler flags [stability & speed]

CPUQuiet

removed and/or reworked several battery drainers

qpnp fg rework, tweaks to make battery stats more fine-grained / accurate

battery handling enhancements to consider longer charging periods (might lenghten charging duration from 90-100%)

battery_current_limit rework & enhancement

smoothness enhancements

AndroPlus base bringup (sonyxperiadev copy-left kernel & other bringsup didn't work yet, leading to non-booting kernel)

several battery runtime enhancements

MHL driver & ANT/FM/BT driver are built as external modules, thus will be overwritten ( /system backup !)

exfat driver built as in-kernel module

wifi-driver built as in-kernel module

KCAL removed (stability & color accuracy suffers)

no FauxSound (it significantly messes with sound clarity)

Stock frequency range

GPU downclocking enhancements (should cut down battery consumption)

disabled KSM

and other enhancements

Notes:

Do NOT enable the battery safer feature, it might potentially interfere with battery operation / function, also it cuts down battery runtime anyway

Kernel should be permissive or even disabled (AndroPlus default) even though the file name says ENF (enforcing)

KRACK (WPA2 security handling enhancements) and other changes might follow later once the driver branch merge was successful (this will take considerable time due to limitations on MM kernel source & available time)

Sauce:

https://github.com/zachariasmaladro...m8994_kitakami_r2/commits/32.2.A.5.11_base_AP
[Xperia Z5 Android Development] peter.schwake@gmail.com:
[/COLOR]

Is working very well. Thank you. Removing faux sound was the right decision, too.

The added gov are based on your used source, I guess?

At least they all are usable. :)
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=5222845]peter.schwake@gmail.com[/MENTION]

Thanks for the feedback :)

I had to re-add FauxSound due to the ability to reduce the AMP - there apparently seems to be way too much (pre)AMP and/or white noise on the Marshmallow kernel base, also there are (still) more limitations compared to Nougat updated source.

Also I deactivated most of the additional governors meanwhile to reduce overhead and preempt stability issues ...

How many of you guys are still using 5.11 (Marshmallow) ROMs ?

I'm currently on SlimX Reborn V2 ...

edit:

It's actually very fascinating how slow the Stock kernel is out of the box (well, the storage on the Z5 according to benchmarks IS slow) and how snappy and smooth it can feel after several changes.

Also: it's no placebo/nocebo !

The Marshmallow ROM base uses WAY

LESS

battery compared to Nougat, it gets blatently obvious when using WiFi & e.g. using the XDA app to browse forums or surfing with Chrome or Firefox browser,

there's also several kernel changes (especially scheduler) that lead to battery consumption regressions increasing battery consumption significantly ...

It's ridiculous that kernel development is such an egg dance to get a good battery runtime, stability, performance & security enhancements,

and there's the limitations imposed by Sony's (Qualcomm's ?) DRM (?) witchcraft preventing certain kernel changes from fully or actually being applied ...

Unfortunately AOSP or Nougat & LineageOS, etc. based on Nougat aren't really viable with the huge battery consumption ...

this would be significantly less of a problem with bigger batteries which Sony slowly is starting to include since e.g. the Xperia XZ2 series
[Xperia Z5 Android Development] peter.schwake@gmail.com:
I found a bug with latest mm kernel :

the whole log shows "failed to bring up core 5".... I don't think this should be like that, because this happens only core 5 specific. With an other kernel everything working fine.

EDIT : You can prevent white noise, if you change cut off from 150 down to 75.... Reduce hphl and hphr volume from 20 to 19 (maybe you don't believe me, but this makes a BIG difference)... do changes in mixer_paths.xml...
[Xperia Z5 Android Development] Mason76:
How change selinux mod for permissive mode?app not work correct-viperfx not work
[Xperia Z5 Android Development] zacharias.maladroit:
via app or adb

Kernel for 32.4.A.1.54 (Android Nougat 7.1.1) ROMs

Z5_SK_ENF_v32.4.A.1.54_Logos_I.1_2_5_sum https://drive.google.com/open?id=1kPH_W7DE8NXMJKP8ilDr3Gp3FCkhS1UU

Z5-DSDS_SK_ENF_v32.4.A.1.54_Logos_I.1_2_5_sum_dsds https://drive.google.com/open?id=1F58ko8fAh065fyUeCnPgIQZ7d9uTYM9H

Sauce:

https://github.com/zachariasmaladro...i_r2/commits/32.4.A.1.54_Sun-Kernel_Logos_I.1

Battery life under investigation to match stock kernel,

There should be a detailed instruction on how to build a binary matching kernel to Sony's stock kernel so that we get at least similar battery runtime & smoothness

and get to know how to achieve a most stable kernel, also that's usually the assumed way to comply with GPL :rolleyes:

works fine with XN_Z5/P/C | XZ2 Style v2.4.8 ROM, reworked by [MENTION=5231789]nreuge[/MENTION] :)

Features

edit:

updated "features" list
[Xperia Z5 Android Development] whalesplaho:
So happy dat after a long time, i can use yur custom kernel.

So happy buddy n flashing right away!!!

BigUPs man.

What of kcal support please?
[Xperia Z5 Android Development] Yanun:
Kcal works and u can also flash magisk on XN_Z5
[Xperia Z5 Android Development] zacharias.maladroit:
kcal seems to cause washed out colors and potentially issues with display - so I left it out for now

What exactly do you need it for ?

Counter-balancing for your display that has color issues ?

less blue color in display ?

:confused:

kcal isn't in that current kernel - not sure how it's working for you

do you have an additional kernel module inserted that does that functionality for you ?
[Xperia Z5 Android Development] whalesplaho:
Magisk is back.... Ding Ding!!!

Will just wait to flash latest version of tha rom den flash dis kernel!

---------- Post added at 09:56 PM ---------- Previous post was at 09:46 PM ----------

I just enjoy tha rich in saturation colors... I only just increase tha Saturation from 32 (stock) to 44 and gets deep n sharp colors!

If dat can be achieved without kcal den please help buddy.

Thanks

---------- Post added at 10:02 PM ---------- Previous post was at 09:56 PM ----------

Is it possible for kernel to support init.d even when rom doesnt support [MENTION=3037651]zacharias.maladroit[/MENTION]
[Xperia Z5 Android Development] Yanun:
No,I didin't add anything.I use kcal for colors close to amoled.
[Xperia Z5 Android Development] whalesplaho:
Does yur setup gives good colors buddy??
[Xperia Z5 Android Development] Yanun:
Yeah.Im giving you there:

Red 242

Green 247

Blue 251

Saturation 62

Screen Value 114

Screen Contrast 127
[Xperia Z5 Android Development] whalesplaho:
I ll give it a try buddy....

Thanks buddy!
[Xperia Z5 Android Development] zacharias.maladroit:
FM Radio works with latest kernel ?

I'm experiencing a kernel lockup with latest (in-development) kernel

but can't easily go back - so I'm asking you guys

edit:

no worries, needed updated kernel modules - works fine.
[Xperia Z5 Android Development] erikrecca:
I am using Z5 single. What I need to flash? Z5_SK_ENF_v32.4.A.1.54_Logos_I.1_2_5_sum.zip or Z5-DSDS_SK_ENF_v32.4.A.1.54_Logos_I.1_2_5_sum_dsds.zip Thank you
[Xperia Z5 Android Development] s.hossein:
This Z5_SK_ENF_v32.4.A.1.54_Logos_I.1_2_5_sum.zip
[Xperia Z5 Android Development] zacharias.maladroit:
This kernel is outdated - please use Logos_I.1_5_3 !

...

Kernel for 32.4.A.1.54 (Android Nougat 7.1.1) ROMs

Sauce:

https://github.com/zachariasmaladro...i_r2/commits/32.4.A.1.54_Sun-Kernel_Logos_I.1

Battery life under investigation to match stock kernel,

There should be a detailed instruction on how to build a binary matching kernel to Sony's stock kernel so that we get at least similar battery runtime & smoothness

and get to know how to achieve a most stable kernel, also that's usually the assumed way to comply with GPL :rolleyes:

works fine with M-ROM and similar ROMs on Z5 (no UI crashes) :)

LOL - zip size is just barely below 20 MB :p

Features
[Xperia Z5 Android Development] whalesplaho:
Flashed latest version n boots fine n flashed magisk... :good:

Do i need config any setup in kernel manager app?

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

Flashed lastest version of your kernel (dual sim variant), Sony splash screen appeared for one second then the phone turns completely off. Might just be the DS variant.

I've been using your 1.2.5 kernel for 3 days on Mrom and got a feeling that your kernel is a tad bit faster than the one that comes with the rom. Although it does feel like it's a bit heavier on the battery side.

Great job man! Glad to see you're still making kernels for our 2-year-old Z5.
[Xperia Z5 Android Development] s.hossein:
The same problem is here. My dual z5 can't boot after flash logos 1_5_2 kernel
[Xperia Z5 Android Development] whalesplaho:
Latest version aint fully working here. After flashing, phone boots fine but when fone goes to long deep sleep, it doesnt wake up n wen i keep tapping tha screen or pressing power button den it random reboots itself!

Downgraded to 1.2.5 with magisk 16.0
[Xperia Z5 Android Development] zacharias.maladroit:
KCAL :)

Thanks for your feedback & interest :)

nope, it's probably Z5 + Z5 DSDS BOTH,

seems like the slub changes aren't working correctly on Android (on 3.10 kernel - not sure about bleeding edge 4.4 or 4.9 kernels)

and might cause boot failures, higher battery consumption and other potential issues.

Once it's working it could improve stability though - but it's not worth the effort ...

Yeah, that could be a side-effect of slub_nomerge not working properly - for whatever reason.

I'm suspecting another change but that wouldn't really make sense (well, it could for this weird Stock kernel + Stock ROM approach)

Thanks for your kind words

New kernel will be up shortly

Thanks for your feedback & interest :)

New kernel will be up shortly

I know, thanks for your feedback :)

please see the answer above yours

New kernel will be up shortly
[Xperia Z5 Android Development] whalesplaho:
[MENTION=3037651]zacharias.maladroit[/MENTION] yeah seen it.... Thanks for yur unending support buddy! :good:

---------- Post added at 02:55 PM ---------- Previous post was at 02:54 PM ----------

[/COLOR [MENTION=3037651]zacharias.maladroit[/MENTION] yeah seen it.... Thanks for yur unending support buddy! :good:
[Xperia Z5 Android Development] zacharias.maladroit:
Logos_I.1_5_3 is up !

Kernel for 32.4.A.1.54 (Android Nougat 7.1.1) ROMs

Sauce:

https://github.com/zachariasmaladro...i_r2/commits/32.4.A.1.54_Sun-Kernel_Logos_I.1

Battery life under investigation to match stock kernel,

There should be a detailed instruction on how to build a binary matching kernel to Sony's stock kernel so that we get at least similar battery runtime & smoothness

and get to know how to achieve a most stable kernel, also that's usually the assumed way to comply with GPL :rolleyes:

works fine with M-ROM and similar ROMs on Z5 (no UI crashes) :)

LOL - zip size is just barely below 20 MB :p

Features
[Xperia Z5 Android Development] zacharias.maladroit:
FYI:

looks like I forgot to remove the module block from the kernel

so it won't be able to load the module right now

already unblocked in source, will compile a new kernel once I've worked out the regressions.

That's why I usually avoid releasing a kernel too early or when it's not ready:

it doesn't leave me in peace :(
[Xperia Z5 Android Development] whalesplaho:
Yhu re just a very rare dev who always putting end users in mind regardless of yhu not getting paid for the wonderful job yhu doing...

Im still up... Might be lucky to be tha first user to use!!! :good:

---------- Post added at 11:04 PM ---------- Previous post was at 10:53 PM ----------

Wah do yhu mean by not loading module?

---------- Post added at 11:06 PM ---------- Previous post was at 11:04 PM ----------

Wah do yhu mean by not loading module?
[Xperia Z5 Android Development] zacharias.maladroit:
https://github.com/zachariasmaladro...1f#diff-1e0f958766bae7c6dcd60e895c0531c5R1175

the kernel-module support is set up to blocking the specific kernel modules,

that prevents loading modules that might hurt stability, cause data corruption, data loss or other issues

this can happen when module force-loading support is enabled for the kernel.

So I'm explicitly disabling and blocking kernel modules in the config and other places:

https://github.com/zachariasmaladro...e8c324c#diff-0139dfa7af633affc7be4d61bd1387c7
[Xperia Z5 Android Development] zacharias.maladroit:
Please check you PM
[Xperia Z5 Android Development] Mason76:
selinux mode changer work perfectly on this kernel

Viperfx work good!

Add faux control?
[Xperia Z5 Android Development] zacharias.maladroit:
thanks for the feedback,

nope, I don't really feel like adding fauxsound - it might have its advantages

however: it's ridiculously annoying having to set the AMP settings after each headphone connect & disconnect and upon app switches, etc.

besides that: the sound output quality is clean enough so that FauxSound isn't needed

also: for properly control I need to rely on external apps (EX Kernel Manager)

[MENTION=7776553]Mason76[/MENTION]

what is your use-case for FauxSound ?

why do you need it ?
[Xperia Z5 Android Development] zacharias.maladroit:
https://drive.google.com/open?id=1dH7SjKRttcOuJZpzQMayPA0AbAvJ8NjG

1_9_4

#WANTFEEDBACK
[Xperia Z5 Android Development] nreuge:
I'm joining in the dance. Testing it...
[Xperia Z5 Android Development] sinagh:
thank for extra supporting i will test it tommorow
[Xperia Z5 Android Development] whalesplaho:
Flashing right away buddy....

---------- Post added at 01:24 PM ---------- Previous post was at 12:37 PM ----------

Testing 1_9_4...

Feedbacks coming later buddy!!!

Thanks for always supporting Z5s!!!
[Xperia Z5 Android Development] Duvel999:
Testing, flashing without problems on stock with kernel auditor.

Any suggestions for governor?
[Xperia Z5 Android Development] whalesplaho:
Seems Zack said nothing shoud be changed bout dat... Its already taken care of!!!
[Xperia Z5 Android Development] Ari Nugroho:
Thank you, working well on E6683, especially battery saving and temperature reduce.Now, I can browsing, downloading, and streaming with mobile data for 7 hours without heat, but I have not tried it to playing games. This is my first time installing this kernel.
[Xperia Z5 Android Development] whalesplaho:
+1.... heating up is really reduced, its really awesome and smooth too!

No reboots no freezes... All apps working well!!!
[Xperia Z5 Android Development] zacharias.maladroit:
I know 1_9_4 has seemingly higher battery consumption,

not sure where it comes from yet

I.1_8v2_3 is an alternative to test, perhaps that one has lower consumption,

1_9_4 has more improvements though (memory subsystem, newer binder, improved core_ctl, memory compaction when screen off & improved compaction, and a few logging & other removed = smoother)
[Xperia Z5 Android Development] whalesplaho:
Yeah [MENTION=3037651]zacharias.maladroit[/MENTION]... When sleeping battery consumption relatively low but during usage its somewhat drains fast... Overall its very smooth!!!
[Xperia Z5 Android Development] Mason76:
Faux well raises the loudness of the speakers! on the stock of the speakers is very elegant even after editing the mixer, I think the faux will solve this problem
[Xperia Z5 Android Development] Ara Seferian:
Which version?

1_9_4 or 1_8?
[Xperia Z5 Android Development] irsgh:
all good but battry usage on web browsing and youtube a bit more than stock on 1.9.4
[Xperia Z5 Android Development] zacharias.maladroit:
#WANTFEEDBACK 1_10_28

sauce:

32.4.A.1.54_Sun-Kernel_Logos_I.1_upcoming_next_01_WIP8

yes, WireGuard VPN support is enabled in that build ...

google folder:

https://drive.google.com/open?id=1dH7SjKRttcOuJZpzQMayPA0AbAvJ8NjG

also attached ... for those who access via proxy, Asia or any other weird university internet access that filters out Google Drive

maybe later, I'll build a dedicated kernel with FauxSound included,

I don't like that out of the box high volume - it reminds me of the excessive loudness of LineageOS.

You guys have a point that output loudness might be too low but that's the trade-off between sound clarity & loudness.

Thus let's stick with stock for now

look again at the folder ;)

try 1_10_28

yeah, pretty high ...

please try I.1_10_28

edit:

I.1_10_28 is unstable , there's a possible deadlock in kgsl (gpu driver part)

https://xdaforums.com/showpost.php?p=76320409&postcount=2419
[Xperia Z5 Android Development] whalesplaho:
Im on 1_9_4....
[Xperia Z5 Android Development] Yanun:
Flashed newest version.Gonna give feedback tomorrow and as always thanks for supporting z5.
[Xperia Z5 Android Development] nreuge:
It seems, but "screen off time" better than stock

Testing it. Thx :)
[Xperia Z5 Android Development] whalesplaho:
+1... Its great wen screen off!
[Xperia Z5 Android Development] zacharias.maladroit:
well, you guys'll like 1_10_28 then - should be much better all around

got to learn: sometimes less is more

(less and specific changes = bigger outcome; with general updates [complete backporting, fixing, etc.] battery runtime & other aspects suffer = sad but true)
[Xperia Z5 Android Development] whalesplaho:
Dnt know why balancing seems to be a prob... And battery is one of biggest thing to considered again but performance another one!
[Xperia Z5 Android Development] Ari Nugroho:
Can I just flash it or restore my backup then flash the new one?
[Xperia Z5 Android Development] erikrecca:
Besides Azire VPN, Do you know any free VPN? Thank you
[Xperia Z5 Android Development] s.hossein:
You can download "psihpon" from play store for free.
[Xperia Z5 Android Development] Duvel999:
Kasperky VPN free 200mb a Day / 300 mb with AV license or Nord VPN paid with big discount up to 77%
[Xperia Z5 Android Development] whalesplaho:
Anyone experiencing reboots???

I have twice.. I have attached logs from sys/fs/pstore/ [MENTION=3037651]zacharias.maladroit[/MENTION]
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks for that,

looks like you were doing something while that happened ?

What were you watching or doing with the phone ?

(watching videos ? browsing ? reading ? game ?)
[Xperia Z5 Android Development] zacharias.maladroit:
flashing over should be fine
[Xperia Z5 Android Development] whalesplaho:
Browsing... Either using chat app or firefox accessing tha forum...

I have another reboot again now... Eas trying to pop up tha keyboard to reply a post here in tha forum using Firefox.
[Xperia Z5 Android Development] zacharias.maladroit:
#WANTFEEDBACK 1_13_2

sauce:

32.4.A.1.54_Sun-Kernel_Logos_I.1_upcoming_next_03_WIP1

google folder:

https://drive.google.com/open?id=1dH7SjKRttcOuJZpzQMayPA0AbAvJ8NjG

also attached ... for those who access via proxy, Asia or any other weird university internet access that filters out Google Drive

Okay - so far:

1_10_28 was unstable (cmdbatch deadlock in kgsl)

thus new kernel (fixed),

this one should be more efficient under usage -

MUCH

quicker, slimmer

and also better optimized in general (stability, efficiency, consistency, etc.)

MEMCG got disabled, autogroup scheduling got enabled
[Xperia Z5 Android Development] zacharias.maladroit:
dang !

it hardly survived 2 hours :(

how many apps do you have installed ?

Thanks for providing useful log output :)
[Xperia Z5 Android Development] whalesplaho:
190 apps in total.... I will test tha new update!!

Thanks buddy... Hope tha log is more useful!
[Xperia Z5 Android Development] Ara Seferian:
I have them too..

Mine happened whenever watching YouTube using vanced youtube (something like that) and today while trying to connect my vpn.

Rn i will flash the latest build and report back ?

PS. How can i get logs in case i experience a reboot? ( Noob thing i know :p )
[Xperia Z5 Android Development] whalesplaho:
flashed latest version too... Let see how it goes!

Thanks for posting feedback too...
[Xperia Z5 Android Development] Ari Nugroho:
Testing it
[Xperia Z5 Android Development] Yanun:
2 hrs of sot on lte with 71% left while everything is smooth and fast,no random reboot yet.Good job
[Xperia Z5 Android Development] zacharias.maladroit:
Download, AndroidFileHost :

224 Kernel

https://www.androidfilehost.com/?w=files&flid=84574 SunKernel_for_Z5 224_I.1_2_13

253 Kernel

https://www.androidfilehost.com/?w=files&flid=84580 SunKernel_for_Z5 253_I.1_2_13

Notes:

Sauce:

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

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

Thanks
[Xperia Z5 Android Development] RyTekk:
I got a reboot (kernel panic, I guess) when doing Geekbench with 2.2GHz OC commit in my own kernel, after remove it and redo the test, it run well. Do you?
[Xperia Z5 Android Development] zacharias.maladroit:
Nope, just tried it both with 224_I.1_2_12 and 224_I.1_2_13

rockstable :)