yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 / S6 Edge Unified Development] reddevil82:
Nice! So for what i understand those numbers for example 65000 are the micro volt in this case 65 millivolt the hpm can undervolt automatically.

So if i place 550 mv @ 200 mhz with the hpm @ 65000 the phone can automatically udervolt until 550-65=485 is it correct?
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Here's an explanation of the apm/hpm from an anandtech article written by andreilux.

"The APM measures HPMs, one each located on both CPU clusters as well as on the GPU and the memory controllers. When the APM sees the voltage threshold fall, either due to temperature or other influences changing the silicon’s characteristics, it takes advantage of it to further lower the voltages below the values of the stock voltage tables determined by the binning process."

So basically its a dynamic undervolt depending on a variety of variables. What synapse lets you tweak is how far you will let the apm undervolt it. Hope this helps.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Hey guys. Need some testers for this build.

https://drive.google.com/file/d/0B6n0VW96A9MoZ1VTMmhyQXZxNlk/view?usp=docslist_api

Changes include some more optimization tweaks, memory management fixes, synapse, and a few other things. Please report if you get the lockscreen issue! Trying to pin that down. Also lemme know if you find your big cpu max frequency going to 1704
[Galaxy S6 / S6 Edge Unified Development] KameMan:
Can't access the file (tulib202)
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Woops! Fixed!
[Galaxy S6 / S6 Edge Unified Development] TheHardew:
If cpu-z doesn't lie to me, touching the screen wakes up all the cores, even a57. Is it really necessary? It would make more sense to wake only a few of them, a53 only, for example, if cpu load is little. The way hotpluging's set up now it only saves energy during sleep, but not when reading an e-book as you mentioned before.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
The boost on touch is to ensure smoothness. For most use cases, battery life is actually better by just using all cores without the expensive act of hotplugging as is stock behavior. Cores will turn off after around 5 seconds of inactivity. Listening to music and watching videos with screen on all turn the cores off. The problem with disabling the all cores on during touch is that while it may benefit a select few things such as reading an eBook where you obviously only need 1 or two cores, for most other things it would cause perceptible lag. Still unless you are turning the page every 5 seconds you should get at least some sleep.hopefully that makes some sense. I recommend Perfmon by chainfire for monitoring your cores real-time. It's a floating box so you can use it over other apps. Pretty cool for tracking the load and whatnot.
[Galaxy S6 / S6 Edge Unified Development] pad11:
How is the init.d command to shutdown a entire cluster ? to play with a57 quadcore only and other things

i read in a thread it is possible with the hotplug driver from arter / you, but didn't know the command for this :crying:

Going to test your new beta kernel now :D
[Galaxy S6 / S6 Edge Unified Development] TheHardew:
[MENTION=4517211]Xileforce[/MENTION] Synapse definitely prefers to go back to 1704 on atlas.
[Galaxy S6 / S6 Edge Unified Development] sffmandrake:
Hi. I am testing your Last test kernel. Wahou. Got 7 cores offline, with screen on , no lags when starting app or scrolling after 5 sec , it rocks ? well done sir ?

Report tomorrow for batterie life ?thx
[Galaxy S6 / S6 Edge Unified Development] spocky12:
Hi, great work with the latest kernel! I used it for the last 10 hours and I didn't experience a single lockscreen issue (I used to have several each day).
[Galaxy S6 / S6 Edge Unified Development] Murdoc13:
Ah i hate to say it but i just had a crash to lockscreen on T18. it was from screen off state - pressed power button and directly swiped as per normal (screen didnt actually come on) , screen turned on after a 2 sec delay directly to homescreen and crashed to lockscreen. :(
[Galaxy S6 / S6 Edge Unified Development] KameMan:
Just had a lockcsreen crash with T18 while playing rr3
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Kk ill try a build without all if tge optimizations to see if thats the cause
[Galaxy S6 / S6 Edge Unified Development] xsidex:
I don't have the chainfire app that you recomended, but I just can't see any cores shutting of with the screen on, I tried Kernel auditor and Cpu-z and none of them show any cores shutting down at any point, even without touching the phone for a full minute

Is something wrong with my side of things? Should I have cleared cache and dalvik after flash?
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Actually I think there's a bug with a scheduler patch I added or something because one of the big cpus is stuck at 100% usage and preventing the hotplugging at least on my device. Gonna test some stuff today.
[Galaxy S6 / S6 Edge Unified Development] TheHardew:
[MENTION=4517211]Xileforce[/MENTION] Have you found that boot.img patch arter uses?
[Galaxy S6 / S6 Edge Unified Development] xsidex:
Great! Hit us up with a test build once you have one and me and surely many other people will be really pleased to help out with the testing!
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Negative. I didn't see it on his git. I'll keep looking though maybe I missed it. It's also possible he didn't publish it on git.
[Galaxy S6 / S6 Edge Unified Development] bbender716:
Tried t18 on weta and no headphone sound. Flashed back arter and sound works again.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
No idea. I'm on t18 and use my headphones daily.
[Galaxy S6 / S6 Edge Unified Development] bbender716:
Could be because Weta includes Dolby and V4A. Do you use either of those?
[Galaxy S6 / S6 Edge Unified Development] LibiSC:
I have a doubt about hpm... The description confuses me a little.... What value should I set to reach the value of - 37.5mV Anandtech got

Enviado desde mi SM-G920I mediante Tapatalk
[Galaxy S6 / S6 Edge Unified Development] tlxxxsracer:
Flashed 4.1 and get kernel is not seadroid. Boatloads on Android splash screen. Flashed back to arts and lots fine. Running tyrannus 5.1
[Galaxy S6 / S6 Edge Unified Development] TheHardew:
That's 'cuz arter uses a patch that hides that message.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
That's because after uses a patch to hide that message. Also what rom are you using?
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
I do not. I've not tried weta. Is it good?
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
BTW guys. No bug with kernel making one cpu stay at 100% turned out to be an issue with nova launcher after I restored it through titanium backup.
[Galaxy S6 / S6 Edge Unified Development] jacob920:
Hello I'm not quite sure, can i flash this kernal on my stock 5.1.1 DOI1 firmware?? And after i updated from fo8 i lost my root so no root access. Can someone help me get this kernal on my phone G920T
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
If you already have twrp recovery installed this will auto root you. And yes you can flash this on stock. If you don't have recovery then you will have to follow one of the root guides first.
[Galaxy S6 / S6 Edge Unified Development] tlxxxsracer:
It was in my post tyrannus 5.1. I'm on 920t

I really want to give kernel a go
[Galaxy S6 / S6 Edge Unified Development] bbender716:
I'm a fan because the sound mods are great, its customizable in terms of features, and the dev is very engaged with users. He's revamping the features right now but after he releases the new add.on package it will be back in its normal, awesome state.
[Galaxy S6 / S6 Edge Unified Development] LibiSC:
Please I have a doubt about hpm... What value should I set to match the - 32.5mV Anandtech used?

Enviado desde mi SM-G920I mediante Tapatalk
[Galaxy S6 / S6 Edge Unified Development] davebugyi:
Simple math. Convert millivolts to microvolts. 32.5 mv = 32500 µv.
[Galaxy S6 / S6 Edge Unified Development] jacob920:
Thank you for clarification, i don't wanna be annoying but I looked around to root DOI1 but couldn't find any. Can you direct me to one thank you
[Galaxy S6 / S6 Edge Unified Development] LibiSC:
I asked cause the description it says "down to"... So it's the amount it undervolts not the final value

Enviado desde mi SM-G920I mediante Tapatalk
[Galaxy S6 / S6 Edge Unified Development] imransyafi:
Crash to lockscreen on R4.1 G925i. All I did was set minimum clock of both cluster 200mhz and disable fsync.
[Galaxy S6 / S6 Edge Unified Development] TheHardew:
4*1.6 + 4 * 2.2 [GHz] is amazing in fifa 16 ut. I only have a few frame rate drops. And after you add gpu optimizations, I'll uv again (had some instability after rom reinstall) and after ea optimizes their game it's gonna run like a beast! Can't wait to have console-like games in just couple of years on android. Recently I played a little bit of fifa on my old psp. Now that I looked at it after so many years I have to say it's such a piece of crap!
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Yea the wordings very poor I am still not completely sure. But my understanding is that a higher value means that's how much it will undervolt down below the normal. So higher = higher possible undervolt while a lower value means it will not undervolt down as much. Again, wording is not super clear and I could be wrong but that seems to be the consensus.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Nice! Does it run better than stock?
[Galaxy S6 / S6 Edge Unified Development] TheHardew:
Didn't try, it came out like on the 23rd of September. T18 is definietly better than t16, though it might be 'cuz of little oc.
[Galaxy S6 / S6 Edge Unified Development] reddevil82:
hum what is this t18 and t16? :eek:
[Galaxy S6 / S6 Edge Unified Development] Noxxxious:
testversions, higher number = newer release
[Galaxy S6 / S6 Edge Unified Development] reddevil82:
ah ok, where can i find t18?
[Galaxy S6 / S6 Edge Unified Development] erghetto:
http://xdaforums.com/showpost.php?p=63031178&postcount=1066

Here you go ^^
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
We do have a confirmed lockscreen crash in the latest test right? Anyone have a good way to reproduce it? I'm trying but haven't had one yet.
[Galaxy S6 / S6 Edge Unified Development] nofam:
FWIW, I haven't had a single crash to lockscreen on T18, whereas I was getting it multiple times on the previous build, usually during general web browsing on Chrome.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Yea same here. T18 had a lot of memory management improvements. Which makes me think that's what was causing it. However there is one last memory related thing I think may be causing it for a few people. Will have to see if it fixes it. I'll make a build soon
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
I don't know if my crashes are the same as the ones other people are experiencing... Mine make the status bar disappear and reappear and then sometimes goes back to homescreen
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Hmm mine is where it gets super laggy for a few seconds then it goes to lockscreen.

Anyways! Here's a new build!

https://drive.google.com/file/d/0B6n0VW96A9Mobll1R1lkTlhKcjQ/view?usp=docslist_api

I removed hotplugging for now because I noticed no battery improvement. It's got optimization tweaks, and previous builds I forgot to add my tune up script to modify interactive, io etc so that's back. I also raised the default apm undervolt threshold so if you don't modify it it should still get a little better battery. Please let me know if you get any full crashes from it! There's also some more memory tweaks too. Report any lockscreen crashes! Enjoy.
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
I was excited about the hotplugging, I could have sworn that it was doing well.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
I can add it back easily. I'll screw around with it some more. If I can get rid of the wakeup lag I think it will be okay. That's really the big detriment to it ATM.
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
I wasn't experiencing any wake up lag... But then again I don't have a lockscreen, maybe that's why.

I'm trying the new version at the moment BTW; I had to go to synapse and mess with the voltage since you changed the apm, had I left it like I had I would have probably had reboots

Have you noticed any odd behavior while watching YouTube videos? Sometimes I get like a previous frame interject in the video for less than half a second

I was also thinking whether a direct undervolt would be more effective than having a higher apm... So of I was to turn the apm to zero that would allow me to find the lowest voltage to undervolt to
[Galaxy S6 / S6 Edge Unified Development] TheHardew:
I'm getting quite a few of 'em playing stickman dismount.

Edit: didn't see there's one more page. I was talking 'bout lockscreen crashes with t18
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
A direct undervolt could be more effective, though I don't believe it's possible for me to do it via a script. I'd have to manually alter the tables which would mean manually altering the voltage for each frequency x15 for each avs bin. And then for each cluster...which as you can imagine would take quite some time xD. The apm is adaptive so it only undervolts more when the soc is more conducive to lower voltages. In theory it should be more stable to undervolt via apm but I can't say for sure. Could you try running with the apm voltages I apply and see if you get any reboots? I'm just curious to see if I can find a value that works for everyone, but is better than stock.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Mind testing T20 and letting me know if you still get them?
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
I will, the values you chose however should be conservative enough to not cause any issues but still garner some significance in battery savings.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
That's what I was shooting for. Just not sure how everyone's devices will react. I adjusted apm for the memory, gpu and both socs. So far so good here but I'll give it a day before I get too excited lol.

For those just checking here's the latest build again.

https://drive.google.com/file/d/0B6n0VW96A9Mobll1R1lkTlhKcjQ/view?usp=docslist_api
[Galaxy S6 / S6 Edge Unified Development] bbender716:
So far so good here on WETA 925T :)
[Galaxy S6 / S6 Edge Unified Development] TheHardew:
I can do that.
[Galaxy S6 / S6 Edge Unified Development] DalekExt:
Is it possible to increase the max voltage on Big cluster?

My phone can run 2304 Mhz only on 1125 mv which is max.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
I can, I'm just not sure if its safe for the processor.
[Galaxy S6 / S6 Edge Unified Development] DalekExt:
If it's not hard to do a special version, and you will, i will test it and donate to you
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
So far I've gotten a couple force closes I hadn't gotten before and a complete freeze lock and lockscreen reload
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Hmmm. Force closes could be from the slight undervolt maybe. By complete freeze do you mean you had to reboot the device?
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
I can give you a test build, though like I said before. They put the voltage limits there for a reason so it could damage your device if you overvolt too much.
[Galaxy S6 / S6 Edge Unified Development] reddevil82:
as far as i know, undervolt can't damage the device...

btw these are my stats from synapse

http://imagizer.imageshack.us/v2/640x480q90/912/6vO3Mf.png

http://imagizer.imageshack.us/v2/640x480q90/909/P0uWUl.png

http://imagizer.imageshack.us/v2/640x480q90/901/13TwwZ.png

http://imagizer.imageshack.us/v2/640x480q90/909/m4poTL.png

http://imagizer.imageshack.us/v2/640x480q90/901/tuUTJi.png

http://imagizer.imageshack.us/v2/640x480q90/909/VBe0GA.png

http://imagizer.imageshack.us/v2/640x480q90/909/oD5eoM.png

http://imagizer.imageshack.us/v2/640x480q90/911/3Qw5Wi.png

http://imagizer.imageshack.us/v2/640x480q90/903/Ynvcwk.png

http://imagizer.imageshack.us/v2/640x480q90/909/jZTmBo.png

http://imagizer.imageshack.us/v2/640x480q90/903/tnD8G3.png

http://imagizer.imageshack.us/v2/640x480q90/909/PnNQUT.png

http://imagizer.imageshack.us/v2/640x480q90/903/ITeFvj.png

http://imagizer.imageshack.us/v2/640x480q90/901/yrbN8o.png

http://imagizer.imageshack.us/v2/640x480q90/901/spdpyy.png

http://imagizer.imageshack.us/v2/640x480q90/911/BCGkiw.png

http://imagizer.imageshack.us/v2/640x480q90/903/qlqB7s.png

http://imagizer.imageshack.us/v2/640x480q90/901/cWbApn.png

i can undervolt maybe a little bit more but i'm not sure
[Galaxy S6 / S6 Edge Unified Development] DalekExt:
Give it to me, please
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
What kernel version? I keep getting freeze ups with t20 with similar undervolting but t18 does fine
[Galaxy S6 / S6 Edge Unified Development] reddevil82:
the last one posted, t20
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
Excuse me while I go put a bullet through my head
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Niceeee. That's a good bench! And undervolting AFAIK is safe. It's the overvolting that can fry a chip. Ty for sharing! You could probably squeeze out a touch more by running 1600mhz on the Apollo cluster.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
My highest bench so far is 73886. I would post a picture but the xda app isn't attaching it for some reason :/
[Galaxy S6 / S6 Edge Unified Development] reddevil82:
np just sorry for the lots of images but i donno how to post all infos in another way =)
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
No worries. I'm sure it helps people who are interested in tweaking their device.
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
Those are both very impressive... I still can't understand why the new version would be giving me grief. :s
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Have you tried setting the apm stuff back to normal levels?
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
That's the first thing I did right away... So the synapse setting that I have on t18 give me reboots on t20
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
That's weird...I can't think of anything I did. I haven't had any issues yet. Anyone else getting reboots?
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
I just changed the swapiness and cache pressure on t18 to the t20 values see if for any reason that causes it... Shouldn't though...
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Okay keep me updated!
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
It's gotta be that... It just did it on t18 after changing those values.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Hmmm I guess I can remove those then. Though I thought they were on r4 already.
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
If they are working for everyone then leave them... I continue testing for the meantime just reinstalled t20 and changed the swapiness and pressure cache to 130 and 100 t18 values see if I don't get those reloads anymore .
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Good idea. Lemme know what happens.
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
So far so good, with the different values I haven't had a reload on t20 with t18 values
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Interesting. Well I guess I can revert those. They aren't a huge deal.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
OK guys here's a new test.

https://drive.google.com/file/d/0B6n0VW96A9MoVmM2Y1BLM3hQeVk/view?usp=docslist_api

I drastically reduced the optimizations, I also removed those lines that were causing some reboots. Additionally I fixed a few compiling warnings, and disabled fast_nohz which I believe may have been causing some wakeup lag among other things.
[Galaxy S6 / S6 Edge Unified Development] TheHardew:
So far I didn't have any lockscreen crashes with your undervolted by default t20 version. I'll now test your new build.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
T21 is still undervolted by default. I removed the vfs cache and swappiness changes.
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
What does drastically reduced the optimizations mean? Sounds like a minus rather than a plus... :P
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
It means I've cut back the amount of optimization flags I'm using. It's not necessarily bad. Some things actually run better with fewer optimization flags. They could also cause misc issues such as lockscreen reload. Though idk if that is caused by them. It's a test :) if you think it runs worse now and the issue still persists I'll put them back :)
[Galaxy S6 / S6 Edge Unified Development] reddevil82:
i'll stay with t20 my priority is battery optimization =)
[Galaxy S6 / S6 Edge Unified Development] tlxxxsracer:
still not able to run this on my 920t running Mako IV. I get seandroid kernal issue. Just bootloops
[Galaxy S6 / S6 Edge Unified Development] lugiank:
You will ever get "kernel is not seandroid enforcing" message even with your rom works

Inviato dal mio SM-G925F utilizzando Tapatalk
[Galaxy S6 / S6 Edge Unified Development] tlxxxsracer:
I can install arts kernel and boot up just fine and unikernal.

I've tried multiple roms and still cant get this to install
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
These optimization flags having tnothing to do with battery. In fact I think T21 will get better battery.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Is mako a note 5 rom?
[Galaxy S6 / S6 Edge Unified Development] tlxxxsracer:
It has DOI2 Base

no, not a note 5 rom
[Galaxy S6 / S6 Edge Unified Development] reddevil82:
Damn guys i have the mediaserver bug... Every time in a random way (not a specific moment with no particolar apps running) mediaserver begin to drain battery and only if i restart the phone it returns ok :( any suggestion?

---------- Post added at 09:14 PM ---------- Previous post was at 08:51 PM ----------

Ok i'll give it a try but for what you know is there any file or something to save and replace in the new kernel for the voltages? I'm tired to manually recover my personal config every time i flash a new kernel :/
[Galaxy S6 / S6 Edge Unified Development] TheHardew:
I've just had a lockscreen crash with t21 :(
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
Haven't noticed a crash yet... Only weird issue was that as soon as I disconnected the phone from 100 percent charge it went straight to 98% I don't know of perhaps is because o disconnected it at a on off cycle or are kernels still doing the trickle charge?
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Same :( im testing with sensorhub wakelock enabled now to make sure thats not causing it.

I've never had that happen. Could be just a weird issue with the battery memory or something usually justdraining it and recharging will recalibrate it properly.
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
I have the sensorhub disabled and no reloads yet, here is to crossing fingers, I'd really like my phone to stop giving me headaches. BTW xtrolite is supposed to be implementing a fix on his rom for the keyboard reload.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
Indeed. He posted a test build in his beta hangouts :) doesn't have the addons package out yet though so I haven't tried it myself.
[Galaxy S6 / S6 Edge Unified Development] RFrancis:
I assume the old addon package wouldn't be applicable anymore. I'm quite excited for it. It sucks to be writing a message or looking for a website and have to wait a couple seconds for the keyboard to reload.
[Galaxy S6 / S6 Edge Unified Development] Xileforce:
You could try changing this line in your build.prop from sys.config.spcm_enable=true to sys.config.spcm_enable=false or just adding the false line if it isn't already there. People are reporting that fixes it.