yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
Well, I keep using 2b+1s config and get (with light to medium use) 5 days and 12h SOT, sure I get spikes of power use when apps eat a lot of power (they are working fast there) but you can mitigate that by setting max frequency for big cores to say 1.4Ghz, or even lower, and adjusting big core target_loads to fit this new maximum. I would use something like this:

and maybe if I was very concerned about idle power use I would do this for small cores too

It will slow down the phone by about 20% but it will certainly be more power efficient, heat up less and live longer even under heavy loads. I won't use it because I rarely use sustained high loads, but I may do so if I were to use navigation for a long car trip.

BTW [MENTION=4399618]nijel8[/MENTION] - could you perhaps think about expanding core_ctl in settings>battery to include profiles - so such a case as I write here was possible? To change settings by selecting a file and apply them live.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Unrelated but thing is first core does most of the real work (regardless which one it is) load splits almost fairly to second one but that's it 3rd & 4th will rarely do anything. Trough is also that 4 idling smal A53 cores idling consume as much power as one big one the A72 but when first two are working & rest two aren't working anything they all share same voltage/frequency & there for waist more power. Having two litle cores working (at let's say 1GHz) & two big cores active idling at minimum frequency will definitely consume less energy than having 4 little ones at high frequency while having only one big one idling. When you for instance play games (heavy usage) mostly big core's will be employed for the task as they naturally have 2.2x capacity it's ideal to have two of them ready as that is usually what is needed but you can save a little by having only two little ones active idling instead of 4 of them. Ideal for this SoC without thermal throttling (in normal environmental conditions) is sustainable 1.4 GHz for two A72 core's & high GPU load, this is much better than having kick start at 1.8GHz then throttling both CPU to 1.4 GHz & even under that & throttling GPU to 400~450 MHz. As I have a S650 I for certain can guaranty this behaviour on the other hand S652 can not sustain the load on all 4 A72 core's for longer periods over a 1GHz. As the end I try to employ all L2 cache available along with having all active idling cores an exclusive access to it (when possible) to gain a bit performance (5~6%) from it in my cpu_ctl configuration.

By the way to clarify something that settings for interactive governor you get in Lineage or CAF (from where it whose copied) ain't default interactive setups, defaults are load 90 & boost 85. That what you get is a product of a bold attempt to minimise transitions in upscaling (as sched and anything tick based is considered a rather lazy in doing so) & a rather bad one. Going under 78 (without IO is busy enabled to be taken into account) even for a ondemand (& pretty much anything else) is insane instead making barriers with 90+ for selected frequencies is much better choice.

Just my pair of slippers. Best regards everyone.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
Def gov in this ROM is target load 80 and hispeed load 80 for 59000@1.305ghz, perfectly fast and smooth.

And with the 2+1-2 corectl settings when I tested it the scrolling thread would always spill over to the big cores, using a lot more power compared to using the 4 a53 cores, scrolling is one of the only tasks that loads all 4 a53's evenly, something the a53s are definitely more efficient at.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well super packing is still set bad or better say to much towards load splitting as much as possible which is strategy when you don't intend to use hotplug. Both sched_mostly_idle_load & sched_mostly_idle_freq should be set higher (20 to 46 & 400MHz to 1GHz per each & every CPU [must remain same per all CPU's in cluster]).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] i04055:
Is the hi-fi 24bit 192kHz audio works with this ROM?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
No. The only rom that has it working AFAIK is original MIUI 8 under Android 6 and only with PowerAmp beta build 704
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Use Foobar2000 it has it's own resample up to 96KHz which is quite enough & works good.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
Heating issue

Hi nijel, first of all let me say that the ROM is wonderful, there is an observation that the phone heats up from the screen side at the top where speaker is located, this mainly happens if I may be in low network coverage area and I did not observe this on miui, I have clean flashed your latest ROM 24/6/2017 with the firmware and I was using miui8 8.2.3 latest version.

Secondly when I try to check for lineage updates it prompts to check for network connection

Thirdly I am new to the kernel thing I want to know of leaving the os as it is full give optimal performance and battery or do I need to check the CPU hot plugging in battery settings

Thanks for your reply.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well cellular radio & RIL (Open RIL still works worser in every way & no one ever even tried to mess with closed source micro kernel OS for network DSP nor it probably will) blobs used hire are the ones from MiUI so behave should be the same. If radio scans for a network rapidly dispersing all around transmissions it gets really power hungry & their is litle we can do about it.

"Optimal" & "objective" are rather foreign expressions around hire...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
But that is a software interpolation that is again down sampled to Android core frequencies of 48kHz and 16 bit. It is useless and breaks music quality. I was writing about fully using our sound hardware that is capable of 192kHz and 24bit when proper driver is used ( as is under the player I mentioned under MIUI 8 on Android 6).

If you want quality then go and buy Neutron but it will down sample music to Android driver output as any other anyway.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
Running Max of 1ghz on the small cores messes up the settings in /process/SYS/.kernel ie schedule_upmigrate = 95 effectively becomes schedule_upmigrate = 70, putting a lot more load on the big cores.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
No, it does not mess anything, because:

was my original setting and if you look closely 53% lies between 691Mhz and 806Mhz (modified setting lands in the same place). You have to compare with my previous settings, I do thing differently then default or Zola ;)

When small cores are saturated by load and more constantly get over 95% threads will migrate to big core - it is a natural effect of lowering small cores performance limit.

If you find that it decreases your battery life, just get it back to previous values. It will work differently depending on what loads are common on your device, for me it changes very little, but if you often run programs that need just below 1.4Ghz threshold to function, when capped at 1Ghz they need to skip to big core. You have to test for a cycle or 2 how it actually effects your battery life.

When threads get to big core it finishes quickly at the cost of higher power use BUT it is really hard to tell if power use at low frequency on big core is higher then power use at high frequency of small core.

I will look for a graph I think I have seen somewhere depicting that.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
Thanks Zola for the response,

My usage on Mk max prime 4/128 GB is

Facebook app (running in background also)

Messenger (running in background also)

WhatsApp (running in background also)

2 email accounts synced hourly

Couple of movie downloads 300 mb

Browsing

Network type volte and gsm( dual Sim)

What would be you suggested settings

Also earlier on miui it showed as 118 GB memory and after all my data I had 114gb , on lineage it's showing 110gb out of which I have 107 GB after my data.

I understand that poor network conditions will lead to extra power consumption.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Everything is software interpolation trough DSP or other accelerated or not API's. You get the same 48KHz output trough headphones out no matter what you use if you don't skip default Android audio API & there are only two ways (currently) to do so with OpenSL but sound quality is generally worser or trough USB but then you need a good DAC & amplifier paird with rather very good headphones even for 96KHz. Truth is Foobar2000 does reassembling job much better than old alpha poweramp ever did (their is a reason why it's disconnected) & it isn't much CPU intensive its enough to say how you can clearly distinguish difference with decent headphones & over the 3.5mm out. Foobar2000 is free & open source. Their is little to none need for reasempling anything higher than 96KHz & even then only sources that are 96KHz & if you possess a really good Hi-Fi audiophile DAC (starting at 500€) paird with a 1000€ headphones that actually can reproduce that.

I am litle tired of your bold and totally missed claims.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
I understand your gov settings and they work fine for me if I don't use hotplugging, my governor settings are target load 80 1305600:99 , probably more power hungry than yours, but my settings are tweaked to my personal usage patterns so they end up using less power for me( my 2 highest power using apps are YouTube and chrome, low target loads @ low frequency cause YouTube to use 30% more power than my settings) .

And isn't schedule_up migrate = 95 calculated from the Max freq of the small core? So changing the Max freq to 1ghz means tasks get moved to the big core when they need more than 0.95 x 1017600mhz of speed, that's the same as me running schedule_up migrate = 70 with my Max small cluster freq of 1.38ghz.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
Well, Poweramp beta that I mentioned (available on their site) uses a dedicated sound driver that works on certain Snapdragon CPUs and bypasses Android sound stack - it does not re sample audio at all. I don't use it as I prefer dedicated amp for sound but it was a reason for me to stay on MIUI for some time (until I got an usb amp). Now I use Neutron because it can seamlessly output to USB DAC and it can disable any up/down sampling going on :) It also supports DSD :)

---------- Post added at 09:30 PM ---------- Previous post was at 08:55 PM ----------

Yes, you are correct.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Poweramp beta uses QC Aqstic that uses QDSP for processing but sounds output is disappointing with lot of distortion. I have Neutron but I don't use it, for me Foobar2000 gives a better sound stage.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
Why would you even use any processing? The sound must play as the musician created it. Disable all that crap and use pure output. I have never in my life used any equalizer or postprocessor for sound for more then 10 minutes. Sound is always unnatural. I don't care what it uses, I just disable it and use Hi-Res output - or I suppose I would use if it worked on our system.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
You guys can run:

echo 1 > /sys/module/snd_soc_msm8x16_wcd/parameters/high_perf_mode

and see if you can feel any difference... Works for headphones only... Enables class A/B amplifier...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
Please, propose some power save kernel settings. Previously I charged phone once 3-5 days of easy, relaxed internet browsing. And now it is just 1½ day.

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS by*nijel8
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
1.5 days is what I get but I run bubbleunpn and termux all the time which keeps the CPU awake with screen off, are your CPUs using the deep sleep state?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
Yes, they do. And there must be something while screen is on what drains battery too much.

Pattern of usage is the same as before ROM update but I must charge phone more frequently.

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS 14.1 r.06-24-2017 by*nijel8
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
I've averaged 6.3%/hr screen on usage over the last week with close to stock settings according to accubattery, do you have a battery stats programme that can point you towards what's using so much power?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Because you need to know what sound processing is & I had my days in the past doing mastering. Even the best Gredo or Denon need a slight touch to achieve their full potential like sub bass dithering at 35~40Hz & a slight boost over 16KHz, while most headphones also need a slight cut at 3000~3500KHz in general. Who doesn't have ear & never experienced it can't reproduce it. So it's not actually what artist intended but what studio master managed to do with it (following artists wishes).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Arti42000:
It seems to me that there is no difference
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nsonkk:
Hi ad. If rom select call by sim1 then not option call from sim1 or sim2.

Gửi từ Mi Max của tôi bằng cách sử dụng Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] andjohn:
Ditched my Pixel, too small lol. Rom is working good, Chrome animations are slow but I'm pretty sure it's something google did, as it suddenly happened a couple weeks ago when I didn't flash anything. Other then that, disabling animations made the Rom FLY. Like at least twice as fast loading apps from a blank screen. Now it's just a flicker of loading, before with the animation, the animation would play and then the loading happened, but the loading itself was longer.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
This is precisely why I do not alter the sound in any way I buy neutral headphones, analytical even and when I was using built in sound source it was acceptable, as the sound card in Mi Max is mostly neutral.

I do not know what artist intended and have no way to verify it (well, I can mostly, using good DAC (based on latest ESS sound chip with really good power supply and DSD music) so I just say - do not change anything - every change looses something from original sound. If I do not like the music, I just don't listen to it. Beside, with my music preference being classical, there is no reason to mess with the settings.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
My device use 0.0-0.1% per hour. Standard procedure to get there:

1. Disable unnecessary Google Play Services using Disable Service.

2. Use Privacy Guard to disable unnecessary Keep Awake permissions.

3. Use AccuBattery and/or GSAM Battery Monitor to track per-app power usage and deny both Keep Awake and Background permissions for apps that wake up the device a lot.

4. Use the built in alarm/wakelock blocker if the ROM has it.

5. Disable autosync in favor of timed interval sync (use Tasker to switch it on/off based on time or other appropriate contexts of choice).

6. Disable all location services and use Tasker for automatic switching when a location based app is launched. My own configuration are for Maps->High Accuracy, Yelp->Power Save and so on (no reason to use High Accuracy for everything).

If your device drain the battery in such a way that you have to charge it after around 36 hours even in a screen off state - there are an app or something that is the culprit.

Be prepared that Google Play Services will probably give FC on boot but it is just a case of muting it until reboot. I haven't noticed any effects on my device and I have been doing similar power management since 2013/2014 even if I had Xposed at the time as well (Amplify and PowerNap).

Edit: Browsing? Remove Chrome and install CAF/SWE Browser. I don't trust the power management of the first since I have been experiencing such cases as a 40% loss over night due to it running rogue. CAF/SWE and Gello Mod works perfectly without any abnormal drain.

It seems like Chrome is still suffer from performance issues as well. CAF/SWE works well without any hiccups or slowdowns. If Chrome is unable to run smoothly on a 650/652 we have a problem since the other browsers run well on an 800.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
Any harm from disabling WiFi scanning for google services? Think it's causing me disconnects when I turn the screen off/on
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I always have WiFi scanning disabled and I don't have issues with WiFi disconnects. In fact, I have all Google services and apps frozen, no issues so far and I'm getting almost 0% battery use per hour when idle.

As for all the different governor settings, I gave up and used the stock settings on the latest ROM. I'm getting 7-8% battery use per hour with WiFi on, Bluetooth on, dual SIMs connected (one on VoLTE/CDMA and the other on GSM/WCDMA). Sometimes less tinkering is better ;)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
Yes stock settings are good, tuned more towards performance and smoothness than power conservation, but pretty much any interactive gov settings I've seen here would save a decent bit of power over stock. I find it better to just tune my governor settings to work well with my usage pattern.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] andjohn:
Interesting result over here. Chrome was slow for me animating different tabs, etc. I solved this by turning off predictive search in Gboard! Seriously. Must have a heavy process when you enable that. Now I'm getting the smoothest experience.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
You recommended SWE Browser and Gelo as the most power efficient, thank you!

And I complained about excessive battery draining while screen is on, because DeepSleep holds well and battery depletion is 0%/h in phone sleep.

And yes, I have Google stuff frozen almost always (TitaniumBackup widgets can freeze and unfreeze user defined set of applications by just one click), and for Google play market installing use Yalp.

Also after installing new application, every time, disable relevant Services, Receivers, Providers and Activities in it, preferably with 3C-Toolbox.

It's good idea, and if Google stuff is frozen at daily basis Tasker needs to unfreeze some Google services first for location services could work, needn't it?

And how to do it in Tasker: freeze/unfreeze applications, switch ON/OFF location (or other) service? Please give a clue because my knowledge of Tasker is just initial ;)

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS 14.1 r.06-24-2017 by*nijel8
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
I've been using Samsung browser the last few days and it's a whole 1%/hr more efficient than chrome and faster and smoother.

If you want to save screen on power joy you should use tasker to set individual governor profile's for your most power intensive apps, a lot of power to be saved without hurting performance( I'm using target load 80 and high-speed freq 1.2ghz profile for Samsung browser profile)

btw I tested swe browser and it averaged 90mA more power than samsung browser, swe is at the top of the list on my screenshot offscreen.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
A simple question about the Samsung Browser: Does it render tabs in tablet mode? I got the impression that it only operates in phone mode and such tab management drives me insane.;)

There are a few SWE Browsers around here, I use one with an updater app. There is also Tuga Browser, which is an "extended" CAF/SWE. I use them because of their smoothness, which I consider to be excellent.

Regarding keyboards: Give BlackBerry Keyboard a go. It is great.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
Havent seen any option yet for tablet mode (unless you mean desktop mode which it does)but you can swipe across the address bar to switch tabs, there seem to be extensions though so maybe an add-on could provide that function.

And yes I didn't realise how relatively poor chrome was for smoothness, the CPU load for scrolling in webpages is much lower than chrome at the same time as feeling much smoother.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
Firefox focus looks to be a good browser,just installed it
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
Any of abovementioned browsers has text reflow with forced zoom (like Opera, UCweb, NakedBrowser)?

Personally think this feature is a must, and, as I checked: CAF, SWE, Gello lack text reflow!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
Thanks for the information. I suspected this so I am staying at CAF/SWE and Gello Mod. I also feel a little bit skeptical about relying on something Samsung since their apps tend to rely heavily on their proprietary framework, thus making it probable that a future browser update make it "Grace UX only".

Extensions are nice otherwise but I would rather see a Chromium/CAF based browser "for all devices" with them (Firefox has them) rather than an "OEM browser".

Chrome has been sluggish all the time - I stayed at the good old AOSP Browser for several years because of this until I went for the CAF and Gello Mod.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Samsung had some really good stuff in the past like launcher on their cheaper models & browser on all models but they UI/UX along with all possible frameworks and extensions whose horrible. We will see how much Chromium (Web view) behaviour can be tuned for Gello & other browsers using it (pretty much everything except Firefox this day's).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
add doubletap 2 lock on lockscreen plz ..

3 finger screenshot + crop and share..

and RR like ambient display battery indicator and weather display {it displays weather with icons on lockscreen}

please man !!

[MENTION=4399618]nijel8[/MENTION]
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
If we look at browsers I would say the "dream" would be:

1. Extensions

2. Proper tablet mode (i.e. desktop browsing)

3. Optimized for Snapdragon

4. Power efficient

5. Built-in script block

6. Built-in redirect protection

7. Text reflow (forced zoom) and the ability to adjust the layout on-the-fly depending on screen orientation

8. Linked to #7: The ability to select "Portrait Rendering" where everything is formatted after the width of the display and "Landscape Rendering" where the pages are rendered like the desktop

9. Flash support (through an extension, i.e. Click to Flash abilities)

10. Desktop companion and sync between those

Firefox would be a close contender but it is way slower than CAF/SWE or Gello Mod.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Yatotoshi:
Network traffic monitor is broken a little

Network traffic monitor is half hidden now :(
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well we will see if & when Servo arrives...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
[MENTION=1547420]E90 Commie[/MENTION] Could you link me to the CAF/Gello mod browser that you use?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
And what about HABIT Browser?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
And what about the new Lineage built-in Jelly browser... Seems promising to me, very light(uses Web View), actively developed right now, soon to be ready for prime time I hope.