yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] zacharias.maladroit:
Lol - I just had to push this one,

this is a pretty interesting Kernel since it re-introduces many elements that I had removed or held off from re-adding

from previous kernel releases :)

Download, AndroidFileHost :

224 Kernel

https://www.androidfilehost.com/?w=files&flid=84982 SunKernel_for_Z5 224_I+II.1_2_15

253 Kernel

https://www.androidfilehost.com/?w=files&flid=84988 SunKernel_for_Z5 253_I+II.1_2_15

Depending on the CPUQUIET governor setting better multicore or single core performance is to be expected:

rqbalance: gaming, benchmarks (geekbench, etc.), multimedia

runnable: more browsing, reading, etc. [better battery efficiency]

with CPUQUIET the phone should be cooler, too and less prone to overheating;

I'm pretty curious how the runtime is compared to MSM_PERFORMANCE (stock default), since on CM13 and AOSP CPUQUIET was better,

with CPUBOOST disabled and MSM_PERFORMANCE disabled the sleep of death should be gone

there's quite a lot of choice for Hotplug:

HIMAPLUG (laggy, similar to our tweaked MSM_PERFORMANCE/"stock" right now), INTELLIPLUG (is quite efficient, but oftentimes gets the CPU hot and doesn't seem to work 100% correctly with our CPU/SoC), MPDECISION (= bricked (?) by showp1984; quite nice), MSM_HOTPLUG (by neobuddy89; also quite impressed by it), another one (another one I don't know the name of), THUNDERPLUG (interesting concept but a bit less user-friendly since fully working UI access is missing; also appears quite static)

So far CPUQUIET (when it's working correctly) and MSM_PERFORMANCE + CORE_CTL_HELPER ("stock") appear to be the two best ones of the crowd :)

If you run into stability issues please let me know :)

Notes:

Sauce:

https://github.com/zachariasmaladro.../commits/Sun-Kernel_32.2.A.0.224_vI+II.1_2_15

https://github.com/zachariasmaladro.../commits/Sun-Kernel_32.2.A.0.253_vI+II.1_2_15

Thanks
[Xperia Z5 Android Development] zacharias.maladroit:
Nope, none of the newer Kernels are based on anything

they are unique :)

(well, the Kernel base is, of course certain commits are in common between all of the custom Kernels for the Z5)
[Xperia Z5 Android Development] zacharias.maladroit:
meh, XDA having problems again :confused:

(doublepost)
[Xperia Z5 Android Development] RyTekk:
[MENTION=3037651]zacharias.maladroit[/MENTION] "The only reason why CPUQuiet is there is because of RQBalance", kholk who ported CPUQuiet told me that, and I experimented for month on CPUQuiet so I can tell rqbalance is much more better than runnable

Some informations:

rqbalance

runnable

And I suggest you delete this:

# CONFIG_CPU_IDLE_GOV_LADDER is not set
# CONFIG_CPU_IDLE_GOV_MENU is not set
CONFIG_CPU_IDLE_GOV_NULL=y

and leave them as default (three idle govs will be actived all) as I told to you before about laggy ;)
[Xperia Z5 Android Development] zacharias.maladroit:
The descriptions are in the single commits with wcd9330,

I'll perhaps write a summary later - in general sound should be better - and that's what we actually want and deserve as Xperia/Walkman/Audiophile users :D

Yeah, not sure if it's only placebo but it seems like sound really improved :good:

(it in fact seems to be more clearer, powerful ?, and less hissing)

I actually need more feedback for this kernel to see what changes to include in the "production" kernel and what to leave out,

the changes (afaik) are the ones that were included in the best Kernel for the Lollipop Firmware :)

Thanks for testing and your feedback !

Yeah, rqbalance is great !

it's smooth, allows for even higher multi-cpu score in geekbench and other benchmarks, and probably overall

runnable however appears pretty efficient, it allows higher single cpu score and I got no sound glitches during playback with Viper4Android + BioHazard (still on BioHazard, will upgrade to XTREMEMusic during next clean install)

with MSM_PERFORMANCE and CORE_CTL_HELPER I get occasional sound glitches every few minutes which is rather annoying

and probably worse battery runtime,

there's idle work when this isn't set, the commit suggests it;

does the code even allow all three governors to work ? :confused:

Have you observed battery runtime changes once it is set that way (those lines removed) compared to having it in the kernel ?

I'm rather fed up changing tons of options in the kernel at once and then having to track down regressions and issues again,

so if possible I'm relying on experience for one feature at a time,

that then is changed (burned way too much time by enthusiastically adding tons of features at once and then having had to troubleshoot it :( )

Thank you !
[Xperia Z5 Android Development] RyTekk:
With ladder and menu disable, null enable, I got better battery in idle time but, when I unlock the device, CPU was maltreated, it run at maximum clock but just two cores (1 for each cluster) online, and battery went down fastly, so the saving is meannessless. Now I get better battery but after I picked a tons of commits so IDK what made changes :laugh:. I just see there's CONFIG_CPU_IDLE_MULTIPLE_DRIVERS=y so I guess the code allow them, I've run for 2 weeks and have not gotten any troubles, even I got better battery when listening to music, I told you that my battery goes from 100% -> 99% when I listen to music while I'm driving to school, now I get no drop :D
[Xperia Z5 Android Development] toncheee:
I checked this tonight, and cyan remained on forever. Only thing that helps is reboot!
[Xperia Z5 Android Development] gjhwssg:
I flashed boot.img ( Z5-DSDS_Sunkernel_Permissive_v253_I+II.1_2_15_sum_dual.zip) via Flashtool.

But I can't access TWRP.

My device: E6683 with stock rom.

Thank you
[Xperia Z5 Android Development] nreuge:
v13 with default parameters is rock stable, amazing kernel!! :D

Is v15 stable ? With what parameters ?

Thanks in advance
[Xperia Z5 Android Development] RyTekk:
Should be keeping v13 and wait for the next update instead.
[Xperia Z5 Android Development] _LLJY:
Well, Zach let my beta team and I test V16, right now it's rock solid stable. Wait for Zach to release the link to you guys
[Xperia Z5 Android Development] zacharias.maladroit:
Download, AndroidFileHost :

224 Kernel

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

253 Kernel

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

TODO:

(Notes for myself)

[FIXME: need 1-2 more additional, specific commits for writeback]

[FIXME: add additional interactive governor, etc. related commits]

[FIXME: add ZEN i/o scheduler, update simple i/o]

Notes:

Mentions:

(additional ones)

- thanks to [MENTION=5627933]androidexpert35[/MENTION] for testing I.1_2_17 kernel

- thanks to [MENTION=6791680]_LLJY[/MENTION] and the beta tester crew for testing I.1_2_16 kernel

Sauce:

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

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

Thanks
[Xperia Z5 Android Development] toncheee:
I don't know is it just my phone, but I got bootloop with .17 kernel, can't boot with or without flashing supersu and xposed.

reflashed old version, and all is OK
[Xperia Z5 Android Development] albertobom:
Which ROM you are using? Xrom 2.4?
[Xperia Z5 Android Development] toncheee:
No, stock .253 with root and xposed
[Xperia Z5 Android Development] RyTekk:
The kernel was tested by many people before it's released so the problem should be from you.
[Xperia Z5 Android Development] _LLJY:
Hmm, big cores are turned on all the time. Weird
[Xperia Z5 Android Development] dkiiro:
Which kernel are you using? I can't even get close to 29% of battery usage with 2h of use.
[Xperia Z5 Android Development] whalesplaho:
Yhu ll use a root explorer den goto sys/fs/pstore/ copy tha files there and zip and post after tha reboot.
[Xperia Z5 Android Development] Ari Nugroho:
More speed, more smooth, I like this. 5 hours usage from 100% to 11%, 3h 45m screen on time, 49m online gaming, others are used for youtube and browsing.
[Xperia Z5 Android Development] Yanun:
Using latest zach's kernel version.If u cant get 2hrs of sot your battery is probably dead.
[Xperia Z5 Android Development] zacharias.maladroit:
Okay, so I calculated the power consumption over 18.25 vs. 19.75 hours

10.85

9.57

18.25 -> 198

19.75 -> 189

stock kernel vs. custom kernel (I.1_13_15).

That's a <1 day idle period, I've got some more data from stock kernel for longer periods but this custom kernel hasn't run that long yet ...

the stock kernel appears to be 10-15% more efficient in idle.

It's more hard to compare usage but it appears that it consume a bit more (apparent during Youtube scrolling or Youtube usage) than stock kernel (hardly a surprise considering that it is worlds more smoother, more responsive and tweaked with processes running at RT priority), there might be some overhead (and features e.g. memory compaction upon suspend, etc.) that causes the higher consumption.

EAS is not really an option since it's really hard to get it working properly.

Also consider that the kernel has several features that allow it to be more stable than Sony's stock kernel out of the box, the increased security, etc..

Then there's the (potential) increased power consumption with security fixes, etc.
[Xperia Z5 Android Development] irsgh:
how i understand my battry is dead or ROM or kernel problem on accu batrry show 2450 mah real battry capicty its normal or not
[Xperia Z5 Android Development] whalesplaho:
It supposed to read 2900mah....

---------- Post added at 05:11 AM ---------- Previous post was at 05:03 AM ----------

Latest kernel deep sleep isnt so great.. Still drains compare to a particular previous version which i have forgotten and also drains more during usage... Moreso seems XN v2.5 drains more battery too!!!

Hope [MENTION=3037651]zacharias.maladroit[/MENTION] will look into it. Thanks
[Xperia Z5 Android Development] nreuge:
With latest version, deep sleep battery is very good for me, better than stock.

And SoT same as stock.

Note: whatever the kernel, I always use my Endurance battery tweak.
[Xperia Z5 Android Development] whalesplaho:
im always rocking tha battery tweak also.... thanks for dat!

maybe i ll test more but last night, tha battery was 73% before sleeping but woke up dis morning and it dropped to 61% and data was off too!
[Xperia Z5 Android Development] nreuge:
Weird...

I'll do some accurate tests but I've not noticed such a drain in idle...
[Xperia Z5 Android Development] zacharias.maladroit:
well, the issue is: there might be some higher battery consumption during network usage - and I can't really solve that issue,

it seems to be connected with all the security fixes in net/mac80211 , net/cfg80211 (there are other changes, which I reverted & aren't necessary for operation & experience)

these simply are a MUST and cannot be left out.

So:

is battery consumption higher when NOT using WiFi or data ?

is WiFi consumption higher ?

is data consumption (GSM, 3G, LTE) higher ?

only data ?

using any apps that block adds or interfere with the internet connection ? (such as Blockada, etc.)

Thanks for the feedback :)
[Xperia Z5 Android Development] whalesplaho:
Im always on 3G Data and its a bit high.

I use ADAWAY to block adds and only when accessing ads site!

Relatively low when not using data buh dnt know why it ead like dat last night...

I have been using yur latest kernels and deep sleep been great. But charged to 100 dis morning and network was on but turned off data services and so far its been low consumption. Maybe something went wrong and also no reboots on latest version.
[Xperia Z5 Android Development] whalesplaho:
Charger dis morning before leaving for work..... Its 21.48 and havent charged since morning tho data wasnt on all day tho and phone was much in deep sleep early
[Xperia Z5 Android Development] zacharias.maladroit:
what kernel version ?

thanks
[Xperia Z5 Android Development] whalesplaho:
Logos_I.1_13_2......

Thanks heap buddy.... :good: :highfive:
[Xperia Z5 Android Development] zacharias.maladroit:
there's meanwhile

Logos_I.1_13_15 & Logos_I.2_6_2 in the folder

I'm on 2_6_2 right now
[Xperia Z5 Android Development] whalesplaho:
Flashing dat right away brov... yhu rock man!!!
[Xperia Z5 Android Development] zacharias.maladroit:
2_6_6_noDB (

NO debug, crashlog

build)

[MENTION=7776553]Mason76[/MENTION]

32.4.A.1.54_Logos_I.2_6_6_noDB

no-debug kernel build with most debug options (printk, debug_info, elf_core, sched_stats, sched_debug, etc.) disabled.

This makes dump logs via logcat most probably also useless ...

The kernel itself appears to be much quicker reacting, smoother, etc.

so NO error or crash reporting with this kernel possible - it's

purely for production use

FauxSound

is enabled, sound appears to be pretty clear (probably due to debug and other stuff removed from code)

CC:

[MENTION=4471890]whalesplaho[/MENTION]
[Xperia Z5 Android Development] zacharias.maladroit:
Somewhat higher battery consumption could due to the included interactive settings,

which will be commented out with next build,

switch to chill governor if you want a governor that idles mostly around the lowest frequencies, yet is smooth.

zzmoove appears pretty efficient, too
[Xperia Z5 Android Development] whalesplaho:
Dnt know its possible to have a kernel without DB... Cos DB helps to report errors and crashes.

Testing latest kernel brov... Havent flashed 2.6.2 yet so will just flashed 2.6.6. Thanks heap for yur hardwork buddy!

---------- Post added at 04:06 AM ---------- Previous post was at 03:55 AM ----------

Flashed 2.6.6 and selected for big and little core chill governor.... Testing in progress!!!

No force reboots at all in 1_13_2.
[Xperia Z5 Android Development] erikrecca:
Whên I make a phone call, the screen always off. I can't turn it on. I think sensor has a problem. Anyone have same problem with me?

I tested ambient light sensor in 7378423 and it's OK
[Xperia Z5 Android Development] whalesplaho:
Happens only wen phone close to my ear... Try clean tha sensor with a cloth and also put it in loudspeaker to see whether whether it ll still off.

---------- Post added at 06:59 AM ---------- Previous post was at 06:14 AM ----------

@zacharias.maladroit had a reboot now while using whatsapp... No logs!!!
[Xperia Z5 Android Development] irsgh:
when i using telgram with vpn my phone vibrate and turned off and i restarted maunally any one have this problem
[Xperia Z5 Android Development] Duvel999:
I had the same problems. It's a known problem at Sony Z5. Check the official Sony Z5 forum. I sended my phone for repair to Sony.

First do all steps, like software repair, clean install, flash latest software.

Hope it helps
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=4471890]whalesplaho[/MENTION]:

did you notice any immediate advantages from using the noDB (or little debug) kernel compared to "regular" kernels ?

in any way it's not really suitable at the current stage for usage :silly:

What governor did you use ?

Any init scripts or changes to governor, system you usually do ?

Also didn't knew you could run the phone all the time on performance governor (which I did from last internal kernel build up until now, by accident :eek: )

NOT recommended (for the phone's health sake) :D
[Xperia Z5 Android Development] whalesplaho:
Havent really noticed anything but seems phone more faster in operation....

Im using endurance tweak v1.3 by [MENTION=5231789]nreuge[/MENTION]

Changed governor to chill

Can i still be using tha kernel n test more or shud flash 2.6.6 back?
[Xperia Z5 Android Development] zacharias.maladroit:
just use it as you like,

only remember, that there are no logs available ;)
[Xperia Z5 Android Development] whalesplaho:
Okay buddy... I ll try n see how it goes.

Changed to performance governor...
[Xperia Z5 Android Development] Mason76:
There a link of last kernel logos?) on top last version too old
[Xperia Z5 Android Development] zacharias.maladroit:
Logos_I.2_8_7 is up !

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

Z5 kernel folder access:

https://drive.google.com/open?id=1B-lDzwIZRN3fK7e1tME4lcYTXa1F-Yi-

Sauce:

https://github.com/zachariasmaladro...54_Sun-Kernel_Logos_I.1_upcoming_next_03_WIP7

quick kernel release - so no data

Features
[Xperia Z5 Android Development] whalesplaho:
Flashed latest kernel but after reboot i plugged charger and fone reboots.....

Thanks for yur support always!
[Xperia Z5 Android Development] Mason76:
How disable 2 big core?ex manager not working correct,when I change 4 to 2 max big core cluster
[Xperia Z5 Android Development] nreuge:
[MENTION=3037651]zacharias.maladroit[/MENTION]

I've stopped my tests after Logos_I.2_6_2.

For battery life (screen on and screen off), the best kernel you have done for XN-Rom v2.5 is Logos_I.1_13_2, even better than stock I think.

Thanks a lot for your huge work for the Z5 !

Hope to see you and bro [MENTION=4471890]whalesplaho[/MENTION] later in an other xda forum...

All the best my friends :)
[Xperia Z5 Android Development] zacharias.maladroit:
that's strange - I also charged while the phone was on :confused:

Did this happen before on Logos kernels ?

Thanks for the report + log

edit:

found the issue, let's see if it's more stable with it
[Xperia Z5 Android Development] zacharias.maladroit:
Z5:

kernel got updated to 2_8_7 due to a potential kernel panic caused by core_ctl driver and a commit (change)
[Xperia Z5 Android Development] Al.Mamari:
Hi bro

can you give me link for Logos_I.1_13_15

and is it working in your modified rom v2.5.5

and can we flash it by fasrboot

thanks:laugh:
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=5231789]nreuge[/MENTION]

don't help him, please

spoon-feeding doesn't help anyone

[MENTION=7658676]Al.Mamari[/MENTION]

read through the thread !

1st post
[Xperia Z5 Android Development] zacharias.maladroit:
1st post, look at google drive

[where did my post go ?]
[Xperia Z5 Android Development] Al.Mamari:
I have read it before replaying bro and i couldn't find Logos_I.1_13_15 on googledrive

so any help will help me ;)
[Xperia Z5 Android Development] whalesplaho:
Best wishes buddy.... See you around as always!!!

Thanks for your time and support and if yhu have anything dat will benefit us please bring it on.

Enjoy your new device man n im jealous too... BigHugs :good: :highfive:

---------- Post added at 05:46 PM ---------- Previous post was at 05:43 PM ----------

Good you found tha issue and dis never happened on logos except when using apps!!!

Downloaded latest version and will flash now....

I know tha kernel is just getting better and better but as [MENTION=5231789]nreuge[/MENTION] said I.1_13_12 has tha best battery life so far but I.2_8_7 might prove better too. :highfive:

---------- Post added at 05:47 PM ---------- Previous post was at 05:46 PM ----------

There is two drive links... One has it and tha other doesnt!
[Xperia Z5 Android Development] Mason76:
how to disable 2 large cores?? the ex manager disappeared such an item

Please help
[Xperia Z5 Android Development] Al.Mamari:
There is two drive links... One has it and tha other doesnt![/QUOTE]

where is the other link?

in the first page i found one link for stock kernel

---------- Post added at 09:39 AM ---------- Previous post was at 08:49 AM ----------

I am using mrom v2.5

Link for Logos_I.1_13_15 will be appreciated

---------- Post added at 09:45 AM ---------- Previous post was at 09:39 AM ----------

Is Logos_I.1_5_3 same as Logos_I.1_15_13 as neurge mentioned above
[Xperia Z5 Android Development] nreuge:
My bad, it is Logos_I.1_13_2
[Xperia Z5 Android Development] Ari Nugroho:
On the first page has a description "More info on the Latest Kernel can be usually found at: AT the end of the thread", so you can start browse from this last page to the previous page
[Xperia Z5 Android Development] Al.Mamari:
where to find it

is it included with stock kernels on googledrive link
[Xperia Z5 Android Development] nreuge:
I've just have a look at the thread, I've found it at few pages back in less than 20s...
[Xperia Z5 Android Development] Mason76:
How disable 2 big core?!
[Xperia Z5 Android Development] zacharias.maladroit:
now it's included, actually these are intermittent test builds and could (still) have issues ...

... but according to the feedback they are supposedly quite stable

https://drive.google.com/open?id=1B-lDzwIZRN3fK7e1tME4lcYTXa1F-Yi-
[Xperia Z5 Android Development] whalesplaho:
[MENTION=3037651]zacharias.maladroit[/MENTION] i just got a 4G sim and i noticed dat phone heats up and battery drain high while surfing.... Any luck for me man?

Thanks heap buddy.
[Xperia Z5 Android Development] zacharias.maladroit:
4G testing is quite hard for me since at the spot I'm mostly at I don't have (or hardly) any LTE coverage, mostly 3G or even 2G only.

I also was quite astounded when battery was draining (?) quite heavily while surfing with LTE.

I've seen a connection with security fixes to the IPA, rmnet, net/mac80211, net/nl80211, net/cfg80211 drivers & subsystems

but most (if not all) of them CANNOT be reverted since we need those due to mitigation against WPA2 KRACK and other attack vectors.

Like I wrote in the past, it's under investigation all of the time and I'll see what can be made but it'll take quite a lot of time to pinpoint and make any meaningful changes.

Most recent battery comparisons against Sony's Stock kernel:

10-33% more efficient in idle

10-25% higher battery consumption in usage (25% being music playback) [that was with recent kernels, right now it's probably down again already]

can't really pinpoint that higher consumption to specific changes since that is even with battery tweaks

#WANTFEEDBACK 2_12_3

sauce:

https://github.com/zachariasmaladro...54_Sun-Kernel_Logos_I.1_upcoming_next_03_WIP9

(for now) switched to CPUQUIET hotplug framework, there's no tweaking or configuration necessary

GPU: additional frequencies - set initial frequency to 180 MHz or 110 MHz (or lower) if you're mostly using your phone for reading, simple_ondemand governor looks quite nice with low frequencies set (is it stable ?)

scheduler, i/o, etc. has been tweaked for lower power consumption and lower CPU overhead,

default governor is "chill" by frap129

several stability & reliability improvements.

Battery curve & consumption should be more balanced - meaning = you should experience battery going down faster at certain points that before, but in total it should consume less.

Increased security, like with every kernel, several security issues and code issues fixed.

Video-watching, widevine (e.g. Google Movies), etc. need testing.

Wakelock blocker on board: several wakelocks are blocked by default (not most or all but many).

Upstream binder with removed global binder lock is on board,

super-charged scheduler is enabled, for gaming: select "ondemand" governor and give it a test.

FauxSound is enabled by default

several, countless other changes, improvements & fixes

For now the kernel provides a

super-smooth experience with increased stability

,

power-efficiency in idle is guaranteed (10-33% vs. stock kernel),

power consumption in usage (screen on, etc.) needs tweaking and investigation

Room for improvements:

in-kernel thermal driver

thermal driver settings aka "thermal engine" [earlier throttling - thus more sustained performance]

overclocking is pointless

at current state since its performance is deteriorating during high load so you can't use it during longer periods - it's only for show-off & ego (benchmarks)
[Xperia Z5 Android Development] whalesplaho:
I understand man... I know yhu always keeping Z5 update n running.... I have downloaded tha latest update and ll flash now and post feedback later!!!

Tha changelogs looks promising.
[Xperia Z5 Android Development] omerergun1123:
I have been using this kernel just about 3 hours. As a first impression, this is a beast. Thanks for great effort.

- Great wifi connection.

- Great headphone sound.

- Great performance with efficient battery usage.

I will give feedback about problems I see in following days, hope it keeps on flowing like that.

Good job.:good: