[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Smacksmack206:
THIS GOVERNOR HAS STANDED THE TEST OF TIME

AND IS RELIABLE WITH SPEED AND BATTERY LIFE

SOT IS AROUND 8-12 HRS REGULARLY BUT RESULTS MAY VARY BASED ON USAGE AND USERSPACE

Edit-

In a short amount of time we accomplished a lot, 12hr to 14+ hr SOT runs without compromising performance thru being efficient (check OP and thread for screenshots).

For best results I encourage everyone who wants to use this mod to make sure you install these files in the correct path with permissions, and those paths changes depending upon if you have init.d support thru system/etc/init.d or thru su.d or thru magisk/.core/post-fs-data.d (note: for magisk install you can only find correct path thru enabling show hidden files in ESBowser)

Furthermore; I found that using Deeznuts with my modified init.sony.cpu_parameter.sh installed to be the best setup in terms of this mod but try it out and switch it up if need be, I appreciate everyone's time and gratitude.

Want to support my work? Please feel free to buy me a coffee

https://PayPal.me/smacsmack206

NEWEST DEVELOPMENT

:

Working on a new DEEZNUTS that will work with EAS. I got a test version working with all the necessary coded trimmed

And all applicable values still within the script.

This is great for me, hope everyone is as excited as I am.

S/O to _LLJY for making EAS on the XZ, a first of many.

DISCLAIMER: (YOU CAN ONLY USE THESE ON A EAS ROM.

https://xdaforums.com/xperia-xz/development/project-energy-aware-scheduler-xperia-xz-t3639515)

Alright I got a special release for y'all

I updated DEEZNUTS9-EAS and releasing for the first time DEEZNUTS9-EAS_ULTRA.

And for the first time these are TWRP flashable!!

so no longer will you have to worry about install instructions, just flash and done.

DEEZNUTS9-EAS: Uses Energy aware scheduling SCHEDUTIL CPU governor with my custom algorithms, schedtune/Powerhal Vox configs, and applicable miscellaneous optimizations from DEEZNUTS9. Also contains special thermal config to increase stock throttling points for less throttling

DEEZNUTS9-EAS_ULTRA: Uses Energy aware scheduling PWRUTILX CPU governor with my custom algorithms, schedtune/Powerhal Vox configs, and applicable miscellaneous optimizations from DEEZNUTS9.

Also contains special thermal config to increase stock throttling points for less throttling

(NOTE: YOU CAN ONLY USE EAS_ULTRA IF THE YOU HAVE PWRUTILX AVAILABLE AS A GOVERNOR ALREADY ON EAS ROM, ONLY SOME VERSIONS HAVE THIS.)

Download:

DEEZNUTS9-EAS

https://drive.google.com/file/d/0B2bXgjj9jECcTEJYMkJMUi1fZzg/view?usp=drivesdk

DEEZNUTS9-EAS_ULTRA

https://drive.google.com/file/d/0B2bXgjj9jECcSGdGT1NtcUdtLXM/view?usp=drivesdk

*The Best Recommended EAS Version* = DEEZNUTS9-EAS_ULTRA

PORTS:

By request i have been

expanding my script and changing it to work on other SOC's and Devices

, i'm currently working on a few devices port so the thread lately has been flooded with back and forth regarding this. if you want me to make a version of DEEZNUTS for your device, let me know in the thread and ill let you know what i need to get started, however i do not own the devices you will inquire about so know it wont ever be as good as my 12hr SOT Xperia XZ version.

Going to start posting links to new threads I'll be creating for other devices here to the original, will work on creating more threads later on

Galaxy S5 DEEZNUTS Port thread :

https://xdaforums.com/galaxy-s5/development/artisan-interactive-governor-port-t3624316

DEEZNUTS7-SE PERFORMANCE SCREENRECORD:

[youtube]6o6AamJxYes[/youtube]

*The Best Recommended HMP Version* = DEEZNUTS8-SE

DEEZNUTS8-SE Changelog:

Added Wifi sleeper

Added Disable Fast dormancy

Re-Introduced LMK with new values

Added Kill GMS/Gapps

Added Kill Common Services

Added Network GMS Kill

Added DEEZNUTSSecretSauce

QuickBoot and changed Timer_rate

More but forgotten most the stuff I did in the last week

These screenshots are from my test group members

This is the best version of DEEZNUTS yet highly advised to update to latest Special Edition 8

DOWNLOAD:

https://github.com/Smacksmack206/Sony-Xperia-XZ/blob/master/DEEZNUTS8-SE

#Go_Team_Duality :cool:

SPECIAL THANKS TO

[MENTION=2489052]NYCHitman1[/MENTION] & [MENTION=4752299]Alcolawl[/MENTION]

As they are the original creators of Drunksauce Governor on the Nexus 5X and also helped me with getting a port established for our Sony Xperia XZ (depreciated gov use deeznuts now)

[MENTION=6791680]_LLJY[/MENTION] as he's my duality teamate, he's contributed lazyplug and adreno idler values

In DEEZNUTS3, and I been using them ever since,

He even baked an edit of DEEZNUTS in his rom :good:

And he just recently contributed Hi Performance Audio DAC custom voltages in DEEZNUTS8

DOWNLOAD:

Original DEEZNUTS w/ android version check included

(depreciated)

https://github.com/Smacksmack206/Sony-Xperia-XZ/blob/readme-edits/Deeznuts

DEEZNUTS

-VERSION 2-

Deeznuts is now on Version 2, cleaned up code better battery and performance

-VERSION 3 CHANGELOG-

Recent update on DEEZNUTS a few weeks ago with the help of [MENTION=6791680]_LLJY[/MENTION]

Adreno idler

Lazyplug

Added Pdesire's kernel values

Added partial EAS Support

Removed Overclocking for EAS

Trimmed code improved execution speed by 50%

-DEEZNUTS (XZ version 4) CHANGELOG -

Reconfigured thermal settings to values I'm using currently on my device, I've noticed frequencies are more stable and heavy loads speeds have improved.

Also re-added GPU values and changed to simple_ondemand

And added lines of code to remove InputBoost

Coming in next update: I'll be re-adding Android version check to auto apply best settings like in original Deeznuts before version 3

-DEEZNUTS (XZ version 4.a) CHANGELOG -

Spent a couple hours while I had free time at work testing new target loads and above speed delays while using a frequency overlay opening apps and doing my usual task and executing my script thru EXKM to retest without rebooting to achieve a greater efficiency without compromising performance, Snapchat now opens and runs smoother than ever, idle is better than ever staying at 307mhz like how I wanted. Scrolling is at I would believe a more optimal freq but probably nominal. It's a great feeling having your phone run the way you want

-DEEZNUTS (XZ version 5) CHANGELOG -

Updated above speed delays

Most of the same settings I updated a few days ago from DEEZNUTS 4.D

Reintroduced Android Version Checker

Deeznuts 6 &-SE to Deeznuts7-SE major update Changelog:

Changed sampling time, timer rate, above speed delay, targetloads to have increased performance and responsiveness

All thermals disabled to fix charging stutters

Added GPU command for setting new max frequency

GPU running at 560 as of deeznuts7

Added Memory read ahead commands to 2048 kb

FS-Trim for data system and cache

G-Services fix

Licenced GNU GPL

Updated memory values added a few new ones

Disabled all system wakelocks

Added new HMP scheduler values while keeping code to send more jobs to big cluster

New ZRAM ramdisk config

Changed Go_hispeed_loads on big/litle cluster for better scaling

Uncapped all freqencies on big/little cluster for full power

Download:

https://github.com/Smacksmack206/Sony-Xperia-XZ/blob/master/DEEZNUTS7-SE

DEEZNUTS 7-SE TO DEEZNUTS8 CHANGELOG

*Lowered scaling while keeping performance from 7-SE*

*Entropy values added*

-write_wakeup_threshold

-Read_wakeup_threshold

*Disabled additional wakelock*

-pwr_dbg

*Low Power Modes for little/big

(cpu0-cpu3)*

lpm_levels/system/pwr/cpu0/fpc-def/idle_enabled

lpm_levels/parameters/sleep_disabled

lpm_levels/parameters/sleep_disabled

*Turn off L2 GDHS (LowPowerMode)*

gdhs/idle_enabled

*Enable dynamic memory bus latency

mem_latency = soc:qcom,memlat-cpu2/governor

soc:qcom,memlat-cpu2/polling_interval

Cpu-freq = soc:qcom,mincpubw/governor

* Enabled Hi performance audio thru DAC *

Added [MENTION=6791680]_LLJY[/MENTION] New voltage values for improving power consumption using high performance audio

DOWNLOAD:

https://github.com/Smacksmack206/Sony-Xperia-XZ/blob/master/DEEZNUTS8

Definitely worth the update is it better than your favorite Version of DEEZNUTS so far? You decide

DOWNLOAD FROM GITHUB TUTORIAL:

USING SAVE AS FROM RAW TAB, WHICH IS NEXT TO BLAME TAB AND HISTORY TAB

INSTALLATION FOR NOUGAT USERS / NON MAGISK USERS:

1. ENABLE INIT.D SUPPORT

(Thanks to [MENTION=4576707]Ryuinferno[/MENTION] work you can use this app to quickly enable init.d support for your phone with root.

PS: Visit his thread to download his app and leave a thanks if his work helped)

https://xdaforums.com/showthread.php?t=1933849

2. NAVIGATE TO SYSTEM/ETC/INIT.D

PLACE DEEZNUTS SCRIPT IN FOLDER

***CHECK IF SCRIPT HAS A TXT FILE EXTENSION AND REMOVE .TXT BY RENAMING FILE***

3. SET PERMISSIONS TO 777 (RWX-RWX-RWX)

4. REBOOT and your done :good: