yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max Questions & Answers] leprince2007:
Turning off the phone is not a good solution.I sometimes need to know the time or take one or two photos.

I need something like ultra power saving mode?
[Xiaomi Mi Max Questions & Answers] Zola III:
Which you can get when you: unlock boot loader, root, flash a costume ROM & take a control of the phone. In the meanwhile address your complaints to the one's in charge on the official MIUI forum. This is costume ROM's community and we wouldn't make our efforts if we were really satisfied with what OEM's offered.
[Xiaomi Mi Max Questions & Answers] leprince2007:
I bought a second-hand mi max.

A-I heard that ultra saving mode was there in miui 8.Which miui 8 version have this mode as there are a lot of versions:

1-miui 8 android 6

2-miui 8 android 7

B-Does this mode save battery more than the normal battery saver mode?

please help me
[Xiaomi Mi Max Questions & Answers] Zola III:
A) Nope. So called "ultra power saving mode" is tied to vendor not MIUI or Android version.

The MIUI 8.3 is based on the Android 6 and whose one of the better firmware releases regarding battery life. That's why I recommend it in the first place.

B) it's MTK own frequency scheduler set of restrictions ment to extend the battery life but in generally their SoC's are less efficient than Snapdragons. Only Sony has an rather good "Ultra power saving mode" included in their firmwares and disregarding of the SoC vendor.

C# Unlock the boot loader, root, make recovery & kernel backup with flashify (or something similar), install latest unofficial TWRP by nijel8, flash the unofficial LineageOS 14.1 by nijel8, latest firmware & Open Gapps (micro or pico), install the script of your choice from power/performance thread (post no#5) & let it boot. In settings enable the hotplug option, reboot and enjoy. This end's this discussion for me.
[Xiaomi Mi Max Questions & Answers] leprince2007:
You mentioned that miui 8.3 is the best rom in battery.

1-Is this rom global stable? Or global beta?

2-Could you give me it's link to download?
[Xiaomi Mi Max Questions & Answers] Zola III:
Whose stable global & it's not available anymore. Oldest one available currently is 8.5.1.0 which is Android N with MIUI 8.

So you are stuck with what you have.
[Xiaomi Mi Max Questions & Answers] leprince2007:
No,I searched for older miui versions on google, and I found alot of versions available for download in miui forum.

Just till me the exact miui version? Global stable or beta?
[Xiaomi Mi Max Questions & Answers] Zola III:
MIUI 8.3.0.0 Global stable.
[Xiaomi Mi Max Questions & Answers] leprince2007:
I searched for miui glbal stable 8.3.0 but I don't find it. I found a lot of other miui 8 for mi max:

https://www.google.com/search?q=Miu...HVgcCa8QrQIoBDABegQIBBAJ&biw=393&bih=679#ip=1

I also found multiple miui 8.3 global beta

Are you sure of miui version?
[Xiaomi Mi Max Questions & Answers] Zola III:
Sorry, my bad. It whose 8.0.3.0 for my Max Prime & 8.0.2.0 for regular models.

http://en.miui.com/thread-381006-1-1.html

http://en.miui.com/forum.php?mod=viewthread&tid=386185&extra=page=1&page=1&mobile=2
[Xiaomi Mi Max Questions & Answers] leprince2007:
I'am sorry but how do you know that this miui version is best in battery as you said you have prime version?

Some people(thread in the link) says this miui version is bad in battery
[Nexus 5X Original Android Development] milouk:
Hi all,

I decided to share my personal custom kernel with all of you. The main reason i started developing this kernel is to balance performance / battery and also add features.

I believe i have included most of the usually requested features. If your feature is not included you can ask for it and i will try to include it as long as you don't ask for ETA's. I am a student and i do this on my spare time.

This kernel is based on LineageOS 15.1 sources for bullhead and has been upstreamed to version 3.10.108.

I also have a 3.10.73 version which obviously is not upstreamed but in my opinion has better battery life. Features remain the same between those two versions.

So let's jump the interesting part!

Sphinx Kernel Features

Upstream Linux version from 3.10.73 to 3.10.108

Compiled with GCC 4.9

Built with -O2 optimizations

April Security Patch

Some CVE Patches

Overclock to 2016 MHz for the Big and 1632 MHz for the Little

Underclock to 302 MHz for Big & Little

Faux Sound Control

High Performance Audio

Adreno Idler

Boeffla Wakelock Control

Input Boost Driver

Kcal Advanced Color Control

TouchBoost Control

Backlight Dimmer

Vibration Control

Fingerprint Boost Driver

DoubleTap2Wake

DoubleTap2Sleep

Sweep2Sleep

Sweep2Wake

Camera Launch Gesture

Governors : blu_active, interactive, ondemand, userspace, powersave, performance

leds - qpnp : Smooth pulsing of LED for charging and notifications by @jollaman999

Zipped up with AnyKernel2 from @osm0sis

Special Thanks

@nathanchance, @mr.ace, @flar2

Notes

I bear absolutely no responsibility if you brick your device. If you are not sure what a kernel is, how to flash it or how to restore your phone in case something goes wrong then do NOT proceed

Downloads

Version 3.10.108 :

Version 3.10.73 :

XDA:DevDB Information

Sphinx Kernel, Kernel for the LG Nexus 5X

Contributors

milouk

Source Code: https://github.com/milouk/android_kernel_lge_bullhead

Kernel Special Features:

Version Information

Status: Stable

Current Stable Version: 2.0

Stable Release Date: 2018-05-07

Current Beta Version: -

Beta Release Date: 1969-12-31

Created 2018-05-07

Last Updated 2018-05-07
[Nexus 5X Original Android Development] milouk:
Previous Versions

Sphinx Kernel v3.5

3.10.108 : https://www.androidfilehost.com/?fid=11410963190603867183

3.10.108 non OCed : https://www.androidfilehost.com/?fid=11410963190603867184

Sphinx Kernel v3.4

3.10.108 : https://www.androidfilehost.com/?fid=11410932744536996486

3.10.108 non OCed : https://www.androidfilehost.com/?fid=11410932744536996487

Sphinx Kernel v3.3

3.10.108 : https://www.androidfilehost.com/?fid=1322778262904018923

3.10.108 non OCed : https://www.androidfilehost.com/?fid=1322778262904018924

Sphinx Kernel v3.2

3.10.108 : https://www.androidfilehost.com/?fid=1322778262904007553

3.10.108 non OCed : https://www.androidfilehost.com/?fid=1322778262904007554

Sphinx Kernel v3.1

3.10.108 : https://www.androidfilehost.com/?fid=5862345805528067884

3.10.108 non OCed : https://androidfilehost.com/?fid=5862345805528067905

Sphinx Kernel v3.0

3.10.108 : https://www.androidfilehost.com/?fid=5862345805528043411

3.10.108 non OCed : https://www.androidfilehost.com/?fid=5862345805528043412

Sphinx Kernel v2.9

3.10.108 : https://www.androidfilehost.com/?fid=11050483647474829955

3.10.108 non OCed : https://www.androidfilehost.com/?fid=11050483647474829898

Sphinx Kernel v2.8

3.10.108 : https://www.androidfilehost.com/?fid=674106145207495299

3.10.108 non OCed : https://www.androidfilehost.com/?fid=890278863836293765

Sphinx Kernel v2.7

3.10.108 : https://www.androidfilehost.com/?fid=674106145207491233

3.10.108 non OCed : https://www.androidfilehost.com/?fid=674106145207491235

Sphinx Kernel v2.6

3.10.108 : https://www.androidfilehost.com/?fid=818222786056033324

3.10.108 non OCed : https://www.androidfilehost.com/?fid=818222786056033322

3.10.73 : https://www.androidfilehost.com/?fid=890278863836289054

Sphinx Kernel v2.5

3.10.108 : https://www.androidfilehost.com/?fid=890278863836286578

3.10.108 non OCed : https://www.androidfilehost.com/?fid=890278863836287556

3.10.73 : https://www.androidfilehost.com/?fid=746163614322265715

3.10.73 non OCed : https://www.androidfilehost.com/?fid=746163614322266775

Sphinx Kernel v2.4

3.10.108 : https://www.androidfilehost.com/?fid=818222786056031224

3.10.73 : https://www.androidfilehost.com/?fid=674106145207487712

Sphinx Kernel v2.3

3.10.108 : https://www.androidfilehost.com/?fid=962339331458992112

3.10.73 : https://www.androidfilehost.com/?fid=890278863836285317

Sphinx Kernel v2.2

3.10.108 : https://www.androidfilehost.com/?fid=818222786056029670

3.10.73 : https://www.androidfilehost.com/?fid=674106145207486155

Sphinx Kernel v2.1

3.10.108 : https://www.androidfilehost.com/?fid=962339331458991065

3.10.73 : https://www.androidfilehost.com/?fid=818222786056029267
[Nexus 5X Original Android Development] Phalanx7621:
This kernel must be so good it needs 3 threads! Gosh darn it's gonna be good
[Nexus 5X Original Android Development] GuestK00141:
Yep haha, just a mistake due to his internet connection probably.
[Nexus 5X Original Android Development] milouk:
Hahaha yeah guys sorry. I submitted it once but it took hours loading and it got submitted 3 times. Since then i deleted the other 2 but they still show up. Hopefully one moderator will fix this!
[Nexus 5X Original Android Development] Phalanx7621:
I'm excited to try this kernel, thanks a lot for the hard work ?
[Nexus 5X Original Android Development] milouk:
Since its my first kernel i am currently waiting for androidfilehost to grant me developer access. If this does not happen the next few hours i will upload the files manually. :D
[Nexus 5X Original Android Development] GuestK00141:
Do you know that lowering CPU frequencies on this device is useless as it's running on the same voltage.
[Nexus 5X Original Android Development] milouk:
Yes i do know it. But some users still request it so who am i to disagree? ? Its a harmless feature that brings joy to some users
[Nexus 5X Original Android Development] zurik:
Flashing this kernel it show as Zestkernel. May you send a screenshot ? To be sure.
[Nexus 5X Original Android Development] milouk:
That is impossible...are you sure you flashed the correct zip? I have not even cherry picked a single commit from Zest Kernel
[Nexus 5X Original Android Development] zurik:
It's based on LineageOS kernel, right? I flash it on AOSiP but it don't want to flash.
[Nexus 5X Original Android Development] milouk:
Yes you can see the source code. Its base on Lineage 15.1 source. Also im Greek too so if you have anu further inquiries you are more than welcome to DM me. :laugh:
[Nexus 5X Original Android Development] milouk:
Version 2.1

* May Security Patch
[Nexus 5X Original Android Development] milouk:
Version 2.2

* Dynamic Fsync
[Nexus 5X Original Android Development] jugoslavpetrovic:
Cool. Thanks
[Nexus 5X Original Android Development] milouk:
You are welcome! Did you try it? :laugh:
[Nexus 5X Original Android Development] dogedoge:
Is there an option to change the thermal throttling temperature for the CPU with your kernel?
[Nexus 5X Original Android Development] jugoslavpetrovic:
Of course, with any kernel manager app if rooted.

---------- Post added at 03:41 PM ---------- Previous post was at 03:35 PM ----------

Well, first I forgot to flash supersu together and my device automatically got encrypted which Im not fan of.

I like the idea having Adreno Idler, almost forgot about the feature, lol.

I think you could add cpu workque feature, just suggestion.

So far, it acts a bit laggy but its still too early to say and it could be from thermal which I keep at 42 and its hot today where I am now but will see later.. i will run this kernel for some days to see. Thanks
[Nexus 5X Original Android Development] :
I'm actually testing your kernel, it's very smooth and fast but can you tell me what's is your personnal config of it (governor and it's profile and maybe other more advanced settings).
[Nexus 5X Original Android Development] milouk:
Yes sure.

By the way Regarding Governors i use interactive and i switch between Ghostpepper profile and GlassFish1.2 (currently Ghostpepper)
[Nexus 5X Original Android Development] :
Thanks a lot, really appreciate your help!

I copied all your settings but just a last question about profiles, how you choosed the one that suited best to you, there are tons and no explainations (or outdated guides) for them.
[Nexus 5X Original Android Development] milouk:
To be honest. I read some guides that explain some of them. But my picks are mostly based on my experience. GlassFish is more battery oriented while Ghostpepper is a bit smoother in my opinion.
[Nexus 5X Original Android Development] :
Aren't these profiles outdated compared to latest interactive configuration ? Because on the only thread on this subject (Nexus 5x -> general) glassfish and Ghost pepper were released in 2016 ? .

I'm asking about that because I tested the governors of you kernel and for each of them, cpus states are 50% on 1600mhz and 50% on 380 MHz.

PS: are these profiles device specific , if yes I understand why there are from 2016.
[Nexus 5X Original Android Development] milouk:
Im using Ghostpepper profile right now an these are my statistics. It works as intended.

If you want to take advantage of the OCed freqs you should pick a profile that support these freqs like KestrelOC or modify one of the existing profiles. I think they adapt to each device specs. So they are not device specific also i think they do get updated via the EXKM but im not sure about it.
[Nexus 5X Original Android Development] Lughnasadh:
I'm pretty sure these are device specific because different devices use different frequencies and have a different amount of cores. For example, 787200 is a frequency that exists on our phones, but not on the Nexus 6P. The Nexus 6P also has 2 additional big cores. Additionally, different devices will end up having different minimum and maximum efficient loads.

There is also a Nexus 6P thread and the creators of a few of the profiles there have made an additional profile that will work on the Nexus 5x, e.g. Heimdall.

You also have to be careful because some of the profiles (e.g. Butterfly & Heimdall) will enable msm_thermal and disable core-control, which you don't want. So I usually change them back with EXKM (although a simple reboot will also change the back as well).

I believe the only way these profiles get updated is if the creator updates them and then flar2 adds the updated versions in EXKM. But, as you've noticed, most have not been updated for a couple of years.
[Nexus 5X Original Android Development] milouk:
I agree 100% with what you said. I wasnt sure if the configuration of each profile was hardcoded and thus device specific or used an algorithm like SoniCron's to calculate target loads etc for each device taking into account available freqs and thus not device specific. But what you said makes sense too. I think that they do get updated as i believe that since last EXKM update profiles have been added.
[Nexus 5X Original Android Development] :
And is there any descriptions about the profiles that have been added? But if there are device specific , there are no more news for Nexus 5x.
[Nexus 5X Original Android Development] milouk:
To see if they are or not device specific you should ask flar2. As far as my knowledge goes the names of the profiles are universal and i highly doubt if the creators made a version for each device. Also another way would be that EXKM first identifies the device to which it is installed and provide this devices profiles. This is why i think the profiles somehow adapt to each device. But again you should ask flar2 for more details. Unfortuantely for more details you can either search or test. You can just test each profile for a full 100-0 battery drain and see which one behaved the best.
[Nexus 5X Original Android Development] flar2:
They are device specific and EXKM checks before making them available.
[Nexus 5X Original Android Development] Lughnasadh:
Edit: Ninja'd by [MENTION=4684315]flar2[/MENTION] ?

Check here for more info on each one. Some are scattered about in the thread so let me see if I can find specific links as well... https://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

https://xdaforums.com/showpost.php?p=64715483&postcount=1163

https://xdaforums.com/showpost.php?p=69657754&postcount=5542

https://xdaforums.com/nexus-5x/general/alpha-glasscannon-interactive-tweak-t3587980

https://xdaforums.com/showpost.php?p=68330029&postcount=4418

https://xdaforums.com/showpost.php?p=68223776&postcount=4203

https://xdaforums.com/nexus-6p/gene...e-governor-t3290605/post65426708#post65426708

https://xdaforums.com/showpost.php?p=67806330&postcount=4008

There is a Drunk Sauce Lite as well, which uses Interactive governor. The regular DrunkSauce uses another governor.

As you can see, these are device specific. The Nexus 6P profiles are different than the Nexus 5X.

Here is a link to the Nexus 6P profile thread... https://xdaforums.com/nexus-6p/general/guide-advanced-interactive-governor-t3290605

Some more links...

https://docs.google.com/spreadsheets/d/1P1LXnJnUdz9cC_qpcwMpfParUBlaPbIhyLZHOWjknUE/edit#gid=0

https://onedrive.live.com/?authkey=!AEvS6yncruE8Ki0&id=C9E77668F08DB9DD!55623&cid=C9E77668F08DB9DD

I've attached an example of a profile, HawkTail 1.2. You can see that it is "hard coded", if you will. That is what is in EXKM for Nexus 5X
[Nexus 5X Original Android Development] jugoslavpetrovic:
To add to this conversation, there is also GlassCannon gov profile

https://xdaforums.com/nexus-5x/general/alpha-glasscannon-interactive-tweak-t3587980

And GovTuner mod

https://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828
[Nexus 5X Original Android Development] wilq1337:
Very smooth kernel, using newest 3.10.73 version, no problems so far!
[Nexus 5X Original Android Development] milouk:
I just wanted to share my last battery usage. I want to say that 3:45 hours SoT without a single charge in between for a 2700 mah battery which is 2 years old is above great. At least for me. Also i should point out that my CPU is Overclocked...imagine if it was not..
[Nexus 5X Original Android Development] Lughnasadh:
Yep, this kernel gets great performance and battery :) . I am getting roughly 18%/hr active drain and .5%/hr idle drain. I don't pay much attention to SOT but those numbers equate close to 5 hrs SOT (with light to moderate use) :good: . That is with the little core OC'd 1 step and using a governor profile that I have tweaked towards the performance side.

Very happy with this kernel :cool:
[Nexus 5X Original Android Development] :
Not getting this :(

My device is pretty Always hot with 2h of sot...

I've copied your settings but nothing changed.
[Nexus 5X Original Android Development] milouk:
Well it depends on what use you do. For example i don't play games but i video call a lot which makes my ohone hot but i still get over 3 hours SoT 9 out of 10 times.
[Nexus 5X Original Android Development] :
Yeah this device is getting very hot too quickly even for simple tasks.
[Nexus 5X Original Android Development] milouk:
That is true. At least if you lower the thermal threshold your big cores will go offline and thus youll avoid a bootloop
[Nexus 5X Original Android Development] Lughnasadh:
Yeah, unfortunately for us, the Snapdragon 808 SoC in our device is renown for its overheating issues.
[Nexus 5X Original Android Development] :
Do you know why my fingerprint is taking time to unlock after being in idle or not unlocking at all?

Edit: as you know I'm on lineage os and apps that use root are exkm and tasker.
[Nexus 5X Original Android Development] milouk:
I have no idea. Not only i dont have this issue but it should wake up quicker as i have implemented Fingerprint Boost Driver...i would guess that your issue lies in your settings somewhere.maybe governor or cpu clocks.another user reported the same issue but said its not kernel related. Instead it appeared after he rooted. So another guess would be a magisk module?
[Nexus 5X Original Android Development] :
It was linked to ex kernel manager settings that I set.

I uninstalled it and reboot and works fine again.

Now I'm searching wich setting was causing that will report you.

---------- Post added at 09:32 PM ---------- Previous post was at 09:22 PM ----------

So it seems to be link to the CPU section only , probably setting chill with thermal to 44, setting Big cores off, disabling CPU boost. But after reinstalling ex kernel manager it's now always unlocking, just a bit slower when applying previous settings so I think that exkm is sometimes saving settings and mixing with other and after a few time it's causing problems.

I already had this problem before and conclusion is that lowering CPU settings cause slower unlock and reinstalling kernel and changing too much kernel cause not unlocking.

PS: when changing settings I noticed that Westwood wasn't in your kernel, will be kind to add it.

Have a good night ?
[Nexus 5X Original Android Development] zurik:
Battery is Quite impressive with OCed version with little cluster freqs min. 384Mhz and Max 1632MHz. Big cluster min 384 and Max 1824MHz and GhostPepper EXKM profile. Running latest Lineage OS build.

Edit: XDA app didn't upload photos, I have 4h SoT.
[Nexus 5X Original Android Development] milouk:
I will try to include it 2.7 along with some other nice features ;)

Edit: Good News for you my friend [MENTION=6657029]francos21[/MENTION]. Westwood is on the way along with some other TCP options for you to pick. Also due to the fact that i got exams until the 13th. Probably 2.7 will be relased the 15th.
[Nexus 5X Original Android Development] milouk:
I have exactly the same configuration with you. Im glad you enjoy it.
[Nexus 5X Original Android Development] :
Don't worry I'm also having exams actually , I totally understand you, good Luck ?
[Nexus 5X Original Android Development] milouk:
Good luck to you too mate :D
[Nexus 5X Original Android Development] jugoslavpetrovic:
I have to compare with [MENTION=470754]Franco[/MENTION]21

With 2.6 same as mine, hotter, slower, draining more. But today reverted to 2.5 and seems less of all, both nonOC versions.
[Nexus 5X Original Android Development] milouk:
UKSM does drain battery a bit more but provides more ram. I have reduced the max Cpu from 12% to 10% . In version 2.7 UKSM will be disabled by default so you do not have to worry.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Actually I have tried disabling it and still acted slow and been warm.

I dont know. I am fine with 2.5
[Nexus 5X Original Android Development] milouk:
That is weird becuse that was the only major change from 2.5. I hope that 2.7 will be better for you
[Nexus 5X Original Android Development] zurik:
I saw your configuration and I set up.
[Nexus 5X Original Android Development] Lughnasadh:
For those of you that are using Ghostpepper with the little core overclocked at 1632, I made an adjustment to the profile. The target load for 100 needed to be changed to 1632 from 1440 as I noticed with it set at 1440 the max frequency rarely (or in my case, ever) reached 1632 (since the original Ghostpepper profile was not made with overclocking in mind).

Just delete ".txt" from the attached file and put it in "Internal shared storage>ElementalX>gov_profiles" folder.

EDIT 1: To see if you were actually hitting the 1632 frequency with the original Ghostpepper profile, just check the CPU times in EXKM and see how much time was spent at 1632.

EDIT 2: I also made one for overclocking the little core at 1536 (which is what I'm currently doing). If anyone is using this value let me know and I'll upload it here. The reason I use 1536 is b/c I've noticed that 1632 is a little unstable on my particular phone and I get the occasional random reboot with that frequency, but not at 1536.
[Nexus 5X Original Android Development] :
To use 302Mhz does the hispeed freq should be modified?
[Nexus 5X Original Android Development] Lughnasadh:
Likely yes. Check your CPU times to see if its hitting that frequency. If not, I can make another profile if you want when I get home from work tonight. Just tell me the min and max you are using for both cores.

Or you can change it yourself within the profile. Its pretty simple.
[Nexus 5X Original Android Development] :
Seems to be fine, thanks.
[Nexus 5X Original Android Development] Lughnasadh:
Cool :good: