yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] Zaisesl:
Im using the kernel for CRdroid. But i cant use double tap to wake.

For now is working smooth and cold. Very good
[Xperia Z5 Android Development] zacharias.maladroit:
Custom kernel NovaCore I.1_n_1

has been updated

ported to/built for various ROMs:

CarbonROM

https://drive.google.com/open?id=0BykGGWB96CBQTEZwSjhRUmlSdDQ

crDroid

https://drive.google.com/open?id=0BykGGWB96CBQNnp6cUtUalh0Qms

Resurrection Remix

https://drive.google.com/open?id=0BykGGWB96CBQek9Qem93cDhDTm8

Changelog

line_discipline bluetooth driver has been reworked - should work more reliable

fixed dt2w - works now

raised mitigation frequency to 960 MHz, while the device it hot it should be more smooth, fluid now (thermal engine/throttling still makes sure it doesn't get too hot)

WIP - feedback, testing, etc. needed

WIP: bluetooth: (FM works, file sending might have issues [need feedback - are there issues with "Stock" kernel on e.g. lineageOS, CarbonROM, crDroid, etc.])

WIP: need feedback from the hardcore gamers if the device gets too hot (to lower the values) - values are derived from Nexus 5X so are safe

Base source branch

:

https://github.com/zachariasmaladro...takami_r2/commits/Sun-Kernel_NovaCore_I.1_n_1
[Xperia Z5 Android Development] whalesplaho:
[MENTION=3037651]zacharias.maladroit[/MENTION] sorry been offline... Will try tha latest build and post feedback... Thanks always brov!
[Xperia Z5 Android Development] whalesplaho:
Flashed tha latest version and systemui starting fcs... Had to reflash tha stock one back!!!

I managed to pull a logcat, dnt know if it ll.
[Xperia Z5 Android Development] Nyuubi:
[MENTION=3037651]zacharias.maladroit[/MENTION]

I tested both the 1.9.4, 1.9.5 and 1.9.8.2 versions.

Not much difference from the previous kernels except that those last two heats up while I'm on YouTube app or watching anime on MX Player or VLC. For gaming there is only a slight feeling of the device warming up but that's it!

Any way for now I've gone back to 1.8.9 since it's the one that seemed to work the best overall (well. you did an awesome job for the thermal control after all!)

Cheers!
[Xperia Z5 Android Development] zacharias.maladroit:
Custom kernel NovaCore I.1_n_1

has been updated

to C_1_5_4

ported to/built for various ROMs:

CarbonROM

https://drive.google.com/open?id=0BykGGWB96CBQTEZwSjhRUmlSdDQ

crDroid

https://drive.google.com/open?id=0BykGGWB96CBQNnp6cUtUalh0Qms

Resurrection Remix

https://drive.google.com/open?id=0BykGGWB96CBQek9Qem93cDhDTm8

Changelog

camera fixes & improvements

cpu-hotplug: running in realtime scheduling, this should prevent issues during hotplug and heavy load [e.g. gaming, etc]

core_ctl + core_ctl_helper: switched back from msm_performance hotplug, this should give more finegrained hotplug control

lots of wifi changes: reverted lots of stuff, Wifi drainage should be gone now

improved irq_work

IPI, irq_work & hrtimer improvements

fix incorrect display of mem usage

several improvements in speed for network handling

no frequency caching for the big-core, this should make it more flexible (and cooler ?)

fixed several (potential) stability & deadlock issues

faster USB charging (another level from 150 to 900 mV)

removed several wakeup sources, so idle drain should be yet reduced

writeback improvements

don't reset keys pressed at suspend time

others I forgot

.

build for Z4/Z3+ on RR (not boot-tested, not sure if it even works ...)

WIP - feedback, testing, etc. needed

WIP: bluetooth: (FM works, file sending might have issues [need feedback - are there issues with "Stock" kernel on e.g. lineageOS, CarbonROM, crDroid, etc.])

WIP: need feedback from the hardcore gamers if the device gets too hot (to lower the values) - values are derived from Nexus 5X so are safe

Base source branch

:

https://github.com/zachariasmaladro...takami_r2/commits/Sun-Kernel_NovaCore_I.1_n_1
[Xperia Z5 Android Development] whalesplaho:
I ll try latest version.... Hope no systemui fc!!

Thanks always [MENTION=3037651]zacharias.maladroit[/MENTION]
[Xperia Z5 Android Development] sirdoha:
My first experience with the "Custom kernel NovaCore I.1_n_1 has been updated":

- Interface runs extremely smooth, no crash or lag. at this point, it is smoother than the stock kernel of carbon rom.

- temperature is acceptable with daily task. performance task, like gaming, however, is still quite hot. Would u suggest flashing the thermal engine SmarTemperatureX of [MENTION=5627933]androidexpert35[/MENTION]5?

- battery life is quite good. audio crash has been fixed! (really great ;))

I'll flash the latest kernel soon and report back later. Thanks for your work!
[Xperia Z5 Android Development] saiz136:
Am using Z5_SK_ENF_vN_RR_NovaCore_I.1_n_1_10_C_1_5_4_sum, anything about qpnp_fg_memaccess?
[Xperia Z5 Android Development] zacharias.maladroit:
Haven't tried out SmarTemperatureX,

not sure if the thermal config is the same (haven't looked into it yet) - but since we use the stock kernel it could [so no definite answer here]

okay :)

what was the audio crash about ?

these are lowlevel kernel wakelocks which indicate that the battery monitoring might be at fault,

do you have circle battery indicator activated ?

or a widget that displays and checks battery status ?

could also be BBS itself that causes it

edit:

yeah, changing monitoring details and accessing data from the battery causes it but it should be benign

https://xdaforums.com/showpost.php?p=65459781&postcount=8026

Do you have higher battery drain than usual or unusually high ?
[Xperia Z5 Android Development] saiz136:
Oh i see. Is KLWP (Live wallpaper) battery reading also included? I don't know about battery circle indicator though, is it the one on status bar and tile toggle? Or it might be the BBS since it is installed as a system app?
[Xperia Z5 Android Development] zacharias.maladroit:
yeah could be the live wallpaper,

battery indicator shouldn't be an issue since it's not updated much - but the charging animation, for example, can cause high cpu load while charging or when it's highly animated [not sure, I've left it at stock symbol without percentage display right now]

or BBS

like I wrote: if there's no higher battery consumption, it's

benign

- so only cosmetic annoyance

but the battery consumption should be close to without the high qpnp_fg_* wakelocks

that still looks unusually much though with all those qpnp_fg_* and Power* entries in your screenshot :confused:
[Xperia Z5 Android Development] saiz136:
I'll try to remove or change the battery indicator on the status bar and quick toggles. Also remove the code for the live wallpaper battery reading, and nope there is no animation on the battery meter (might be when changing percentage).
[Xperia Z5 Android Development] zacharias.maladroit:
okay :)

OMG !

[MOD] QuasarAtmoX Ultimate Sound Mod [v3.0] [Atmos | Viper | Xperia] [LP/MM/N] + PDesire = eargasm :eek:
[Xperia Z5 Android Development] saiz136:
Looks like the battery status animation is the culprit.
[Xperia Z5 Android Development] whalesplaho:
Flashed tha latest kernel and still testing.... Had to reflash rom and kernel... My systemui keeps fcs.

I even tried to decompile and recompile my systemui without any mods and still fc on tha newly flashed rom and kernel but was working fine on crdroid stock rom! Dnt know whats wrong.... Please help [MENTION=3037651]zacharias.maladroit[/MENTION] im using apktool 2.2.3
[Xperia Z5 Android Development] Zaisesl:
Which rom are you using??

I tried in carbon and crdroid and works perfect.
[Xperia Z5 Android Development] whalesplaho:
Im on LOS crdroid too buddy... Have yhu tried to mod yur systemui.apk to see?

Just decompile and recompile without editing...
[Xperia Z5 Android Development] Zaisesl:
Mm.. No, im using crdroid cause it has a lot of features than other roms. So, i dont have to edit. Maybe you can try to edit your systemui without use any features. Clean rom and do what yo doy with the systemUI works for me in Carbon to add ambient display
[Xperia Z5 Android Development] whalesplaho:
Yeah it has a lot of customizations... I was just tryna merge wifi and signal icons and also move signal icon location dats all but systemui fc.... Dnt know whats wrong, i ll be glad if yhu can just try too with [MENTION=3037651]zacharias.maladroit[/MENTION] latest kernel.

Thanks
[Xperia Z5 Android Development] zacharias.maladroit:
Custom kernel NovaCore I.1_n_1

has been updated

to C_1_5_6

ported /built for LineageOS is available:

LineageOS 14.1

https://drive.google.com/open?id=0BykGGWB96CBQd1c0OEJtMHRxWHc

Other builds / ROMs / devices will follow later

Changelog

sched: fallback CPU when no CPUs are available (should make hotplug + cpusets some more reliable)

LMK: avoid false adaptive LMK triggers (only probably applies if adaptive LMK is activated)

gpiolib fix

genirq - this should make the overhaul of the big IRQ work complete (how to test ?) [Currently PM QoS is not getting notifications if irq affinity is changed by core isolation with irq_do_set_affinity. Use irq_set_affinity_locked instead to get notifications when updating affinity.]

PDesireAudio 11.0 Auralia (kudos to [MENTION=6126659]PDesire[/MENTION] )

do a few changes/fixes to FauxSound, that should make it work better (locked toggles)

WIP - feedback, testing, etc. needed

WIP: bluetooth: (FM works, file sending might have issues [need feedback - are there issues with "Stock" kernel on e.g. lineageOS, CarbonROM, crDroid, etc.])

WIP: need feedback from the hardcore gamers if the device gets too hot (to lower the values) - values are derived from Nexus 5X so are safe

Base source branch

:

https://github.com/zachariasmaladro...takami_r2/commits/Sun-Kernel_NovaCore_I.1_n_1
[Xperia Z5 Android Development] whalesplaho:
Will it work on crdroid los??
[Xperia Z5 Android Development] zacharias.maladroit:
similar enough, give it a try,

no guarantees
[Xperia Z5 Android Development] zacharias.maladroit:
Okay, so battery consumption of mp3 playback with PowerAMP (alpha) is around 2-3% per hour (on Resurrection Remix) which seems close to Sony's Stock ROM,

now the only difference is somewhat higher battery consumption where it actually seems to count the most: while the screen is on and while surfing, etc.

Perhaps Sony has tweaks to cut down battery / power consumption of the panel in its ROM,

in any case - it would be nice to have lower power consumption with the screen on, while the device is being used :angel:
[Xperia Z5 Android Development] :
Is this kernel compatible with Nougat 7.0?

can i update to 7.1.1?

is xposed supported?

Thanks
[Xperia Z5 Android Development] whalesplaho:
Yes compatible with 7.0 but not yet with 7.1.1.... If yhu get a working xposed den good, xposed doesnt rely on kernel.
[Xperia Z5 Android Development] :
Thanks

And do you think it saves more battery than AndroPlus?
[Xperia Z5 Android Development] Ry Chy®:
Got random reboot with this kernel on CrDroid twice a day
[Xperia Z5 Android Development] whalesplaho:
I kinda of prefer dis cos it has much features.....

---------- Post added at 10:43 AM ---------- Previous post was at 10:42 AM ----------

Wah config are yhu using?

Havent had dis....
[Xperia Z5 Android Development] Ry Chy®:
No config… jjust flashed kernel because of sounddriver.

Maybe I should use a config!? I'm using kernel auditor, switched off the cpu and other kernelstuff etc... only using sound enhance
[Xperia Z5 Android Development] whalesplaho:
Dnt fink so.... Cant say tho!!
[MENTION=3037651]zacharias.maladroit[/MENTION] might help or a logcat ll be helpful
[Xperia Z5 Android Development] :
Can you list me some of the features then if you can?

Thanks
[Xperia Z5 Android Development] whalesplaho:
Tha kernel updates always has changelogs... Yhu get from it brov!!!
[Xperia Z5 Android Development] zacharias.maladroit:
Did you get any pstore dmesg logs ?

How random were those "random" reboots ?

any pattern ?

the lineageOS kernel might seem compatible at first but only dedicated kernels with the specific ramdisk + ROM match are supported

So you want the PDesire feature in crDroid custom kernel ?

I'm asking since kernel is currently under development so I'm saving myself to build and release all 10+ kernel builds
[Xperia Z5 Android Development] islanders:
which version is stable ? i'm currently using 5.11 , the one with the best battery life , and no random reboots
[Xperia Z5 Android Development] saiz136:
Uhh? The latest?
[Xperia Z5 Android Development] zacharias.maladroit:
(MM= 5.11)
[Xperia Z5 Android Development] zacharias.maladroit:
https://drive.google.com/open?id=0BykGGWB96CBQeUM0TGQ5ZGtLTmc

pick one of the newer ones and search through the following 3 threads for the version number:

https://xdaforums.com/xperia-z5/development/kernel-zachs-kernel-playground-z5-wip-t3340725

https://xdaforums.com/xperia-z5/development/xperia-x-rom-e6653-e6683-z5p-t3388183

https://xdaforums.com/xperia-z5/development/rom-slimx-optimized-rom-to-date-t3497907
[Xperia Z5 Android Development] abrahamrhs:
There's anyone kernel for 7.1.1 .160?
[Xperia Z5 Android Development] Zaisesl:
No, the source isnt available
[Xperia Z5 Android Development] zacharias.maladroit:
development is delayed , this will (hopefully) mostly be a backporting from LineageOS/CR back to Sony Stock ROMs

yes it is, since 1 day before you posted your reply ;)
[Xperia Z5 Android Development] zacharias.maladroit:
Anyone had stability issues when using conservative governor with NovaCore kernels ?
[Xperia Z5 Android Development] whalesplaho:
Didnt used dat.... Been on darkness/alucard governor!!!
[Xperia Z5 Android Development] whalesplaho:
Damn.... So much improvements!!

Bigups brov.... Downloading!

Wahs tha best cpu settings to use?

Using ExKernel Manager..... Thanks
[Xperia Z5 Android Development] zacharias.maladroit:
You can try stock,

or (that's just me, probably too conservative/battery saving, but it works in all cases that I need):

Governor:

little: conservative

big: conservative

down_threshold: 70

up_threshold: 80

CPU Boost:

Input boost frequency: 960

Input boost milliseconds: 100

Under "Thermal":

msm_thermal: Enabled

core_control: Enabled

If you want more dynamic hotplugging:

Core Control (little cluster):

Up threshold: 60

Down threshold: 30

Memory: [in that order]

ZRAM size: 512MB

Swappiness: 20

ZRAM: Enabled

zram is recommended by Google / Android, I'd also recommend it since the kernel tends to OOM, thrash quite a bit without swap, the memory management is somewhat deficient without swap,

and it provides a speedup and shouldn't hurt memory fragmentation, battery or performance [all three taken care of in the kernel]
[Xperia Z5 Android Development] whalesplaho:
Okay brov... Thanks!

Wanna updated to cr 3.7 and flash tha new kernel too den will use dis new setup and post feedbacks!!!
[Xperia Z5 Android Development] nlra:
I've been trying to figure this out, both by glancing at the source/diffs as well as forum searches, but have not found a straight answer...

...is using FauxSound to change internal speaker gain any different than just editing mixer_paths.xml directly? It seems clear to me that mixer_paths.xml just engages a digital/software "amplifier" rather than actually adjusts power output in hardware from DAC to speakers. It is not clear to me, though, whether FauxSound is just a "more convenient" way to accomplish the same thing with an app (and without a reboot), or whether it actually increases real power output from DAC preamp.

I used to use the (different) Nexus-4-specific FauxSpeaker app (+ kernel patches) with my Nexus 4, and it was awesome...would love to reproduce that level of improvement on my Z5.

-- Nathan
[Xperia Z5 Android Development] zacharias.maladroit:
It's just digital amplifier, the analog AMP/boost doesn't work (hasn't been working on the Note 3 and doesn't on Z5),

I also would have liked to have real boost but since there's no dedicated special DAC, that's that
[Xperia Z5 Android Development] zacharias.maladroit:
New hotfix kernel for RR [C_2_1_3]

https://drive.google.com/open?id=0BykGGWB96CBQek9Qem93cDhDTm8

changes include

fixed video recording (it was broken since September 9th changes), reverted 2 changes

fix against BlueBorne Bluetooth attack vector [https://www.armis.com/blueborne/]

other ROMs will follow,

if you need the fix urgently, try flashing the kernel and see if it works

it should be close enough that it'll work (e.g. LineageOS <-- --> CarbonRom kernels)
[Xperia Z5 Android Development] whalesplaho:
Flashed NovaCore C_2_1_2 on crdroid Lineage OS 3.7 but just bootanimation showing and doesnt boot up... Even previous version dah works on crdroid lineage os 3.6 too didnt work on v3.7.... Thanks
[Xperia Z5 Android Development] nlra:
:( The names of the constants felt like callbacks to the names in mixer_paths, so I feared this was likely the case.

Disappointing news, but thanks for the confirmation!

-- Nathan
[Xperia Z5 Android Development] nreuge:
+1
[Xperia Z5 Android Development] zacharias.maladroit:
Acknowledged,

thanks, probably needs a newer ramdisk
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=5231789]nreuge[/MENTION] , [MENTION=4471890]whalesplaho[/MENTION]

pushed the new kernel with the new ramdisk for crDroid v3.7

crDroid:

https://drive.google.com/drive/folders/0BykGGWB96CBQNnp6cUtUalh0Qms

please confirm that it works,

no support for f2fs yet

Resurrection Remix:

https://drive.google.com/drive/folders/0BykGGWB96CBQek9Qem93cDhDTm8
[Xperia Z5 Android Development] zacharias.maladroit:
No custom kernel for Sony Stock ROM 32.4.A.0.160 for now,

each attempt lead to a non-booting kernel so far

Too busy to start everything from scratch or track down the causes,

I've made at least a dozen tests already and still no booting ...

Next tests within a few weeks ...
[Xperia Z5 Android Development] whalesplaho:
Flashed kernel and magisk 14 den boot up buh phone not working well, magisk manager opened but when i clicked on superuser, it fc.... Thanks [MENTION=3037651]zacharias.maladroit[/MENTION]
[Xperia Z5 Android Development] whalesplaho:
[MENTION=3037651]zacharias.maladroit[/MENTION] any luck please crdroid los..... Thanks!!!

---------- Post added at 01:30 AM ---------- Previous post was at 01:30 AM ----------

[/COLOR [MENTION=3037651]zacharias.maladroit[/MENTION] any luck please crdroid los..... Thanks!!!
[Xperia Z5 Android Development] Zaisesl:
If you flash a new kernel you have to flash magisk again. Did you do that?
[Xperia Z5 Android Development] whalesplaho:
Always brov..... Thanks!!!

Even tha phone doesnt works well... Didnt load apps and widget well
[Xperia Z5 Android Development] zacharias.maladroit:
Actually it's obvious why the 2.33 and ported NovaCore kernels didn't work,

there's again features that will NOT work on 160 that worked before on 2.33.

To make matters worse SYSVIPC STILL cannot be disabled, where on Z5 Premium it's not problem to do so ( [MENTION=6126659]PDesire[/MENTION] what changes in addition to SYSVIPC did you make to get the kernel to boot ? )

I suspect there are some really stupid bootloader, kernel, etc. and/or signature related checks in place for the Z5 since it seems to be one of few Sony devices that have this stupid issue,

certain combinations of configs sometimes work and another time the VERY SAME config does NOT work.

SYSVIPC can e.g. easily be disabled on the M4 Aqua and the device boots,

not sure who of the proprietary / Stock Sony guys thinks that SYSVIPC is a good idea and/or makes sense on Android.

The same with MHL: it worked at a point but even after countless testing and experimenting it will not boot with 376, 378, 2.33 or 160 (stays stuck at Sony splash/logo)

whereas on non-Stock it boots without issues.

Then there's EAS and scheduler changes:

only a very specific configuration might (or might not) boot on Stock with EAS or scheduler-related changes

This is simply too much hassle - and no convincing, bribing, threatening will get me to go through that hassle again,

I've more important things to do than to tip-toe and learn the whacko characteristics of this device !

And NO I will not channel your inner want for control and have the big cluster activated ALL of the time,

also: NO, the dynamic frequency switching and msm_performance WILL stay ON.

All of this control freak-ish need for control was one of the reasons that the device turned hot and

couldn't properly do its thing of frequency mitigation, hotplug when things get hot.

So: core_ctl (the improved, with longer hotplugged/offlined cores) and msm_performance will stay IN the kernel by default.

Long story short:

Check out the attachment

Name of the kernel is "Promi" (short for Prominence / Filament: https://en.wikipedia.org/wiki/Solar_prominence , https://www.nasa.gov/content/goddard/what-is-a-solar-prominence )

Source:

https://github.com/zachariasmaladro...kitakami_r2/commits/Sun-Kernel_Prominence_I.1
[Xperia Z5 Android Development] PDesire:
Well in time i have re-enabled SYSVIPC, but i am trying a build now where it's disabled and tell you more :D

Your PDesire

---------- Post added at 20:10 ---------- Previous post was at 19:43 ----------

Well I have disabled now SYSVIPC, and device runs, what type of non booting status you get? A Red-Blinking LED followed by a black screen? Or a Stuck at bootlogo? Possible to provide ramoops log from pstore?

Not Sony enabled it, Qualcomm did this, idk why, but I assume Qualcomm just used the most **** defconfig, based their defconfig on it, and did not optimize it :D

Problem with MHL? I don't use it so what type of problem it is ?

Well EAS is a tricky thing, and believe me I am reworking now the whole PowerHAL to get a EAS-Like PowerHAL... so i stuck with HMP but with the right callibrations it is fine. EAS does also run without the HAL but much slower (at least on benchmarks)

Well to let your users get calm down: The idea of having eight cores enabled came from Samsung devices and Lazyplug. It works there, but our Snapdragon 810 are DEFINITELY not made for it. Samsung uses a different way of Scheduling and Exynos is made for it. Snapdragon 810 aims to have less big cores than possible. Their idea seems good though but is not executed well enough. I mean big tasks should be done by big cores and not on LITTLE cores where your device heats up because it reaches the 1555MHz, the Frequency with the highest TDP. So I am sure [MENTION=3037651]zacharias.maladroit[/MENTION] knows how to callibrate it better (and maybe have done already)

Well my test was positive, SYSVIPC doesn't need to be compiled with. You can try maybe to use my source and revert the things you don't want to have (I have not modified anything on SYSVIPC to get it work)

Your PDesire
[Xperia Z5 Android Development] zacharias.maladroit:
It's stuck at Sony bootlogo, doesn't move a bit

yeah, superiority at its prime

upon turning the device on, the Sony logo appears and it just lights up the red LED and that's all

yeah, but the payoff probably will be worth it (in the very-long run)

Ah, that's where this all is originating from !

Haven't had a big.LITTLE Samsung device yet (/me looks at the trusty Note 3)

Well partially, Sony has their own scheduling algorithm (or placement ? when looking at the bigger view),

to be honest this SoC just is not really efficient and/or the starting position with the whole scheduler is just crap but can be optimized for greatness (e.g. via proper EAS, etc.)

nevertheless it's really really annoying and I've had enough until now and I'm going to leave the device at the current state [with a few minor changes until I'm content since on Stock there's not much "magic" to be expected]

Did you have SYSVIPC compiled OUT of the kernel (de-selected) with your first EAS kernels ? Cause I remember building & booting one of those and it worked,

doesn't make sense though why it should work with a similar or same source/config than mine and NOT working (this device is possessed ! :cyclops: ).

Anyway, so yeah:

it seems to at least work on Z5 Premium (probably also Z5 compact, Z4/Z3+, etc.)

but NOT on the Xperia Z5 ("sumire")

Thank you :)