yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] Lughnasadh:
I think it would be good for people who have a BLODed Bullhead to have the ability to enable VDD restriction if they wanted to. Just my 2 cents worth :)
[Nexus 5X Original Android Development] milouk:
Cool guys i dont need any proof! This feature's existence does no harm whatsoever so it will be re-added. Thanks for the heads up!
[Nexus 5X Original Android Development] Lughnasadh:
Thank you very much. Much appreciated :good::)
[Nexus 5X Original Android Development] jugoslavpetrovic:
Latest preview is having great features, but lowered voltage for me does not gives me benefits. I don't see improvement on battery and sometimes it feels like it needs power for cpu to work well and without keeping them hungry, lol.

There is also theory that higher performance cpu govs should done tasks faster and by that use less power and quicker lower the freqs so it help save battery as well.
[Nexus 5X Original Android Development] :
Lower voltages is saving battery for me, how much did you undervolted?

For the theory you are speaking it's true only if when you lower frequencies and choose a oriented battery gov, it's causing lags and really sorry but you can lower frequencies without having lags it depends on wich apps you are using and Android will just stop other processes to be able to run the main task on these lower frequencies.

Anyway I'm now using interactive with stock frequencies and with msm_hotplug because with hotplug the governor is no more playing a big role.
[Nexus 5X Original Android Development] jugoslavpetrovic:
I was testing 10-20mv lower. Maybe I could try more, like 25-50mv
[Nexus 5X Original Android Development] :
I set all to 640mV and it's working perfectly but only because I didn't overclocked anything.
[Nexus 5X Original Android Development] jugoslavpetrovic:
I dont overclock, I now test 1248 for both and -50mv
[Nexus 5X Original Android Development] jugoslavpetrovic:
Thanks a lot [MENTION=5533673]milouk[/MENTION] for so much features.

Can you advice on power suspend profiles? I checked the link but that kind of english is a bit distorted to me, lol. Same with Arch power.

Oh, and GPU booster as well, how it works as well?
[Nexus 5X Original Android Development] milouk:
I would aadvise to configure Powersuspend with Kernel Adiutor. I personally use " LCD Panel" Mode. ARCH_POWER should be enabled (again configure through kernel Adiutor) . Adrenoboost boost GPU freqs for a better gaming/graphic experience but also its power consuming as a feature.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Yeah, I do have Aduitor. So, how about some power saving gpu gov with booster, would it save battery if not playing games or something and get boosted when needed?

What arch and suspend power does?
[Nexus 5X Original Android Development] nirogu325:
[MENTION=5533673]milouk[/MENTION] - Thanks for keeping the N5X relevant to this day. I switch back and forth between OP6 and 5X while I test custom ROMs on the OP6. That device is still a WIP in some areas, so once the OEM finishes smoothing things out (and bringing Pie), I'll fully move. What was wrong with the SLIMBUS OC?
[Nexus 5X Original Android Development] :
Hello milouk ? ,

First big thanks for this awesome update, curious to test qnovo? .

I don't find how to tune arch power in kernel adiutor, I only found the switch button in misc, must I create a custom setting?

Have a nice day !

---------- Post added at 06:17 AM ---------- Previous post was at 05:48 AM ----------

Android early_suspend/late_resume PM kernel driver framework has been deprecated by Google. This new powersuspend PM kernel driver is a replacement for it and existing early_suspend drivers can be easily adapted to use this new replacement driver.

Power suspend is the state where various hardware like RAM, GPU etc are cut off from power to save battery. It is very much like the hibernate in Windows OR suspend in Ubuntu.

HYBRID: Generally suspend is slower than hibernation, hybrid combines both of them to achieve a mixed state. (VERY RECOMMENDED)

USERSPACE: The system intelligently suspends according to need of the device.

LCD PANEL: Powersuspend is dependent on lcd hooks, which means that only lcd panel can wake the device once it achieves a suspended state.

AUTOSLEEP: As the name implies, it autosleeps when needed.

So I think that LCD panel is the best for battery but could cause problems.
[Nexus 5X Original Android Development] milouk:
Thanks a lot. ARCH_POWER is just a boolean which is either true (enabled) or false (disabled) so there is just a toggle nothing more. What it does is tha it enables Architecture optimizations and architecture effcient functions to take place.
[Nexus 5X Original Android Development] milouk:
Regarding Slimbus OC. It was too OCed so i lowered a bit the numbers and added multiple new frequencies.
[Nexus 5X Original Android Development] :
Ok that's because you said "must be set with kernel adiutor" but it's working with exkm too like suspend mode (just numbers instead of text).
[Nexus 5X Original Android Development] milouk:
Honestly i cant see this option in EXMK might need a data clearing
[Nexus 5X Original Android Development] :
Using lineage with the root addon from lineage with gzr gapps.

But yeah it's like the the thermal throttling number not always visible, don't know if it's related to the app or the configuration.
[Nexus 5X Original Android Development] milouk:
Yeah it probably needs clearing data. Forget then what i said about kernel Adiutor
[Nexus 5X Original Android Development] Doomkopf:
Great Update, that feature list is so huge man :laugh:

One question tho, can I flash this over a rom with July Security Patches? (With July vendor, radio and bootloader of course ^^)

Cheers, keep up the amazing work
[Nexus 5X Original Android Development] :
Yes of course ? , my rom is lineage and also on july patch, by flashing sphinx you will have latest security patch but your rom will only show july because the string value will not be updated. (With july vendor also and you can even flash latest vendor there's no problem that will do a bootloop or so).
[Nexus 5X Original Android Development] milouk:
Couldnt have said it better!!
[Nexus 5X Original Android Development] jugoslavpetrovic:
With Auditor there is only that you can choose profile for the power suspend and with exkm there is no option for that.
[Nexus 5X Original Android Development] milouk:
Yes , regarding Powersuspend, Kernel Adiutor is highly recommended. You can of course configure it through EXKM or even manually but Kernel Adiutor provides the best interface for this specific feature.
[Nexus 5X Original Android Development] j-a-d-z:
For older version the standard for thermal throttling temp was set to 43 or 42 °C, now it's 60? Bug or feature? Or I'm holding it wrong aka my fault?
[Nexus 5X Original Android Development] milouk:
Its something in between. As you know i have merged Jolla's msm_thermal patches. These patches have as default 60°C , thus in order to merge them and avoid any conflicts i reverted the 43°C default thermal threshold i had until now. After merging the patches i forgot to re-add it. It will be fixed in next version. Till then tou can set it manually to 43°C and set it to apply on boot!

Cheers
[Nexus 5X Original Android Development] jugoslavpetrovic:
Yea, I noticed that too, and I remeber jolla had it at 60, and I thought maybe those patches works well with such threshold but I use script file for thermal limit and also for zram, so no matter what kernel I get what I want with no thinking about it, lol.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Today I have received my new "Nexus". It's Moto X4 since the Pixels are too much for me to buy due to catastrophic living standard in Serbia and no carrier is offering any with their plans.

I believe Moto X4 is a good catch after bullhead, 64gigs space with 4gigs of ram, 8core 2.2.

I wanted to thank you all guys here and [MENTION=5533673]milouk[/MENTION] for this hard core kernel, lol.

Keep rockin':good:
[Nexus 5X Original Android Development] :
That's sad ?

So I wish you the best ?

I also looked to this device on xda and you have P with treble ? but no good kernel available.
[Nexus 5X Original Android Development] Doomkopf:
After running the latest version for a few days, I have especially noticed that Qnovo Charging works really well for me - battery stays completely cool while charging, and charging speed feels similar to previous version. Very nice feature! :laugh:

About Power Suspend, is anyone able to set another mode than LCD Panel permanently? If I set it to for example Hybrid, it immediately resets after checking it in Kernel Adiutor again :( If I try to set it manually with Root Explorer, it gives me an error stating that the file can't be saved (/sys/kernel/power_suspend/power_suspend_mode). Can someone confirm this or is it just me? I don't have EXKM, maybe it works with that.

And, gentle fair sleepers is enabled for me by default (/sys/kernel/sched/gentle_fair_sleepers). Is that on purpose? Because in 3.1 changelog, you stated that gentle fair sleepers are further disabled, so I could imagine that this was set by accident/is a bug on my side ^^

Anyway, the update feels very nice, the things mentioned above are very minor/can be handled, just wanted to throw this out here.
[Nexus 5X Original Android Development] :
Yeah fair sleepers are enabled by default so disable them for extra smoothness.

Yes qnovo works great for me too ?.

Power suspend LCD is the best so don't change , anyway I will check and tell you on telegram.
[Nexus 5X Original Android Development] Doomkopf:
Sad to hear, nonetheless I wish you much fun with that new phone :)
[Nexus 5X Original Android Development] jugoslavpetrovic:
Well, I still got the faulty hammerhead and this working bullhead but it is the time fir renewal of my mobile carrier contract and this seemed like decent step forward with more ram and space. Also BLOD kind of freaks me out, lol..

I will probably come by here as well :)
[Nexus 5X Original Android Development] milouk:
It was a pleasure knowing man! Enjoy your new phone!! Stay cool and i hope we meet again in the future!!
[Nexus 5X Original Android Development] CLPose:
Great phone! I hope that you can have as much fun with it as you did with the N5X. Good luck!
[Nexus 5X Original Android Development] milouk:
Best. Im going to take some of it and create a post when i come back
[Nexus 5X Original Android Development] Streazzer:
Why

So, it's doesn't work for me. When i'm installing this kernel nexus loops at google logo, turns off and turns on again. Other kernel works, but i wan't this. Sorry for my english and i am not super good at installing kernels etc.
[Nexus 5X Original Android Development] Lughnasadh:
I'm guessing you tried the overlocked version? If so, try the non-overclocked version.
[Nexus 5X Original Android Development] Streazzer:
OK, i will try. i have 1 more question. It works on LineageOS?
[Nexus 5X Original Android Development] jugoslavpetrovic:
Of course, with 15.1
[Nexus 5X Original Android Development] Streazzer:
Works now. Thank you :)
[Nexus 5X Original Android Development] :
Normally on overclocked version, frequencies are not overclocked by default but I noticed that for big cores they are to 2150 MHz by default maybe an error or an oversight from milouk. [MENTION=5533673]milouk[/MENTION] can you confirmed that normally frequencies should not be overclocked by default ?
[Nexus 5X Original Android Development] Lughnasadh:
Yes, the big cores are overclocked by default even though they aren't supposed to be. Seems like maybe its that bug from a while ago.

The problem the other user has, I believe, is that some devices won't boot when the overclocking is increased by more than 2 steps. It appears to be device dependent and milouk knows about it :good: (nothing he can do about it).
[Nexus 5X Original Android Development] jugoslavpetrovic:
Should stay below OC but I believe that during boot they go all the way for faster boot.
[Nexus 5X Original Android Development] Streazzer:
sorry again. Can you tell me, kernel adding this all options? When yes, where are they?

sorry i am noob
[Nexus 5X Original Android Development] jugoslavpetrovic:
You have great info in the OP, the first post of this thread. Start from there. That is as you should do in every thread, to read first post, and few latest pages.
[Nexus 5X Original Android Development] Gabryele1976:
Thanks for share your configuration :)

I don't if my results is good, what do you think?
[Nexus 5X Original Android Development] :
Happy that I helped you ? .

Yeah you have about 3h30 - 4h of sot so that's great and with this screen it looks like you are using heavy apps so yes.
[Nexus 5X Original Android Development] Doomkopf:
I'll use this chance and post my config too, because I really invest time in such settings, to get the perfect ones for me. It's a tick of me, not only on smartphones :laugh:

Let's get to the config:

CPU

GlassCannon slightly modified (Boost speeds [MENTION=9075453]864[/MENTION]MHz and 633Mhz)

I think it's still important to have a gov profile, even when having a hotplug enabled, because the defaults are pretty bad and the freqs are constantly very high.

Hotplug

MSM-Hotplug enabled, everything default, except "Maximum CPU Screen Off" set to 2.

Voltage

I undervolted my cpu, but I can't give an ultimate solution here because there is none, every cpu is different so you have to find it out for your own cpu. But it saves battery with no sacrifices, I recommend everyone to do it.

Thermal (parameters are explained in 3.1 changelog)

temp_threshhold: 43°C (will be default in next version again, as milouk said)

temp_big_off_threshold: 58°C (default is 72 (or even 74°C, not sure), way to high considering BLOD)

poll_ms: 1000 (default is 250, imo temp doesn't change that quick (every quarter second is default, every second is enough in my opinion))

Screen

Activated Backlight Dimmer and increased Saturation to 40 (this is personal, but I think everybody should have a look at the settings and look whats best for them).

I/O

I/O Scheduler: Maple; it's a scheduler focused on reads, which should make the OS smoother (like row). It's also battery saving when the screen is off, because it increases the expiry time of requests so that it can handle them more slowly, causing less overhead

Read ahead value: 512kB - I think this is the sweetspot for 16gb memories, because it's faster than for example 128kB, but you still don't feel the negatives of increasing the value too high.

I/O stats disabled (more speed, i/o monitoring apps won't work with this tho)

LMK

Light mode from Kernel Adiutor (36MB, 54MB, 72MB, 90MB, 108MB, 126MB)

Misc

Disabled Vibration (preference, it just annoys me that my phone vibrates after using fingerprint lock)

Enabled Dynamic_Fsync

Disabled Gentle fair sleepers

Everything not mentioned is left on default ^^

With this settings, I get 5-6 hours of SoT, although i'm considerably a light user :D

I have some of this settings in a init.d script (the ones that are usable for most kernels, like for example applying glasscannon), and the rest is set on boot by Kernel Adiutor (although I think EXKM is better, but you'll have to pay for that). I'll also attach the scrpit, if you want to try it :) Remove the file extension (.txt) and move it to /system/etc.
[Nexus 5X Original Android Development] JJ111:
Wow, I did all configuration in "EX Kernel Manager" like mentioned, the speed is the same as before BUT after 13 hours of using "Threema Messenger", little bit browsing with "Via" and Email with "K-9 Mail" (in total around 30 Min. active usage) I still have 89% left or "approximately 5 days left".

Unbelievable, that's why I attached you a Screenshot to prove it.

Thanks francos21 for sharing your settings!
[Nexus 5X Original Android Development] zurik:
I think you need to play with kernel settings to have maximum battery
[Nexus 5X Original Android Development] :
I just think that as you are pretty the same as shadow kernel it's not usefull for users to have duplicate, so that's why I ask why you don't work together. Furthermore it will be maybe a better experience for you.

Then, I said it was unstable as I flashed it and it was not comporting like it must, it's not a critic it's a bug report, that's a big difference!

Finally, I'm not complaining at all as it doesn't change anything for me and I'm always happy to see new devlopment for our device and what you do is amazing so yeah I must accord it's a pretty good job anyway!

So sorry if I offense a devlopper like you, it make me feel shameful.

Have a nice devlopment day!
[Nexus 5X Original Android Development] milouk:
First of all you did not say it was not comporting as it should you just said "it is unstable" which is not a bug report. Secondly i did not get offended. Thirdly i can see many differences from Shadow kernel. To enumerate some. My kernel is based on Lineage 15.1 sources and is compiled with a different toolchain. I offer 2 versions. I have features such as OC which Shadow kernel does not have. Lastly it is not nice to be ironic to someone who is offering you something for free and is a result of his personal hard work. Show some respect and if you dont like my kernel you dont have to use it.
[Nexus 5X Original Android Development] jugoslavpetrovic:
I have been using the 108 versions, but now I will try the 73 version.

So far very fluid. What difference there is between those two, which is better for what?
[Nexus 5X Original Android Development] milouk:
Feature wise there is absolutely no difference. The only difference are the Linux patches between versions 73-108. 108 is considered more "secure" since many vulnerabilities have been patched from 73 And many bug fixes too. But as i said feature wise they are the same.
[Nexus 5X Original Android Development] jugoslavpetrovic:
So, 108 should be more secure and more bug-free?

Hm, then there is no need for the 73 builds, right?

Is it safe if I dirty flash one over other?
[Nexus 5X Original Android Development] milouk:
I just think - it could be wrong - that the 73 has slightly better battery. But if security and stableness is what you are looking for then you should stick with the 108. Dirty flash is ok.
[Nexus 5X Original Android Development] jugoslavpetrovic:
It is still too early to say but so far battery-wise 108 was better on my side.
[Nexus 5X Original Android Development] milouk:
As i said i could be wrong its been a long time since i tested the 73 for obvious reasons.. Though some users still download the 73 version so i will keep having 2 versions...you should test it though at least 2 days in order to see whats better for you.
[Nexus 5X Original Android Development] Lughnasadh:
Its great to see another kernel on the scene for Bullhead. Really appreciate you sharing your work with us :). I look forward to giving it a spin.

I do have one request....Would you consider disabling force encryption so those that don't want to root but want to stay decrypted can? Thanks for your consideration.
[Nexus 5X Original Android Development] milouk:
Thanks a lot for your kind words. Yeah sure! I will try to implement your feature in the upcoming releases :). Im looking forward to your feedback / impressions
[Nexus 5X Original Android Development] Lughnasadh:
Fantastic. Really appreciate it :)

Will certainly give feedback after running it for a while :good:
[Nexus 5X Original Android Development] jugoslavpetrovic:
What do you mean by that?

---------- Post added at 09:17 PM ---------- Previous post was at 09:15 PM ----------

It's not the same. There is no adreno idler in shadow kernel, not in elementalX, not in franco... Others that update regularly are very minimalistic close to stock, so...
[Nexus 5X Original Android Development] jugoslavpetrovic:
[MENTION=5533673]milouk[/MENTION], is it possible to make it default with not OC cpu clocks but with ability to OC, so only for ppl who want to overclock?
[Nexus 5X Original Android Development] zurik:
Settings, not sounds. That's GBoard's autocorrect.
[Nexus 5X Original Android Development] milouk:
Arent already the default clocks not OCed? I thought by default it had stock values. Im going to change it in the next build.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Oh, I was like what a hell, lol

---------- Post added at 11:22 PM ---------- Previous post was at 11:20 PM ----------

Uhm, I am pretty sure they are or they were, i set them manually to lower clocks with apply on boot.
[Nexus 5X Original Android Development] milouk:
Yes you are correct. This is going to be fixed on the next build.
[Nexus 5X Original Android Development] Lughnasadh:
I also noticed Touchboost is enabled by default but in the OP it says disabled by default. Just thought I'd let you know :good:
[Nexus 5X Original Android Development] jugoslavpetrovic:
Advice on how to manage adreno idler to more battery or performance?

---------- Post added at 11:33 PM ---------- Previous post was at 11:32 PM ----------

Yes, I keepnit off and is well.
[Nexus 5X Original Android Development] :
Nice to hear it!

Proud that it helped!

But the real person to thank is not else than Milouk!
[Nexus 5X Original Android Development] milouk:
Impressive resuts guys! Even better than mine ?
[Nexus 5X Original Android Development] :
Is it some kind of concurrence ? ,no kidding you, thanks a lot for sharing your settings, having more than one opinion is good for users.

1)I don't use governor profiles or even don't change the governor because hotplug is already managing settings and I'm scare of conflits and overheat, so [MENTION=5533673]milouk[/MENTION] what do you think about this?

2)why do you change max cores to 2 when offline for hotplug?

3) for voltages I think that it's true only if you overclocked otherwise I think that there will not be any problems. Saying without sacrifices is not totally right because I sometimes experience no responce from device or vibrator lags or even wifi problems (but not sure) because of lack of power.

4)for thermal where did you change settings ?

5)for saturation I don't change it cause it's no more realistic and looks like chinese device(but it's a personal choice as u said).

5)for IO, Maple is of course the best but about 512 I will test a bit.

6)for lmk I don't play with settings anymore as it's totally uncontrolable haha so I let it like that and only activate adaptive lmk.

7)for sot it really depends on usage so I advice you to not speak about it or if you speak about it, you must compare with your previous sot and tell what apps u are using.

That said, I wish you a nice evening and thanks again for sharing you settings, I will test them the coming days.

PS: I think that you really played a lot with these settings as you seems to know well about them so that's cool to be able to speak with users like you ? .