yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] flar2:
RE: hotplugging

I've always stuck with stock mpdecision, probably because I started out with HTC devices. I've never had any issues with mpdecision. Mpdecision accepts some parameters, and I do modify them for my kernels, but it's unfortunate that the input boost can't be adjusted. I have no technical objections to this stuff being controlled in userspace rather than kernel.

On HTC devices, mpdecision works with pnpmgr to ensure a totally smooth ui, and it works great (and there is no touchboost on recent HTC devices). HTC devices are well optimized and usually worse off if you remove mpdecision and pnpmgr.

On the Nexus devices, there is a long input boost where the min freq is raised. It seems like a bad idea, but works well in practice. On the Nexus 5 for example, it puts two cores online and raises the min freq to 1267 for about three seconds. This means that most of the time you are interacting with the phone, it has two cores online and a floor of 1267, thus ensuring a very fluid experience. The stock governor (ondemand) frequently rises to max freq, but my custom governor mostly stays at 1267. So the end result for ElementalX is that the frequency stays at 1267 and doesn't bounce around much. I also adjusted it so that the third and fourth cores rarely come online. For most of the time using the phone, it runs with two cores at 1267 and the resulting battery life is excellent for most users. While not directly touching the phone (eg, watching a movie or screen off), it mostly uses only one core and lower frequencies.

The Nexus 6 is probably the first where I've thought about ditching mpdecision, just because the input boost is so high. But it has to drive this screen, which has a ridiculously unnecessarily high resolution. I'm probably going to do much the same thing as the N5 on this device. I did some work on the governor this weekend, and I'm testing it out now (I need to test on routine work days to really know the battery effect).

As a final thought, mpdecision usually ensures excellent performance. My kernels are primarily about features and smoothness. Battery life is still a big consideration, but I develop for flagship phones, and want the smoothest experience possible. I consider minimizing battery use to be part of the optimization rather than the main goal of development. I like things simple, and don't change from stock unless necessary, so as long as mpdecision doesn't get in the way, I keep it.
[Nexus 6  Original Android Development] flar2:
I have adaptive brightness on. If I drag the slider all the way to the left on the options pull down, brightness is at 12 in my brightly lit office. If I cover the light sensor, it goes all the way down to 1. A value of 0 would be off.

So, on stock ROM, with adaptive birghtness on and brightness slider all the way down, it will automatically go as low as possible. That's why I don't think a kernel mod is necessary. The limit doesn't need to be changed like on some other devices (like the Nexus 5). The brightness slider is basically doing the same thing as the backlight dimmer mods I added to other kernels.
[Nexus 6  Original Android Development] DroidIt!:
Really, HTC phones don't have touchboost? I thought they all did as that was part of Goog's project butter.

I've only ever come across one kernel where the dev advised turning off mpdecision. That was faux and that was because he replaced the alternative hotplugging with his intelliplug to turn on by default when mpdecision is disabled. I don't pretend to know what he did to enhance horplugging with his intellliplug, but I do know so far today I've been on my phone for a couple hours on your .20 release and I still have 80% battery left. So IMO as far as mpdecision vs. hotplugging I'll probably just stick with mpdecision and still on your EleX gov. I'm getting better battery life on my N6 than my N5 by quite a stretch even with the bigger screen. :)
[Nexus 6  Original Android Development] flar2:
There is some boost on HTC. It's more like a quick cpu_boost in milliseconds, and it's controlled more by pnpmgr than mpdecision. It depends on context. So on HTC, if you pull down the notification, or open up the app drawer, it boosts, but not not for long and not to the same extent if using apps. Unless the apps are in HTC's database. I'm not sure the details of current pnpmgr, but it has basically contained per app modes in the past (including performance governor for benchmarks).

BTW, the elementalx governor is based on HTC's custom governor. I just made it multiphase and perform better during gaming (where it tends to lag)
[Nexus 6  Original Android Development] danarama:
Its just a shame Google don't let us go to 1 without adaptive brightness on.

What is the slider supposed to be doing when AB is activated anyway?

---------- Post added at 06:00 PM ---------- Previous post was at 05:59 PM ----------

Me too
[Nexus 6  Original Android Development] flar2:
This one has a bigger battery, but the Nexus 5 just has poor battery life. By far the worst out of all my phones.

So it is indeed a minimum of 17 using the slider with adaptive brightness off. But that is due to software rather than kernel.

They probably did that to prevent the screen from being completely black in bright sun if people accidentally set it too low. With adaptive brightness, it would never be set that low in bright light, so the full scale is available.
[Nexus 6  Original Android Development] DroidIt!:
Makes sense :) Like I said, I'll try with adaptive on and see how it affects battery. I don't game at all on my phone. Big majority of my activities are talk, text, tapatalk and news websites so I go for max battery while still maintaining smoothness. So far I've found your ElX gov, 1.9 GHz max CPU, GPU limited to 500 max, and screen off CPU at 916 MHz seems to be working great without any performance hits at all. I know screen on a given day takes about 30% of my battery, so I'll turn on adaptive and see if that makes a difference. Thanks for being so helpful and all the info flar...one of the reasons I enjoy your kernel [emoji16]
[Nexus 6  Original Android Development] flar2:
I think if you set adaptive brightness on and lower the slider it will have the exact same effect as the backlight dimmer mod on my other kernels, and will allow the minimum to go below 17. I like the way brightness is implemented in lollipop, it's a huge improvement.
[Nexus 6  Original Android Development] DroidIt!:
OK :) Well, I'll give it a go today. I've been a manual brightness kind of guy for quite a while. Maybe I'll turn it on, see how it does for a few days and let ya know. Thanks again flar [emoji106]
[Nexus 6  Original Android Development] simms22:
i turned on adaptive brightness last night, and have been using the slider as well. seems like it gets way too dim with it on! lol. ive had to slide the slider a little right instead of left :)
[Nexus 6  Original Android Development] mrgoodpaul:
Is there a way to change that? I don't necessarily need to but I'd like to be able to just for the heck of it
[Nexus 6  Original Android Development] DroidIt!:
Just turned on myself and same thing with me :)

---------- Post added at 01:21 PM ---------- Previous post was at 01:15 PM ----------

Don't usually post these, but with my settings I described earlier and mostly on LTE :) ...
[Nexus 6  Original Android Development] simms22:
get it to boot, then adjust the voltage. try raising it at 3033mhz like 5-10mV at time, until it feels right, and no more soft reboots. what bin is your phone btw?
[Nexus 6  Original Android Development] mrgoodpaul:
Okay now I lost root and chainfires autoroot isn't flashing. It keeps saying failed.
[Nexus 6  Original Android Development] DroidIt!:
Flash in recovery :) http://download.chainfire.eu/693/SuperSU/BETA-SuperSU-v2.44.zip
[Nexus 6  Original Android Development] simms22:
try flashing this supersu http://download.chainfire.eu/693/SuperSU/BETA-SuperSU-v2.44.zip

also, you said you were running cm.. doesnt cm have an option that you have to enable to get root(su) access?
[Nexus 6  Original Android Development] mrgoodpaul:
Yes but when I flashed this awesome kernel that option disappeared. I'm guessing it broke root. No big deal. I'm no stranger to flashing ROMs and I know all the risks. Keep up the good work
[Nexus 6  Original Android Development] paychex:
sometimes it does take some time to catch up
[Nexus 6  Original Android Development] cobyman7035:
is that SU for any device?
[Nexus 6  Original Android Development] simms22:
yes, its supersu. ive never ever seen a device specific superuser before..
[Nexus 6  Original Android Development] Ladduro:
[MENTION=298610]Flar[/MENTION] do you recommend switching to El governor?

---------- Post added at 11:50 PM ---------- Previous post was at 11:44 PM ----------

How do you set cpu frequency while screen is off?
[Nexus 6  Original Android Development] erraggy:
Pretty sure that CM12 recently built SU into the RAMdisk and since this kernel replaces your RAMdisk, it is no longer the same.

[MENTION=4684315]flar2[/MENTION]? Is that right?
[Nexus 6  Original Android Development] simms22:
it might not be the same, but if you are flashing another kernel on top of cm, supersu will give you root. supersu will give you root even if you are still using their original kernel.
[Nexus 6  Original Android Development] jiv101:
Bliss pop just broke the custom kernel. Everyone is having problems with fc with the new update. Is this when flair makes his cm version
[Nexus 6  Original Android Development] TheEmpyre:
Have the play store app, upgraded to the most recent version running elementalx gov with CPU boost, stock rooted. Excellent work, it runs amazingly smooth and battery life has been great.
[Nexus 6  Original Android Development] DroidIt!:
Ups. Sorry I was thinking about my flo [emoji56] The rest is correct for my other settings though [emoji16]
[Nexus 6  Original Android Development] drawde40599:
? You would be controlling it manually with the brightness slider. You just have to have adaptive on to see the benefits , I don't like the red tint so I don't use it but ull get the Dim your looking for .

Or Maybe I'm misunderstanding you .
[Nexus 6  Original Android Development] stumpy352:
I think he wants to be able to manually control the brightness from 1-max using the status bar brightness control. Without using adaptive brightness. I'm not fond of adaptive either & this is the setup I had on my n5. Was good.

---------- Post added at 04:50 PM ---------- Previous post was at 04:49 PM ----------

My adaptive brightness takes 5-8sec to 'adapt' so its pretty painful to use for me.
[Nexus 6  Original Android Development] danarama:
Yes exactly, I want to use the slider from 1-255 and not have adaptive brightness on. Without Adaptive it's 17-255 which is too bright. I don't like adaptvie for multiple reasons. ...and I don't really get what the slider is doing when adaptive is on. Am I just changing the brightness for that moment to a lower-than-average postition in a scale assigned to that particular lux? And when the lux changes, the scale will reset to average for that new lux?

Sorry for off topic.
[Nexus 6  Original Android Development] n80k:
So I now have the same setup as you--pure and elementalx. I ran a scaled stability test for 50mins and it passed. Then an hour later I got a reboot smh. So I can definitely confirm that 5.0.2 didn't fix my issue and neither did a completely stock setup. Looks like this phone is going back
[Nexus 6  Original Android Development] Ladduro:
Anyone with a color calibrator, what are the best RGB settings for a neutral color reproduction. I am currently on 245/240/255
[Nexus 6  Original Android Development] DroidIt!:
Actually, kind of wondered the same myself. With adaptive on the brightness slider still works. Is that permanently changing the adaptive brightness brightness :) or is it just temporary and adaptive will revert to the setting that I made originally in the settings. But, after a day I think I've made my choice too. While sitting on my couch last night, I was just trying to read and my screen brightness kept constantly changing, sooo I think for me personally back to manual [emoji16]
[Nexus 6  Original Android Development] flar2:
For brightness, I might be able to make a switch that forces it lower. I haven't looked at the backlight code at all, and the kernel may not be the best place to do it, but if the code is like on other devices it would be very simple.
[Nexus 6  Original Android Development] flar2:
Also, still not happy with my tweaks to interactive (not released). In fact, I really don't like interactive at all. The tweaks I've made are not bad, but I think I may change course again, since franco is using conservative with success. That gives me hope that I can do something stable that is more like ondemand. Conservative actually scales similarly to the elementalx governor.

I also may dump mpdecision. We'll see, but the testing I'm doing is showing that the boost to 1497 is not particularly beneficial. One thing I tried was basically running at 1497 most of the time and boosting when necessary. I didn't find it as responsive as I'd hoped, which means there is no point in having a floor of 1497. This SOC is fast enough that we need scaling to be more responsive.
[Nexus 6  Original Android Development] danarama:
I know devs hear this all the time, but if you need anything testing, I'm happy to oblige. I use my device pretty heavily.

Hope our off topic convo hasn't bullied you into looking at it.
[Nexus 6  Original Android Development] cfrank38:
Did you try out frank builds. Syco fixed many problems and my n6 is flying... Use build 9 ... Here is the link https://www.androidfilehost.com/?w=files&flid=23463
[Nexus 6  Original Android Development] Simer03:
So what's the key difference between your elementalx governor? Sorry im a new elemental user but not a noob I swear :p
[Nexus 6  Original Android Development] Ladduro:
One more question please. USB fast charge disabled in elementalx app means that turbo charge is not enabled while charging from wall socket?

Thanks
[Nexus 6  Original Android Development] danarama:
Its not related. its USB fast charge, not wall socket fast charge.
[Nexus 6  Original Android Development] n80k:
I might as well give it a shot. Thanks for the suggestion! ..and the link. I've looked for the frank N6 builds before and couldn't find them

---------- Post added at 08:18 PM ---------- Previous post was at 08:05 PM ----------

I'm no expert on adaptive brightness by any means but I'm pretty sure the slider simultaneously adjusts the minimum and maximum range that the brightness is allowed to be automatically adjusted to. So for instance, if you have the brightness slider adjusted as high as it will go the minimum brightness will be raised to say 50% and maximum to 100%. So when you are outdoors in a sunny environment the brightness will automatically go to the highest range possible (100%) and when you're indoors with the lights off it will go to the lowest possible range (50%). Keep in mind those numbers are for illustrative purposes only.
[Nexus 6  Original Android Development] Lancez:
So quiet here today, more than 4 hours and not a single post :victory:
[Nexus 6  Original Android Development] flar2:
It'll be a bit more lively after my next release ;)
[Nexus 6  Original Android Development] Lancez:
yeah, I figured. I check this thread at least 10 times a day and still no damn update :p
[Nexus 6  Original Android Development] Krunk83:
What would be the best boost settings for the smoothest experience? I've been testing some a bit but I have no idea which settings do what and how/if they effect battery.

These are my current settings

nexus 6
[Nexus 6  Original Android Development] drawde40599:
Stock settings .
[Nexus 6  Original Android Development] Krunk83:
My settings seem smoother than stock but OK.

nexus 6
[Nexus 6  Original Android Development] danarama:
Stock for this kernel or stock for n6?
[Nexus 6  Original Android Development] Krunk83:
For the kernel

nexus 6
[Nexus 6  Original Android Development] danarama:
Odd. My kernel settings for boost are turned off and its completely smooth. I could turn things up and maybe make things faster but can't imagine being smoother than smooth.
[Nexus 6  Original Android Development] Lancez:
I just noticed that if I use EX governor when I unlock the phone I get little stutter compared to interactive. not a big deal, just wanted to report back
[Nexus 6  Original Android Development] cfrank38:
Calm here i think dev is working hard on something new :thumbup:
[Nexus 6  Original Android Development] Lancez:
Who's asking for ETA or fighting each others :confused:
[Nexus 6  Original Android Development] cfrank38:
Nothing of these 2. Im waiting like everyone for a new release without pressure only I'm happy of these releases
[Nexus 6  Original Android Development] DroidIt!:
:) Think he just meant it's calm in the thread...as in quiet, so flar hopefully is working on something good ;)
[Nexus 6  Original Android Development] Lancez:
I just got that, kinda reminds me of "good, the guy clothe himself". lol
[Nexus 6  Original Android Development] monkboy24:
Keep calm as flar cooks ?
[Nexus 6  Original Android Development] jtwlbz:
Yeah very quiet.. Good means no problem..
[Nexus 6  Original Android Development] treIII:
I'm using a screnn dimmer app while in the dark and on certain things while the screen is dimmed lower than stock the touch screen becomes unresponsive. Not sure this would matter flar just thought I'd let you know. One thing I've noticed with the screen dimmed is that when installing an app from the play store the screen will not respond when touching install. Thanks for your work. Its always top notch regardless of device.

Sent from my Nexus 6 using Xparent Blue Tapatalk 2
[Nexus 6  Original Android Development] danarama:
This is an android security feature. It blocks things like install when some 3rd party app puts an overlay over the UI, for example, if an overlay could press install, it could install malicious apps, bypassing the security of user-approval required to install applications in androids sand boxed environment

As it happens, the only way a 3rd party app can dim the screen more than minimum is to use such an overlay. Actually, that is not the same if controlled via the kernel or ROM as that would be a native function not 3rd party, so these issues wouldn't occur.
[Nexus 6  Original Android Development] Simer03:
Try Screen Filter
[Nexus 6  Original Android Development] flar2:
Very quiet. I'm working on a couple of things.
[Nexus 6  Original Android Development] cfrank38:
We are waiting without Any problems b20 is working good
[Nexus 6  Original Android Development] Lancez:
ZzZzZz.......
[Nexus 6  Original Android Development] inffy:
CM seems to have changed something that causes the new Theme Manager to FC if user is using a custom kernel.

Any idea what it could be?
[Nexus 6  Original Android Development] erraggy:
I'm not running pure CM12, but BlissPop instead and since it is built from CM12, these commits may be related to this issue:

http://xdaforums.com/showpost.php?p=58197836&postcount=409
[Nexus 6  Original Android Development] paychex:
You should already know that's gonna happen eventually
[Nexus 6  Original Android Development] inffy:
And that wasn't what I was asking...
[Nexus 6  Original Android Development] antiochasylum:
[MENTION=4684315]flar2[/MENTION] - theme chooser was merged into cm12. I'm sure you know this however...

This is what [MENTION=4913579]CPA Poke[/MENTION] said to add to the ramdisk and it should be compatible.

http://gerrit.liquidsmooth.net/#/c/5348/
[Nexus 6  Original Android Development] adomol:
New to the nexus 6 and I just installed this kernel. Now I was wondering how I go about decrypting my phone? I understand with this kernel forced encryption is disabled. Do I just format my userdata?

Thanks!
[Nexus 6  Original Android Development] simms22:
yup, format data. will delete all your data, storage as well.
[Nexus 6  Original Android Development] adomol:
Cool, was gonna format to f2fs anyway... two birds... one stone!
[Nexus 6  Original Android Development] ezy1022:
So i have the setting to use the power saver mode automatically come on at low battery and to show a notification of this. But it does not seem to work. Is there something I am missing?

Thanks

Sent from my Nexus 6
[Nexus 6  Original Android Development] simms22:
what % did you set it at to turn on?
[Nexus 6  Original Android Development] paychex:
well that's your answer. CM based roms stop working on ASOP roms when they add enough CAF commits
[Nexus 6  Original Android Development] Manya3084:
Most popular custom kernels will (most probably) accommodate both AOSP and CM, if the past is any indication. So, getting to the cause is still relevant.
[Nexus 6  Original Android Development] paychex:
True. Asking what it is isn't though. We already know CM uses CAF and eventually it breaks compatibility with AOSP kernels eventually. Report it and wait or flash a different rom if you want this kernel
[Nexus 6  Original Android Development] cc16177:
Edit nvm
[Nexus 6  Original Android Development] Circaflex:
Actually this time around cm plans to stick closer to aosp due to the cluster that hammerhead became
[Nexus 6  Original Android Development] paychex:
Either way, after the disaster the 1+1 is I will never use anything they make again
[Nexus 6  Original Android Development] inffy:
This problem has nothing to do wiyh CAF

Its a problem in sepolicies etc
[Nexus 6  Original Android Development] adio201:
Delete
[Nexus 6  Original Android Development] drawde40599:
Really ? I kinda find this hard to believe since CM doesn't support the use of "3rd party " kernels, and is on there own mission , I don't see why they would care . But Hopefully your info is correct Just to make life easier for Kernel Dev's
[Nexus 6  Original Android Development] TheEmpyre:
Running the latest version and I'm noticing that whenever I am on the phone, my face resting against the screen causes it to repeatedly vibrate as if I am double tapping the screen. Is this a result of the double tap feature with vibration feedback? I'm guessing it is, don't know if anyone else is experiencing this
[Nexus 6  Original Android Development] Ladduro:
I am experiencing the same thing. It vibrates randomly while on a call.

I can't relate it to touching the display, will try and report back

Sent from my Nexus 6
[Nexus 6  Original Android Development] ezy1022:
I don't see any option to set a % for powersave mode on the elementalx app?

Sent from my Nexus 6
[Nexus 6  Original Android Development] flar2:
Unfortunately, I can't find anything in the kernel to notify phone calls, so sweep2wake remains active. Disable sweep2wake if you are on the phone a lot.
[Nexus 6  Original Android Development] flar2:
Powersaver in the app can be set to turn on automatically but the % can't be adjusted. It's 15%, the low battery broadcast by Android system.
[Nexus 6  Original Android Development] ezy1022:
Ok it came on at 15% but after charging the bat it stayed on. Is there a way I can send a broadcast using an app like automagic or Tasker to make my own profiles, like custom and powersave modes?

Sent from my Nexus 6
[Nexus 6  Original Android Development] paychex:
Didn't say it was
[Nexus 6  Original Android Development] simms22:
ahh, it was the first time ive ever looked at the powersaver options yesterday, i didnt realize that my rom has extra features there :angel:
[Nexus 6  Original Android Development] flar2:
Some ROMs may provide a way to change the default of 15%

For those with the elementalx app, you can use these intents with Tasker:

flar2.elementalxkernel.powersaver.DISABLE_POWERSAVE
flar2.elementalxkernel.powersaver.ENABLE_POWERSAVE

flar2.elementalxkernel.performance.DISABLE_PERFORMANCE
flar2.elementalxkernel.performance.ENABLE_PERFORMANCE﻿

For the moment, frequencies probably won't stick that well, as I have most of that pretty much stock right now while I figure out what to do about the governor situation.