[Google Pixel XL Guides, News, & Discussion] kingbri:
Comprehensive audio guide for android 8.1 and P DP1 (saves battery)

Cyan means 8.1 ONLY​

For android P only, flash the magisk modules in TWRP, manager is broken with module flashing, just a temp patch from [MENTION=4470081]topjohnwu[/MENTION]​

I am not responsible if you break, blow up, or destroy your device in any way​

Hi XDA, this is the comprehensive guide to making the google pixel and XL have the ultimate audio mods installed while saving battery (if xposed is what you're looking for, it's under amplify)

Prerequisites

TWRP 3.2.1-x

Magisk v15.x REQUIRED

busybox (osm0sis) installed (for some mods)

Link to homeboy76's guide, look at step 9 or 10

Magisk permissive module Download

Dual stereo speakers Magisk module by kingbri(me) (AML bug fixed)

I ported Chdloc's mod into a magisk module, need to add it to the official repo, but it works very well right now

Download the zip file from this thread https://xdaforums.com/pixel-xl/development/magisk-module-pixel-stereo-speakers-t3753190

Make sure you have permissive installed (check prereqs)

Flash it in Magisk

Reboot

Profit

Atmos

Download dolby unity port by [MENTION=6037748]Zackptg5[/MENTION]

Install (Universal)

Flash the permissive script in magisk

Flash the dolby zip in Magisk, It's a module

Reboot

App should be installed

IF installing with V4A, install Atmos, reboot, then V4A, then audio modification library, reboot. Everything should work

V4A steps

Install Ahiron and zackptg 5's v4a module (follow the prompts during installation)

You're done!

Ainur Sauron mod- fixes audio quality by importing qualcomm drivers as opposed to the stock android ones

Open magisk manager and navigate to downloads

search for ainur and download mark II.II

AML(audio mod lib) is installed (updated if you have v4a) by default

Reboot

If mod does not install properly, reflash the installation zip and should uninstall the mod

Battery saving

Greenify

Install the magisk module for greenify

open greenify and select NOT rooted

follow the prompts

go into settings after wizard

change mode to rooted

grant SU access

L speed (very important, this is the best battery saver app)

Install the beta from play store

Open the app and choose the AMOLED theme

choose the battery profile

turn on fstrim every boot

turn on aggressive doze (not recommended while driving, use greenify aggressive doze instead if you drive a lot)

After booting, launch L-speed and allow it to execute scripts

Hibernate Google Play services

Go into magisk manager and find the downloads section

Download sysconfig patcher, patches Google play store and other battery draining system processes so they don't drain battery

ElementalX kernel

Configure as elementalx governor with wq_powersaving enabled in the cpu menu

Amplify!

Installing Xposed framework and amplify

download xposed framework systemless here(make sure it is beta 2)

download xposed installer here

Install the xposed zip directly in magisk like a magisk module

Install xposedinstaller apk

reboot(takes a long time to boot firstrun)

open xposed installer

check to see if xposed is installed

install amplify from the PLAY STORE (not sure why it isn't installing in xposed)

activate xposed module and reboot

relaunch amplify and let it run on the default settings!

amplify configurations (updating specifics, requests avaliable in comments)...

Feel free to comment with updates to this guide, I will consider them and put them into the op!