[T-Mobile Galaxy Note 4 General] ShrekOpher:
5.1.1 [DOK2] Setup [Debloated &amp;amp;amp; Systemless Root] [Viper4Android][Bettery Battery]

I have seen a few people having issues with the DOK2 update and were looking for a step by step process of how to upgrade to the new firmware and optimize it to get goo performance. this thread will guide you through that process as well as link to the appropriate threads to download and get the needed files/add ons.

*****This process will wipe your phones internal storage and give you a clean install of the new firmware.

Step 1: Download the DOK2 firmware to your PC

There are a few places you can get this from:

Sammobile: N910T Firmware

Or XDA thread: Stock TW Firmware/Bootloader/Modem N910TUVU2DOK2 UNMODIFIED Mirror

(You will need the entire firmware not just the modem and baseband)

Step 2: Download ODIN to you computer

From ODIN DOWNLOAD: ODIN 3.10.7

Step 3: Odin Flash new firmware.

The download from Sammobile or Mega should be a .zip file. you will need to unzip that file to find the .tar file which is what you will use for ODIN flashing the firmware.

If you need help using Odin to flash the firmware check out this post on Android Central: Help Thread

After you have completed the Odin Flash the phone should reboot and come to the setup screen with your new firmware.

Step 4: Odin Flash TWRP

Download TWRP to your computer: TWRP Downloads

Specifically you want this file: twrp-2.8.7.0-trltetmo.img.tar

Use Odin to flash TWRP recovery onto your device.

If you get lost you can check this tutorial: ODIN Help

Step 5: Reboot your device and setup

Once you have rebooted go ahead and set up your device. we will worry abou debloating and getting root after your device is setup.

Step 6: make a backup in TWRP

Once your device is setup make a TWRP backup of your setting

Step 7: Getting Root

*****Update: New SuperSu 2.64 beta. Works even better with Samsung phones. *******

You will need the latest SuperSU beta from the below thread.

SuperSU Beta Systemless Root

Newest version is 2.64

You will then boot into TWRP and flash that zip in recovery. This will give you "Systemless Root"

Systemless root allows you to use the stock kernel with SE LINUX enforcing, but still be able to use root apps. However this is not complete root. Some root apps that need to modify the system will not work. this is just a BETA root and is not final yet. check back to that thread for updates as they come out.

Once you have flashed the SuperSU zip reboot your device and verify your root apps are working.

Step 8: DeBloating TW.

There are 2 options for debloating TW.

Option #1: V3.90 Debloater V3.90 DeBloater

This option works on both rooted and unrooted devices. It really is a program that uases ADB to allow you to FREEZE system apps. This will not allow you to completely delete the application with Systemless Root.

The OP has a TON of detail and walks through this process of how to uses his program.

Option #2: [Script]Touchwiz De-Bloating Script and Gapps ~ 222 Apps

http://xdaforums.com/note-4/snapdragon-dev/script-touchwiz-bloating-script-222-apps-t3258537

This Option removes 222 applications. It is a simple download and flash in recovery process.

****HOWEVER This will remove some functionality of the device READ the list of application before you flash to make sure there are not any that you use. The OP also has instructions on how to modify the script if you want some application to not be removed.

Step 9 Viper4Android on Systemless root.

Download the Viper4 Andriod/Beat installer

Viper4Android w/ Beat Audio

Flash the installer zip in TWRP and reboot your device

Download BusyBox Installer

BusyBox by Stephen (Stericson)

Install BusyBox

Reboot

install Viper$Android Drivers

Reboot

Download both the Viper4Android SU policy fixes

1.) ViPER4Android-supolicy.zip

2.) XM_V4A_Fix_by_androidexpert35.zip

Reboot into TWRP and flahs both of these. you can flash them at the same time just to them in the order above. [1 then 2]

Reboot the device and enjoy V4a.

******Also the Beat portion of the zip is a bit wonky sometimes. I have not yet been able to get it to opperate effectively, so you may want to disable it or freeze it with Titanium backup.

Disclaimer: NONE of these zips are mine. I am posting download links from my mega, because I pulled these files from 3 different threads and only one was from an OP. the main Viper4Android /beats install zip comes from here : [SUPER MOD][4.3+/6.0][ v6.2 ] XTREMEMusic™ THE SOUND THAT YOU'VE NEVER HEARD!

*************************************************************************************************************************************************************************

With this setup I have easily gotten more than a days worth of usage. I average about 5.5 hours of SOT and 24 hrs between charges. Normally I plug in around 20 hours with about 40% battery left.

*****These are all items developed by other XDA USERS. Please provide the thanks on their respective threads as well. :D:o:)