yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Optimized performance after G935U root (with AnTuTu result of 144402!)

I have been doing some testing and comparing of different post-root mods to optimize performance of my G935U rooted firmware running on the G935P hardware.

Comparing govtuner vs L speed, I get much better performance with govtuner combined with the BHB27 Kernel Adiutor.

1. govtuner 4.0.2 requires init.d to be enabled using either Init.d Toggler or Universal Init.d (both available from Google Play store)

2. govtuner is available from http://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828

3. a terminal program (I use Termux from the Google Play store) is also required to run govtuner.

4. Instructions for installing govtuner are on the govtuner web site. It can be flashed using Flashfire.

The govtuner settings I use are:

Performance (option 3)

Increase performance (I), set to 10

Change governor (g)> LITTLE core (1)>interactive(1)

Change governor (g)>big core(2)>interactive(1)

Power efficient(p)>Enable(y)
​

5. Speed Up Swap (I use PRO) from Google Play store is installed and set to FAST

6. BHB27 Kernel Adiutor (ver 0.9.9.4.+40) is installed (available from BHB27 at http://www.androidfilehost.com/?w=files&flid=48767).

The only setting I use is CPU>CPU Governor>interactive (select Apply on Boot)

(This seems redundant with govtuner settings, but it improves overall performance)

​

7. using BK Package Disabler I have disabled 163 packages (yes even the U firmware has some unnecessary packages). The xml file that I use is attached (it works with BK Package Disabler, NOT Package Disabler Pro): View attachment BK_UFirmware051017DisabledPackage.xml

(I use AquaMail for email and Textra for SMS/MMS so the ROM installed packages for email and text messaging are disabled. Any packages that you need can be re-enabled within BK Package Disabler.)

8. After several weeks of running the phone with these packages disabled, I made a debloater script (to run in terminal) that deletes the packages (it frees up alot of system memory). IF YOU DECIDE TO DELETE THE PACKAGES, THE ONLY WAY TO RECOVER THEM IS TO START FROM SCRATCH AND ODIN BACK TO STOCK UFIRMWARE AND ROOT AS DETAILED IN POST #1. View attachment 4148686

The script has to be extracted from the zip and run in terminal as root, This is not a flashable zip.

CAUTION: DELETING THE PACKAGES IS AT YOUR OWN RISK. MAKE A BACKUP BEFORE DELETING. ALSO RUN THE BK PACKAGE DISABLER version first, and run for quite a while to make sure that non of the packages you use are disabled. The script deletes the packages, no backup is made during the process.

(For packages that you don't want to delete, you can remark them not to run by editing the xml file and place a # character at the front of a line that you want the script to skip, or just delete the whole line.)

Here is the performance test results:

Even though the phone is running the G935U firmware AnTuTu still shows it as a G935P.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mugetzsu:
What is your SOT on this setup?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
SOT?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mugetzsu:
Screen on time. I might try your setup if it makes the phone snappier than without govtuner & speed up swap.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
I tried running it without them and it is definitely more laggy
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
SOT after how long?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mugetzsu:
Like until 5% of your battery. Does it make it like 4-5 hrs screen on time with that setup?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mast3rZero:
I just reflashed my phone with the more recent tweaks and it's running more stable now. Also be very careful using the BK XML. It does disable a bunch of common apps like the calender, calculator, ect. So make sure to re-enable those if you decide to go that route. Also if you like to have app icons without a background on the icon you must re-enable "TouchWiz easy home". :good:
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Hmm. At what brightness? That will make a huge difference. Also what screen resolution? How would you keep the screen on that long? I have my screen timeout at 15 sec under normal use. I also don't use streaming video much, which will keep screen on much longer. Is there a standard SOT test that you know of? If you have a way that you compare, it would be best do it without and with the mods so they are under the conditions that you know.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mast3rZero:
I tested my pic messages again and I'm still unable to send. It doesn't give me a error or anything.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Are you on Sprint network or CREDO mobile?

It may be a slight difference in the APN settings is needed for the Sprint settings.

The settings that godpowerrr supplied (post #78) for Sprint also on post #1 are

Name: APN2 LTE Internet

APN: n.ispsn

MMSC: http://www.mms.sprintpcs.com

Multimedia message proxy: 68.28.31.7

Multimedia message port: 80

MCC: 310

MNC: 000 // Do Not CHANGE!

APN type: default,supl,mms,dun,fota

APN Protocol: IPv4/IPv6

APN roaming protocol: IPv4/IPv6

Bearer: LTE

However, there are two differences in the APN's for CREDO mobile.

Here are the APNs for LTE and EHRPD for CREDO taken from my working U root on CREDO:

Name: APN2 EHRPD internet

APN: n.w1.ispsn

MMSC: http://mms.plspictures.com

Multimedia message proxy: 68.28.31.7

Multimedia message port: 80

MCC: 310

MNC: 000

APN type: default,mms

APN protocal: IPv4/IPv6

APN roaming protocal: IPv4/IPv6

Bearer: eHRPD

Name: APN2 LTE internet

APN: n.w1.ispsn

MMSC: http://mms.plspictures.com

Multimedia message proxy: 68.28.31.7

Multimedia message port: 80

MCC: 310

MNC: 000

APN type: default,mms

APN protocal: IPv4/IPv6

APN roaming protocal: IPv4/IPv6

Bearer: LTE

The two key differences that may be important are

1. the APN (CREDO: n.w1.ispsn) and (Sprint: n.ispsn)

2. the MMSC (CREDO http://mms.plspictures.com) and (Sprint: http://mms.sprintpcs.com)

The MMSC for the CREDO network is read directly from my rooted G935U firmware on the G935P hardware. On previous hardware, the MMSC for CREDO and Sprint used to be the same. I wonder, if changing the MMSC for the Sprint APN to http://mms.plspictures.com, might do the trick. I would not change the APN for Sprint since that may not match what's on your SIM if you are on Sprint. It may be that this MMSC is a qwerk of the U firmware? I don't think the APN type differences are significant because I have services working fine with just "default,mms". But it is also worth checking.

Let me know if you try it.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mast3rZero:
I made sure everything was right and I'm fine. Messages were working before the root and calls worked after I rooted and I had LTE. I figured I was alright but now I notice I can't send any messages. My LTE is fine also are my calls. I'm getting error : 34 when a message fails sometimes.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
default,mms,supl,dun,fota is in your apn type? What APN do you have selected?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mast3rZero:
I have the exact apn that's in the instructions. APN2 is the only apn on my list since I read to remove the OTA one.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mast3rZero:
My view, is there anyway I can update my PRL and profile after I done all the steps? It seems to be incorrect.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Did you try changing the MMSC? Also, did you do the Update PRL and update Profile before ODIN of the eng boot?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Bigmar75:
I had the same problem with not having mms. I took the www. Out of mmsc and it worked for me..so just http://mms.sprintpcs.com
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mast3rZero:
I tried that also but it didn't do anything for me. I believe I found out the problem. I believe something went wrong at one point and my sim IMEI is incorrect.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
In any case, I will correct the Sprint MMSC in post #1
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Actually both the mms.sprintpcs.com and mms.plspictures.com ping the same ip address: 68.28.202.9. So either MMSC entry should work (without the www., of course)
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mast3rZero:
I did everything over after sprint fixed my line to make sure the updated settings are on. Everything is running fine now. Here are some benchmark scores. I'll post another one once my phone has settled.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Yes. It's important to wait untll the battery and screen cool down to get the best results.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
You can also use APN2 EHRPD Internet with same settings but eHRPD being the barrier.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Supermav:
Everything works good for me now besides Samsung as network instead of Sprint can that be changed, noticed U firmware doesn't have Chameleon to Sprint option unless I missed it no biggy just wondering thanks in advance

Update: don't care about network displayed lol installed kernal auditor and govtuner like godpower mentioned he did, alittle slow on startup about 2 min or so but once it's settled runs like a champ awesome thanks godpower and to everyone who contributed to the cause
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] MikeTheInfidel:
I've followed the instructions to the letter 4 times now, and every time I get to step 12 (waiting to get back to the home screen after flashing the Eng boot), it never gets to the home screen. Am I supposed to be using the modded Odin, or the original Odin? What else might be going on here?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
I use the PrinceComsy ODIN. Search for it on xda. Did you wipe cache multiple times?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Was the u firmware working properly before flashing the eng boot, ie all services?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] MikeTheInfidel:
Yep, all working.

When should I clear the cache? The instructions didn't mention that. Before/after flashing the Eng boot?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Maybe
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Maybe The eng boot is corrupted. Try downloading it again.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] MikeTheInfidel:
No luck. Downloaded multiple copies and they're all identical. None get me past the 'Samsung' startup text.

---------- Post added at 01:08 AM ---------- Previous post was at 12:52 AM ----------

One thing I did wonder - the guide mentions installing AP, BL, CP, and CSC, but G935UUEU4BQD2_G935UOYM4BQD2_SPR came with two CSC files - CSC_OYM_G935UOYM4BQD2_CL10860000_QB13199092_REV02_user_low_ship_MULTI_CERT.tar.md5 and HOME_CSC_OYM_G935UOYM4BQD2_CL10860000_QB13199092_REV02_user_low_ship_MULTI_CERT.tar.md5.

Do I flash both of these, or just one of them? I've been skipping the HOME_CSC_.... file. Which... my god, your instructions say to use that one... I've been using the plain CSC_.... file. Going to try that now.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Not the HOME one.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Are you following the updated #1 page?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] MikeTheInfidel:
Yep. The first step said:

That's why I wondered about HOME_CSC.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] MikeTheInfidel:
OK, I finally got it working. I started from a fresh install of the stock 935U firmware, went through setup, configured the update settings as advised, and then fully rebooted. I didn't just power off and then go to download mode - I let it start up and run for about 10 minutes, then powered off, cleared the cache several times, and went to download mode. Then I flashed the Eng boot and rooted per the instructions.

Buuuut... now when I make calls I get a message saying that my phone is not yet activated, despite it working prior to flashing the Eng boot... sigh. Also shows my phone number as 000-000-0114 instead of my actual number.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] MikeTheInfidel:
Last post, I promise. I got everything working. I did a full factory reset/cache wipe several times, reinstalled stock QC1, upgraded by OTA to QD2, then followed godpowerrr's guide and used your APN settings. Now I have data, voice, mms, hotspot, and root, and it's all good!
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
[MENTION=3485674]Supermav[/MENTION] thank you :)

GJ Infidel lol
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mast3rZero:
This also happened to me. For future peoples if this happens just wait a few more mins incase it's taking a little longer than usual. If it's still hanging just start over, make sure to clear cache and make sure your data is actually on. Restart the phone and check your number in the settings.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] radink:
Been using this for a while now. The only issue I've run into is that the "unknown sources" option keeps turning off on it's own. Anyone else having this issue?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] godpowerrr:
You guys have problems because you can't read properly. These methods/root processes are so ****ing easy to comprehend that 9/10 time its the users' fault. You can't blame anybody but yourself. You know it gets real annoying when us users are busting our asses to help the community out, and you guys just create toxicity because you guys don't know how to read. EVERY STEP needs to be followed correctly or you're destined for failures. I hate to sound like an ahole but its true, and all it takes is a little research. I mean cmon [MENTION=5825961]jtash01[/MENTION] and I aren't developers, and if if we can figure this out on our own, you guys' should be able to as well. WHAT IT TAKES IS READING. You make problems occur when there shouldn't even be problems. No master I'm not talking about you, but the majority of brought up problems is mainly due to not wiping cache partition. We kind of wants these threads to die because there is no more explaining to do ... ya know? No offense, if you're offended then guess what, you are the problem! This isn't for beginners[noobs] and if you're mindframe isn't set to learning and thinking outside the box then you will never learn when it comes to rooting.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] purotijuana:
Hey Boss good afternoon,

I have a quick question but first of all, thank you for providing this vast and detailed guide to improve the device even more. My main question refers to the debloat file that you provided.

I have no knowledge at all in terms of commands via terminal, but can you provide us a clear procedure on how to fully execute the file to successfully debloat through the terminal?

Best regards
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
If you have been running EXACTLY only the packages disabled in the imported BK Package Disable (and not enabled any of them) then you are likely safe to actually delete the packages. If you have enabled ANY of the packages, then they need to be deleted in the script file before running it.

Make a backup FIRST!!!

The easiest way is to extract the bash file onto your sdcard. Install FX file manager with the root add-in also installed (both from the Play Store). Open FX file manager and navigate to the folder on your sdcard where the bash file is located. Long press on the bash file (NOT THE ZIP FILE), and select "Open with"> "Execute". In the window that pops up, select "Root" (middle of the screen), then "Run" (top of the screen). It will run and runtime messages will appear in the bottom window. That's it. Then, I would restart your phone and make sure everything is functional. Then, I would suggest restarting in bootloader and clear the cache after that. Then reboot.

If you end up with any problems, then best way to resolve them is to start in Post #1, step 1, and re-flash the stock rom from scratch and re-root the phone.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Coming soon 3minit battery mod (see the battery?)

View attachment 4153247
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
3minit battery mod for U firmware

View attachment 4153267

Warning: This mod has been applied specifically to the nougat G935U SPR QD2 firmware SystemUI.apk. It may not work for other rooted G935U firmwares and could otherwise cause your SystemUI to FC.

Please find attached below Flashfire flashable 3minit battery mod installer.

https://www.androidfilehost.com/?fid=529152257862727311

md5: 2c46f493c283ddbba58fcb7fb069e468

It will install the free version of 3minit settings. You can delete the free version and install the paid version from the Google Play store if you want.

If you want to revert to stock battery, then flash this zip with flashfire:

https://www.androidfilehost.com/?fid=529152257862727310

md5: 8470af1fce1afed786b7974cfb301ad4

Thanks to the 3minit team (https://xdaforums.com/member.php?u=4619873) for their open resources:

https://xdaforums.com/showthread.php?t=2799958

Caution for modders: The stock SystemUI is odexed, whereas the modded SystemUI for 3minit is deodexed. So do not delete the subfolders in the /system/priv-app/SystemUI folder, or restoring the stock SystemUI will not work.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mast3rZero:
Don't know why i'm quoted but yes 9/10 times it is the users fault. Also not everyone has basic knowledge to comprehend everything that is on the instructions. I experienced problems with the step by step cause when I ran the Root.bat file it wouldn't run properly until I ran the "CMD" and typed " cd c://FolderLocation " manually. The write up is great I just happen to run into a problem not explained on it. I believe it's just the little things. This seems like the only salty post here to me. :rolleyes:
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Avi8ion:
so this does not trip knox? I flashed back to stock using the firmware from the other thread and I still have 0x0.

haven't been rooted since galaxy note 2 so i'm not too familiar with how things currently work

I will re-root again later on. thanks for this guide
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
As the OP, I need to be nit picky about following the instructions I posted in #1:

13. Go to folder where you extracted the Nougat_S7_UFitrm_Root_2_79

14. Right click on root.bat and select "Run as administrator". [Don't run root_with_tweaks.bat]

My instructions don't use the CMD prompt. If you follow instruction 14, you have to be using windows explorer.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
The procedure does not mod the stock recovery partition, so it does not trip Knox.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Zer0C0oL:
Does this work on the standard S7 from Sprint? I haven't found this answered in the thread yet. Not in a position that I can experiment atm or I would just try it.

Thanks,

Zer0
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
As this is a thread for the S7 Edge, I can't say for sure.

I did some checking, and there is G930U nougat firmware available from sammobile and samfirm for download for SPR and other variants. So if the eng boot image works or you can find one that works for the G930U and G930P (nougat), it may be worth a shot (as long as you start with the correct G930U firmware that matches the service provider for your G930P.) This thread focuses on the Sprint network and CREDO mobile, which also uses the Sprint network. Whether it works for other service providers, I can't say.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mast3rZero:
I understood the instructions from the start but for some reason my pc was instantly closing the root.bat is I double clicked it or right clicked to run as admin. Only time it worked was when I manually did it is all I said. I put it on here to help someone who might have encountered the same issue.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] jtash01:
Ok. I'll add a comment to that step for such an issue.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Mast3rZero:
Maybe put it in the Q&A ? I know it explains to type " cd " in CMD for the G935P root method. Either way everyone is making great progress. :good:
[Samsung Galaxy S8 Questions and Answers] Chronzy:
So i'm probably about to pull the trigger on this phone because i'm sure it'll work fine on T-mobile, but upon researching, it looks like we could be missing LTE band 66.

"When it comes to T-Mobile, we’re focused on the LTE bands 2, 4, 12, and 66, the last of which is a newer band that T-Mo will be using for LTE coverage."

http://www.tmonews.com/2017/03/samsung-galaxy-s8-hits-fcc-support-lte-band-66/

As for international G950F, these sites cite bands 2, 4, & 12.. but no 66. Considering 2, 4, & 12 handle most of the coverage and that 66 is a newer band I don't think this is an issue at all. Besides my pixel has the same bands, sans 66 and I have great coverage.

https://www.frequencycheck.com/models/AabYB/samsung-sm-g950f-galaxy-s8-td-lte-samsung-dream

http://www.willmydevicework.com/device/samsung-sm-g950f-galaxy-s8-td-lte

I know the international S7 worked fine here in the US, but I had ATT back then. If anyone else has a G950F on Tmobile here in the US, please posts results so we can establish a consensus that LTE coverage is not an issue.
[Samsung Galaxy S8 Questions and Answers] clubtech:
The F model supports band 66 according to the FCC filing . The sites you are using are not accurate.

https://apps.fcc.gov/eas/GetApplicationAttachment.html?id=3292120
[Samsung Galaxy S8 Questions and Answers] TehPirate_:
Does this go the same for the FD model?
[Samsung Galaxy S8 Questions and Answers] Chronzy:
I'm still unclear as to whether or not the FCC model "G950U" is the G950F or a US carrier version, but i have read several references to the FCC model being "unlocked", so maybe it is.
[Samsung Galaxy S8 Questions and Answers] clubtech:
FD model supports the same bands as the F model.

---------- Post added at 02:39 PM ---------- Previous post was at 02:38 PM ----------

The U and F models are two different models.

The F/FD are international unlocked version.

The U model is the US model (locked or unlocked) and has a different FCC certification.

It also support mode LTE bands and carrier aggregation options for the US.
[Samsung Galaxy S8 Questions and Answers] GCbard:
Not sure in F supports WiFi calling...
[Samsung Galaxy S8 Questions and Answers] XBlackChaosX:
Does the US model support all US Carrier frequency bands? I'm curious because once I'm done paying my phone off on sprint I would like to unlock it and bring it to t-mobile. I also ask because I read that the US version of the S8 are the same no matter the carrier....
[Samsung Galaxy S8 Questions and Answers] Chronzy:
Not sure about that. Sprint is CDMA and T-mobile is GSM. Typically not compatible.

Well i'd figure any model made for the US market would have 66.. The international G950F was the one in question. And it looks like I answered my question with a little more digging. This test report from the FCC for the G950F confirms band 66 along with, from what I can see every necessary LTE band for both ATT and Tmobile. See "4.6 EUT Description" https://apps.fcc.gov/eas/GetApplicationAttachment.html?id=3292314 It also references some CDMA bands so maybe you can switch from Sprint to GSM carrier.. idk.