yashsingh1/xdaforums huggingface dataset:
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
EAS: Energy Aware Scheduling (EAS) is an enhancement to Linux power management, unifying CPU power control under the Linux kernel. EAS extends the Linux kernel scheduler to make it fully aware of the power/performance capabilities of the CPUs in the system, to optimize energy consumption for advanced multi-core SoCs including big.LITTLE. With EAS, the Linux kernel will use the task load and a CPU ‘Energy Model’ to control task placement to select the optimal CPU to run on.

HMP:

big.LITTLE CPUs can be configured in 2 modes of operation:

IKS – In Kernel Switcher (also known as CPU Migration)

GTS - Global Task Scheduling (also known as big.LITTLE MP)

GTS is the heterogeneous form of operation i.e HMP.

At the most abstracted level, HMP is currently supported by simply extending DVFS and SMP load balancing. Both of these are made fully aware of the performance advantage of big cores (over the LITTLE cores) and schedule high-priority, cpu-intensive, foreground tasks accordingly.

Dynamic voltage and frequency scaling (DVFS) is used to adapt to instantaneous changes in required performance. The migration modes of big.LITTLE extends this concept by enabling a transition to "big" CPU cores above the highest DVFS operating point of the LITTLE cores. The migration takes about 30 microseconds. By contrast, the DVFS driver evaluates the performance of the OS and the individual cores typically every 50 milliseconds, although some implementations sample slightly more frequently. It takes about 100 microseconds to change voltage and frequency. Because the time taken to migrate a CPU or a cluster is shorter than the DVFS change time and an order of magnitude shorter than the OS evaluation period for DVFS changes, big.LITTLE transitions will enable the processors to run at lower operating points, more frequently, and further, be completely invisible to the user. In the Global Task Scheduling model, the DVFS mechanisms are still in operation, but the operating system kernel scheduler is aware of the big and LITTLE cores in the system and seeks to load balance high performance threads to high performance cores, and low performance or memory bound threads to the high efficiency cores. This is similar to SMP load balancers today, that automatically balance threads across the cores available in the system, and idle unused cores. In big.LITTLE Global Task Scheduling, the same mechanism is in operation, but the OS keeps track of the load history of each thread and uses that history plus real-time performance sampling to balance threads appropriately among big and LITTLE cores.

Source: https://stackoverflow.com/questions...sing-hmp-scheduling-implemented-in-linux-kern
[Essential Phone ROMs, Kernels, Recoveries, & Other] Skripka:
Yea, LOL, I got impatient :) . Got a boot.img for these for root? :good:
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Glad it's working in the end. Hope you like it.

Sure! HMP or EAS one? Or both :))
[Essential Phone ROMs, Kernels, Recoveries, & Other] Skripka:
EAS...although probably wise to do both since someone else will ask for HMP in 5 minutes :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Alright here they are:

HMP: https://transfer.sh/JZ876/HMP.img

EAS: https://transfer.sh/iSgHH/EAS.img

Sorry, been battling with a commit to get it to compile :victory:
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
Kind of cheating since I've only used the screen for 30min or so before taking a nap but everything worked flawlessly without gapps! Thanks a ton!

Edit: how many boot animations does aicp have on deck? Lol always a pleasant surprise to see a new one nearly every update
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
More accurate battery cycle using the hmp - no gapps variant
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
My pleasure, glad you like it ;). I'm trying to keep battery on a balanced level compared to performance, seems to be quite nice

Yeah the animations seem to change a lot :)). Been like this for months. Don't exactly know why but it's cool :p
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Everything good on EAS? How is it?
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
I need help deciding which one to go with..eas or hmp? What is the difference between the two.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Skripka:
Was running great yesterday screen-on once I was setup and unplugged...I'll do a screen-off standby test at home here today. So far I'm very much a fan. HMP was the old default I'm guessing?

Last clean install I did a bit differently than usual...not allowing Google's location service to run, which has helped with the NLP wakelocks quite a bit. Not sure if it is due to that or what--but the blasted WCNSS wakelock I was always needing to block using other kernels I haven't seen in BetterBatteryStats at all....Part of why I've tried to run kernels with wakelock-blocking on PH1, because I've had it always be a problem WRT battery life in standby.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Look one page back, I shared some details about it. Try both, myself I like HMP

Nice!

HMP is still the default, I made EAS cuz I saw some people running Neutrino kernel which is a bad thing as the ramdisk wasn't made for EAS so I thought to ship my own EAS builds tweaked with my own kernel.

Myself I never allow Google location crap to run, the kernel has a wakelock blocker too but not sure if it's blocking that one too
[Essential Phone ROMs, Kernels, Recoveries, & Other] felonius:
How did you not make Google location service to run?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Skripka:
The options appears during the Google first run setup wizard. Either on clean flash or after factory reset. I honestly don't know how to get at them on an already setup firmware....the options on the Google account menu in Settings don't do a whole lot IME.
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
if im on the june 1 build do i have to wipe in twrp before flashing the new build?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Skripka:
Not bad at all...not quite sub 1% but still good.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Yes, you need to format internal

Nice! Quite decent I would say :))
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
So microg is an awesome project and is definitely usable as a daily driver however, the location services alternatives are limited to network scanning which aren't quite dependable. Definitely made a positive impact on battery life though.

Switched to HMP since I don't plan on using another kernel. I initially switched to EAS but there was a noticeable drop in performance. Not sure if I didn't wipe enough or what but it took forever to boot and generate a list from an icon collection. I clean flashed to hmp and everything is running phenomenally.

I noticed while using eas that there wasnt a setting for performance profile u see battery, could you tell me how impactful that setting is?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Geezerooo:
So I flashed your EAS build and it is freaking awesome! Whatever stuttering and anything I had with your old build is gone with this new one. Don't know if that's the difference between HMP and EAS but I definitely can notice a massive difference for me.
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
How is battery life on EAS for you compared to HMP? Still undecided which one to go with
[Essential Phone ROMs, Kernels, Recoveries, & Other] Geezerooo:
Not quite as good as HMP but the smoothness makes up for it. 3.5 hours screen time with 25% battery left. I also have my smartwatch paired to it all the time so that's with Bluetooth and wifi on the whole time
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
So just to clarfiy in simple terms, EAS uses more battery but is a tad smoother then HMP, which is the battery friendly version?

I read the explanation post a few pages back, I just don't quite understand it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Geezerooo:
EAS is a lot smoother. Scrolling through certain forums and apps was very stuttery and jerky before and now it is smooth as butter. And the battery difference is negligible it maybe uses more at Idle like half percentage more every hour but that's it. My screen on time while running is the same good
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
Awesome thanks for sharing your experience, definitely gonna give EAS a shot when I can flash with the June update. Take it for a spin and test the waters.

Does EAS affect using this ROM as a base for treble images? Or is HMP recommended for treble as a whole? New to this EAS and HMP stuffs.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Doesn't matter if it's EAS or HMP
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Alright guys, read through the last posts. Glad the last builds work fine. I'm working on something to make both versions even smoother. Just came back from a concert, it's almost 2 in the morning but I'll stay and work on this. #NeverSettle XD
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
You're a machine! Thanks for all the hard work, but don't forget to get some shut eye! It's Essential!
[Essential Phone ROMs, Kernels, Recoveries, & Other] drocny87:
did you end up flashing eas??
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
Not yet, I'm on the June update Stock till the next EAS release.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
So after 2 whole days trying to debug an error that didn't even exist and kept me from compiling anything, I come back with an update:

https://drive.google.com/file/d/1O0r2ry-jwKQh31aPLtMvk5s6KhXJQqYS/view?usp=sharing

Big big update for HMP, EAS will come later

Reworked the ramdisk tuning, should be faster and more efficient. Also, June patches yeeey
[Essential Phone ROMs, Kernels, Recoveries, & Other] Zaisesl:
Thanks man! I will try as soon i come back from work

Are you going to upload the boot.img for root? Thanks in advance
[Essential Phone ROMs, Kernels, Recoveries, & Other] gregfink83:
How is this rom vs the current Lineage builds? I hate to change over since Lineage is running so well, but I'd like to have more customization. I also really like the OTAs from LOS.

Thanks!
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Thanks! I will upload a bit later, tired rn. In like an hour or two

Well, depends on what you choose. If you go with EAS, it's buttery smooth everyone. If you go with HMP, it's still smooth while having better battery backup. I'd say the rom is stable with lots of customization. Not only rom sided, my kernel has a lot more features and it's cleaner and better. About OTA? I spoke with the team the last days, trees are up. Official very soon
[Essential Phone ROMs, Kernels, Recoveries, & Other] gregfink83:
Thanks for the update. I'll be sure to give it a try as soon as you get the OTA option working. I've been very happy with the smoothness and battery on LOS with nutrino kernel. If AICP is close with the customization I'll be a extremely happy user.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Zaisesl:
Ok, dont worry, you have to rest too!
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Hope you'll like it :)

Thanks! Tho I really like working on this stuff :D
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Here is the rest of the update promised:

HMP boot.img: https://transfer.sh/WKUsA/HMP.img

EAS boot.img: https://transfer.sh/mi8wH/EAS.img

EAS rom: https://transfer.sh/qChUs/aicp_mata_o-13.1-UNOFFICIAL-20180614-EAS.zip

And tho keep everything in one place, HMP rom: https://drive.google.com/file/d/1O0r2ry-jwKQh31aPLtMvk5s6KhXJQqYS/view

EAS got updated with some stuff from the new HMP build and new security patches
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
Thank you kindly my good sir!
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
My pleasure :)

If anyone has any problems, suggestions or anything don't be afraid to speak ;)
[Essential Phone ROMs, Kernels, Recoveries, & Other] Skripka:
All updated on EAS (and rooted)...only thing sticking out ATM...the "Picture Adjustment" submenu in Settings>Display>LiveDisplay doesn't seem to do anything. I don't think the HAL color profile options do anything either. ALl the other color options seem to function normally.

Small potatoes otherwise. Go get some sleep mi amigo. :cowboy:
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
I landed on lineage after being disappointed by the performance or efficiency of other roms but I was itching for more customization/features than what lineage offered. Aicp has blown me away with support, performance, features, and update frequency. To answer your question, it performs as well if not a bit smoother with a max 10% (totally not scientific) hit to battery life

Thanks for the latest builds btw!

EDIT: after dirty flashing the latest hmp build, I now see what other users meant by lag in the settings and such. I'm going to try green flashing EAS to see if the problem persists
[Essential Phone ROMs, Kernels, Recoveries, & Other] Skripka:
UPDATE: [MENTION=6760768]KuranKaname[/MENTION], Just dirty flashed over to HMS....HMS also has the same color bug EAS has.

Bigger issue...EAS gets very laggy to wake to Android. I was seeing slow-to wake behavior initially.....I found after a few hour after siesta, that while my phone would vibrate and chime like it should on screen-unlock...the screen was pitchblack and the touchscreen was unresponsive.

I'll test HMS to see if it does the same thing. NOTE...I dirty flashed both EAS from the last built and HMS dirty over that...

UPDATE2:

HMS seemed to exhibit the same slow-to-wake-behavior. dirty flashed back to 0614 EAS, but using the 0609EAS build kernel. Seems to run fine on the surface (color as well as wake-speed)....so I'm thinking something kernel related?

Sidenote...the ROM as well as the kernel images are substantially smaller than the last build's.....the ROM by 50MB and the kernel by nearly 2MB.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nonchalantroller:
Same issues here with both EAS and HMP, extreme lag and black screen after device locks for the first time. I noticed my device is no longer encrypted which I didn't think was possible but may be due to trying to use LoS recovery to update the first time.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Alright guys 3 things.

1. About lagging a bit in settings. I blame it mostly on being a heavy rom as the lag is mostly present in settings and it's not that bad I would say

2. About live display stuff. I removed the driver from the kernel because it's kinda a mess but sure, I'll bring it back if anyone needs it or wants it

3. I'm on the HMP build and the screen on from the button is literally instant and with FP it takes less than a second. Please try a clean flash and let me know if it still happens (always clean flash when going HMP>EAS and vice versa)

Thanks!
[Essential Phone ROMs, Kernels, Recoveries, & Other] Skripka:
See my 2nd UPDATE...reflash the boot.img (or your patched_boot.img) from the 0609 HMP/EAS builds as a quick-fix.

Stuff happens. And [MENTION=6760768]KuranKaname[/MENTION] earned some sleep
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Sleep? It's 3:50 in the morning and I'm working on the rom XD. Can you please tell me in which build it works fine and in which not?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Skripka:
Eeek 0350? Dang, partying hard, eh?

I'm currently running 0614 EAS ROM, and 0609EAS (patched_)boot.img. Figured before resorting to clean flashing in the name of Science I'd try that stop gap of new ROM and old-tried-and-tested kernel...having a beer, and Fastbooting Under The Influence isn't advisable LOL.

I can probably try clean flashing tomorrow night for Science if you need...but need my phone running due to work tomorrow and not spending tonight rebuilding my install. :good:
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Yeah party by myself

I'd greatly appreciate if you could try a clean flash and tell me if you still have the same problems because nothing was touched to exhibit this kind of behavior. If anything, it should be actually faster. Whenever you have time man, thanks a lot :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] nonchalantroller:
I did a full wipe using fastboot -w and then flashed a redownloaded HMP zip and I'm struggling to make it through the setup due to lag. Will get you some logs asap but I looked at the log when on EAS and I saw a lot of ims related failures.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
When I said "a bit of lag" I didn't mean that much lol. Never had something this awful. Hopefully the logs will tell me something
[Essential Phone ROMs, Kernels, Recoveries, & Other] Zaisesl:
I flashed HMP, no bugs at all. The only bug i fou d was the color accent doesnt work but was a mistake i dont mount system when i flash magisk. Flashed magisk mounting system and everything works fine. I have no lag or issues, battery will see tomorrow.

Thanks man! You rock!

Edit: stock camera works fine

The other camera works but i cant take any photos, anyone have this issue?
[Essential Phone ROMs, Kernels, Recoveries, & Other] nonchalantroller:
Here you go, hope it helps.

https://paste.ee/p/OSOEM#section0
[Essential Phone ROMs, Kernels, Recoveries, & Other] eddro22:
I downloaded both hmp and eas and could not get them to finish boot the phone will just set on the essential screen and boot in the background but does not get to setup just the essential screen I can hear the vol work and when I hard reboot it I can feel it vibrate just no other screen might be due to the lag everyone's having because I can wipe and flash aosip with no issue boots right up.
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
I only tried EAS, and my wiped / formatted data then adb pushed and clean flashed, and I saw nothing but glitches, kinda looked like that blank TV screen that makes a horrible noise.. Perhaps I borked the flash?
[Essential Phone ROMs, Kernels, Recoveries, & Other] IH8TouchWiz:
On a clean flash of Carbon I tried using the HMP kernel, and all that would happen after it installed is the essential splash screen would be displayed. The device would then "boot" into a completely dark screen and not display anything at all. I reflashed carbon over a clean flash of the latest 8.1 to double check, and the issue persisted.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
I see. For some reason it does this for *some* people. I need to find the cause as just some are affected. Thanks

Thank you! About the other camera app, it's just the rom's app. Don't even bother using it, stock cam is much better. Use google cam if you want awesome hdr

Wiped internal?

Most probably or the phone got possessed by a demon. That just sounds creepy :)). Never had this

I don't support flashing the hmp kernel on an eas rom. It needs another ramdisk
[Essential Phone ROMs, Kernels, Recoveries, & Other] IH8TouchWiz:
I understand, I was just sharing what happened when you flashed the latest kernel on Carbon as [MENTION=227215]edd[/MENTION]ro seems to be having the same issue on AOSiP judging from his post. I had previously used the HMP kernel on LOS and Carbon, and it worked fine. I'll keep in mind what you said about the EAS to HMP kernel though.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
It's magic that it even booted. The ramdisk tuning is not present in the boot.img cuz A/B so either edit the files manually or I have to make an AnyKernel compatible kernel
[Essential Phone ROMs, Kernels, Recoveries, & Other] eddro22:
Yes wiped internal and all I even fastboot-w wiped flashed back to stock and tried again same results.
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
I see. Only a minority are affected as I checked my logcat and the is no fatal or anything. I'll see what I can do about this
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Alright. To hopefully mitigate the regression find in the latest builds, I made a new update:

EAS: https://transfer.sh/9HBma/aicp_mata_o-13.1-UNOFFICIAL-20180615-EAS.zip

EAS boot: https://transfer.sh/7W1TZ/EAS.img

HMP: https://transfer.sh/2WKCY/aicp_mata_o-13.1-UNOFFICIAL-20180615-HMP.zip

HMP boot: https://transfer.sh/DTYOH/HMP.img

Also big update for HMP. If there are any other new problems please tell me. Please clean flash

Oh! Almost forgot. Rom got official status :p. New ota every Tuesday! Hyyyype
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
Sweet deal! Thanks will be flashing later today. So same with the other builds, full wipe, and format data in TWRP then flash away?
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
No need to format data if you already did that when I switched encryption. Just wipe system, data (not internal) and dalvik and you're all set

If you don't have any important data then sure, you can format it. It would clean some jump. But ALWAYS after formating data reboot TWRP
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
Ahh I didn't do that yesterday with the EAS build, I wiped, formatted, then adb pushed and flashed, so that's probably why I had issues with graphics glitchin'. But just to clarify, if I already went back to stock, I'd need to format data again correct?
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Yep that's correct
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
Can confirm the latest update fixed all issues I was having except that I can't seem to encrypt my device, don't know how related that is. I have to admit, I also wasn't aware that you need to reboot TWRP after formatting, TIL. Also, Magisk 16.0 didn't work but 16.4 did
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
"latest update fixed all issues" are the most beautiful words ever :D. Glad it works fine. About encryption, I never tried to encrypt my device so I need to check. If 16.4 works then it should be good, it's newer anyways. Thank you!
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Also for the people on the latest HMP build, please provide battery life info compared to before. Added some stuff for performance
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
So I was unable to flash the EAS build still had crazy visual glitches, all static and fuzzy, however the HMP build worked just fine for me, just so you're aware. Many thanks for the updates! :highfive:
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
My pleasure! Did the earlier builds of EAS work or only the latest has problems? Myself I didn't flash it because I don't prefer EAS so I'll check it later
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
The last 2 EAS builds did this to me, but HMP works fine. Will keep an eye on battery life, but so far so good, all is working, no FC's, just smooth sailin'!
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Nice! Alright then. This is quite unexpected as everyone that was done on the EAS kernel was first done on the HMP one. I'll make sure to take a look. Also on HMP, it should be quite smoother now when it just used to hang before
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Also guys, would you like a Telegram chat? To be able to communicate better?
[Essential Phone ROMs, Kernels, Recoveries, & Other] pantherking:
The performance of latest hmp is ridiculously smooth. Smoother and quicker than anything I've tried to date and it's looking like it will make it past 6 hours of screen on time!

I'd join!

UPDATE: at 44% after 4.5 hours SoT and 12 hours total. Almost double what I'm used to.