yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Premium Android Development] Tilman:
I don't really understand the hot plugging of this kernel, sometimes all big cores are active, sometimes 3, 2, stock like 1, sometimes none. I mean, wouldn't it drain battery to constantly switch big cores on & off. It doesn't overheat, it stays cool as said though.
[Xperia Z5 Premium Android Development] PDesire:
Could you send me your init.qcom.post_boot.sh file maybe located at /system/etc?

Thanks

Your PDesire
[Xperia Z5 Premium Android Development] PDesire:
SafetyNet I will patch soon. Right now the bootstate is on orange which I need to patch soon

About the boot time: that's because... Well EAS and performance governor (which is used on boot) aren't best friends sometimes :D

The Brightness dimm on boot is no problem :good:

You don't lose EAS if you use it... Just interactive is optimized for HMP, so some laggs can exist

Your PDesire
[Xperia Z5 Premium Android Development] Daniel_GB:
[MENTION=6126659]PDesire[/MENTION] thanks for the great work

Only one question, do drm related stuff work with this kernel?

Edit: just tried installing and it booted without any problem! X-reality seems to work correctly!
[Xperia Z5 Premium Android Development] PDesire:
OHH yes it does

Your PDesire
[Xperia Z5 Premium Android Development] pandan80:
will you made a custome rom in future?
[Xperia Z5 Premium Android Development] FiDra:
How can I root while using this kernel?
[Xperia Z5 Premium Android Development] anjelz2012:
https://mega.nz/#!2BIwUKzK!VfUGkgMLrDjP8X7Rl_41VQNXxM460YBzx-Gn1TfpBEg
[Xperia Z5 Premium Android Development] PDesire:
Magisk ;)

Your PDesire
[Xperia Z5 Premium Android Development] PDesire:
Why that question? :D

Your PDesire
[Xperia Z5 Premium Android Development] PDesire:
What you can already expect on next version:

-glibc memcopy and string for 15% more memory performance

-SafetyNet bypass

-Little Scheduler improvements

A little question now guys:

Do you need one of these things urgently:

KCAL

Sound Control

More governors

If there's a huge request for them I will try to add

Your PDesire
[Xperia Z5 Premium Android Development] david949:
hi gj

please first added kcal
[Xperia Z5 Premium Android Development] Daniel_GB:
Those are interesting feature to have along side EAS!

More governors are always welcome.

thanks for the great work! using for an hour and everything seems OK!

Rooted with Magisk12
[Xperia Z5 Premium Android Development] fakinsupa801:
Lineage?

Can i use this on lineage or is this a stock only?
[Xperia Z5 Premium Android Development] ytheekshana:
Going to try now
[Xperia Z5 Premium Android Development] PDesire:
KCAL added, comes soon

Your PDesire
[Xperia Z5 Premium Android Development] ivanscrach:
Good job, but I can not use it, I already followed all the steps and when restarting and turning the phone on the lock screen is frozen and restarted, I am in the latest firmware compilation
[Xperia Z5 Premium Android Development] Tilman:
Sorry to go off topic, but do you use any systemUI mod, or anything else. I mean if I set the smallest width anything higher than 478 dpi, the navigation bar keys are misaligned in landscape mod thus proving unusable.
[Xperia Z5 Premium Android Development] pandan80:
I am looking forward:D
[Xperia Z5 Premium Android Development] Rekon.fs:
Hi, this is compatible with Xperia z5 E6653? If not can you make for it please?
[Xperia Z5 Premium Android Development] sceryavuz:
[MENTION=3037651]zacharias.maladroit[/MENTION]
[MENTION=6126659]PDesire[/MENTION]

Any plan for Z5?
[Xperia Z5 Premium Android Development] pandan80:
One more question,I'm in stock rom E6883 fw 33 I reflash fw 33 and reflash your kernel but is cannot boot to system anything I miss it?
[Xperia Z5 Premium Android Development] zacharias.maladroit:
read through this thread and https://xdaforums.com/z5-premium/general/announcement-energy-aware-scheduling-t3620897

an EAS Kernel has been available for quite some time for LineageOS + CarbonROM on the Z5,

as usual a stock Nougat Kernel on 2.33 leads to the ROM not booting up, kernel panic, crashing

perhaps my hardware (build host) or whatever

Anyway - like indicated in my signature,

I'm taking a leave from development (perhaps upload another EAS for LineageOS + CarbonROM which I'm currently using), ...

If you guys run into any battery draining (on non-Stock ROMs more probable than on Stock for whatever reason since years),

there are at least 2 candidates that are very high on my list:

- Magisk (with magisk hide or malfunctioning, always-activate [looping ?] process)

- Google Play Store (just happened this night)

you can try hibernating Google PS via Greenify,

Magisk: toggle magisk hide to "off" if you do not need it and see if that improves things (sometimes it helps, but not always),

also: the Magisk beta-builds / daily builds (https://xdaforums.com/apps/magisk/unofficial-magisk-v10-beta-built-t3521901) did cause a high battery drain for me,

so I had to uninstall and go back to v12 (yeah, v13 is known to let SafetyNet pass again; so if that is a priority try out different builds or the official "beta")
[Xperia Z5 Premium Android Development] zacharias.maladroit:
[MENTION=6126659]PDesire[/MENTION]

looks like the kernel is missing the ramoops reservation to make pstore work,

please add: https://github.com/zachariasmaladro...mmit/21e55c58a188a3b2ffc594572bbfec7cdffa0969
[Xperia Z5 Premium Android Development] PDesire:
Will Release later Version Two of DevElite kernel

Changelog:

-Memory Optimizations

-pstore ramoops fix (thanks [MENTION=3037651]zacharias.maladroit[/MENTION])

-KCAL Color Control

-SafetyNet patches

- Misc Sched, Shmem and memory patches

Your PDesire
[Xperia Z5 Premium Android Development] xrenoix:
thank you !!! it possible add Kernel w/ kexec-hardboot patch for multirom support ? thank you very much great work !!!
[Xperia Z5 Premium Android Development] PDesire:
This requres some more work but yes I try but not on Version Two, maybe on next version

Your PDesire
[Xperia Z5 Premium Android Development] xrenoix:
great news thank you ! Take your time I'm not in a hurry ! great work
[Xperia Z5 Premium Android Development] Vishnarov:
Can you add Fauxsound support. Will be nice to can increanse the level of the sound :)
[Xperia Z5 Premium Android Development] PDesire:
Version Two of the DevElite kernel is released

Enjoy ;)

Your PDesire
[Xperia Z5 Premium Android Development] Tilman:
Uhm, why is the GPU idling at 305Mhz? Could you try making the GPU rest at 27Mhz?

Also, the booting brightness is still at full.

But anyway, thanks for the update.

Um, I just checked, SafetyNet still doesn't pass on version 2 with Magisk V12.
[Xperia Z5 Premium Android Development] PDesire:
With Magisk 12 you won't pass it. Google updated SafetyNet.

V13 should work but is buggy.

BTW that 305MHz report is a bug, in real it does have the 27MHz idling how you're saying

Your PDesire
[Xperia Z5 Premium Android Development] Tilman:
Well in stock modded kernel, I always passed SafetyNet with Magisk 12. Well, thanks again for the quick reply. I see improvements in V2 of the kernel, feels snappier. And uh, I had two random reboots with V1, couldn't provide log as pstore ramoops wasn't working, I'll let know if there are any instabilities with Version 2.
[Xperia Z5 Premium Android Development] ytheekshana:
Installed this kernel...

I am on 32.3.A.2.33

Strange this is after flashing this kernel, Software update app says there's a system update and the version is the 32.3.A.0.376

PC Companion says i have an update to 32.3.A.2.33.

how can this be. is this because of the kernel?

2. How can I access KCAL color thing?
[Xperia Z5 Premium Android Development] Daniel_GB:
I do also receive regular notification about a system update which I have already installed...:confused:

[MENTION=6126659]PDesire[/MENTION]

the second version seems smoother;)

However how can I use the Kcal control, I have already downloaded color control app from the following thread but it force closes:

https://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080

edit: found the solution! just need to set SELinux to permissive
[Xperia Z5 Premium Android Development] pandan80:
i have done what i can do...but my E6883 still cannot boot the the system,flash back to stock,install Magisk,but my devices after install your kernel my devices will keep restarting...im surrender for now,but thx anyway made kernel from our devices
[Xperia Z5 Premium Android Development] DarkSilentSC:
Crashing at boot animation. 2.33 using E6883.
[Xperia Z5 Premium Android Development] Vishnarov:
How can I set SElinux to permissive. I have tried with SElinux tiggler, but nothing neither with apk or flashable zip :(
[Xperia Z5 Premium Android Development] -DM-:
[MENTION=6126659]PDesire[/MENTION]

Just gave this kernel a try...flashed the "two" version but phone is not booting, just seat at the Sony logo and not going any further...

I'm still RomAur 4.2.1 which is a MM .224 rom...but from the requirements the kernel doesn't call for a specific firmware version, so not seeing what the problem could be or am I missing something here?!?
[Xperia Z5 Premium Android Development] PDesire:
I should say it's just for 2.33 version only

Your PDesire
[Xperia Z5 Premium Android Development] PDesire:
You use right SW version ?

Your PDesire
[Xperia Z5 Premium Android Development] pandan80:
2.33 in,malaysia and HK Fw i try
[Xperia Z5 Premium Android Development] -DM-:
Thanks for the clarification ;)

Too bad though as this looked like a pretty interesting kernel...but I'm sticking with MM for the time being until Xposed get updated to sdk 24 (whenever that comes)
[Xperia Z5 Premium Android Development] xrenoix:
[MENTION=6126659]PDesire[/MENTION] hello i have bootloop version two with E6853 2.33 customised fr and i have test fresh install via flashtool with no change ! i can help you for fix this problem i can test for you ! thank you
[Xperia Z5 Premium Android Development] Daniel_GB:
install terminal emulator app from playstore, its free! open it then right the following command in terminal:

su

setenforce 0

[MENTION=6126659]PDesire[/MENTION]

is this normal?:D this is taken when the phone was at standby with wifi and data turned off.
[Xperia Z5 Premium Android Development] Vishnarov:
Nothing is happening. SElinux enforce is showing in root checker. The commamd is useless to me :(

Early today I have success for a while with SElinux toggle, but Kcal shows a some error message somewhat in the kernel...
[Xperia Z5 Premium Android Development] xrenoix:
How did you start your phone [MENTION=2505418]Vishnarov[/MENTION] [MENTION=2794297]Daniel_GB[/MENTION] thank you
[Xperia Z5 Premium Android Development] Daniel_GB:
well this is exactly what I did:

1- installed a fresh .33 firmware using flashtools.

2- used rootkernel tool to create a stock boot image with recovery, then flashed this image using fastboot!

now I have rebooted to recovery.

3- flashed EAS kernel using recovery and wipe dalvik/cache!

4- rebooted again to recovery and flashed Magisk12.

5- installed Magisk manager in OS.

6- installed terminal emulator and kcal color control app.

7- issued the following command in terminal:

su (need to grant superuser rights to terminal here)

setenforce 0

[IMG="te"]http://uupload.ir/files/g38w_3.png[/IMG]

8- then color control app opened successfully and fully functional without any error;)

[IMG="kcal"]http://uupload.ir/files/7ns8_2.png[/IMG]

I have done above steps to start the phone!

However I have flashed this kernel without clean installing the firmware and that also worked without any issue!

just wiped dalvik/cache
[Xperia Z5 Premium Android Development] Vishnarov:
I'll try that in this order, but not understand why you not flash a TWRP in fota partition with fastboot command instead of make boot image with rootkernel.
[Xperia Z5 Premium Android Development] PDesire:
Umm... Well Sony xD

Will patch them on next release :3

Your PDesire
[Xperia Z5 Premium Android Development] PDesire:
Ofc, I added a Wakelock blocker to it ;)

Your PDesire
[Xperia Z5 Premium Android Development] DarkSilentSC:
Sounds like this means I have to wait for version three to get proper support for E6883..? I used Malaysia v2.33 stock.
[Xperia Z5 Premium Android Development] xrenoix:
[MENTION=6126659]PDesire[/MENTION] not work for me E6853 2.33
[Xperia Z5 Premium Android Development] _LLJY:
spoiler

ROMX/Duality ROM coming for Z5/Z5P

I will remove all the useless hmp **** from init.qcom.post_boot.sh

next, it will have this kernel by default and some things from [MENTION=6126659]PDesire[/MENTION]

And maybe some goodies from XZ Duality ROM

project Meli will be part of it too. I will release it next week, Friday

---------- Post added at 10:06 AM ---------- Previous post was at 10:04 AM ----------

Could be because of different ramdisk version, you can try deleting the update center app and then notification will be gone.
[Xperia Z5 Premium Android Development] Daniel_GB:
[MENTION=6126659]PDesire[/MENTION]

I have noticed a problem with Kcal and setting SElinux to permissive:

1: when SElinux is active and kcal doesn't work

[IMG="SElinux active"]http://uupload.ir/files/aik4_screenshot_20170624-153821.png[/IMG]

2: when SElinux is set to permissive and kcal works

[IMG="SElinux permissive"]http://uupload.ir/files/l48m_screenshot_20170624-153931.png[/IMG]

This seriously affect battery life as all the cores are always active!

as you can see even the maximum frequency does overclock to 1.96GHz from 1.56GHz:confused:
[Xperia Z5 Premium Android Development] _LLJY:
Hotplugging actually wastes more battery than it saves, exceptions being cpuquiet and auto smp modified by rytek and lazyplug. Qualcomm already has a mechanism that makes the CPU stay at its lowest frequency and voltage when not used, therefore avoiding hotplugging altogether.

Secondly, the maximum frequency on big cores has ALWAYS been 1958mhz. And 1555mhz on little cores. That is unchanged from normal kernels, it's not overclock.

edit: I wrote this before looking at the screenshot
[Xperia Z5 Premium Android Development] Daniel_GB:
tnx for the info...

actually SONY has down-clocked the big cores after android 7.0 update to 1.56GHz
[Xperia Z5 Premium Android Development] _LLJY:
That's just EAS behaviour, I trust that EAS will pick the most efficient frequency for the job, which it does and therefore if it decides 1958mhz is the correct frequency for the job, then let it be.
[Xperia Z5 Premium Android Development] sirdoha:
Any possibility of porting EAS to the Z5 E66XX?

---------- Post added at 02:52 PM ---------- Previous post was at 02:45 PM ----------

Please port the EAS to Z5. Thanks!
[Xperia Z5 Premium Android Development] _LLJY:
If only it didn't crash on Sony logo then sure
[Xperia Z5 Premium Android Development] sirdoha:
So the Z5 is not compatible with the EAS? Did you mean that? :(
[Xperia Z5 Premium Android Development] ytheekshana:
Will the kernel be updated to (32.4.A.0.160)
[Xperia Z5 Premium Android Development] varun_kane2000:
is same kernel 1 and kernel 2 work with 32.4.A.0.160 firmware ? because my z5 premium dual E6883 heats a lot and draining battery so quickly . its hardly give battery backup of only 5 hours with full of use ( wifi/4G/bluetooth/movies/songs )
[Xperia Z5 Premium Android Development] ytheekshana:
Nope. kernel 1 and kernel 2 only supports 2.33 firmware
[Xperia Z5 Premium Android Development] Ashray_Vk:
[MENTION=6126659]PDesire[/MENTION] , appreciate your work :)

DO try to add SoundControl please! :) ( FauxSound ? )

It would be more greater if there was analog sound control like we had in the Z1 days :D
[Xperia Z5 Premium Android Development] eucrys:
Wich I can install? I have E6853 on 32.A.2.0.253 Marshmallow 6.0.1. Let me know.
[Xperia Z5 Premium Android Development] _LLJY:
None.
[Xperia Z5 Premium Android Development] eucrys:
Why?
[Xperia Z5 Premium Android Development] ytheekshana:
This kernel is only for 32.3.A.2.33 build.
[Xperia Z5 Premium Android Development] eucrys:
Thanks I'm looking for a kernel for my firmware.
[Xperia Z5 Premium Android Development] Shivam1754:
please make a modified kernal on ftf .160......
[Xperia Z5 Premium Android Development] PDesire:
Now finally released Version 3 of this kernel.

Sadly we are still on 7.0 because Sony haven't released sources yet for 7.1.1

Enjoy :)

Your PDesire
[Xperia Z5 Premium Android Development] _LLJY:
Step 1:

Find the source code

Step 2:

????

Step 3:

Profit
[Xperia Z5 Premium Android Development] PDesire:
EAS is now even more used on Sony Xperia, Now Xperia Z5 Premium and Xperia XZ supports it by [MENTION=6791680]_LLJY[/MENTION] (https://xdaforums.com/xperia-xz/development/kernel-duality-kernel-t3590311)

Soon, also Xperia Z5 will come to this taste ;) mainatained by me

Your PDesire
[Xperia Z5 Premium Android Development] sirdoha:
Bravo!

Btw, does it support Lineage OS?
[Xperia Z5 Premium Android Development] DarkSilentSC:
E6883 still boot loops, even if I use the dual-sim version.
[Xperia Z5 Premium Android Development] _LLJY:
Wrong thread link XD

https://xdaforums.com/xperia-xz/development/project-energy-aware-scheduler-xperia-xz-t3639515
[Xperia Z5 Premium Android Development] hy_edl048:
How about 32.4.A.0.160?
[Xperia Z5 Premium Android Development] pandan80:
Sony haven't release sources for 7.1.1
[Xperia Z5 Premium Android Development] arshia.sunboy:
is this kernel work on z5 premium dual e6833 android 7.1.1 ?

if answer is yes please say what file and link.thanks
[Xperia Z5 Premium Android Development] pandan80:
pls ready the previous post....do a smart xda member
[Xperia Z5 Premium Android Development] DarkSilentSC:
Clearly you are not reading any of the previous posts in this thread.

7.1.1 source is still unavailable so this kernel is for 7.0 firmware.

I have yet to see this kernel working for E6883 though for any of the releases.
[Xperia Z5 Premium Android Development] arshia.sunboy:
read?ok .ready to read:D:D:D:D
[Xperia Z5 Premium Android Development] pandan80:
oops sorry im tired LOL
[Xperia Z5 Premium Android Development] p1e9t9e2r:
First of all thanks for the work on making these kernels.

Are these three kernels independent with each other when considering those changes, or they are actually incremental versions building on works of previous version?

(which means the safetynet patch is also included in kernel three?

not seeing any version numbers makes me a little confused XD
[Xperia Z5 Premium Android Development] XxAkIMxX:
Thanks for giving us a great kernel. Btw after using the latest version, my phone completely laggy. I install fresh rom and flash root. Everything seems stutter even scrolling. You really do a good job making the device cool. In 7.1.1 my phone get really hot(uncomfortable to hold the device) when play online game such as mobile legend. After using ur kernel im very impressed that the device only warm (far cooler than 7.1.1). The downside is that i felt a major drop in performance. In 7.1.1 i can play games ML in medium graphic with little lag (cpu throttle) but in this kernel i need to set the lowest because of the stuttering (device still cool). So the whole point is my performance is like cpu being throttle heavily but the device cold as ice. Even typing this i encounter screen freeze and delay. Also when watching youtube, ads video turns to very loud noise. This is not happening to the youtube content itself. I also test playing offline video using mxplayer and the problem still occur (sound like tv with no channel). This only happen when using headphone.
[Xperia Z5 Premium Android Development] _LLJY:
Energy aware sched requires proper Powerhal and blobs, that's why you can see this stuttering.

They aren't very hard to port, but do require some playing around with selinux in order for perfd to work correctly (I'm still faffing around with it) i think the proper blobs and kernel should come to the Z5C thanks to my bud [MENTION=5997713]nzzane[/MENTION]

As for the Z5P, I'm not sure, I don't have a Z5 anymore.
[Xperia Z5 Premium Android Development] Zero-21XX:
https://developer.sonymobile.com/op...uild-aosp-nougat-for-unlocked-xperia-devices/
[Xperia Z5 Premium Android Development] _LLJY:
Wrong link

For the record, Sony hasn't released the tarball
[Xperia Z5 Premium Android Development] amprich:
In order to flash this kernel, Is there any suggestion where I can download and flash a stock rom FW 32.3.A.2.33 with recovery for E6883? I can't find it on Flashtool XperiFirm.
[Xperia Z5 Premium Android Development] zacharias.maladroit:
Oh - and it will be even better once the HAL is ported & adapted ,

the current implementation leads to lots of low frequencies being used while the higher ones are hardly being utilized - therefore it's natural the device is cooler

++

the things is it not only needs porting, it needs adoption & tweaking since there's no dedicated PowerHAL available for msm8994 (Snapdragon810) [from msm8996 or related]

From [MENTION=6791680]_LLJY[/MENTION] 's experience it definitely seems to make the device run colder & more efficient,

so let's hope there's not any insurmountable obstacle that can't be fixed while getting EAS on the Z5 family to work :)
[Xperia Z5 Premium Android Development] zacharias.maladroit:
You checked each and every region ?

It should be at least available in one of the usual suspects (Nordic, Australia, etc.)
[Xperia Z5 Premium Android Development] DarkSilentSC:
Question: When you said in previous post about how the EAS kernel was available for LineageOS variant on Z5 as well, while flashing on stock ROM causes all kinds of problem, were you saying that just for the Z5 series, not necessarily for Z5P? Sorry if I was jumping bunch of replies in thread, but the EAS kernel here seems to be for the stock ROM (since the splashscreen is from stock), and which cannot be used in other custom ROMs. Or rather, I'm still having issues booting using this kernel >.> I'll just patiently wait for .160 version...
[Xperia Z5 Premium Android Development] zacharias.maladroit:
The scheduling/frequency issues also exist for CarbonROM/LineageOS (where the frequency stays low & video playback stutters),

the issue with the Z5 compared to Z5 Premium is that Z5 has some limitations or brickwalls that prevent certain configurations from booting - AT ALL (the phone just stays at splash screen) or from entering the ROM (for whatever reason certain system processes don't launch)

these limitations do NOT happen with the non-stock ROMs (CarbonROM, LineageOS).

So EAS on non-Stock ROMs (+ Stock Kernel - since we're running CAF with Stock Kernel with a few changes) is possible on all Z5 devices,

only EAS is pretty much a hassle on Z5

Hope that clears things a bit
[Xperia Z5 Premium Android Development] mhyr:
version 3 , installed through twrp on rooted e6833 nougat 7.1.1 build .160 not booted after wave screen it reboots again and again , factory reset through twrp not worked it reboots again
[Xperia Z5 Premium Android Development] korom42:
Any chance to get this running on regular Z5 E6653 for stock ROM not LOS?
[Xperia Z5 Premium Android Development] zacharias.maladroit:
what for ? :confused:

performance isn't there,

frequencies are stuck at lower levels,

video playback and camera are laggy,

support already has been dropped on XZ

Battery consumption (extrapolated - probably) isn't really lower compared to HMP scheduler once all frequencies are available,

and full performance still is NOT available (I tried it by forcing the cores to max frequency only - and it's worse compared to interactive governor with HMP scheduling),

thus it would still be worse compared to the default scheduling mechanism.

Then there's the work needed to implement the ROM-side changes to make it work.

So much effort for so little gain :(