yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] zacharias.maladroit:
Didn't test, a version with slightly less changes was tested on Xperia X 2.6R (305 ?) and worked,

now the ramdisk was updated.

Tl;dr:

the kernel is compatible, not sure about the ramdisk

I'm running 5.11 ROM so can't 100% tell

Nope, dalvik cache and /cache

can stay

,

I'm always turning the device off and flashing via fastboot without wiping
[Xperia Z5 Android Development] Wess.a:
Thank you and i will try and get back to you. Great job
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=4559618]CTCaer[/MENTION]

Thank you very much for the investigation & in-depth explanation !

I've had one or 2 similar cases in the past where module and driver related information would change in a significant way but didn't establish the connection to this breakage :confused:

yeah, UKSM unfortunately "broke" lots of stuff, so I had to leave it out - the current KSM implementation works well enough for my requirements :)
[Xperia Z5 Android Development] Wess.a:
Okay! It worked and first impression, it really fast and smooth! Great job. Thanks
[Xperia Z5 Android Development] parydia:
it is compatible with .253 ? :)
[Xperia Z5 Android Development] Wess.a:
Yes
[Xperia Z5 Android Development] zacharias.maladroit:
I made sure of that :)

thanks for confirmation,

so ramdisk doesn't break things ...
[Xperia Z5 Android Development] Wess.a:
At all ðŸ‘
[Xperia Z5 Android Development] koekoek91:
Thanks [MENTION=3037651]zacharias.maladroit[/MENTION]

Latest kernels are superb lately :)

Keep up the great work :good:
[Xperia Z5 Android Development] jezzat:
Do I need to flash a recovery image separately?

I'm planning on flashing my currently unmodified Z5 Dual E6683 to SlimX ROM, with Sunkernel as the dev recommends, and I'll be unlocking the bootloader using the procedure from Sony.

I've done a reasonable amount of flashing on other phones a while ago but I'm not clear whether a kernel includes the recovery, or if I have to flash one separately. (I have found a recovery image, but am not 100% certain it works with the Dual SIM version, so don't want to take a risk if I don't have to).

Could someone let me know if I need to do that before or after flashing this kernel with Flashtool?
[Xperia Z5 Android Development] tatomolina11:
Which would be the best CPU Governor for the 5.11 version?
[Xperia Z5 Android Development] _LLJY:
Interactive
[Xperia Z5 Android Development] tatomolina11:
Thanks!
[Xperia Z5 Android Development] shanpao:
Core fever powerful, power consumption
[Xperia Z5 Android Development] H.Khanh:
Any chance for getting back the FauxSound? I love it so much.At least with that ,my phone get louder sound while using Headphone.
[Xperia Z5 Android Development] langeveld024:
[MENTION=3037651]zacharias.maladroit[/MENTION]

Testing ur kernel right now but can't seem to find any hotplugging mechanisms in kernel adiutor.

Only qualcomm default and can't be turned off it seems.
[Xperia Z5 Android Development] _LLJY:
You can tune the Qualcomm default one, I'll tell you how later

Edit:

Check out this thread:

http://xdaforums.com/xperia-z5/general/root-required-performance-battery-t3376233/page6
[Xperia Z5 Android Development] langeveld024:
Yeah I know how that works but OP says choose hotplugging mechanism right after reboot via kernel adiutor.

I'll like to know how.
[Xperia Z5 Android Development] _LLJY:
It's okay, just ignore it the OP hasn't been updated in awhile
[Xperia Z5 Android Development] langeveld024:
Ah okay, so those where removed? Due to instability I guess?
[Xperia Z5 Android Development] tatomolina11:
I've read something about the kernel bypassing the pokemon Go, is there some kind of guide or something in order to be able to play it without doing the Magisk thing?
[Xperia Z5 Android Development] zacharias.maladroit:
Here's the stuff I wrote to _LLJY to explain:
[Xperia Z5 Android Development] HaoZeke:
I've had good results with the alucard hotplug.. Though its true that msm and thunder plug cause more harm than good..
[Xperia Z5 Android Development] zacharias.maladroit:
is that good or bad ?

Could you please write a bit more elaborate :)

Thank you

It's re-enabled but still needs to be fixed up to fully work (CTCaer's modifications)

take a look at the usual folder ;)

Tl;dr

it's currently still in evaluation:

it works for me + sound quality is seemingly restored [it was rather noisy, lots of white noise, and rough, "crackly"]

[MENTION=5627933]androidexpert35[/MENTION] still needs to test with his headset and see if the sound distortion is gone

still gotta take a look at [MENTION=4559618]CTCaer[/MENTION] 's changes to make it work on the Z5 Compact,

perhaps [MENTION=6126659]PDesire[/MENTION] could compare and take a look if there's anything I missed for the Z5 Premium and it's the same config for Z5 and Z5 Premium,

currently I've very little time for diving into the guts of the kernel
[Xperia Z5 Android Development] zacharias.maladroit:
Awesome !

Thank you VERY much :)

Can you please exactly share how you repack the ramdisk,

when resorting to former methods the phone doesn't boot.

Also:

if you've left out anything that worked badly for you - can you please share it and/or give feedback ?

care to share your additional modifications ?
[Xperia Z5 Android Development] tatomolina11:
Is ti just me or the volume over 70% is really distorted? at least when receiving calls the ringtone sounds really distorted
[Xperia Z5 Android Development] zacharias.maladroit:
Can you test if 5.11_corona_III.1_9_12_7_7_ctl_X

works better:

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

speaker gain on FauxSound works now, so the "max" volume can be achieved but with less distortion [needs adjustment to e.g. -2 or so]

I played back music at close to max volume (which I almost NEVER do for avoiding to harm the speakers) and there was close to no distortion
[Xperia Z5 Android Development] VJSXZ:
Hi bro..

I'm on E6683 dsds stock 305, rooted,UB, no xposed.. Ur kernel is great.. Fast charge.. But I've been having too many sudden blackouts.. Like while taking a call or making a call..during charging too... During those times need to hard reboot using volume keys (3 vibrates)... Can you fix it?

#I don't wanna update to 5.11 coz its terrible in battery life :(
[Xperia Z5 Android Development] _LLJY:
You can flash slimx ROM, I did fix a few 5.11 issues
[Xperia Z5 Android Development] VJSXZ:
Will VoLTE work on SlimX? That's really important which u didn't find in any Rom on xda (except PRF)
[Xperia Z5 Android Development] _LLJY:
Not as of now but im releasing a fix soon.

Check back tomorrow
[Xperia Z5 Android Development] VJSXZ:
Thank you so much.. I'm eagerly waiting..
[Xperia Z5 Android Development] tatomolina11:
Hey I'm using the new one with latest version of Rom X by LLJY and the only flaw besides a little battery drain is that only the upper speaker is working not the one of the bottom. Is there a way to enable it by myself?
[Xperia Z5 Android Development] _LLJY:
Slimx and romx now have a volte enabler flashable
[Xperia Z5 Android Development] HaoZeke:
Err.. I've got to ask.. Why is volte needing special treatment? O.o
[Xperia Z5 Android Development] _LLJY:
Because I accidentally removed something which is related to it
[Xperia Z5 Android Development] HaoZeke:
Oh ok :D

I was getting a bit worried cuz I haven't done anything for it :D
[Xperia Z5 Android Development] core720:
waths is changelog full???
[Xperia Z5 Android Development] islanders:
what's the lastest version please ? im so confused lol
[Xperia Z5 Android Development] sceryavuz:
Thanks [MENTION=3037651]zacharias.maladroit[/MENTION]

It works perfect with eXistenZ ROM.
[Xperia Z5 Android Development] XpRoPhEtX2015:
zacharias.maladroit,

Great work bro!
[Xperia Z5 Android Development] sceryavuz:
Hi [MENTION=6231309]XpRoPhEtX2015[/MENTION]

After update to latest kernel, we need to re-root again to use eXistenZ ROM.

1. Install phh's SuperUser : Google Play

2. Flash superuser.zip via TWRP to re-root boot.img : phh's Mirror
[Xperia Z5 Android Development] whalesplaho:
Wish i can use existenZ rom buh read bout bugs always and not really compatible with Xposed!

---------- Post added at 08:59 PM ---------- Previous post was at 08:51 PM ----------

@zacharias.maladroit on previous version only top speaker working... Hope both top and bottom speakers ll work now.

Thanks always
[Xperia Z5 Android Development] zacharias.maladroit:
Why shouldn't both speakers work ?

last time I tested both worked

5.11 Stock ROM

edit:

just tested: output comes from BOTH speakers,

must be configuration or ROM issue
[Xperia Z5 Android Development] whalesplaho:
I dnt know if its rom or kernel buh i remembered when i flashed tha rom and tha first kernel release for 5.11 it was working until i flashed tha second update release for tha kernel den noticed. Maybe it isnt kernel tho, cant say!!!
[Xperia Z5 Android Development] zacharias.maladroit:
New Kernels are UP ! (5.11_corona_III.1_9_12_8_2_ctl_X)

Stability Hotfix (thermal-engine, cpuidle crash) [

TESTING

] )

Commit-based form of changelog:

git log --pretty=oneline a1a44f5809da69a742f11d734b506d5928fddbad..HEAD

9ddbefd9f3deacf57fa18e7459a1106aafddb6a7 localversion
7eb6328eced607ea21d7c584120a7666fe3a4fbf Revert "cpuidle: don't disable cpuidle when entering suspend"
612e33421681b586be3ce1db9b2b4dc5eec474f6 Revert "msm: thermal: Use phandle to input the cluster cpu map"
5b37bef7b713ab0743a30546799b49b1d8a01624 Revert "msm: thermal: Use CPU phandles instead of cpu mask in KTM"
e9d3ef69478e5bc7b8c74d7572358fbd4f16f75f Revert "msm: thermal: Fix KTM code to check psm is enabled before handling it"
67142189e4a6c74f0caa5a402326d6a72dbdda46 Revert "msm: thermal: Update scm calls in KTM with non-atomic calls"
7d38d566cc6e150f79531b82d4aafafcfbe9501a Revert "msm: thermal: Retry on failure to hotplug"
35096150dc7152a172f15d458d7521c103c0069d Revert "msm: thermal: Fix sensor number printed during thermal WD bite"
5b2b2431b5b6678058d88decd207589d099406f0 Revert "msm: thermal: Add support to read KTM thermal configuration"
3fb901ba3ca1eb3448393b4d8fce77175b997a31 Revert "msm: thermal: Add support to disable KTM mitigation via debugfs"
57fdf696e27ccc661d656b7393cec4befdd4586b Revert "msm: thermal: Add kernel boot command to disable KTM"
d6bcad0c60eca12573623b1c41c24de159892b6a Revert "msm: thermal: Support new DT properties to disable KTM feature"
db05b93b8d99151942e93c8103b42ebba539243a Revert "msm: thermal: Fix zone id to tsens map lookup"
cba81424857e4e23af319b8fa17e482733be6e5b Revert "msm: thermal: Register for panic notifier on successful probe"
3a75678e662179d731a4120b247365c9be0febd0 Revert "msm: thermal: Add support for sending CPR temperature band"
d70e6d54846095dc2ce761d3d2ddf7598b573551 Revert "msm: thermal: Add support for Cx restriction at low temperature"
e86b2def1655028adcd89c77610ae3a0b179366e Revert "msm: thermal: Add support for bandwidth limit(BWLM) feature"
5aac40ff08fe27b64ed4d219a1166a2f8d3a2921 Revert "msm: thermal: Configure core sensor id on emergency frequency init"

Human readable form of changelog:

[Download] How to get the Kernel(s) - Step by Step:

Important Notes:

Do NOT restore previous settings of Kernel Adiutor, Kernel Adiutor Mod, EX Kernel Manager, etc.

since that might lead to crash of thermal engine !

Also do NOT use BOTH core control + temperature throttle for "Thermal / Thermal Engine"

Enjoy ! :)
[Xperia Z5 Android Development] HaoZeke:
Hey I know this is a sort of weird question but, Zach.. Why don't you import this thread into devdb? O.o
[Xperia Z5 Android Development] sirdoha:
Maybe it would takes lots of works for unnecessary stuffs like this. Bro zach even doesn't have time for rearranging this thread. We should understand that for him, who works so hard for our community :)
[Xperia Z5 Android Development] HaoZeke:
No no it's precisely because it's hard for him to manage the thread that I suggested it... In devdb projects you can edit the first post to be as large as you want, and you can add reserved posts at any time.. So he wouldn't have this issue of posts being all over the place.....
[Xperia Z5 Android Development] Duvel999:
The latest kernel has good battery life.

Only have to flash systemless root on existenz Rom again.
[Xperia Z5 Android Development] shanpao:
Which version do you use? 5.11_corona_III.1_9_12_8_2_ctl_X or 5.11_corona_III.1_9_12_8_ctl_X
[Xperia Z5 Android Development] Duvel999:
8_2_ctl_X
[Xperia Z5 Android Development] whalesplaho:
[MENTION=3037651]zacharias.maladroit[/MENTION]

Which settings is best to setup for tha kernel for good battery life and performance using a kernel manager like kernel aduitor or exkernel manager?

Thanks
[Xperia Z5 Android Development] shanpao:
Okay thank you!
[Xperia Z5 Android Development] whalesplaho:
was thinking if adding TA.img dat was backup to tha kernel is needed?

Just curious..
[Xperia Z5 Android Development] -DM-:
Use restore-drm-keys.ftf if you backed up your TA with iovyroot...so all your keys will be active.

Otherwise as is right now only some will be emulated...
[Xperia Z5 Android Development] whalesplaho:
I have my TA backed up using ivyroot... Was just asking if it can be used on dis ROM and how to use.?
[Xperia Z5 Android Development] goRt:
This is a kernel NOT a ROM
[Xperia Z5 Android Development] whalesplaho:
yhu dnt get my point..... TA.img is for kernel not rom!

i was talking bout using dis kinda of method.

https://xdaforums.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605
[Xperia Z5 Android Development] -DM-:
The kernel is repacked with drm fix from rootkernel tool and will make use of your TA backup...

But you have to use "flash_dk TA-####.img" command to create restore-drm-keys.ftf and then flash with flashtool...

You can't integrate your TA image in the kernel...

Just read again the link that you provided, it's all explained in there ;)
[Xperia Z5 Android Development] whalesplaho:
i tried making restore-drm-keys.ftf which rootkernel tool using flash_dk TA-(my code).img but sends dis output...

"Usage: flash_dk <ta image backup> <flash file>".... help please!

thanks
[Xperia Z5 Android Development] -DM-:
Open a command prompt while in the rootkernel folder and type

flash_dk TA-NUMBERS.img restore-drm-keys.ftf

(not just "flash_dk TA-NUMBERS.img") that should return “restore-drm-keys.ftf“

Then put the ftf file in "USERPROFILE/.flashTool/firmwares" and flash it with flashtool

You can then check in services menu under security if it worked, all your keys should show "active" and fido should show "provisioned"
[Xperia Z5 Android Development] whalesplaho:
What it created was just 1kb (473bytes precisely).... Is it safe to flash and flashing over sunkernel wont cos any harm right?
[Xperia Z5 Android Development] -DM-:
You're all good...

I restored mine a long time ago when iovyroot came out and I just had bought my Z5P...

You can flash it without any issues, you can check if it worked as I stated in previous post...
[Xperia Z5 Android Development] whalesplaho:
Thanks a ton buddy... I ll give it a shot and post back!

---------- Post added at 08:29 AM ---------- Previous post was at 08:25 AM ----------

Please reply moi on dis anyone....
[Xperia Z5 Android Development] koekoek91:
I dont think there is a best settings for everyone, but im willing to share to you my settings.

I can not promise to you it will work okay for you however, but these settings are what I am using without issues.

Some things, like entropy for example I just leave at default.

EDIT: if anyone looking at my settings has any suggestions about something I could be better of changing, I'm always open to suggestions :)
[Xperia Z5 Android Development] whalesplaho:
Out of thanks... Surely coming back here!

#Yaay:highfive::good::victory:
[Xperia Z5 Android Development] tatomolina11:
Hey is it kernel related, or rom related, the bottom speaker is not working meaning I dont have stereo sound
[Xperia Z5 Android Development] _LLJY:
Working completely fine here
[Xperia Z5 Android Development] tatomolina11:
I got your rom so I will try to clean flash it!
[Xperia Z5 Android Development] enjelpuspa:
Hi, want to ask. Is it true that setting up max big core to 2054MHz can make the battery life better since it makes tasks finish rapidly? :)
[Xperia Z5 Android Development] Pandemic:
Use governor: interactive ;)

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z5 Android Development] zacharias.maladroit:
It's default, and only with interactive the phone actually boots :)
[Xperia Z5 Android Development] HaoZeke:
Really? O.o is that a bug or...

I mean I know interactive is almost always the first default but I thought that was by config choice...
[Xperia Z5 Android Development] _LLJY:
I've worked with one Xiaomi kernel before, it didn't boot when I set it to performance/powersave default or that might just be me

For our Z5 it might be sony limitations?
[Xperia Z5 Android Development] whalesplaho:
@ zacharias.maladroit is it possible to use kernel aduitor to reduced/decreased heat level on our phones?

thanks.
[Xperia Z5 Android Development] koekoek91:
You can try under thermal to check core control and vdd restriction to see if it helps.

I tried it for a while but I didn't notice a difference. My phone rarely gets hot anymore though even without using these thermal options in Kernel adiutor.
[Xperia Z5 Android Development] whalesplaho:
tried dat tho.... will check again!

out of thanks!
[Xperia Z5 Android Development] whalesplaho:
Seems a new kernel is up.... Any changelog please OP?
[Xperia Z5 Android Development] koekoek91:
hey buddy,

just did a quick search because I knew changelog of the latest kernel was up.

Its actually on this same page :P

You can find it here: https://xdaforums.com/showpost.php?p=70392592&postcount=1157

Under human readable form of changelog :)

EDIT: the link I added above is from the changelog of 1_9_12_8 version of the kernel.

Just a little while later he uploaded an updated kernel to 1_9_12_8_2_ctl_X

It had just a couple of small changes (i assume its just minor) which you can find a changelog of here:

https://xdaforums.com/showpost.php?p=70398502&postcount=1164

So the 1 first link in this post from me is changelog ffrom the kernel that came before the latest kernel, and second link is changelog of the latest kernel :)
[Xperia Z5 Android Development] whalesplaho:
Not dat buddy... It has number; 1.9.12.9
[Xperia Z5 Android Development] zacharias.maladroit:
Usually it fixes existing issues or brings improvements

This time:

No questions of Changelog, long changelog, etc. anymore please :o

if it's there:

you're free to test,

but it's not officially announced yet.

As a rule of thumb:

if there are changes on github + a new Kernel of GDrive - it should be release material,

otherwise larger testing

closed testing is usually done from a different folder

github is at:

https://github.com/zachariasmaladroit/android_kernel_sony_msm8994_kitakami_r2/branches

under "Active branches" the one at the top
[Xperia Z5 Android Development] whalesplaho:
What does dis mean, it should be release material?

I was trying to check through tha files on gdrive den i noticed a new number version.... Testing tho!
[Xperia Z5 Android Development] koekoek91:
Oh I see Im sorry, didn't know you were talking about a newer version that's not officially announced yet by [MENTION=3037651]zacharias.maladroit[/MENTION] :p

I'm always open for testing so I might have a look on github tomorrow or later :)
[Xperia Z5 Android Development] zacharias.maladroit:
"release material" == usually ready for "daily driver" usage,

unless I discover a severe issue and upload a newer one
[Xperia Z5 Android Development] zacharias.maladroit:
That looks pretty similar to reports of issues on the ROMs' threads about XPosed,

you're using XPosed Framework ?

It's probably not related to XPosed, but at least these overflow errors can keep the CPU busy and thus cause heating of the device,

this happens on every session of "Clash of Clans" ?

e.g. is it solved after a reboot ?

Is it better

without

XPosed ?

What mods ? What scripts ? What ROM ?
[Xperia Z5 Android Development] sceryavuz:
Hi,

I am not using Xposed Framework. Existenz Rom with your kernel. This logcat repeats every second no mather I use Clash of Clans. CoC use much cpu and gpu that cause heating, with this overflow issue and CoC cause more overheating. No mods. No script. Only clean rom and your kernel.

It will help, if i delete or freeze some apps?
[Xperia Z5 Android Development] zacharias.maladroit:
Ask the ROM creator, I'm not sure what got stripped off the ROM or what exactly is missing here (System.err - java.io.IOException: No such file or directory )

in the worst case you can try disabling logcat via Kernel Adiutor and see if that helps

since it's a system related issue it should be dealt with - in any case
[Xperia Z5 Android Development] sceryavuz:
Thanks for your help and advice.
[Xperia Z5 Android Development] nino321:
link?
[Xperia Z5 Android Development] _LLJY:
Link for what
[Xperia Z5 Android Development] sceryavuz:
Updated links on thread. You have to find :)
[Xperia Z5 Android Development] koekoek91:
Its not that hard to find latest kernel.

You can either bookmark the google drive page of [MENTION=3037651]zacharias.maladroit[/MENTION] his kernels

Second thing you can do is just a quick search on the thread by typing for example: new kernel

You'll get a whole bunch of posts but just have a glance at just zach's posts and you'll find latest kernel pretty easy if you ask me.
[Xperia Z5 Android Development] cakerone:
Sorry.. But it´s hard! I cant find it! :(
[Xperia Z5 Android Development] koekoek91:
No worries, I guess we're getting used to people who can't find it :p

Check this post: https://xdaforums.com/showpost.php?p=70398502&postcount=1164
[Xperia Z5 Android Development] -DM-:
It's a few pages back... A simple thread search brings it up....here, post count 1157

Look in the download section in that post on how to download it and make sure you download for the right device...the latest one is 5.11_corona_III.1_10_1

[MENTION=7328701]koekoek91[/MENTION] you beat me to it ;)
[Xperia Z5 Android Development] koekoek91:
Haha :laugh:

One thing to note though... Kernel versions newer than 1_9_12_8_2 are still in a testing fase, and haven't been officially announced by [MENTION=3037651]zacharias.maladroit[/MENTION]

So for now I'd stick with 1_9_12_8_2...

Unless you feel adventurous and are prepared for possible bugs :p
[Xperia Z5 Android Development] -DM-:
Been testing them alright ;)

5.11_corona_III.1_10_1 is rock solid in my case, a bit muffled phone speakers sound (already reported to Zach)...

Excellent battery as well with my typical usage (mind you I'm on a Z5p)
[Xperia Z5 Android Development] koekoek91:
Cool,

I like to be adventurous with my phone, so ill be testing the newer kernels too.

But not yet because I have school tomorrow and need to be sure I have a stable kernel for now.

In the weekend probably :D
[Xperia Z5 Android Development] -DM-:
All his latest kernels have been pretty stable...Haven't had any problems on any of them in a long while...

Happy testing to you whenever you get to it though ;)
[Xperia Z5 Android Development] koekoek91:
Yep they're all solid lately for daily use :highfive:

Thanks :)
[Xperia Z5 Android Development] zacharias.maladroit:
trolololololololololololololol :p

looks like it could be a ROM issue,

in any case,

I need a stable base - otherwise kernel development is toast :(

find /system/ | grep thermal-engine
/system/etc/thermal-engine.conf
/system/vendor/bin/thermal-engine
root@E6653:/ # file /system/vendor/bin/thermal-engine
sh: file: not found
127|root@E6653:/ # ls -l /system/vendor/bin/thermal-engine
-rwxr-xr-x root shell 9821200 2008-08-01 14:00 thermal-engine

edit:

and it is pretty dangerous, potentially harmful if the thermal handling is defunct,

the kernel-side part might still work (there might be even some redundancy) but I'd still be careful ...
[Xperia Z5 Android Development] whalesplaho:
gat to try out tha new kernel..... i dnt know if its relating to kernel, i get distortion while playing music with walkman when device locks but doesnt happen while im operating tha phone!