Thursday, 28 July 2016

[Guide] Post-root Common Bugs and Fixes



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.5Ghz instead of their actual maximums.

First, install a CPU Tuner utility like Kernel Toolkit, then change the governor from "Perfomance" to "Interactive." Also change the max CPU frequency of the little cores to 1.5Ghz and the big cores to 2.1Ghz while you're at it. This is go along way to improving the speed of the phone.

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

Lastly, install L Speed and:

Code:


-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):

Code:


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.
Restart the phone.


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

Fix: 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.tmobile.pr.adapt 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).


Bug #Snapchat: Unable to log into Snapchat.

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


If you guys have any more bugs that you come 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.



No comments:

Post a Comment