yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] Samir SRA:
In call noise problem is very disgusting.

Please do something as soon as possible.

And sound is only with wired headphone ?.

My Bluetooth headphone is working normal.
[Xperia Z5 Android Development] whalesplaho:
Yeah from 65 to 70% and to 100%, tha volume isnt any differs... And when low, very low its still a bit loud but with handsfree its very low until tha volume level is highly increased
[Xperia Z5 Android Development] Hiku:
I was talking about corona branch, aigoo is much better and cleaner.
[Xperia Z5 Android Development] whalesplaho:
[MENTION=7328701]koekoek91[/MENTION] [MENTION=3037651]zacharias.maladroit[/MENTION] i have flashed 33 fw and kernel working fine... Buh seems drain noticeable and phone heats up!!!

Maybe kernel aint fully compatible yet or dnt know cos seems 33 fw has some new files.....
[Xperia Z5 Android Development] koekoek91:
[MENTION=3037651]zacharias.maladroit[/MENTION] I also flashed 33 firmware today :p

Its been only a few hours so I can't speak much of battery life or anything else yet.

But i've noticed one thing with the 1_6_7 kernel.

I don't know if it is because of the kernel, but I can't seem to debloat any system apps (using system app remover from playstore) which used to work fine.

On .378 fw when trying to remove a system app with system app remover, it said everytime it successfully uninstalled an app... but it would still be there even after a reboot.

I also tried to remove the app folder with a root browser by navigating to the system folder and selecting the folder of the app I wanted to delete.... it again says its deleted, but after a reboot its still there.

Now on .33 firmware and 1_6_7 kernel I tried again removing some apps but this time in system app remover it even says ''failed uninstall''.

I also tried with an older apk version of system app remover but still with the same result.

Also I tried again to manually delete the folder of the app I wanted to debloat but still its there after a reboot. So you see I tried some things before writing about it here :)

The final thing that I could think of at the moment to try for now was to flash an older kernel just for the heck of it.

For this I chose Z5_SK_Perm_v376_III.3_5_ctl_X_sum.zip because I remembered it being one of the most stable versions ( from my personal testing).

And guess what... with this kernel I was able to debloat again using system app remover :eek:

After ill be done deleting system apps I will update kernel back to 1_6_7 for further testing....

But any idea what could be going on here? Being able to debloat on one older kernel, but not on 1_6_7?
[Xperia Z5 Android Development] whalesplaho:
Im on 1_6_7 and its working fine... I deleted app from oem/priv-app and deleted successfully.... I deleted some apps from system/app and system/priv-app and no issues!

I have debloated some apps, deodexed and superusermod too... I dnt know why dat happens tho.... Sound seems great on 33 fw and kernel with high performance in kernel adiutor, no sound mod installed yet and im getting good sound buh not as loud as wif tha soundmod i used before buh bass crispy and sound clear.

I have LSpeed+ForceDoze+Greenify+Kernel adiutor+ExKernel Manager to disable wakelocks.... No power supply here now, thinking of charging full and check tha idle drain tomorrow mawning.... Hope power supply current tonite!!!
[Xperia Z5 Android Development] koekoek91:
Maybe it might just be an issue on my end. The debloating.

Just wanted to report it and maybe read what zach thinks about it, if he has time to read and reply.

I will start doing battery and sound testing probably tomorrow night or on friday, because i still need to configure my phone first :p
[Xperia Z5 Android Development] whalesplaho:
Good... Yhu might post yur config too just for sake!!!

Yur feedback is always paramount to this thread. I love yur analysis!!!

Just saying.... I patched tha kernel again with poc tool and i added ta.img i backup, remove drmfix, installed latest twrp 3.1.0......
[Xperia Z5 Android Development] koekoek91:
What config should I post? Not sure what you mean :p

If you mean the apps I use at the moment... Greenify + ForceDoze + EX Kernel Manager + Disable Service / MyAndroidTools, and for monitoring DevCheck and BBS

My Kernel Adiutor settings usually stay the same for a long while, unless I am just messing around trying to find out new things, but such settings I won't post.

I'll always only post settings that I feel confident are working well for me and that I feel confident enough about that they might also work on someone else's Z5 or atleast won't mess anything up.

But i've moved to EX Kernel Manager instead of Kernel Adiutor.

I might post settings later but im still beginning to learn to work with this app so its to soon.

Also I mostly just use the same settings as I used in Kernel Adiutor, only EX Kernel Manager seems a bit more reliable to me and more user friendly and a couple more features.

I might try L-SPEED sometime soon too.

Have tried it before but I wasn't really impressed with it ( but this was mostly because it was on MarshMallow and there we're lots of other apps to chose from thanks to Xposed).

I'll probably give it another try since options are still limited on Nougat because of no Xposed (yet). :silly:

Oh and thanks for the compliment... I try my best to optimize my phone the best I can and try to help others along the way as best as I can :)
[Xperia Z5 Android Development] whalesplaho:
Hahahahahahahahahahaha.... Okay brov!!

1. Hoping to hear from yhu on LSpeed

2. I see ExKernel Manager has alot and yur setup too ll be appreciated.

3. I have ForceDoze too... Whats yur settings?
[Xperia Z5 Android Development] koekoek91:
First I want to test sound and battery life using my regular apps with my usage to see if there's noticable difference in this new firmware.

I'll post some EX Kernel Manager settings later on when I also tested with this some more. LSpeed testing will come after that.

Just quickly had to setup ForceDoze to show my settings, I have to say I dont know if its the best settings. I dont play much with it and some settings come down to personal preference.

On .378 firmware I had very little doze interactive time showing in Better Battery Stats, so disabling greenify's doze / Force Doze one at a time to see if it changes anything is also still on my list to test :p

Settings that you dont see on the screenshots I left alone (doze delay is at 0).
[Xperia Z5 Android Development] whalesplaho:
[MENTION=7328701]koekoek91[/MENTION] thanks for tha screenshot....
[Xperia Z5 Android Development] Samir SRA:
on .33 fw i'm getting issues with sound of music and in call noise cancellation is not working, i can hear all surroundings in my headphone while calling.

dont u having this problem? Z5 Dual E6683

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

Anyone to give me a Solution for my wired headphone sound problem of music and In call noise?????

No sound issues at all with my bluetooth headphone. But I love to use wired headphone.

Plz help/.
[Xperia Z5 Android Development] whalesplaho:
No surrounding noise here n clear while on call.... I dnt have wired headphone buh wired handsfree buh will test today to see, yeah bluetooth works fine... Have yhu tried another wired headphone?
[Xperia Z5 Android Development] koekoek91:
Have you read my post some posts back that was directed at you and Zach?

Or are you having a totally different problem than I described in that post? Please read it again if u aren't sure or havent read it yet.

My tip in that post was to play with the volume level.

It works for me to get normal sound for music.

I haven't tried calling with headset so I don't know about this.

Sound seems to be fine now for me even on 33 firmware and 1_6_7 kernel.
[Xperia Z5 Android Development] Samir SRA:
Yes, tried Sony original headphone and Remax Headphone same issue. :(

---------- Post added at 07:44 AM ---------- Previous post was at 07:08 AM ----------

As much as I understood from your previous post, u said "use a higher volume level, of around 60-75% of the volume bar". But Im having sound problem still at that level.

The problem is exactly same as u said:

"Second thing I have found out is that when having the sound on low volume ( even almost lowest level) it starts pretty loud,

but as soon as the bass kicks in its going less loud and starts to move from less loud to a bit louder to less loud continuously. Bass seems mostly affected by this."

If possible use a wired headphone and make a call and listen, wayyyyyyyyyy tooooooo much sounding noises and sounds are in the call.

everything is good without sound.

And Phone Idle is consuming good amount of battery ,

At night it was 64% at morning after 6.5 hours its 50%. I dont think that it was that much before this kernal.

My wifi was off,

mobile data was off

no apps were running.

maybe 6/8 % increased draining.
[Xperia Z5 Android Development] koekoek91:
I'll make a call later today using my wired headset to see if I encounter the same issue.

Idle drain for me last night wasn't so bad on 33 fw + 1_6_7 with wifi and data turned on both I lost only 2% over almost 8 hours as you can see on my screenshot.

So I'd advise you to install better battery stats app, charge your phone to 100% and unplug and leave your phone alone for for 6-8hrs (don't use your phone at all during this period after unplugging).

Then save an idle log dump so we can have a look at what's keeping your phone awake when it's supposed to sleep ;)
[Xperia Z5 Android Development] Samir SRA:
:eek: seriously 2% only after 7 hours .

installing now the app

but plz bro help me with the sound
[Xperia Z5 Android Development] koekoek91:
I can observe if I encounter the same issues as you are having.

But I don't think there is anything more I can do about your sound problems.

On high volume level I have no issues, from what I understand from your post is that you still have issues on higher sound level.

There is nothing I can do about it.
[MENTION=3037651]zacharias.maladroit[/MENTION] can probably help you best with your sound issues, but he's very busy sometimes.

If the sound is really that bad and unbearable I would advice you to try older versions of the kernel for now until Zach comes back.
[Xperia Z5 Android Development] Samir SRA:
just found this kernel.

everything is way too much good till now.

no sound issues

https://xdaforums.com/xperia-z5/general/ftf-e6603-33-53-83-google-drive-patched-t3581463
[Xperia Z5 Android Development] whalesplaho:
dat is a stock kernel just patched.... yhu can archieve dat yurself!

but SK has features stock doesnt & in all way better dan stock!
[Xperia Z5 Android Development] Samir SRA:
Brother dont mind. Im kind of new here.

can u tell me features that SK has? I do not know exactly.

As i was searching to only for my DRM fix and root, I thought That stock kernal is ok for me, as im not getting any error.

So please let me know about all the features of SK.

I really want to know that.

Thanks in advance.
[Xperia Z5 Android Development] koekoek91:
I just made a call with my headset and I hear it too.

Alot of noise going on in the background while I'm in a quiet room.

Hope it gets fixed soon.
[Xperia Z5 Android Development] whalesplaho:
check previous pages brov..... Zack posted tha changelogs!
[Xperia Z5 Android Development] koekoek91:
Lost a bit more battery now in only about 4 hrs 5%, while this time it was with only mobile data turned on.

Compared to previous 2% over almost 8hrs (with both wifi and mobile data turned on).

So its kinda confusing to me.

I'll have to have a look at my BBS logs to see if I notice anything.
[Xperia Z5 Android Development] crisout:
Hello guys I hope you could help me, I don't t know what's wrong, something It's preventing deep sleep on me phone, I got 6 hours on screen under very simple circumstances, I used my phone just for reading (black background) and whatsapp, but I only got about 1 hour on deep sleep. I use the the settings from Hacks And Tweaks For Battery Life✭ by Bewildered Wolf, also I'm using the last version of zachs kernel. Greetings.
[Xperia Z5 Android Development] Nyuubi:
Try disabling some wakelocks and make sure you are using only one thermal driver (that was the source of my problem at first). Also try to flash this, it really helps!
[Xperia Z5 Android Development] crisout:
Thanks, I'm already using it, what app are you using to disable wakelocks on nougat?
[Xperia Z5 Android Development] Nyuubi:
I use Kernel Adiutor but others might recommend you to use Ex Kernel Manager.
[Xperia Z5 Android Development] whalesplaho:
Yeah.... Use Ex Kernel Manager cos it has many wakelocks blocker!!! In BBS check yur partial kernel and alarm screen for more details on what is keeping yur device awake.

What settings re yhu using from hacks and tweaks?
[Xperia Z5 Android Development] crisout:
Thanks guys, I'll try it.
[Xperia Z5 Android Development] koekoek91:
Just here to let you know I had the same issue a few days / a week ago. Very little deep sleep after a full day.

I've been busy studying though, so at the time I didn't bother to try to fix it yet, and then I just forgot about it.

I think the only thing i've done after that is just flashing kernel again, and also I moved from SuperSU to phh's superuser + magisk.

Not sure what exactly has fixed the problem for me, or maybe it fixed itself... but now last night I had 90% deep sleep so for me its fixed (also on latest kernel by the way).

I don't think switching to phh's and magisk has fixed the issue for me, I simply did that because I wanted to try out a magisk module.

I always used SuperSU before and only one time had this issue so far, so I don't think SuperSU is the cause.

So it probably either fixed itself (somehow) or reflashing the kernel maybe fixed it.... for me.

I also use EX Kernel Manager to block wakelocks, simply because it has a few more wakelocks to block than Kernel Adiutor Mod.

I've blocked all wakelocks available in EX Kernel Manager since about a week, or even longer with no issues, so i'd say just block them all and if you do run into issues unblock them again one by one.
[Xperia Z5 Android Development] whalesplaho:
Whats tha magisk module for?

I only have phh superuser.....
[Xperia Z5 Android Development] koekoek91:
Its this one, for debloating system apps:

https://xdaforums.com/apps/magisk/module-terminal-debloater-debloat-t3584163

I find it very convenient for debloating. Worked perfectly for me :)
[Xperia Z5 Android Development] zacharias.maladroit:
Hi RyTekk,

thanks for the report !

can you try to do it without overclocked CPU or even clocking lower ?

(how is room temperature for you ?)

bluetooth, wifi, etc. is connected to the PCIe bus - so overclocking the CPU might stress it and thus lead to instability and hangs/freezes
[Xperia Z5 Android Development] RyTekk:
Bad luck, I even cut down CPU clock to 1.3/1.5GHz but still face with that issue.
[Xperia Z5 Android Development] zacharias.maladroit:
On what ROM ?

Is that ROM working (stable) with a different kernel ?

Any special mods ? (Xposed, etc.)
[Xperia Z5 Android Development] RyTekk:
Pure stock Sony, without any mods, it used to work fine on stock kernel.

UPDATE: Sorry, it's my fault, the issue is caused by disabled wakelocks (it seems that just disable any wakelock, then bluetooth is broken).
[Xperia Z5 Android Development] _LLJY:
overclocking should not affect the PCIe bus. Wierd, my bluetooth seems to be working completely fine with my sw3.
[Xperia Z5 Android Development] zacharias.maladroit:
Ah yes, thanks for the correction, must have been PCI only; PCIe is free from that "limitation" :D

those can be tricky :cowboy:

Thanks for letting me know
[Xperia Z5 Android Development] _LLJY:
In Aida64, it seems to detect two PCI devices and the "lspci" command seems to list them too. I can confirm that they are PCI devices as lspci -vv does not list their PCIe width.
[Xperia Z5 Android Development] _LLJY:
One more screenshot
[Xperia Z5 Android Development] nreuge:
[MENTION=3037651]zacharias.maladroit[/MENTION]

I'm testing your kernel since yesterday and IMHO it is the best by far in terms of battery life and performance !

No stability issue until now...

Congratulations, good job ! :D
[Xperia Z5 Android Development] zacharias.maladroit:
the second id is for our PCIe wifi chip, the second might be bluetooth,

afaik lspci does also list PCIe devices

Thanks for posting those :)

Thank you :o
[Xperia Z5 Android Development] nreuge:
deleted
[Xperia Z5 Android Development] zacharias.maladroit:
Download, AndroidFileHost :

SunKernel_for_Z5 224_I.1_2_8

- boot.img

ONLY

flash via TWRP or fastboot and let me know

if it even boots

Thanks
[Xperia Z5 Android Development] lucifer9:
I can confirm that at least the dsds version boots and runs perfectly on my E6683.

Thanks for your wonderful work, [MENTION=3037651]zacharias.maladroit[/MENTION]
[Xperia Z5 Android Development] nreuge:
Working fine, thanks!
[Xperia Z5 Android Development] death_note7:
expect E6533 version～
[Xperia Z5 Android Development] dulquer:
Battery issue

HEY

I flashed your kernal on my e6633 and battery is draining a lot:(:(:(:(:(

HElp plZ

CHEERS
[Xperia Z5 Android Development] zacharias.maladroit:
beta9 is out, that should work reliably enough

if there's problems of any kind - please let me know

it's not always the kernel that's the cause for drains,

clear /cache and dalvik cache,

and see whether that helps
[Xperia Z5 Android Development] nreuge:
That was the case for me too.

I'm presently using Androplus kernel v33, no drain.
[Xperia Z5 Android Development] jackq:
weird, for me this kernel is a lot of batt friendly than androplus :confused:
[Xperia Z5 Android Development] zacharias.maladroit:
After what delay did the draining start ?

What ROM are you guys using ? XPosed ? Any specific modifications, apps, init scripts ?

Thanks
[Xperia Z5 Android Development] whalesplaho:
I just use solid explorer to delete here.....
[Xperia Z5 Android Development] koekoek91:
For me that doesn't seem to work.

Apps are still on my phone if I do it that way.

Not sure why.

But this module works for me so I'm happy :p

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

@zacharias.maladroit

I just had my first random reboot on 1_6_7 ever since I've been using it.

It happened right after I tried to turn up the volume with the screen off, while I was listening to music using Sony music app.

Music wasn't going louder so I wanted to turn on the screen but it wouldn't turn back on.

Music kept playing for about another minute and then my phone rebooted.

Strange thing though, there aren't any logs in sys/fs/pstore so this is all the info I can provide.
[Xperia Z5 Android Development] koekoek91:
And another reboot just now when listening music with Sony music app.

I didnt have any reboots in weeks or so (since the release of the latest kernel), not even when listening music..

So its weird that today it appears to start happening :confused:

Oh and again no logs are shown.
[Xperia Z5 Android Development] whalesplaho:
No reboots here...just a freeze here yesterday and had to hard reboot!
[Xperia Z5 Android Development] koekoek91:
Freeze with screen turned on or off?

I don't know how long you waited before doing the hard reboot.. I'd think it would reboot by itself eventually.

But either way, 1_6_7 it's still one of the most stable kernels so far for me :)
[Xperia Z5 Android Development] crisout:
Hi thanks for your advice, I still don't try ex kernel (I'll do it later) but I find something interesting, looks like a have the wlan wakelock, I tried with the kernel Adiutor fix for that, I see no results but I'm gonna give it time until try ex kernel manager. In all day I just use mobile data and idle phone has a significant difference compared with wifi.
[Xperia Z5 Android Development] koekoek91:
I used to have wlan_wake or wlan_wake_rx on top of the list of wakelocks, then I started to block them (kernel adiutor mod and ex kernel manager) both worked fine for me when blocking them. Didn't see them on the wakelock list anymore at all, or atleast a significant lower number.

The phone idle is one huge drainer for me too, no idea why. I personally haven't really screen shotted it to try and find out the difference between when using wifi vs mobile data. I'll test it too when I have more time again.
[Xperia Z5 Android Development] whalesplaho:
i waited for long 2-3mins..... happens when i was playing music with sony music app with stereo jack to my car stereo.

1. when screen was off

2. while trying to next tha song.
[Xperia Z5 Android Development] koekoek91:
[MENTION=3427730]crisout[/MENTION]

Here are some screenshots from me after a full day pretty normal usage with only mobile data on.

( + I use mobile data saver)... read somewhere it could help extending battery life too, but for me I can't say it helps :p

3hrs 18mins SOT... I did some gaming during my breaks, about 20/30 minutes..

In the end it pretty much just comes down to about 4-5hrs of SOT on normal usage on Nougat (for me) maybe 6hrs on light usage.

I will try and test in the weekend using wifi all day at home to see the phone idle difference compared to today's.
[Xperia Z5 Android Development] koekoek91:
Thats alot of changes :D

I can't seem to get it to boot yet though. Everytime I reboot my phone after flashing the kernel it boots straight into TWRP 3.1 instead of booting into system.

I' ve probably messed something up or im not reading instructions well enough and doing something wrong... will try again tomorrow as im too tired now anyway :p

As always... thanks for the new kernel :good::highfive:

---------- Post added at 23:24 ---------- Previous post was at 23:06 ----------

What exactly do you mean by this if I may ask?

Im asking because I like comparing stuff... but if its something that is bothering you I can keep that in mind from now on.
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks for the feedback,

oh well - seems like the changes didn't get committed :confused:

next time then, rest assured the governors are already there in the source ;)

noop, deadline, ROW, CFQ are there,

others might follow in the future - but I'm not playing that game again,

first the base needs some heavy testing (for several weeks at least)

oh, I can't exactly remember how the wording was

but essentially it's posting "this kernel sucks" , "the other kernel is better than this", "this kernel is better than the other" , "it's bad", etc.

these are only opinions, pseudo-comparisons,

argument- , fact-based comparisons or reports are very welcome

in a nutshell - something like fanboy-ism, etc. is really annoying (I'm sure it goes both ways for me and other devs)
[Xperia Z5 Android Development] zacharias.maladroit:
Request:

patched ramdisks (stock kernels) are welcome & needed

with DRM ,

Sony RIC disabled,

+/- TWRP (not needed since it's not working)

for:

sumire (Z5, Z5 dual),

satsuki (Z5Premium, Z5Premium dual),

ivy (Z4/Z3+, Z4/Z3+ dual),

suzuran (Z5 compact)
[Xperia Z5 Android Development] whalesplaho:
Is it tha one we get using poc tool or which one brov so we can help....

Thanks for tha new update and gonna flash right away.... Might jux flash a fota recovery so incase i neee to do somefin in recovery and i aint at home with my laptop den

Godbless brov for tha hardwork and yur time and continuous support!
[Xperia Z5 Android Development] koekoek91:
Thanks for clarifying, I think what you're saying is only logical. \

If people come here to talk about how a different kernel is better, I wonder why they would come here in the first place to just say that.

About my issue of not being able to boot the kernel....

After a series of VERY stupid mistakes (started to mess with my phone when I just got out of bed and wasn't fully awake yet I guess)....

I had to start over from scratch and flash firmware again lol.... but the kernel is booting fine now and im rooted again.

Gotta setup my phone again, but oh well... I've learnt from it :silly:

Thanks again :good: