yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] RyTekk:
The main thing I wanted to talk is this http://elementalx.org/the-truth-about-kernels-and-battery-life/

It's hardly meannessless to discuss about battery life and battery idle. I go to my college every morning, one day I got 93% left, another day I got 88%, the usage is 99% same, no different task, no different apps installed, no different connection enabled, so why is there a difference? Yah, God knows.
[Xperia Z5 Android Development] koekoek91:
Seems like an interesting article, ill read it at school tomorrow :p
[Xperia Z5 Android Development] koekoek91:
I wanted to do this test today, but had a busy day with family.

I charged to 100%.

Ran a benchmark a couple of times to get fast to 99%.

Connected to charger for 1 sec.

Unplugged and turned off the screen.

Checked battery percentage every 30 minutes...

From 21:30 PM till as of this moment ( 00:04 AM) but its still sitting at 99%.

I gotta get up early in the morning for school.... so im gonna do this again tomorrow afternoon when I have more time, when I get back home from school :p

(Although I am starting to wonder about the usefullness to doing this lol) :silly:

EDIT

: okay, so I woke just woke up and turned on my screen and now percentage was at 98%.

I saved a BBS dump log.

However, it is showing 100-98% instead of 99-98%.

I did not plug in my phone again to charge to 100 before I went to bed last night.

Also the time reference doesn't seem to be right (again). No matter what custom points I choose.

Maybe I need to do a reinstall of BBS???

Or am I missing something here?? :p

Anyway, I included the log I just saved, but ill try the test again when I get back from school. Maybe ill reinstall BBS before I do it too.
[Xperia Z5 Android Development] astalavista66:
Does somebody use NFC with this kernel because my z5 dual with ukraine firmware version doesn't show the icon nor recognizes any nfc information.

Information: Device comes originally from Hongkong. Wanted to flash a generic europe version but there was no, so I took the nearest one with Ukraine.
[Xperia Z5 Android Development] _LLJY:
Try ROMX and see if your problem persists, note that you should flash V3.0 before V3.1
[Xperia Z5 Android Development] astalavista66:
Why do you think this solves my problem? Do you have the same problem on stock rom that you can activate NFC in settings but it doesn't work? ROMX is already on 305 base (because of the bluetooth optimizations)?
[Xperia Z5 Android Development] _LLJY:
No it's mostly .253, I only changed some things from .305 I just wanted you to see if it's your phone or the firmware, ROMX is based off Singapore fw
[Xperia Z5 Android Development] astalavista66:
Ah, okay.

Back to topic, after some reboots it now works (tested with my credit card). So "false alarm". Sorry for disturbing. Hardware seems to be ok.
[Xperia Z5 Android Development] koekoek91:
[MENTION=3037651]zacharias.maladroit[/MENTION] I've just noticed when I woke up that I had a random reboot.

Dont remember exactly if this is the file you need a log from:

http://www.filedropper.com/console-ramoops-0

Also dont know exactly how long its been since the reboot occured, as I fell asleep while I was trying to do an idle test for [MENTION=5231789]nreuge[/MENTION]

Please let me know if this was helpfull, or how I can be more helpfull next time ;)

ROMX v3.1 RC1 - kernel 1_9_12_3_2_ctl_X
[Xperia Z5 Android Development] nreuge:
For my part, I'll do the idle test with Androkernel v40
[Xperia Z5 Android Development] koekoek91:
Okay thanks. With my phone I don't think it's very usefull anyway because it sits at 99% for atleast 5 hours before going to 98% for so far I've seen[emoji14]

Also Ill probably have to reinstall BBS or investigate, because right now it's showing 2hours from custom to current while I left my phone idle for about 6 hours.

The other time references are even more messed up so I don't know what's wrong.

So it's a good thing to do the test yourself for now :)

Im happy to test things normally though whenever I have time.

But for now I can't give accurate results because of BBS acting up weird.

Will try to fix this as soon as possible so I can post accurate results again :p
[Xperia Z5 Android Development] _LLJY:
Don't know if it's my tweaks but I'm getting 6-7hour SOT on YouTube and social media. 3hour SOT on games, this shows that the cpu is rather efficient with core_ctl, all that's left now is to tweak that power hungry GPU. [MENTION=3037651]zacharias.maladroit[/MENTION] [MENTION=5627933]androidexpert35[/MENTION] [MENTION=299952] [MENTION=5231789]nreuge[/MENTION]

Phone is barely hot
[Xperia Z5 Android Development] Wess.a:
What are your tweaks please?
[Xperia Z5 Android Development] nreuge:
I got too high idle drain with the v1_9_12 serie. Moreover, it seems it is not yet stable...

I'm currently using AndroPlus kernel v40, idle drain is low (0.3-0.5%/h) and it seems rock solid stable.

So, I'm not motivated anymore to test the v1_9_12 serie...
[Xperia Z5 Android Development] zebasketteur:
Hi guys, I update my z5 to the. 305 firmware. I flashed a deodexed patch and your kernel. But I have an issue, only one big core is active and the fq max is 800Mhz. I can't change that with kernel adiutor, can you help me?
[Xperia Z5 Android Development] RyTekk:
Have nothing to do with GPU, we had better wait for EAS, hope it would appear on nougat source. Do you notice the GPU frequency sometime down to 27MHz? It does on my kernel, somehow, so I have done more restrictions on it by initial power to 180MHz instead of 305MHz, that's all we can do for GPU, if GPU is free, CPU would be mistreated.
[Xperia Z5 Android Development] _LLJY:
Actually it IS the GPU's fault and also the cpu, Adreno was design with Krait in mind, switching to ARM cores on adreno wasn't always the best idea, as seen on the 400(overheats), 615(overheats), 652(gets rather hot) and the 810. I read this from somewhere saying that ARM cores, especially the ARMV8 ones don't play nice with adreno. Anyway, EAS does seem rather interesting
[Xperia Z5 Android Development] astalavista66:
Have some reboots with the kernel on my E6683. Doesn't follow a pattern. Sometimes some hours, sometimes a day, then a hot reboot.
[Xperia Z5 Android Development] sirdoha:
Which version do you use?
[Xperia Z5 Android Development] zacharias.maladroit:
last battery state for me was 23% and 8 days of idle (partially mobile radio and mostly airplane mode),

not sure what ROM, XPosed modules, scripts, wakelocks, alarms or services are interfering with sleep of your phone :/
[Xperia Z5 Android Development] HaoZeke:
Hey I don't know since when, but I think since 11 I've had a massive drop in battery life... Even the system expectation has gone down drastically...

Can anyone suggest anything?

Hardware maybe?
[Xperia Z5 Android Development] zacharias.maladroit:
Download

Z5 (sumire): https://drive.google.com/open?id=0BykGGWB96CBQQy05VURLbzJTZlU

305_corona_III.1_9_12_3_3_ctl_X

This is an Troubleshooting, enhancement update

Changes:
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks for the report,

that looks rather interesting.

That is certainly weird behavior:

failing thermal-engine :eek:

And in addition to that:

ouch :(

What Kernel Editor apps or scripts are you using ?

What thermal engine mod ? What ROM ?
[Xperia Z5 Android Development] koekoek91:
Most of it is in my signature.

Romx v3.1.1 + your latest kernel.

Mods that are included in romX by [MENTION=6791680]_LLJY[/MENTION]

Will post more details of it all when I'm back home in about 2 hours ;)
[Xperia Z5 Android Development] zacharias.maladroit:
In the light of that:

anyone know tools with which we can disassemble (pick apart) the kernel (boot.img) to get a vmlinux out of it ?

the dtb stuff is appended, ramdisk can be picked apart

but if we have a vmlinux, e.g. via

addr2line -f -e boot.img ffffffc0005a5b5c

we could find out what is at the heart of that issue

and perhaps fix and prevent it for the future.

I could compile a new kernel but I doubt that it would provide the same data,

also since I'm compiling 7 kernels the vmlinux for Z5 is of course not there anymore, also with a new kernel have been built ...
[Xperia Z5 Android Development] _LLJY:
After playing a bunch of intense games and monitoring temps, we have about 20c of headroom on the GPU and 15c on the cpu before they start to overheat. I just read that the Adreno 430 is able to withstand 650mhz. So perhaps you can add that oc in the next update(if it's possible) for testing purposes? I don't mind playing loads of games and trying out if the GPU gets hot. So far the max temp of the GPU I've experienced is 60C, well under the 85C where I'd consider it overheating.
[Xperia Z5 Android Development] RyTekk:
GPU OC is mostly a placebo, we can't recognize if it really works or not.
[Xperia Z5 Android Development] _LLJY:
I just want it for testing purposes.
[Xperia Z5 Android Development] nreuge:
I haven't such agressive scripts and never had.

Even so, I'm going to test this new version...
[Xperia Z5 Android Development] sirdoha:
Hi OP- [MENTION=3037651]zacharias.maladroit[/MENTION] and other bros, what is the best battery-efficiency version atm? :)
[Xperia Z5 Android Development] _LLJY:
ROMX + Sunkernel

7.5hour SOT
[Xperia Z5 Android Development] sirdoha:
I mean the version of SunKernel
[Xperia Z5 Android Development] _LLJY:
19_3_3
[Xperia Z5 Android Development] sirdoha:
Is this version better than V 11_ctl in terms of battery?
[Xperia Z5 Android Development] _LLJY:
I haven't done a direct comparison
[Xperia Z5 Android Development] koekoek91:
[MENTION=7541648]sirdoha[/MENTION] 1.9.11 in my experience was more reliable and so far from my testing one of the best, or maybe the best in therms of battery life.

But it doesnt have the dirty cow fix, which was a security risk and therefore it was adviced by [MENTION=3037651]zacharias.maladroit[/MENTION] to update to the 1.9.12.3.3 ctl x version that includes this fix, or later.

Correct me if I am wrong [MENTION=3037651]zacharias.maladroit[/MENTION] :p

I get confused or mix up sometimes with all those numbers in versions lol :p
[Xperia Z5 Android Development] goRt:
I think the fix was in 12.3.2 but I found that unstable (2-3 reboots per day) whereas 12.3.3 has been stable for the past 48 hours.
[Xperia Z5 Android Development] koekoek91:
Yeah you are right. I had just 1 reboot a day on that kernel so I flashed a different one.

Just noticed I picked 1.9.12.2.2 lol. So ill give 12.3.3 a try now.

Thanks :p
[Xperia Z5 Android Development] nreuge:
[MENTION=3037651]zacharias.maladroit[/MENTION]

Good news, I've only 0.5%/h idle battery drain with v12_3_3 :)

Let's hope this one will be stable...
[Xperia Z5 Android Development] zacharias.maladroit:
Perhaps a little bit unstable :p

I'll post a new kernel tomorrow or so which might be more stable (close to plain optimization flags only with march & mtune modified to allow for better code)
[Xperia Z5 Android Development] zacharias.maladroit:
Notice
[Xperia Z5 Android Development] sirdoha:
Sir, will you post that new kernel? I'm so looking forward to it. ;)
[Xperia Z5 Android Development] zacharias.maladroit:
It's in the same usual place like always (GDrive)

and hasn't had much testing,

GPU performance might be laggy, performance might be better,

stability might be better, battery might be better - that's all I can say for now

It's available for ALL devices (Z5, Z5P, Z5C, Z4/Z3+)

Expect no more answers for some time ...
[Xperia Z5 Android Development] koekoek91:
Hope to see you back here soon, but take your time :)
[Xperia Z5 Android Development] zacharias.maladroit:
I'm announcing the kernel - would be a shame if only a fraction of the users could use it ;)

Download

Z5 (sumire): https://drive.google.com/open?id=0BykGGWB96CBQQy05VURLbzJTZlU

305_corona_III.1_9_12_3_8_ctl_X

This is a Final (for some time), read signature

Changes:

Notice
[Xperia Z5 Android Development] korom42:
Great stats,what theme you are using?
[Xperia Z5 Android Development] theduke7:
1_9_12_3_4 was very good with heat , 1_9_12_3_8 seems very stable so far and the GPU improvement are very obvious... great work
[Xperia Z5 Android Development] nabeelrazanaqvi:
Is there any kernel for E6633? Will root and Xposed work if I rootkernel?
[Xperia Z5 Android Development] HaoZeke:
Please try to read before asking questions.
[Xperia Z5 Android Development] nabeelrazanaqvi:
I have read but could not find if you could help will be much obliged[emoji4]
[Xperia Z5 Android Development] HaoZeke:
Well, you can see the latest post by zach on this page.... There you're looking for the latest kernel which has dual in the filename...
[Xperia Z5 Android Development] nabeelrazanaqvi:
Dear brother can you provide me link to E6633 dual model
[Xperia Z5 Android Development] RyTekk:
I did a test that is more detail than you but then I see it's meannessless, and the test was processed with those incomplete fixed schedulers in kernel source so I haven't released it.
[Xperia Z5 Android Development] nabeelrazanaqvi:
Edit: found the link thanks alot brother. How can I root and Xposed?
[Xperia Z5 Android Development] Mehmoon:
Which firmware are you on? And which kernel are you using? Can you help me? I have e6633 too
[Xperia Z5 Android Development] nabeelrazanaqvi:
Yes sure brother why not. I am using 305 firmware. Right now using stock kernel patched rooted and finally Xposed working
[Xperia Z5 Android Development] _LLJY:
Maple io is best because it's designed for Android.
[Xperia Z5 Android Development] nabeelrazanaqvi:
How to flash this kernel guys. It is zip format. Where to get elf image to patch it. Thanks in advance

Edit. Flashed via twrp recovery working fine
[Xperia Z5 Android Development] Mehmoon:
Pm?
[Xperia Z5 Android Development] Pandemic:
Can someome post a single link of the latest kernel please ?

Because when i open the google drive link there are so many of it so i am confused, its for E6653 ;)
[Xperia Z5 Android Development] koekoek91:
http://www.filedropper.com/z5sunkernelpermissivev305coronaiii191238ctlxsum

Here you go ;)
[Xperia Z5 Android Development] Pandemic:
Thanks bro [MENTION=7328701]koekoek91[/MENTION] and all good so far and does it work on 253 ?
[Xperia Z5 Android Development] koekoek91:
Stable so far no reboots or other issues for me.
[Xperia Z5 Android Development] Pandemic:
Oke and also and also works on 253 ?
[Xperia Z5 Android Development] koekoek91:
I've been using NOOP for some time now because i've read here in this thread that its probaly the best for battery life

http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957

Your tests are more performance oriented right? Or is row for internal better for battery life than noop?

I dont think there will be much of a difference but still :p
[Xperia Z5 Android Development] Pandemic:
You read what bugs 305 have lol and for me is 253 better.
[Xperia Z5 Android Development] koekoek91:
Yes works on .253

Im also on .253 still ;)
[Xperia Z5 Android Development] koekoek91:
Thats the same thread I just linked lol:p

But thanks, I just want more battery life aslong as my phone doesn't get laggy.

ill try your suggestions:good:
[Xperia Z5 Android Development] RyTekk:
I don't see any difference in battery life between schedulers. In the past, I read that deadline is much better than noop, but when I copied something from PC to mobile, deadline gave a painful to it, the copying process and stop for seconds and continuous, while noop did more smoother. FYI, noop is default scheduler since from nougat (maybe there're lots of changes of it), in Android, the simpler the better, don't think something that is coded complexity is good.
[Xperia Z5 Android Development] littlerichie29:
Hey all, I have an issue and a question.

The issue I am having, is if I flash any one of these dual enabled kernels, no matter the version, my phone (a 6683) will be stuck on a black screen a few times a day, and I am forced to reboot it via power and volume up for 3 seconds.

The question is, I am on moonbreakers rom, ( [ROM] [Z5/Z5P-Single/Dual] RXSW Moonbreakers Edition [1.7.0] [30/09/16] [6.0.1]) and in my about phone field, it identifies my phone as a 6633, could that be causing an issue?

Thanks
[Xperia Z5 Android Development] theduke7:
it shouldn't , how the phone is ID'd is on the build.prob file (you can edit it and change it to yours), it's this way to make the dual patch for roms work on all dual devices... minse 6833 and it's ID's after patch as 6883 (that's how my rom patch do it)....

so i don't think it's the cause of your problem, maybe it's a compatibility issue between the rom itself and the kernel... some roms like the one i use works best with this kernel, some require stock kernel... so you should try and either change the kernel to a stock kernel (probably you'll find it suggested by the rom developer) or change the rom itself for better compatibility.
[Xperia Z5 Android Development] HaoZeke:
Does anyone else feel like the screen is slightly more power hungry than normal in the latest kernel?
[Xperia Z5 Android Development] _LLJY:
Deadline has almost no time overhead apparently so it's good for PC but not so much for Android
[Xperia Z5 Android Development] littlerichie29:
I reflashed the rom overtop without erasing, and it includes a kernel. So far the issue is gone. But now so are some battery savings. Oh well, I will take stability over battery life at this point.

Thanks
[Xperia Z5 Android Development] HaoZeke:
Hey, I don't know if this is the right place to put this at all, but, does the camera not working have anything to do with the kernel? (Not related to Zach's excellent work, actually related to an AOSP thing I'm working on)
[Xperia Z5 Android Development] Wess.a:
Anyone using romx and his battery statistics is 18 hours for 100% instead of 55-60 hours? On the latest sunkernel
[Xperia Z5 Android Development] HaoZeke:
Yeah this happened to me twice recently for no reason, I posted about it... The only fix is a clean install...
[Xperia Z5 Android Development] zacharias.maladroit:
This is an "issue" due to the battery charging algorithm changes/improvements for 305 firmware in the kernel ("aging" support - probably "battery maintenance mode" or what its name is to prolong life for our batteries and slow down deterioration)

this could lead to interference or some sort of malfunctioning

(source: http://xdaforums.com/showpost.php?p=69474732&postcount=868)

Like I wrote: the Kernel base is unstable since those bluetooth issues also happen on AndroPlus kernel which has touched NO bluetooth related files (to my knowledge).

Our only hope is to see if the Stock Kernel source for Nougat uses a quite different kernel base or use AOSP-based ROMs with 1.3.3 kernel branch (and later the 3.18 based kernel)

Thanks
[Xperia Z5 Android Development] HaoZeke:
I do believe that ROMX is still on .253
[Xperia Z5 Android Development] zacharias.maladroit:
I hope that statement is more clearer :)
[Xperia Z5 Android Development] HaoZeke:
Sorry, I misread the kernel part....
[Xperia Z5 Android Development] zacharias.maladroit:
it wasn't there before - I added it later ;)

no fault on your side :)
[Xperia Z5 Android Development] zebasketteur:
Hi guys, i was on RomX 3.1.1 and use your latest kernel wit kernel adiutor and all worked fine. But i reflashed the .305 ftf stock rom because i want use the latest camera mod from the XZ, anyway now kernel adiutor show me only 3 bug cores are activated and the freq max is 384MHz... My rom is Deodexed now and i have installed busybox... What is the solution ? What the XRom have most than stock ?

Thank you =)
[Xperia Z5 Android Development] Philmore93:
ROMX is on .253. maybe these bugs came from this.

Your fingerprint scanner won't work,too or? It will show up a message that your storage is full.

For now you have to flash .253 + ROM + The new 2.5 XZ camera mod, because in Version 3.1.1 camera isn't working.

Hope that helps a lil.

---------- Post added at 02:49 AM ---------- Previous post was at 02:47 AM ----------

Sorry i think i misread. You are now on stock ? Or are you on any ROM?
[Xperia Z5 Android Development] zebasketteur:
I'm now on stock and i haven't any problem with fingerprint, only kernel control
[Xperia Z5 Android Development] Philmore93:
Ah sorry like i said, i misread your comment. Thought you where on ROMX.

So i think i can't help you. Just some "stupid" thoughts: Reinstall or clean cache and data or maybe try another kernel control App and look if there are those issues, too.

Good Luck .:fingers-crossed:
[Xperia Z5 Android Development] koekoek91:
What's the problem with kernel control? Could you be more specific?
[Xperia Z5 Android Development] zebasketteur:
I can't change the number of active's core and i can't change the freq
[Xperia Z5 Android Development] koekoek91:
You are on stock sony rom right?

If I remember correct, 3 cores offline is whats supposed to happen on stock sony firmware.

Do they go online when under full load? Try it by playing a game or running something CPU intensive and look if they go online.
[Xperia Z5 Android Development] zebasketteur:
I've tried and you are right, the Big cores are activated when i'm playing games
[Xperia Z5 Android Development] RyTekk:
Are there anyone can get 4350 mV at full charged with zach kernel on 305 firmware?
[Xperia Z5 Android Development] zacharias.maladroit:
Hardly anyone is using 305 firmware, I guess :p
[Xperia Z5 Android Development] zacharias.maladroit:
Download

Z5 (sumire): https://drive.google.com/open?id=0BykGGWB96CBQQy05VURLbzJTZlU

305_corona_III.1_9_12_5_2_ctl_X

253_corona_III.1_9_4_2 ["stable" branch]

This is an interim build which could/should solve several problems

Changes:

Notice

Notes

Kudos

to [MENTION=5627933]androidexpert35[/MENTION] for the heavy testing :)
[Xperia Z5 Android Development] zacharias.maladroit:
[MENTION=3923492]albertobom[/MENTION] why would you want to do that ?

our screen doesn't support more than 1920x1080 :confused:
[Xperia Z5 Android Development] albertobom:
Is just to play around a little I want to check if the sharpness of the pictures/videos increase by doing that. I know that when we record in 4k the dpi of the screen changes to 560 so maybe I can get something with this.

Also, do you think that is possible to enable x reality engine to work in the ui all the time instead of pictures/videos only?
[Xperia Z5 Android Development] zacharias.maladroit:
These are some interesting thoughts :cool:

but those are things to change on the ROM side, I'm sure,

I'm mostly focusing on the Kernel-side of things,

so don't really know.

If such MODs exist - they might be available for the Z3 or Z3+/Z4 first and then here,

or if the community grows more, also here

Thanks
[Xperia Z5 Android Development] albertobom:
Via terminal manager I can change the wm size to 2k (1440x2560) but I don't see any difference in the interface except on videos on YouTube (2k) you can see a slight difference from Full HD. So then I thought about we could enable x reality engine to give us more sharpness ui beside pictures/videos. I really hope someone look at this. Maybe we can get something interesting ?

Thanks for your time my friend.
[Xperia Z5 Android Development] _LLJY:
I see, but I realised that iosched like Zen,fiops and sio are great and offer better battery life to row although they can be inconsistent at times, maybe add fiops and sio I'm the next kernel?
[Xperia Z5 Android Development] RyTekk:
SIO is out-of-date for a long time, ZEN, FIOPS, ROW and Noop are not really to give a big different in usage, if there're io schedulers to be added, I would recommend BFQ only for the heavy usage, ROW (default) is too good for average.
[Xperia Z5 Android Development] peter.schwake@gmail.com:
The new one (Z5_Sunkernel_Permissive_v185_I.1_2_3) performs very well, better than Z5_Sunkernel_Permissive_v26_I.1_2.

I think the only things you could add are :

-elementalX governor

- bfq scheduler

All other 'features' don't give an advantage, so it's right to leave it out of this fantastic kernel. Good job.
[Xperia Z5 Android Development] _LLJY:
Hey man one more thing to point out(that could potentially save battery) is that the GPU idles at 305 MHz not the previous 27mhz