[OnePlus 3T Guides, News, & Discussion] Sykojoe:
I decided to start this thread for a couple of reasons 1 so I can remember what order I did things in to get back after a wipe and 2 so maybe it can help others to setup certain apps how they want and not have to spend the time I did searching and googling.

To start we are going to assume you already have an unlocked bootloader and TWRP installed.

After a fresh wipe I flashed OOS 4.0.2 Full from this thread in TWRP

https://xdaforums.com/oneplus-3t/how-to/rom-oos4-0-nougat-op3t-leaked-t3523482

I recommend a fresh wipe because every time I did a dirty flash or restored a backup my Android System started draining battery like crazy and phone would get warm while charging

Without rebooting I then flashed Magisk V10.2 in TWRP

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Still without rebooting I flashed Franco Kernel in TWRP

https://xdaforums.com/oneplus-3/development/kernel-franco-kernel-r1-28th-november-t3508904

I then wiped dalvik and cache and rebooted phone.

edit - THIS STEP WILL NOT WORK ON 4.0.3. It has been patched out.

Somewhere in the process my DM-Verity was tripped and although annoying it does not seem to matter and it can be fixed later by following this

https://xdaforums.com/oneplus-3/how-to/fix-easy-method-removing-dm-verity-t3544339

After phone booted and I setup account and wifi and I go the play store and install PHH superuser

https://play.google.com/store/apps/details?id=me.phh.superuser&hl=en

Once installed I open it and click the 3 dots and go to settings

Where it says Superuser access I toggle between Apps only and Apps and ADB till I get the message Superuser granted to Superuser

I then go back into play store and install Magisk manager

https://play.google.com/store/apps/details?id=com.topjohnwu.magisk&hl=en

I go into Magisk Settings and click the checkbox to Enable Magisk Hide.

I then reboot phone

Once phone reboots I open Magisk manager again and check safetynet. It now passes.

I hate ads, I had been using Adaway from F-Droid with MM but I couldn't get it to work on N

I found this https://github.com/AdAway/AdAway/issues/770 after many searches. About halfway down a user named KreAch3R has comiled Sanjay900's changes into an apk so I figured I would give it a try.

At first I could not get it to activate and block ads

I installed this busybox and then it activates no problems and now most ads (not youtube) are blocked

https://play.google.com/store/apps/details?id=stericson.busybox&hl=en

Now what I really wanted was Viper4arise. I tried flashing some in TWRP and I couldn't get them to work and this led to a couple more wipes. But I really wanted this so I kept searching.

I found this https://xdaforums.com/apps/magisk/viperfx-mkm-magisk-t3535401

I downloaded it and enabled it in Magisk manager

Still no luck and I couldn't get it to work.

After more googling and reading through the other threads for viper I figured it was deep buffering

I used ES file explorer as I was not at home and went into system/etc and found audio_policy.conf

I commented out the first line I saw that said deep_buffer.

After saving I rebooted and now Viper-fx works

To get it to work with Poweramp I had to set FX compatibility mode in Viper to compatible and in Poweramp audio/advanced tweaks I had to disable Direct Volume Control and Enable MusicFX.