yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] zacharias.maladroit:
yeah, that's more and more the plan,

Thanks

Thank you very much, that's exactly what I was looking for,

that's what I can work with :good:

edit:

.31 with Thunderplug also works with video recording and feels smoother,

so there were quite a few regressions in the newest Kernels

edit.

Look, the message has crystallized that .12 is best at least in terms of stability,

but only referencing to it doesn't help much to further improve it

Thanks
[Xperia Z5 Android Development] toncheee:
Please remember to fix cyan led ;)
[Xperia Z5 Android Development] Phazonclash:
I'm still on .31 Thunderplug, with great stability / battery life / UI smoothness (and video recording works)

That's the build to use in my opinion ;)
[Xperia Z5 Android Development] sirdoha:
Your battery can last for how many days?

Mine is just 1 day. Now I have to back to V12
[Xperia Z5 Android Development] Phazonclash:
Couldn't say how many days it lasts (I charge it every night), but with my current ROM/kernel/settings, I usually get between 5 and 6h SOT. Pretty decent for that phone (and its small 2,900mah battery)
[Xperia Z5 Android Development] zacharias.maladroit:
confirmed,

2 days ago battery was down to 15% and the SOT was 6h+ hours, 1-2 hours of video playback and 2-3 hours of music playback

<-- that value is usually the accumulated usage of 2-3 days (that one was afaik 1-2 days, which is an exception, since I usually do not use the phone that extensive)

afaik that's even better than what I usually got with my Note 3 :confused:

If that is not enough you might need to get yourself a phone with 4800 or 6000 mAh ;)
[Xperia Z5 Android Development] albertobom:
Or have always a powerbank with you. ;)
[Xperia Z5 Android Development] zacharias.maladroit:
lol - or that :D
[Xperia Z5 Android Development] DaveKing:
Well, don't want to start a different subject. But look for project skynet. The last available works flawless with Z5 and helps a lot in battery life, cause it automatically use scripts to stop unwanted processes. It works and it is not a placebo as people like to say. As for the stability, in my smartphone I hadn't any issues whatsoever. In terms of performance, in battery mode is just incredible... And battery can achieve 3/4days. I will post screen in here after dinner. ?
[Xperia Z5 Android Development] DaveKing:
Well I wanted to let you know some of the excellent performance of this Zach kernel with Skynet Project. It's incredible what I get daily. 2 days is normal, has you can see I used GPS and had the screen turned on about 3hours, 3G on, and Bluetooth always on since 100%. Will post screen of battery and of performance later when charge the phone.

Cheers
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=2432329]DaveKing[/MENTION] can you please send me a PM with the zip-file ?

I'd like to see what the scripts (app ?) do

Thanks !
[Xperia Z5 Android Development] albertobom:
Here dear friend https://www.androidfilehost.com/?fid=24499762635998635
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=3923492]albertobom[/MENTION] Thanks mate :)
[Xperia Z5 Android Development] LMcR92:
That is a very old version.
[Xperia Z5 Android Development] sirdoha:
Hey Jach! Thanks for your tips. But What's version of Sunkernel do you use?

;)
[Xperia Z5 Android Development] zacharias.maladroit:
42 is the answer to everything, so this kernel might be the answer to everything ;) :

Multi-Hotplug + MSM_Performance kernel (reliability testing) :

Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=95179 SunKernel_for_Z5 253_I_VI.1_2_42_multi (bricked-msm_hotplug-intelli)

https://www.androidfilehost.com/?w=files&flid=95186 SunKernel_for_Z5 253_I_VI.1_2_42_QC (qc = qualcomm, MSM_Performance + Core_CTL)

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

TODO:

(Notes for myself)

- [FIXME] need to see if the fix for https://ucrtoday.ucr.edu/39030 , http://www.heise.de/security/meldun...pern-HTTP-Verbindungen-von-Linux-3292257.html can be get to work

Notes:

Several commits that fix trouble have been added, so this kernel should be

more

reliable

Kernel Adiutor from PlayStore is currently acting up a bit with switching between MPDECISION and Intelliplug or MSM_HOTPLUG, also the new overhauled UI has some functional limitations

(functions removed or currently not working):

Meanwhile use:

Kernel Adiutor-Mod [V15] [18JUL2016]

no offense to the Original author of Kernel Adiutor, this tool simply offers the bells and whistle the Kernel currently needs, otherwise resorting to console input (or scripts) is needed

Thanks

This Kernel should have matured a lot, if this is confirmed to work on the majority (or all) of the phones - it will be built for the other Kitakami devices. After this I'll take a full break (offline) from Android, XDA, etc. for a few weeks

Thanks for your understanding :)

Battery efficiency:

Downclock 1.3 GHz (little core) and 1.5 GHz (big core) [limit max frequency via e.g. Kernel Adiutor or EX Kernel Manager]

For those use interactive governor, otherwise the UI might not be smooth enough and sound might stutter.

Mentions:

(additional ones)

thanks for [MENTION=6791680]_LLJY[/MENTION] + Beta tester crew and [MENTION=5627933]androidexpert35[/MENTION] for testing !

Sauce:

https://github.com/zachariasmaladro.../commits/Sun-Kernel_32.2.A.0.253_vI_VI.1_2_42

Thanks & Enjoy !
[Xperia Z5 Android Development] zacharias.maladroit:
.42 Kernel, always the latest, never going back :o
[Xperia Z5 Android Development] korom42:
Stock ROM .253

Tried the 253 kernel version

Then I flashedvlatest betaSU 2.76 and latest systemless xposed v86.2 framework immediatly after flashing this Kernel. I ended with bunch of bootloops.

I used flashtool to restore my system , and tried again ... same thing.
[Xperia Z5 Android Development] RyTekk:
I like it :laugh:
[Xperia Z5 Android Development] -DM-:
Are we going forward with the Z5p as well? ;)
[Xperia Z5 Android Development] zacharias.maladroit:
I need a bit more feedback from certain people on the Z5 (you know who you are :p ),

who had trouble in the past with the kernel not booting,

so that I can decide to build also for the other Kitakami devices

and whether to switch to Thunderplug,

it's somewhat cumbersome having to build 3x4 kernels which cannot be automated

Thanks
[Xperia Z5 Android Development] Dockyy:
Hi ! very stable kernel since few days, no random reboot.....

but why not include thunderplug in _multi version ?
[Xperia Z5 Android Development] albertobom:
Dear [MENTION=3037651]zacharias.maladroit[/MENTION] I'm confuse. Which kernel should I pick from the two versions (42)?
[Xperia Z5 Android Development] goRt:
The second one is more standard
[Xperia Z5 Android Development] Dockyy:
can you pm me the last zip version :)
[Xperia Z5 Android Development] sirdoha:
Btw, which is better in terms of battery and stability: QC or multi? V42 offer both of them. :)
[Xperia Z5 Android Development] Dockyy:
multi is better for battery

QC is performance...
[Xperia Z5 Android Development] RyTekk:
Actually QC for stability, bricked hotplug is reported that has better performance than qualcomm.
[Xperia Z5 Android Development] toncheee:
.42 won't boot on my device, just like any other version except .12

Just stuck on Sony logo, and then 4 blinks of red led...

So I'm back on. 12 :(
[Xperia Z5 Android Development] zacharias.maladroit:
Okay, so Thunderplug looks somehow more reliable,

did the Kernel with CPUQUIET also boot for you ?

Please test:

http://xdaforums.com/showpost.php?p=68016355&postcount=261

Come on ! .31 booted for you, don't make things harder than they are :(
[Xperia Z5 Android Development] zacharias.maladroit:
.31 Kernel with Thunderplug worked for you ?
[Xperia Z5 Android Development] toncheee:
.31 booted first time, after one day of usage and first reboot it didn't boot again :(
[Xperia Z5 Android Development] zacharias.maladroit:
<-- so that was for Thunderplug kernel ?

Please write a detailed list of system tools or apps that you are using on your phone,

also the exact ROM, scripts, etc.

Agreed, some of the hotplug drivers might appear more fragile and unstable or even some of the changes,

but I've made sure to fix lots of them and address potential issues,

so in the end what remains are optimizations and security and stability fixes

There was a 2nd question: did the kernel with CPUQUIET work for you ?
[Xperia Z5 Android Development] the_brad:
I've had the same issues since V.31 (on my Z5P). The "Fingerprint hardware's not available"-bug started with the same version. That was the main reason why I decided to start all over again. I took backups of userdata and apps with titantium, restored every single bit with flashtool (.253), flashed my DRM-Keys (flash_dk) again. Been using the stock kernel, modified with tobias.waldvogels rootkernel-tool (disabled RIC, Verity, no integration of SuperSU or xposed, installed DRM-patch) and TWPR 3.0.2.

Then I installed SuperSU 2.76 and Xposed v86 via recovery. Everything worked fine until I began to install Xposed modules and activate them.

I tried to figure out, which one causes the trouble, so I ticked on by one and took a reboot after every single one. And here comes the surprise: It doesn't matter which order I take, sometimes it bootloops, sometimes it boots fine. So my guess is a combination of two or even more modules.

And another thing: I'm pretty sure, that my device bootlooped with a clean system and V31 and V34 as well. That makes the hunt even more difficult for me.

Is there any method, I can use to find out, what causes my problems? Right now my device takes the 30th loop (or something that high) and I'm sure, it will boot up normal, if I stay patient enough...

Btw, I will add a list of my active xposed-modules, once my device comes back up.

Sorry for that long text :)
[Xperia Z5 Android Development] toncheee:
i use LLJY script --> init.qcom.post_boot.sh

And kernel auditor

After flashing kernel I reflash Supersu 2.76 and then reboot.

.31 had thunderplug, and booted only once. Worked for one day and after that on reboot stuck on Sony logo for a while, and then screen turned Black and led flashed 4 times red.

All other kernels except .12 acted the same, stuck on Sony logo for a while, and then screen turned Black and led flashed 4 times red.

Which kernel is with CPUQUIET?
[Xperia Z5 Android Development] sirdoha:
.12 brings the best battery life and stability, and the #2 is .31

.42 (newest) with .qc is very good on performance and stablity but is still hot, thus battery life is worse than .12

In conclusion, for daily use .12 is the best

for gaming .42 is a good choice.

Thanks [MENTION=3037651]zacharias.maladroit[/MENTION] for your hard work! :good:
[Xperia Z5 Android Development] the_brad:
And that is the main mystery IMO!

Mine does the same. But what changes on the inside, that shows it's impact not earlier than 20+ hours of uptime?:eek::confused:
[Xperia Z5 Android Development] albertobom:
Did you try to flash androidexpert35 mod? Works flawless with version 42 and at cool temperatures.
[Xperia Z5 Android Development] sirdoha:
Yes, I did with V31. Haven't tried on V42 but will try now.

BTW, Which variant of V. 42 you use: qc or multi?
[Xperia Z5 Android Development] albertobom:
QC works the best for me.
[Xperia Z5 Android Development] zacharias.maladroit:
Please replace init.qcom.post_boot.sh with stock,

troubleshooting presumed kernel issues with modified ROM and userland doesn't really show if the kernel is at cause

Thanks !
[Xperia Z5 Android Development] Fekajo:
Hey i am E6633 users ( same as E6683 )

I will like to try too :)

Yes we need dedicated build because with E6653 build sim don't work and sd card too :)
[Xperia Z5 Android Development] zacharias.maladroit:
Alright,

I hope that works with the sumire_dsds_diffconfig , too

according to http://developer.sonymobile.com/downloads/whitepapers/xperia-z5-dual-e6633-and-e6683-white-paper/

it supports less LTE bands compared to the E6683,

what Market or Region of the World is that from ?

Thanks
[Xperia Z5 Android Development] Fekajo:
My E6633 are from France. You can build for E6683, all works on E6633 :)

Currently, I use the monx kernel (for E6683) and i do not have any problem with the network
[Xperia Z5 Android Development] _LLJY:
Try Lspeed mod, it can give you better performance and battery life
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks a ton !

Before applying that though I'll have to run a backup and inspect what parts it all does changes to :)
[Xperia Z5 Android Development] zacharias.maladroit:
Xperia Z5 dsds (Dual) [E6633/E6683] supported Kernel is attached in first post

Enjoy :)
[Xperia Z5 Android Development] Dockyy:
thanks for your amazing work !
[Xperia Z5 Android Development] zacharias.maladroit:
Okay, got the chance to look through the changes,

some I don't agree - but specifically the Improve_battery ones are interesting :D

How much of an improvement did it give you in terms of battery drain and/or runtime ?

Thank you :o
[Xperia Z5 Android Development] JerryLaiHMmmmmm:
Definitely :)

Testing.....

---------First edit--------

Booted, everything seems fine (RIL, camera, wifi, bluetooth)

But no recovery and therefore no root.....
[Xperia Z5 Android Development] _LLJY:
They disable the Google play services wakelock so thats already a huge improvement in battery life, so far I've seen about 5-10% better battery life and about 10-15% better standby, would be better if your kernel was a little more battery optimised
[Xperia Z5 Android Development] xanya:
Is there any Z5 Compact (E5823) version in planning? Thanks in advance :D
[Xperia Z5 Android Development] zacharias.maladroit:
agreed, that hotplug approach appears to be somewhat of a battery sucker,

and with Intelliplug balanced feeling like the biggest of those ;)

oh dear,

will have to write a generic build-script for this then :D

okay, I'll take a look
[Xperia Z5 Android Development] zacharias.maladroit:
Kernel Sauce:

Sun-Kernel_32.1.A.0.xxx_AP-mod-v21_I.2_1_7_OKAY

Changelog:

- Kernel-Base [MENTION=5169444]AndroPlus[/MENTION] v21 with some changes

- further IDLE and battery/runtime efficiency improvements

- Bluetooth fix - for device disconnect on idle timeout (HIDP devices)

- CPUQUIET hotplug Framework from Nvidia (runnable threads governor; port from AOSP Kernel)

- TONS of fixes from [MENTION=5243932]Tommy-Geenexus[/MENTION]

- Faux Sound Control (due to high demand)

- ...

- compiled ecryptfs (backup the old one & replace in /system/lib/modules)

tons more - will fill out later

Need feedback
[Xperia Z5 Android Development] Dockyy:
wow so much govnernor ! thx ;)
[Xperia Z5 Android Development] zacharias.maladroit:
haha, yeah - great choice and great power ;)

Everybody testing these kernels - please please let me know about "scheduling problems"

- stuttering during games (doesn't have to be a long test)

- high quality video watching

- ...

Thanks !
[Xperia Z5 Android Development] mpro420:
Thanks for your hard work
[Xperia Z5 Android Development] _LLJY:
Faux sound works fine, battery has improved quite a it and so has stability, haven't tried encryptfs
[Xperia Z5 Android Development] RyTekk:
You should have a changelog post in first page. Btw, I've not used your kernel ever but don't know why I like it, would try yours after I get a TA backup.
[Xperia Z5 Android Development] zacharias.maladroit:
Thank you !

Awesome !

Thanks !

Okay, I'll see what I can do
[Xperia Z5 Android Development] _LLJY:
This is wierd my drm keys seem to be intact and drm features still work hmm
[Xperia Z5 Android Development] zacharias.maladroit:
Can anyone please share a repacked Stock kernel.img with tobias.waldvogel's repacker,

that also has TWRP included ?

Thanks in advance :)
[Xperia Z5 Android Development] the_brad:
I hope, .elf fits your needs (don't know, how to build .img-files)

one drive with creation log
[Xperia Z5 Android Development] zacharias.maladroit:
Thank you !

oh, that's for the Z5 Premium, nice !

Now I also need one for the Z5, anyone ?

Take your time,

Thanks :)
[Xperia Z5 Android Development] _LLJY:
Zach I sent one for you in WhatsApp pm
[Xperia Z5 Android Development] zacharias.maladroit:
.224 - afaik I already have that,

thank you !

Now need one with .253 kernel (ramdisk changes)

Thanks in advance :)
[Xperia Z5 Android Development] the_brad:
You're welcome
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks a lot for both ! :)
[Xperia Z5 Android Development] korom42:
tbh idk what's that , by the way I'm confused with downloads , maybe thread needs to be re-organized :confused:

I tried the one from this post :

Post #241

Should I try this one instead ?

Post #261
[Xperia Z5 Android Development] zacharias.maladroit:
yes, the one from post #261,

in case of doubt, the listing view on AFH helps quite a lot:

https://www.androidfilehost.com/?w=files&flid=81821

(there's also 1_2_26, but the changes are only minimal compared to .24)

Thanks for your interest, help & testing ! :)
[Xperia Z5 Android Development] korom42:
flashed kernel + Supersu + Xposed

Results : bootloops and weird horizontal glitches

Edit : surprisingly phone booted after flashing twrp 3.0.2 via ADB + reboot

Edit : stuck in bootloops again after one reboot
[Xperia Z5 Android Development] albertobom:
Try this please:

1. Wipe through recovery everything except internal storage and external SD card.

2. Now flash latest sunkernel v42 QC, flash your rom, then let device reboot IF you get bootloop, flash sunkernel v42 QC again. Let device boot normally and when you get it to boot flash Supersu System Mod and Xposed IF you have to.
[Xperia Z5 Android Development] zacharias.maladroit:
:good:

Yes, flashing several things at the same time

doesn't work out well with Stock ROMs,

especially XPosed - with that I also get a Bootloop or the ROM gets stuck at loading screen

edit:

also let me know, how the following Kernel works out:

https://www.androidfilehost.com/?w=files&flid=95750

edit.
[Xperia Z5 Android Development] zacharias.maladroit:
Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=95750 SunKernel_for_Z5 253_I_VI.1_2_44_2

<-- this should work BOTH on .224 and .253 ROMs (it DOES for me)

Notes

Android timeout (for me, Zach) is in effect starting NOW (August 16th until at least END of August) - so no development, PM, answers, etc.

Sauce

https://github.com/zachariasmaladro...ommits/Sun-Kernel_32.2.A.0.253_vI_VI.1_2_44_2
[Xperia Z5 Android Development] RyTekk:
Apply governor on boot by init.qcom.post_boot.sh causes kernel panic, don't know why, maybe those governors aren't meant for big.LITTLE or certain hotplugs.
[Xperia Z5 Android Development] sirdoha:
Have anyone tried the lastest kernel (SunKernel_for_Z5 253_I_VI.1_2_44_2) yet? How is its performance, battery consumption and stability compared to V12 and V34?

Edit: I'm flashing V44_2, will try it and report soon
[Xperia Z5 Android Development] Pandemic:
Oops edited wrong thread bro, sorry
[Xperia Z5 Android Development] _LLJY:
For me it works fine.
[Xperia Z5 Android Development] toncheee:
Put back original init.qcom.post_boot.sh And managed to boot .44_2

For now all is good :)
[Xperia Z5 Android Development] H.Khanh:
I don't know why some people get bootloop after flash Zach kernel ? I have not got that ever ,even when clean flash or update from another kernel in current rom
[Xperia Z5 Android Development] toncheee:
Lucky you ;)
[Xperia Z5 Android Development] sirdoha:
It depends on the version of SunKernel. SunKernel is not totally stable since it is currently "WIP".

(Vietnamese: No phu thuoc vao phien ban SunKernel ma ban su dung. Toi cho rang SunKernel khong duoc on dinh cho lam boi vi no dang trong giai doan hoan thien).
[Xperia Z5 Android Development] H.Khanh:
Oh My God you you translated it to my language :laugh::laugh::laugh:.but why did you do that,i think my english is fine enough to understand what people say :D

Btw, [MENTION=3037651]zacharias.maladroit[/MENTION] i have never seen any kernel that could imrpove audio quality much ,like yours.Can you tell me how can you do that ?
[Xperia Z5 Android Development] sirdoha:
I know a little Vietnamese, really :o

I've pm to RyTekk using Vietnamese. ;)

Yeah! Replying using another's mother tongue is very interesting, making them really surprising and happy (because they'll find a little pride in their country :)

BTW, which rom are u using? (If possible, vietnamese please :D)
[Xperia Z5 Android Development] H.Khanh:
Yeah iam really surprising and happy now.But we're in a "international" forum so i think English will be better.If you would like to disscuss by Vietnamese.just pm me ;)

Iam using stock Rom ,zach kerel .42 with Rytekk's thermal mod

p/s : I love English Premier League so sometime I also find out about your country :D
[Xperia Z5 Android Development] RyTekk:
By those ASoC commits (and more, I can't take them all)

P/s: actually you can use any language that you wanna discuss with the others, as long as take a translation to English for it (even the English version isn't correct about grammar).
[Xperia Z5 Android Development] H.Khanh:
What's in the picture, files to build kernel ?
[Xperia Z5 Android Development] RyTekk:
Those are commits on github, in this case they're commits/changes to improve the kernel.
[Xperia Z5 Android Development] nreuge:
Since Sunkernel v34, baterry life is a disaster for me... I'm testing every version, and every time a great disappointment.

So, since then I'm using Androplus kernel as my default kernel.
[Xperia Z5 Android Development] _LLJY:
I would love to speak in Chinese, but 1.XDA cannot display Chinese characters.2. I don't think the majority will understand. I take Chinese as my second Language aka mother tongue.

??*??? <Chinese in XDA
[Xperia Z5 Android Development] sirdoha:
Haha. :DVietnamese is the same since XDA doesn't support Unicode (Vietnamese Input Method). Vietnamese Vowel that have accents will be displayed as ? on XDA. However, vietnamese clusters can be displayed because it uses Latin.

Xin ch?*o các b?n (Hello in Vietnamese)

But I found 2 solutions to display Vietnamese: ;)

- Don't input accents. Ex: Xin chao cac ban

- Use . ' ` insteadly. Ex: Xin cha`o ca'c ba.n

Is it right? [MENTION=4798704]RyTekk[/MENTION] [MENTION=4325517]H.Khanh[/MENTION] :)

Btw, [MENTION=6791680]_LLJY[/MENTION] Does your Chinese word means "Okay"?

Sorry if I go to far. :) But XDA will be better if they can display more language.
[Xperia Z5 Android Development] _LLJY:
No it means, Hello
[Xperia Z5 Android Development] sirdoha:
I can't read the text. But in Gmail it display: ? 1/2 and "??" (which means "Alright" or "OK")
[Xperia Z5 Android Development] _LLJY:
All three words combine into one meaning
[Xperia Z5 Android Development] sirdoha:
Haha. :) Chinese is so complicated because it doesn't use Latin. I just can write and speak a little Chinese. But Vietnamese I can write quite fluently because it uses Latin.
[Xperia Z5 Android Development] _LLJY:
Chinese does have a Latin side, it's the pronunciation . Ni Hao
[Xperia Z5 Android Development] sirdoha:
Haha. So you can use it on XDA! :)

BTW, can you suggest any soundmod that is compatible for Z5 running .253?
[Xperia Z5 Android Development] _LLJY:
http://xdaforums.com/crossdevice-dev/sony-themes-apps/mod-xperia-x-sound-processing-ported-t3369645

By [MENTION=5627933]androidexpert35[/MENTION]
[Xperia Z5 Android Development] sirdoha:
Thanks. Just flash 2 files?

Btw: Does it work on your X ROM?
[Xperia Z5 Android Development] _LLJY:
I tested it, it does.
[Xperia Z5 Android Development] RyTekk:
We went too far // Chúng ta đã đi quá xa rồi.

P/s: test :laugh:
[Xperia Z5 Android Development] sirdoha:
Do any guys know how to change SeLinux to permissive. I can't make changes for Android N-ify because SeLinux always at EnForce. I've tried many apps but didn't work.
[Xperia Z5 Android Development] RyTekk:
Add this line to the end of /system/etc/init.qcom.post_boot.sh

setenforce 0
[Xperia Z5 Android Development] _LLJY:
It's always permissive if you use Zach's kernel
[Xperia Z5 Android Development] H.Khanh:
Just "Xin Chao Cac Ban" and people will know ,no need special symbols. :)