[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] h.nocturna:
This guide is meant to help those who have rooted their phones and are now finding it slow, laggy, messy, etc.

I've been seeing a lot of posts repeating common problems that have been fixed by other members of the forums, so I'll compile a list of the most common bugs and fixes for them (the ones that can be fixed) in this guide so people can refer to it instead of swamping dev threads with the same questions over and over again. The quicker we can get through the common problems, the quicker we can get to fixing the ones we don't have solutions to so far.

Disclaimer: After installing the ENG bootloader, you are going to experience less battery life. There are things we can do to improve this, but nothing I have discovered so far will get you back to stock battery life... except re-installing stock ROM. Also standard disclaimer that all of the fixes here are done at your own risk. I am not responsible for any of these fixes breaking your phone.

Bug #1: Phone is laggy after rooting the phone/Battery is down the tank.

Fix: The phone is (partially) lagging because the ENG bootloader automatically sets the CPU governor to "Performance." While this is supposed to lock the CPU frequency at the maximum values, it does cause a lot of heat and possibly throttling. Additionally, the max core clocks are set to 1.593Ghz instead of their actual maximums. Not every CPU Tuner will allow you to set the big cores separately, so look around for one that does if you don't want to use Kernel Toolkit.

First, use Flashfire to flash one of two zips provided by psouza4 on our sister Verizon Galaxy S7 (Edge) threads.

1. Kernel fixes & tweaks V15

2. Kernel fixes, tweaks, & Debloater

You need only flash one of these two zips. One additionally debloats the system, one does not. Choose whichever suits your needs.

What the zips do:

Adds a rotate button to the native gallery app.

Adds a shortcut call button in the call log next to each logged call.

Adjusts several CPU tunables, which fixes phone lag and battery life issues.

Disables "No SIM" popup when no SIM card is present.

Disables roaming data by default.

Disables secure storage support, which fixes Wi-Fi passwords not saving issue.

Disables Verizon provisioning for Wi-Fi tethering/hotspot (will still use your data plan, of course).

Enables ADB to run as root by default.

Enables CPU idling/sleeping, which fixes phone heat issues.

Enables mock GPS locations.

Enables native call recording feature in the dialer.

Enables native Wi-Fi calling feature in the dialer.

Enables RIL power saving features.

Enables scheduled messages in the native messaging app.

Enables the camera during calls.

Enables unlimited contact merging.

Enables using the new 3GPP2 Profile ID (Verizon exclusive).

Fixes various 'searching for service' and other cellular network connectivity issues (SMS/MMS not working, calls not working, etc.)

Knox apps, drivers, and data are removed (fix+debloat version).

Prefers LTE network.

Raises the contact name length limit to 1,280 characters.

Raises the maximum SMS recipient limit from 10 to 90.

Remove nagging 'unauthorized actions' security notification (fix+debloat version).

Removes VoLTE icon.

Removes bloatware and/or apps that can be downloaded from the Play Store and don't need to live in /system (fix+debloat version):

Next, install a CPU Tuner utility like Kernel Toolkit, then change the governor from "Performance" to "Interactive." Also change the max CPU frequency of the little cores to 1.593Ghz and the big cores to 2.150Ghz while you're at it. Leave the cores at their default minimum frequency. This will go a long way to improving the speed of the phone. Also make sure you that have the new settings to apply on boot. Every kernel manager should have this option somewhere.

Note: Although the max frequency in the settings screen will drop to some number, as long as you can see the CPU ramp up to the new settings in the information screen, then everything is fine. You can test the max frequency by turning the screen off and then back on.

Then, install sEFix and set entropy to "Ultra."

Lastly, install L Speed and:

-Main Tweaks: Turn on
-Battery Improvement
-OOM Killer
-Kernel Tweaks - "Light"
-CPU Tuner: Turn on
-CPU Optimizer
-LNET Optimizer: Turn on
-Google DNS
-Faster Streaming
-Faster Dormancy
-IO Tweaks: Turn on
-IO Boost
-Partition Remount
-RAM Manager
-Balanced
-Seeder
-Moderate

Their individual effects can be read up on here.

Bug #2: Weird "hurricane" icon in the corner.

Fix: This is related to the imsservice.apk which controls the RCS icon and the VoLTE icon being displayed. Someone has a modified version of the Note 5 imsservice.apk with these removed. You can find the apk HERE in the OP's attachment. HOWEVER, you will push this to a different location than the location mentioned in the guide there. You have two choices, you can either push the apk via ADB from you computer or you can copy the file using a root file manager.

ADB Method (Assumes you know what you're doing. Don't copy the code verbatim if you don't know what the command is doing):

adb remount
adb push imsservice.apk /system/priv-app/imsservice/imsservice.apk
adb reboot

Root File Manager Method:

Transfer the imsservice.apk to your phone. Anywhere where you'll remember the location is fine. Open the file manager with root compatibility and copy the file to /system/priv-app/imsservice/ and overwrite the imsservice.apk already in the folder.

Set permissions of the file to 0644 or rw-r--r-- depending on your file manager. You can set permissions using most file managers.

Restart the phone.

I've included the stock PD8 imsservice.apk as an attachment below if anyone has issues with the modified one from the guide.

Bug #3: Notification warning that system has been modified.

Fix #1: Disable com.samsung.android.securitylogagent & com.tmobile.pr.adapt using your favorite package disabler. This will hide all notifications associated with this app as well as the root check that you might have encountered.

Fix #2: This fix requires Xposed. You can follow the instructions to install Xposed HERE.

Then install the Xposed module NotifyClean, activate the module, and reboot the phone. You will then use this app to block the notification under the package com.samsung.android.securitylogagent by clicking on the package so that it is highlighted red. The notification should disappear!

Note: This app can also be used to hide the icon for WiFi Calling if it's annoying you. You can still use the WiFi calling function while hiding the notification.

Bug #4: I keep losing root.

Fix #1: Secure boot/startup has caused the loss of root. So make sure you DO NOT SETUP the secure boot option when you're first setting up the phone or any time afterwards. This is the same option that forces users to type in/swipe in their password on a screen with a black background. This is not the normal type/swipe your password on your lockscreen after a boot.

Fix #2: Disable Security policy updates. I've also heard that people who leave this option on lose their root after a couple of reboots. You can find this setting under:

Settings > Lock screen and security > Other security settings > Security policy updates > Automatic updates (Turn this setting off).

Fix #3: Disable auto-updates for apps in Google Play Store. It's possible that SuperSU auto-updated, breaking root.

Fix #4: Disable automatic updates for the phone. I don't think these run anyways on modified software, but it can't hurt. You can disable the applications responsible for automatic updates using Titanium Backup, EZ Disabler, or any other package disabler you know of. The packages to disable are:

com.sec.android.soagent

com.wssyncmldm

com.samsung.firmware.nfc

com.samsung.android.firmware.tsp

Bug #5napchat: Unable to log into Snapchat.

Fix #1: This happens if you attempt to login to Snapchat after installing Xposed. Just make sure you login to Snapchat prior to installing Xposed. Done.

Fix #2: If you've already installed Xposed, you can:

-Do a clean install through ODIN, and re-root your phone, install and log into Snapchat, then install Xposed.

-Uninstall Xposed by flashing THIS through Flashfire, uninstalling the Xposed framework app, and clearing the data on your Snapchat app. Then login to Snapchat and re-install Xposed.

Bug #6: WiFi passwords aren't being saved

Fix: Use a root file manager like Solid Explorer and go to /system and open/edit build.prop. Scroll down or use the "find" function to search for ro.securestorage=true and change it from true to false (ro.securestorage=false). Save the file. Done!

If you guys have any more bugs that you run into, please feel free to post them here. Anyone who knows of any additional fixes to these bugs or solutions to any bugs that others post, also feel free to add them in the comments and I will compile them into this guide when I get a chance.

I've included the PD8 imsservice.apk below if you need it