[OnePlus 3 & 3T Cross Device Development] joshuous:
RenderZenith v1.1.0 released! (27 July 2018)

RenderZenith v1.1.0 release for OOS!

Please dirty flash OOS (stable/beta) before you flash this!

Changes:

* Upstreamed to Linux 3.18.116 via Android Linux Stable (thanks [MENTION=6842057]nathanchance[/MENTION]!)

* Systemless build. You can now use ExKM and FKM to flash. You can now restore boot.img of OOS if you want to return back to stock OOS.

* New Dynamic Stune Boost changes (see writeup below)

* Enabled cpu-boost for Big cluster to reduce first frame janks

* Disabled CONFIG_CC_OPTIMIZE_FOR_SIZE

* Added option to disable MSM Touchboost (or more accurately the ability to disable CPU frequency boosting via BoostFramework)

* Reduced wakelock duration for qcom_rx_wakelock (I won't block this though)

* Added DTS Eagle and Audiowizard integration for IceWizard mod support. (Refer to https://xdaforums.com/apps/magisk/unity-icewizard-t3776470) Take note that I don't provide support for this mod.

Systemless

As this is a systemless build, there might be a possibility that WiFi might break if you use certain Magisk modules due to bind mount conflicts. If you face this issue, please figure out which module causes the breakage and let me know.

Reports without some form of helpful info will be ignored.

New Dynamic Stune Boost changes

Like with many CAF-based OEM ROMs, OOS uses CAF's BoostFramework. BoostFramework detects various contexts, such as app launches, swipes, etc and triggers different boosting configurations. Besides CPU Frequency boosting (aka MSM Touchboost) it also triggers Scheduler Boost (called sched_boost in the kernel), which pushes tasks to the Big cluster for higher performance. It toggles sched_boost by writing to /proc/sys/kernel/sched_boost. sched_boost was a HMP/corectl feature that I removed in my EAS bringup because it interfered heavily with the EAS task scheduling system. However, I have brought it back (/proc/sys/kernel/sched_boost is back) but altered it to perform Schedtune boosting for top-app tasks instead. Whenever you scroll, fling or launch apps, BoostFramework will now cause schedtune boost value to dynamically change to the value that you configure in the new /dev/stune/top-app/schedtune.sched_boost file (Please read this carefully. Several testers reported it not working because they read the file name incorrectly and modified the wrong file :S). Take note that changing the other schedtune.sched_boost files in foreground/background/system-background/etc will do nothing because I did not configure them to be used.

Why add this new sched_boost when we already have dynamic_stune_boost in cpu-boost kernel driver?

The dynamic_stune_boost that is triggered by cpu-boost and does the same thing as /dev/stune/top-app/schedtune.sched_boost (and it does it faster too!). However the cpu-boost version has a limitation:

- Fixed boost duration for cpu-boost. Comparatively, the sched_boost variant will automatically boost and unboost at the start and end of a fling/app launch, respectively. So you don't need to mess around with boost duration on the new sched_boost variant.

The cpu-boost and sched_boost variant of Dynamic Stune Boost complement each other, and it is hence not a "choose one only" problem. The following should clarify:

cpu-boost:

+ More responsive than BoostFramework

+ Triggers when tapping or dragging across the screen (e.g. typing)

- Fixed boost duration. Needs to be configured to meet your needs.

- Does not trigger for app launches and non-touch events

BoostFramework:

+ Automatically manages boost duration

+ Triggers for app launches, swipes, flings, etc

- Does not trigger on taps (e.g typing)

- Slightly less responsive to boost compared to cpu-boost

With this new schedtune boost, you can now imitate the Google Pixel's boosting completely (although it might be overkill for power consumption imo):

cpu-boost duration: 1400ms

cpu-boost frequencies: ~1.1GHz for both clusters

cpu-boost dynamic_stune_boost: 50

/dev/stune/top-app/schedtune.boost: 10

/dev/stune/top-app/schedtune.sched_boost: 50

Download

RZ-OP3-OOS-1.1.0-180724-0e8f55f2.zip