yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
How to improve performance and cool operation after root of G935P Nougat

For those of you concerned with lag and battery time, I have done the following mods after root:

1. Init.d toggler from Play Store (set to Enable Init.d)

2. SELinuxModeChanger from Play Store (set mode to PERMISSIVE)

3. Kernel Toolkit from Play Store

4. L Speed from Play Store

5. LeanDroid from Play Store

6. Sqlite Installer from Play Store (set Install)

7. govtuner version 9.2_beta_9.3 (requires a terminal app of your choice) (see:

https://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828) in Performance mode.

Install zip with FlashFire from Play Store

Make sure to follow all the instructions on the web site to get govtuner to work (requires init.d activation to work)

8. I have used the L Speed settings at:

https://xdaforums.com/verizon-galaxy-s7/how-to/guide-to-fix-s7-lag-root-s7-variants-t3441715

9. For Kernel Toolkit set:

Scaling governor to interactive

Small Cores Minimum frequency to 307 MHZ

Small Cores Maximum frequency to 1593 MHZ

Big Cores Minimum frequency to 307 MHZ

Big Cores Maximum frequency to 2150 MHZ

10. For LeanDroid I followed the guidance at:

https://xdaforums.com/verizon-galaxy-s7/how-to/guide-fine-tuning-performance-battery-t3417804

After settling for a few hours the phone is running cool (no warming).

AnTuTu benchmark is at 128987! This is excellent for a rooted S7 Edge.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Supermav:
Gonna try this Sat kinda leary but already on Nougat
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Eddieray313:
clean flash

s health does work for me on a rooted device. but i wanted to keep all of my stuff but i went with a dirty flash. but i backed up all of my apps with titanium back up and went a head and wiped everything and started over. so far now my files works and so does s health. also touch wiz worked as well but i stayed with nova launcher since i didn't want to reset up the home screens. the gallery app now works with out crashing and for the battery life it still does drain kinda faster then without root but that is when you use it with the screen on. i listen to podcasts at work and within 6 hours the battery life went from 93 to about 50 percent doing that. time to use greenify and gov tuner to see if i can better it. i will post an update tomorrow when i get off work and tell you if it improved or not.

drained 2% in 10 minutes watching a video. (with Bluetooth headphones and wifi turned on)
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
[MENTION=8113692]Eddieray313[/MENTION]

[MENTION=4786266]Nexus85[/MENTION]

[MENTION=5989000]THA-REAPER[/MENTION]

After quite some digging i thought epdg app was useless. It is not. Enable if it is disabled.

This apps configurations hold WiFi calling together after rooting which disables by default. -Hypothesis-

I am not on Sprint Firmware at the moment but (enable root browsing per app) head over to the file epdg_apns_conf.xml in folders /system/etc/.

This can also be located by BuildProp Editor's menu search file function.

Open and search for 310000 and 310120(epdg_apns_conf.xml in folders /system/etc/). These will be disabled to '0';

I do not suggest deleting everythign else because a space can leave the string unattached.

Enable these by editing to '1' and saving and rebooting. If that works we can stop talking about such a useless function? Yea? :silly:

I have been putting off modification of engineer boot; solely for APNS. I hate using XAS. It is too sensitive and Samsung loves to protect U Firmware because of the accessibility. Even though 120 might be used, XAS overrules pertaining to engineer boot img. I am going to focus on this right now and hop on linux and act like I am smart. Mention me because I don't check this thread periodically as you guys are handling stuff<<< love to see that E>

FYI.

I am going to unpack engineer boot.img. ALL are the same if renamed. I don't think no one has put the time or care for this necessity... for it creates TONS of problems. If i am mistaken I apologize. But I know for a fact:

customer.xml in system/csc

apn_cons.xml in system/etc as well as

epdg_apns_conf.xml all contain APN features and are witholding a perferred selection because of the application after flash.

As you can see the only way to do this is by unpacking the img file and repacking for a success all the time.

Now I am just hypothesizing like i said above, but my ponders tend to be correct I think...mostly. Heh :/

Keep me posted please?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Eddieray313:
alright ill keep you posted. so far with greenify and gov tuner the phone seems to be running a little better on conserving battery power. and with the qf3 firmware it does seem to be running smoother with pretty much no lag. also lookout should be added to the list of disabled adds i keep getting a pop up saying it was causing issues and needed to be stopped. on both the dirty flash and clean flash. and with this one you can easily get your phone activated and through build prop you can bring back your internet but for a while after i couldn't get google play to load until i restarted the phone a few times. after tomorrows test of greenify and govtunner i'm going going to through in a new app i found called du battery for Friday as a test. also after disabling lookout it still popped up as an app causing issues.

if you guys would like me to keep an eye out for something let me know i will gladly do it for a full root with no issues.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Nexus85:
I completely remove lookout after rooting. That problem goes away easily.

---------- Post added at 06:51 AM ---------- Previous post was at 06:17 AM ----------

[MENTION=7523343]godpowerrr[/MENTION] I did as you suggested and changed the value of the wifi calling for both 310120 and 310000 just in case and it's the same. No wifi calling still...? it definitely was worth a shot. It seems like it would've worked too. Ok what the problem is. I will uproot and try again. Even though epdg was changed to 0 it works after root just can't turn it off or else u lose it. Whatever that does is the culprit but maybe instead of disabling epdg in the xml will help because previously I've had no problem with wifi calling. I have rooted and still had it no matter if I turned it off or on. I just had to have build prop set to 310120. No big issue just would be nice to have wifi calling. I don't need it but it does come in handy. I had it before with T-Mobile and was in the middle of nowhere (rooted Rom and all) luckily I had a Rom that had wifi calling as I was in New Mexico with absolutely no signal and luckily the oasis had wifi...long story short I was able to make calls back home. Everyone doesn't use it or need it but for those with crappy service in their area or work in places with bad service it is a necessity. Thanks for the advice.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
It is highly useless for most. Highly necessary for others. Did you make sure that the xml file is read-only?

Nexus you mongolian..now i have to hop on Sprint because this is going to irritate me. I was typing a book when i was trying to get a link lol. I am not suprised it didn't work. Turn Auto-update system to off/on whatever you don't have selected atm. Try after editing the file or the complete directory to read only. We don't want these configs doing whatever they please like default.prop..l hate that one:in /data(device)/ shes a real master piece to edit.

But yea um just go ahead and create some back-ups because we're gonna heavy debloat. Check my post above. I need some air.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Eddieray313:
6am to 3pm while running greenify and govtuner my battery is now at 50% unlike yesterday so a decent improvement over all. No other issues since removing lookout. I should have uninstalled it in the first place. But been too busy too. Now to uninstall other bloatware to see if a much better improvement.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Son Rise:
So How Many Files Do We Need To Mainly Root? I'm On QF3
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
The op.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] DavisCreek:
Thanks godpowerrr and crew! Gonna try this, i have a sprint s7 and have taken all the OTA's to current over the months, even tho after i had gotten the phone months ago, i switched my service back to the old rooted lg with broken screen while hoping for a root for s7. Mainly, I need a hotspot, as we live out in the sticks of virginia without even an option of terrestrial highspeed, and had my LGg3 rooted to run wifi tetherap with 2bars of 3g service in windowsill. just nuff to do shopping and manage a few other details. I tried the hotspot workaround using adb on other thread, but it dosent seem to stick.

I Also DL'd ADK and JDK7&8 so i can get into android dev. Love my arduinos and have a little vb6 and c experience. I need to study all of this a bit more before i do it. Any knowledge or pointers on setting up my dev side on a windows machine, please shoot a me a msg.

Just bought 2 cheapy android tabs 7 & 11inch to mess with and try to organize life on a larger screen than phone.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Son Rise:
Seems to hard
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
If you have S7 this will most likely not work and brick your phone. You're in the wrong area.

https://xdaforums.com/sprint-galaxy-s7

But if you have the edge welcome... The hotspot is iffy i've heard and its works for very few.. since sprint is always updating/terminating bypasses. What do you mean by dev side? Wether if you are on the edge or the S7 then we can help you out.

It's the easier root with the eng boot yet. You disable packages.. flash eng boot and run supersu root.bat. Why does it seems so bad?

Anything in posts doesn't pertain to the thread's original post. And if it did I would update the thread. You have done this before what is stopping you now.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
WiFi Calling Fix

Will appear in system menu as well as status/notification bars.​

Simply run unroot.bat from this zip.

Delete your csc folder if you'd like.

USB Debugging needs to be on as well as Verify Apps via USB off in

Developer Options

before root.bat when device restarts (after unroot.bat).

WiFi Calling registered and turned on.. with Packages remaining disabled you may run root.bat again and complete process.

I did this on engineer boot, so going to stock will not be necessary.

Things that were changed:​

APN's in:

system/etc/apns-conf.xml

APN2 LTE internet should be only one displayed on 310120 MNC.

Strings in system/build.prop

: [MENTION=4786266]Nexus85[/MENTION]

ro.com.android.dataroaming=true to

false

If you'd like roaming on then just change back or enable in mobile connections.

ro.cdma.default_numeric=310000 to

310120

ro.characteristics=chameleon to Sprint

Sales code entry

from SPR TO XAS in system/csc/customer.xml

Sales code entry

from SPR TO XAS in system/csc/others.xml

-Added

manually

to others.xml the csc feature <CscFeature_Setting_SupportWifiCall>TRUE</CscFeature_Setting_SupportWifiCall> just in case.

default_code

file from XAS TO SPR

sales_code.dat

file SPR TO XAS.

If you've understood why these were changed without an explination then I applaud you :). This worked for me....

---------------------------------------------------------------------------------------------------------------------------------------------------

If the SuperSU root.bat file doesnt work its because your files can't be overridden; apply,

Grant whichever file explorer you use..SuperSU access & enable root explorer/browser and

DELETE

folders/files below or completely overwrite:

SYSTEM

:

build.prop *******

NOT WISE...better to just edit strings above

*******

Complete CSC folder.

ETC/apns-confs.xml

ETC/XAS_keystrings.dat.

Turn off root explorer/browser making system read-only.

Run root.bat immediately after deletion of these files.

By default /device(/data), any supersu folders /su /xbin, /bin and your external sd card should be the only folders granted read-write authority.

Download

SuperSU[2.82]QF3-WiFiCalling.zip

Will update thread when verified.

​
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Son Rise:
So laggy
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
Why I have mentioned switching to SM-G935U firmware
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] CWGraf71:
I have recently rooted the QF3 U firmware on my g930p using SU 2.76 is there a way to use the Wi-Fi calling fix
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] :
Wow such an insightful and useful comment. Thank you for your wisdom.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
Well first of all....

Being outdated on SuperSU will do you no good (apps of course). Update to current version *2.82 would be wise, then apply WiFi fix if you'd like to try...

Im sure S7's csc files can't be off (hypothetically speaking) drastically...and if so-not by much. I am quite positive this could work. Though I do not have that device and have no way for an assured answer. All testing is on you, and you're the person liable for your device screwing up, if that is the case.

Alsooooooooooooooooo

I have said this before but Auto-update apps in Google Play Store needs to be unchecked or SuperSU will update being the time that comes and will unroot your device, leaving you with many questions as to why is my device unrooted? blah blah ...

;)
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] DavisCreek:
Godpoerrr, thank you even more, i was indeed under the impression that the S7 and S7 Edge where kind of the same except for the bezel, so I'll look around in the other group. I do see how tenacious you XDA members are about helping folks unlock their machines, and that is huge. So a huge thanks remains!

I suppose developing an application that runs on a phone and literally hacking into a phone are two completely different things that required different software and environments period. Of course I'd like to become quite familiar with both.. I had read somewhere that you're better to have Java 7 kit vs 8, to use with the ADK so I downloaded both but installed 7 to start. Just thought others may have pointers or must haves.

Glad to be here with yall, and hope to grow and contribute. Best
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
No problem.. pm me your hangouts address and I'll add you and we can talk from there.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Eddieray313:
root is good at home bad on the go.

i did a test today to see how it would work if you are on the go without charging it (yes i took a charger with me). i used maps and texting along with music and phone calls. i woke up around 7:30 am and went out of town and came home. it is 5 till 2 pm and my phone was under 40%. yes the root is pretty damn clean and has very little lagging but the battery can use a lot of improvement. if you use your phone and podcasts and music while you go about your day then it is great. if you use it to travel and can not charge it for the most of the journey then it is not for you. to help save battery life use greenify and the built in battery cleaner also disable and uninstall bloatware.

for now i am reverting to stock and waiting for the new update to the root from you guys and i will flash it and run it again and i will post my results. till then good luck to everyone who roots it.

yes i love root but while at work i do travel a bit and can't charge it. i am all for rooting and i love it for the freedom of modifying apps if i need to. but i do need battery life in case i get stuck somewhere and there is an emergency.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
If you do a little research the battery performance while using the engineer boot.. which is not made for everyday use, will not change until bootloader is unlocked. I appreciate your feedback and success. :) Many users will have different application preferences pertaining to battery/cpu usage. Amount of apps you have, ram your using, background processes running, task managers, kernel modifiers, net tweaks..all function differently according to each user.

The only way to find your perfect performance and/or battery profile that is worthy of being rooted is if you seek it. No one's advice will help ultimately or to a 'T' because the eng boot is just what it's called, "Engineer Boot" That sums up half of what your saying. This is been stated throughout the topic several times.

// Quick tips for faster tasking...Less asking the system what to do

In developer options

:

Turn Auto-Update System-Off

Buffer size for logging-Off

Animation speeds/factors-scale 0.5x (All 3 selections).

Limit background processes-At most 4 processes or No background processes if you want great multitasking.

Do not enable 'Do not keep activities' because apps will crash, thus making SystemUI lag/crash eventually. Just pointless.

Force allow apps on external-Enabled

Force activities to be resizable-Enabled

---

In SuperSU app options

:

Default Acess-Grant

Notifications-X

Logging-X

Enable su during boot[/COLOR]-√

Enable multi-user[/COLOR]-√

Tapjacking Protection-X

Trust system user-√

Enable Pro if you havent bought the app

---

Other options

:

Turn Auto-Sync off for gmail, samsung galaxy accounts after you've synced current backup.

Move apps to sdcard to create less cache apps and cpu usage.

RAM isn't to be monitored unless reaching below 600/700 mb on a constant.

Keeping apps closed and not using task managers or apps that conflict. (For example:Mostly any Kernel Aduitor + L speed)

GovTuner is definatly good always, especially with BHB27 Kernel App.

Wiping Cache Partition manually is always a good option. Its funny how you guys are so quick to run back to stock.

The whole point of rooting is to become a full administrator of your device...technically speaking;

Controlling temperature/cpu frequencies/cache build-up,etc..

It takes provisions and no SM-G935P is not the firmware we'd like to be on. It is what we have to expand our phone's features.

However, there is SM-G935U for Sprint and is this firmware comes to most with miniscual tug/but lacks features like WiFi Calling, others.

If you're going stock on P Firmware than more power to you. Stock U Firmware maybe but P ew.

:cool:
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] dr.z3blawy:
hi godpowerrr and thank you for the root and the explain, I tried to use this root it was easy to do but after i install the su and every thing was ok i tried to restore my security to fingerprints

it kept saying that the sensor is not working !!

can you help me to explain what went wrong?

is it bcoz i didnt buy the 0.99 app ?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] :
You need to use the updated root.bat which has the fingerprint fix built into the rooting process. Find it here https://www.androidfilehost.com/?fid=889764386195909311
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] :
[MENTION=8422000]dr.z3blawy[/MENTION]

I believe that the prompt removes supersu but I'd recommend uninstalling through the super user app before you reroot.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] dr.z3blawy:
thank you bro, i really appreciate your help.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] :
No problem, I'm always glad to help out. If you need any more help always feel free to ask.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
[MENTION=8422000]dr.z3blawy[/MENTION]

No its because lib/lib64 folders weren't applied to your system from the zip.

The files in lib/lib64 folders in push_system's folder fix fingerprint sensor/app malfunctions. So if you ran the root.bat and it didn't work... Maybe you tampered with the sensor while su.img was being planted, cache related, or your system denied overwriting of the files. Im sure its a cache issue. Delete those 4 files in lib/lib64 on your device and run root.bat immediately after that. Let root.bat function solely without clicking or touching anything while installing.

? Good idea except they are the same files lol Exact same zip without the reboot/push_system folders.

[IMG="Same lol?"]http://oi68.tinypic.com/2uzt6x5.jpg[/IMG]

[IMG="HAHAHAHA"]https://media.giphy.com/media/7VUJhN2IZowc8/giphy.gif[/IMG]

^:laugh:
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] dr.z3blawy:
thank you for the explain godpowerr, so do i use the root.bat that YMNDLZ advised me to use or use the original one in the 1st page ?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
Use original ..its safer. Only reason i edited original because I'm very impatient. Lol enjoy
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] :
He doesn't seem to have ran the updated root.bat as he would've seen the prompt to install the Fingerprint scanner fix. Maybe I'm tripping, I just thought that he would've remembered seeing a fingerprint fix and I just assumed he was running an outdated root file. I'm unfamiliar with your root.bat so apologies.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
You're good man <3
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] dr.z3blawy:
I didnt see your reply godpowerrr before i do the root but i used the one YMNDLZ suggested

and after several tries it worked and now the phone is running smoothly socially with the kernel and govtuner methods you mentioned in page 11 of this thread.

The several tries was bcoz YMNDLS root.bat was suddenly loging out after installing the su.apk

I kept insisting and trying till it work (after a lot of stock firmware installing ???)

Thank you guys you really helped me out.

And a special thanks to you godpowerrr for this detailed post.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] :
You should always open the root folder, open a command prompt there (by pressing shift and right clicking) and type root.bat and hit enter, cause the root.bat file has a tendency to quit randomly.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] dr.z3blawy:
You are a great help as usual.

I didn't knew that bcoz am a newbie in this

But this is a good info. I would use in the future roots.

???
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] slapman:
Tweaks and Mods guide

Hi godpowerrr. I was wondering do you still have the Tweaks and Mods guide available. It's with the setup of busybox bhb27 kernel etc... Since the tutorial update which is awesome by the way, I haven't been able to find it. Would it be possible for you make it available or pm me. I'd definitely appreciate it and thanks for helping us with the customization of our phones.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] bencostello:
Has anyone else encountered the "SU binary is occupied" issue? I have done this method 3 times and continued to get the message. I followed the directions to the T. To be clear this is after I am done rooting and I open the SU app. My device says it is rooted but the SU app will not work.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
I've encountered many times. All it means is that the root.bat install didn't complete properly. You can use unroot.bat and clear wipe partition in recovery mode then run this root.bat from : Here << Copy push_system from my zip to this push_system's folder.

[MENTION=4265316]slapman[/MENTION]

Ill clean it up in a second but just post this in a reply and press preview post and it will be like the thread i had. I'll add to my thread soon... I took it down because people gave me negative comments/poll.

Here