[UNIFIED] Render Kernel [OOS-N-EAS-R2][LOS-N-EAS-R8]

Status
Not open for further replies.

RenderBroken

Recognized Developer
Sep 14, 2013
4,297
20,083
0
33
/home/renderbroken/android
I was searching for eas and I saw google trying eas on hikey board and I didnt dig too much but in their init.hikey.rc, they set global /dev/stune/schedtune.boost to 0 and set /dev/stune/foreground/schedtune.boost to 10 and /stune.prefer_idle to 1

I am trying that right now and it makes idle freq to 307mHz and boosts if foreground task is found

https://android.googlesource.com/device/linaro/hikey/+/master/init.hikey.rc
Boosting foreground apps makes no sense to me. Why would you give them higher priority than the app you are currently using? On the Marlin it is different. Like I had said before, they use cpuset/top-app along with stune/top-app. I think I found a way to port this over. So I would remove the current universal boost. Set foreground to prefer_idle, and top-app to boost and prefer_idle

@RenderBroken had another reboot, my phone was in standby laying on the table, randomly it rebooted and it went into a bootloop (at least it tried to boot twice). So I flashed your kernal again and everything seems fine. Let's hope it's not too hard to solve :)

Edit: Another random reboot when screen was on this time! Didn't happen the whole day until now. Switched back to stock kernal. Currently waiting on a new build, take your time :)
Thanks! There was actually something useful in the new log so it is much appreciated! Depending on how this goes, I have another kernel base waiting in the wings.

Does any other device have EAS yet? Will you be supporting the OP3T @RenderBroken ?
The only device I know of right now that supports it are the Pixel phones.

No, I will not support a device I don't own. Despair will be supporting OP3T and will be playing with EAS as well. Not sure if he will release public builds though.
 
  • Like
Reactions: zodiaxe66

habylab

Senior Member
Dec 3, 2010
6,229
1,201
0
Can't download. I've tried everything but it always says "opening in Google drive" and then switches to Root Explorer. Really want to try this but can't annoyingly.

Edit: had to disable Drive.
 
Last edited:

RenderBroken

Recognized Developer
Sep 14, 2013
4,297
20,083
0
33
/home/renderbroken/android
OK Guys, I need some help gathering some files. I need someone that is on the latest CM Nightly. I need some files from the system partition. If you can:

/system/lib/libutil.so
/system/lib64/libutil.so
/system/lib/hw/power.qcom.so
/system/lib64/hw/power.qcom.so

CM has added support for CPUSET Top-App. And this would greatly help me and allow me to properly use EAS to ONLY boost the top app and handle background tasks better.

I would do it myself but need my phone for work, so I cannot have alot of downtime.

Thanks Ladies and Gents!
 

nadejo

Senior Member
Jun 28, 2010
2,418
1,273
0
OK Guys, I need some help gathering some files. I need someone that is on the latest CM Nightly. I need some files from the system partition. If you can:

/system/lib/libutil.so
/system/lib64/libutil.so
/system/lib/hw/power.qcom.so
/system/lib64/hw/power.qcom.so

CM has added support for CPUSET Top-App. And this would greatly help me and allow me to properly use EAS to ONLY boost the top app and handle background tasks better.

I would do it myself but need my phone for work, so I cannot have alot of downtime.

Thanks Ladies and Gents!
id say lets wait for next nightly because todays build is corrupted.
 
  • Like
Reactions: RenderBroken

RenderBroken

Recognized Developer
Sep 14, 2013
4,297
20,083
0
33
/home/renderbroken/android
Ok , so here is a newer build of my EAS Tree:

R1-46-EAS

It fixes a few minor things and set sched by default correctly now. To stay up to date and check development see my commit history for my EAS branch here:

EAS Commit History

For those that are looking for the traditional and STABLE kernel, Here is a build from my alternate branch that is without EAS but is updated with CAF. It has a few under the hood enhancements and such.

R1-T47-Non-EAS

To stay up to date and check development see my commit history for my Non-EAS branch here:

Non-EAS Commit History

Honestly, going forward, you should have a solid kernel to fall back on when testing EAS since its unstable at the moment. So try out my Non-EAS build and let me know your thoughts on it as well. If EAS doesnt pan out right, it will be my dev branch.

Thanks guys!
 

Puddi_Puddin

Senior Member
May 10, 2015
1,521
492
0
Overijssel / Oldenzaal
I'm going to run the newest EAS build, I will edit my post at the end of the day. I also tried to find someone for the files you needed, but didn't manage to find anyone who is on the latest Nightly atm.

1. I got an instance where I couldn't get my phones screen on again.
2. Random reboot when my screen was off. Was making my math suddenly it rebooted.
3. Another reboot while it lied flat on the table.
4. Soft reboot right after I clicked the power button to do the screen off.

Most reboots seem to happen when the screen is off (was done not my maths so don't didn't had time to see if it happens when screen is on) . I'm switching back to stock kernal. Hopefully these logs provided something!
 

Attachments

Last edited:

DespairFactor

Recognized Developer / Recognized Contributor
Mar 13, 2013
5,786
12,338
0
Toronto
Boosting foreground apps makes no sense to me. Why would you give them higher priority than the app you are currently using? On the Marlin it is different. Like I had said before, they use cpuset/top-app along with stune/top-app. I think I found a way to port this over. So I would remove the current universal boost. Set foreground to prefer_idle, and top-app to boost and prefer_idle



Thanks! There was actually something useful in the new log so it is much appreciated! Depending on how this goes, I have another kernel base waiting in the wings.



The only device I know of right now that supports it are the Pixel phones.

No, I will not support a device I don't own. Despair will be supporting OP3T and will be playing with EAS as well. Not sure if he will release public builds though.
I think only Pixel has it, at least that is what I got from reading the PDF from the OP. Other Snapdragon 821 devices are more likely to have it.

Seems like a nice addition.
Does any other device have EAS yet? Will you be supporting the OP3T @RenderBroken ?
EAS is currently only on the Pixel and OP3. It has been tested on bullhead and angler, but I think we did a poor job on those 3.10.y backports and didn't use sched changes properly in our configuration. I have had the opportunity to see how it works with the Pixel/XL as well and the nexus devices first hand. If we implement it with the proper values, we should see a huge benefit over qHMP. I will be doing my work on the OP3T, I believe mine will be at my house tomorrow or Monday given that DHL stops acting stupid.
 

Bob823

Senior Member
Jun 30, 2013
228
86
0
I had two reboots yesterday but couldn't look into it at the time. I flashed T46 today and so far it's been smooth sailing. Keeping an eye on reboots though.
 
  • Like
Reactions: RenderBroken

Mostafa Wael

Recognized Contributor
Jan 11, 2013
6,106
5,564
0
22
Gotham
No reboots on yesterday's or today's builds thus far. Guys you want to make sure your CPU govs are set to 'sched' via your favorite kernel manager app
Yes it is. Interactive will burn your hands btw; sticks to max freq on both clusters.

And no I had only 2 reboots with the last T40 build. T46 is so far so good. :good:
 
  • Like
Reactions: RenderBroken

habylab

Senior Member
Dec 3, 2010
6,229
1,201
0
Do we have to reboot for schedtune settings to take effect, and will they stick upon boot? I'm trying 16 instead of 20, should be a little easier on the battery life I think. Currently on 40 mins SoT at 75%. Was much better on 4g though, has struggled on WiFi idling.
Yes it is. Interactive will burn your hands btw; sticks to max freq on both clusters.

And no I had only 2 reboots with the last T40 build. T46 is so far so good. :good:
I've had one RR with 20 mins screen off, followed by troubled sleep thinking my phone will be dead in the morning - it was fine!
 
Last edited:
  • Like
Reactions: Mostafa Wael
Status
Not open for further replies.