yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
Complete rooting guide for the Samsung S7 (G930x) / S7Edge (G935x) QC

Follow this rooting guide carefully, do not skip any steps!!

And the usual disclaimer: Proceed at your own risk!!

Warning: All your data will be erased, so back up anything important!!

This guide contains the latest version files as of today.

1.

First, turn on ADB-Debug and OEM-Unlock in the Developer Options menu in order to avoid being locked out later on (search for it if you need help).

2.

Next, it's best to start by flashing a full stock, bloat-free, unbranded firmware "U".

Use the patched Odin at the end of this post to flash AP, BL, CP, CSC (select the non-Home file), and the PIT file in the PIT tab.

Due to implementation of the new RMM security, I would not recommend flashing anything newer than Jan. 2018 as outlined here.

https://xdaforums.com/showpost.php?p=75402467&postcount=2483

Full stock unbranded "U" firmwares

Samsung_G930U_UES4BRA1_v7.0.0.ZIP

https://updato.com/firmware-archive-select-model?record=C3BB0B480B0F11E89F15FA163EE8F90B

Samsung_G935U_UES4BRA1_v7.0.0.ZIP

https://updato.com/firmware-archive-select-model?record=61E5E57D020011E8ACA1FA163EE8F90B

3.

Next, in order to avoid the annoying boot-loop issue, run this script before flashing the eng-boot to disable Samsung's Security+OTA.

Some commands may show an error, which is fine since this is a generic script for many different models.

Turn on ADB-Debug and OEM-Unlock in the Developer Options menu in order to avoid being locked out later on (search for it if you need help).

Unzip it and run the _Samsung_Security+OTA_Disabler_(BillA_v2018-01-01).BAT file which should be at top of the folder.

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

4.

Next, use the patched Odin at the end of this post to flash your phone's matching eng-boot file.

Samsung_G930_QC_Eng_Boot_Root_v2017-03-01.TAR

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

Samsung_G935_QC_Eng_Boot_Root_v2017-08-29.TAR

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

5.

At this point leave the phone untouched for about half an hour to stabilize the kernel, don't touch it and just wait patiently.

Turn on ADB-Debug and OEM-Unlock in the Developer Options menu in order to avoid being locked out later on (search for it if you need help).

Finally, to complete the rooting process, unzip and run the Root.bat file to install SuperSU (Magisk in not recommended at this time, courtesy of JRKruse).

Samsung_G93x_QC_CF-SU_v2.82_2018-02-01_SSU+MGK.ZIP

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

Use the patched Odin flasher first, if it fails then try the regular version.

Samsung_Odin_v3.12.3_Patched.ZIP

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

Samsung_Odin_v3.12.7.ZIP

https://www.androidfilehost.com/?fid=889764386195917520
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Oops, my bad. No they are not. Here's G930A: https://xdaforums.com/att-galaxy-s7/how-to/firmware-g930a-qe1-android-7-0-6-4-2017-t3617101
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] freeop:
One thing I would add to this is to make sure you disable any security locks before rooting/flashing files. If you don't it will cause a boot loop.

And if you flash any stock firmware, make sure you go back and turn on the ADB-Debug and OEM-Unlock in the Developer Options. Anytime you flash new stock file, it will turn those off.

Just adding from experience :)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
In fact the same line has already been included in steps 1, 3, and 5, basically before and after every operation to enable ADB+OEM ;)

No need to disable user locks, because those would be wiped away by the full stock flash.

"Turn on ADB-Debug and OEM-Unlock in the Developer Options menu in order to avoid being locked out later on (search for it if you need help)."
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] freeop:
Thanks for pointing that out. And I forgot the locks were reset with the installation of the firmware. Sorry...

Now here's a question for you, [MENTION=6801459]Craz Basics[/MENTION], or anyone else that might know.

Can you just flash the eng_img without having to go back to the initial firmware?

I am on the 1 Dec 2017 firmware, G935UUES4BQL1, but on the earlier ENG_IMG and would like to install the Aug 2017 version. I don't want to do anything to go past the 1 Dec 2017 updates because of the RMM lock. I also am on the [MENTION=5149713]Quickvic30[/MENTION]/Craz Basics ROOT.BAT. So if I just flash the ENG_IMG should I update the ROOT.BAT also?

Just wondering if it was possible doing it that way instead of going through the whole process of installing stock, eng_img, root.bat, etc.

I guess I could install the full U-Firm Stock files, but use the HOME_CSC and not wipe anything, but I have always heard using the HOME_CSC could cause problems. Oh well will see what you al have to say before attempting this.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
You're wanting to flash the newer eng? I don't have problems flashing the August one over January. Make sure you're on the August patch or later though.

Also, RMM lock is not present on January patch. Tested myself and rooted with August. And yes, it's a bit faster ;)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] 124chase:
Try this one...http://www.anyrooter.com/tutorials/root-samsung-galaxy-s7-edge.html
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Would probably work with eng, still no roms though.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
The G935x will only work on the G935P/A/T/V (+ some other variants), and the G930x only on the G930P/A/T/V (+ some other variants).

You probably wanted to use the newer G935x eng-boot on the G930P but no can do, it's no compatible.

Please no posting of PAY sites on here, it's against XDA's rules/terms of use.

It's possible to flash the new eng-boot and even run the new Root.bat over the old installation, but it tends to run smoother on a new clean install.

Like Craz mentioned "Make sure you're on the August patch or later though."

As far as RMM security, the Jan. update may or may not have it, but I'm simply not taking any chances, because just in case it kicks in somehow, unfortunately there's no going back. It's always better to let others be the guinea pigs. ;)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
I m on November patch, when unroot(ed) is it possible to update January patch?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
If unrooted yes
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
Will apps and data be lost?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
No, that's only if you flash stock.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
Where is the eng boot to flash after taking January patch?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
OP
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
Thought there was a V2, does the one in OP work as well?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
August eng:https://androidfilehost.com/?fid=817906626617954238

The one in the OP is January 2017. The August one is only for the edge
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
I own G930V, not the edge
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Then the ones in the op
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] notobsessivejustcurious:
to create a home csc for att, do you extract the att csc and then remove the pit file, compress it back to a tar, and flash odin to keep the data?

just wanna make sure..
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] freeop:
I don't have an ATT HOME_CSC to compare it to, but looking at the U-Firmware, it sure looks like that's what you do. But I can't say for sure. I would hate to say that is true and mess up your data.

Here are the screenshots for the HOME_CSC and normal CSC for U-Firmware at the bottom as "Attached Thumbnails".

And BTW, You really don't need to recompress those files. Just use 7-Zip and you should be able to just remove the .ptt file and save and close the CSC file.

Good Luck and let us know how it goes.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
Has anyone tried using flashfire to update security patch?

Read on flashfire thread some were updating security patch successfully look here https://xdaforums.com/general/paid-software/flashfire-t3075433/page635
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] WestleyTwain:
after problems with speed, fingerprints, battery life, and none of the adblock apps working (which was the only reason I rooted in the first place) I've decided it's just better to live with the bloatware and get my fingerprint sensor back. If I want to try again later, this wonderful post is always here.

So I downloaded the Odin files and it immediately got stuck on "File analysis.." I googled the problem, and after being told in what order to plug in the phone and start Odin, I followed the instructions and let Odin run. After 12 hours, it was still analyzing files.

I'm confused and lost and just want to have a faster, more battery-friendly, fingerprint-reading phone again, despite the bloatware.

Any help is welcome and appreciated!
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] freeop:
Which version of Odin are you using? Try both 3.12.7 (The Orginal) or 3.12.3 PrinceComsy. I have had those same errors on one of them but the other one would work.

Also, try a different USB Cable. Sometimes that might be the problem.

And you have the Samsung Drivers installed, right? And the OEM Unlock is turned on in the Developer Options.

I know those are simple questions, but just making sure.

Good luck.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] WestleyTwain:
tried with both Odins and have the drivers and OEM unlocked. I'll try a different cable in the morning.

Insomnia is cruel.

So yeah, check back w you if a few hours!
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Mirriad:
Uncertain

So, I don't know if it's the multiple edits or the multitude of colors, but I'm having a hard time trying to figure out which files are the ones I need, and which steps I'm supposed to do in what order. Could someone possibly help with like a table of contents version of what I need to do that I could refer to? Thanks , and sorry for the nooby trouble.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] freeop:
Just go to this one post and follow it completely. It has all the latest links and all the correct files that you need. And you can thank [MENTION=293193]billa[/MENTION] for the hard work and post...

Here's his post: https://xdaforums.com/showpost.php?p=75418504&postcount=2527
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] TanKCR:
hi, when I run the .bat it initializes connects does the first couple removes, then it just sits on Resettting Lockscreen Security

---------- Post added at 12:29 PM ---------- Previous post was at 12:18 PM ----------

Ok, just realized that I was missing the step to install the eng-boot, but I am wondering how to verify the correct eng-boot for my phone. I have the ATT variant.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Eng boot isn't carrier dependent. It's compatible with all of them. It just depends on your variant (edge/flat) and Android version (marshmallow/nougat)

All the ones in here should be nougat.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] moises93:
I can confirm this worked flawlessly to root two G935Ps, one I had flashed over to "BQL1' and the other a newer "BRA1" firmware, with January security patch, didn't have an issue whatsoever. There was no need for me to downgrade! :D Followed it word for word. Thank you!
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] jag304:
Thanks!

Is there a specific Odin version you recommend for these, or any additional install steps?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Maybe use Prince Comsy if you get the model dismatch error.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
Has anyone tried using Xposed framework on our device?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Yepp
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
Please could you provide files & apk used?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
All found in the official Xposed thread here
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
How long does it take to boot after flashed?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Awhile lol. Give it maybe 15 minutes. If it doesn't boot after that, force restart into recovery (Power+Volume Down, and as soon as the screen turns off, hold Power+Volume Up+Home and wipe cache. Reboot and give it another 10)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
If I had to go through all that just to have it installed, then I m not interested in xposed.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Your loss
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
Is it possible update security patch using flashfire?

I m still on November update.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Not sure, it would probably fail the OTA still because dm-verity comes back false.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] nomad247:
One question, I cannot get the ROMs to download and was wondering if this Rom would work. I have an ATT (US with qualcom chips) SM-G935A and have a rom downloaded a few days ago that is G935UUEU4BQG2. I can only assume that I have tried to download to many times (getting invalid handle errors)(and this site will not allow me to download anymore. trying to free my phone so I can continue using it on a different carrier otherwise will have to sell it and buy a U rom. Never buying from a carrier again!

https://updato.com/firmware-archive-select-model?record=9CDE46F3EB8211E7A5F9FA163EE8F90B

Samsung_G935U_UES4BQL1_v7.0.0.ZIP

https://updato.com/firmware-archive-select-model?record=4548EA40EBFD11E7A5F9FA163EE8F90B

Thanks in advance:good:
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Vovan2k:
I currently updated to latest firmware for SM-G935T which is G935TUVS4BRA1 (2018-01-01) to root i need to downgrade to G935TUVU4BQB1 (2017-02-01), after root will i be able to upgrade to newer version?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
Yes you can, but there's really no need to, simply follow this post and you'll be rooted just fine on the Jan 2018 update.

https://xdaforums.com/showpost.php?p=75418504&postcount=2527
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] bodyshop:
If I flash the U firmware on G930P (Sprint) is there any app or way to get voicemail other than Google voice?

I dont have a problem with google voice, outs that I already use a google voice number with my sprint number mow. 2 numbers on my phone 1 for business. You can't have both using Google voice for voicemail on the same phone. Otherwise I'd be ok.

sent from my Wicked S7 hybrid
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
With all the complaints about lag, here's my root method:

1.) Download the following files:

- ENG files (This is the original, not August one as it seems a little less stable... To me atleast)

- Root.bat

- Odin PrinceComsy

2.) *Optional: I recommend flashing complete stock, will result in better battery and performance. Here is G935U....BRA1

3.) Extract all the files on your Desktop and boot your phone into Download Mode (Power+Home+Volume Down)

4.) Launch Odin PrinceComsy and select the AP button and add the ENG boot for your device. (Edge or Flat, carrier doesn't matter)

5.) Select start. As soon as the screen turns off, boot into recovery mode (Power+Home+Volume Up)

6.) It will be stuck at a upgrading screen or something of the sort. Give it 5 minutes (until recovery loads) then wipe cache partition. (Might say format cache)

7.) You can reboot and when it does, run the root.bat.

8.) As soon as the screen turns off, repeat step 5/6

9.) You can do 1 of two things here; You can reboot and let the phone sit for about 20 minutes, letting the kernel stabilize OR you can reboot, and instantly power off (Reboot first, it will be in a loop if you select to power off in recovery) and let it sit for about 20 minutes there. Then turn it on and let it sit for another 10. I usually do the first one but the second option usually turns out better for me.

10.) Flash Kevtweaks with FlashFire (You might need to update FlashFire, it keeps closing on me for some reason until I update)

- Download Kevtweaks

*Note, some phones including mine have problems with the secure tweaks; It breaks bluetooth. You can take your chances if you want. To fix, edit the build.prop line "ro.securestorage.support" and set it to the opposite of what it's at and reboot. I only flash Performance(Perf) and Battery(power)

11.) Flash my tweaks here

After I flash performance tweaks, I give it 10 minutes to settle.

12.) After every reboot, I let it sit for about 5 minutes to settle.

Correct me on anything if I forgot/added something
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] nomad247:
Rooted SM-G935A on US Qualcom

Just wanted to say a BIG THANK YOU for this post an all who contributed on this. I just rooted my ATT, US qualcom S7 Edge. Now to try to load SM-G950U on this phone. You guys just made my entire month!!!! THANKS TONS, BIG TIME
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Vovan2k:
Is there way to install SM-G935U version on SM-G935T all i been able to find is this video where guy selling something, is there a free guide?

My phone is locked at T-Mobile network at moment will this be a problem?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Extract this and flash with odin... Use regular csc not home csc

https://www.androidfilehost.com/?fid=673956719939817005
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
Here's a complete step by step guide to flash and root the unbranded "U" firmware.

https://xdaforums.com/showpost.php?p=75418504&postcount=2527

Then you can try CrazBasics' tweaks at:

https://xdaforums.com/showpost.php?p=75668699&postcount=2573

Good luck.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Boomhauer79cj:
Crazy, what is this? A new root? Been playing with a new note 8 and just kinda left the s7 edges laying around for a couple weeks til just saw something looked new...
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Nope, same root. Just some performance improving steps.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] hssxda:
Thanks Craz Basics! I just used your instructions to root my Cricket Galaxy S7 G930AZ. I do have that VoLTE icon now on my notification bar which is kind of annoying, what is the easiest way to get rid of that?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Use flashfire and make sure to mount system

https://androidfilehost.com/?fid=457095661767144116
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] hssxda:
Thanks! Worked like a charm.

Is there any way that you can give brief details of what tweaks are included in those tweaks you listed in steps 10 and 11 of your root instructions post? Both KevTweaks and your tweaks? I have successfully rooted my phone but didn't run any of the tweaks as of yet, wanted to gauge the phone's performance as is...
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Kevs tweaks are a ton of build.prop tweaks, better performance and some battery improvements. He also has a wakelock restrictor and run in background restrictor... You can add package names of the apps you want to allow to them with a root browser. The exempt lists are in /data/data at the bottom. [MENTION=4819587]kevp75[/MENTION] could give you some more info if needed, or look in his thread.

My tweaks are some interactive governor tweaks. Makes it run way faster, gets rid of lag for the most part. Battery isn't the best though. That's not my main objective though.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] hssxda:
Are Kev Tweaks and your tweaks universal for both S7 and S7 Edge? I notice you have Edge G935, I personally have the S7 G930 flat non-edge version
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Yes, universal. He doesn't "support" any versions but his own but they would most likely work. Lots of people use it.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Forkinator:
Can someone please help me out? I just flashed the S7edge_Qualcomm.tar file and my phone keeps restarting. It will stay on the home screen for about a minute and then restart. I am terrified right now.

Background info:

G935T on G935U firmware.

QBD2 build version

QE1 Baseband version.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] justda:
So factory resetting through recovery was the issue. I reset it and re-flashed through recovery and odin'ed the stock firmware 3 times and it didn't work.

I resigned in and did the whole set up again and did the factory reset option through the OS and restarted and it is gone. So you are good to go.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] scottymac248:
The root changed my phone number and now i cannot make calls or use data. Any fix?

P.S on Galaxy s7 edge sprint

---------- Post added at 11:52 PM ---------- Previous post was at 11:48 PM ----------

The phone is rooted. But the root changed my phone number and now i cant make calls and data.

Galaxy s7 edge on sprint

if anyone can help that would be awesome
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RainGater:
You jumped the gun a little too early to reverse the root.

IMHO, if it lags, I would wipe the cache and dalvik-cache partitions to see whether it helps... you can do it from FlashFire.

Once you do that, let us know... I know I did that and the phone flies - just no different than the stock.

Btw, I froze about 60 or so bloatware thru' Titanium and all good now.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Cm4nXD:
How is this root way less lagy than marshmellow... wut. Ever sense root, no performance drop, other than in like 2 digits on geek bench... This has been the best experience I've had on to s7 yet. It does lag on startup, but once lspeed and kernal Adiutor kick in, it's like I'm not on eng kernal... wow.

I also disabled a ton of stuff in titanium...
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] carpboy:
Has anyone noticed any problems with screen rotation? I just spotted that my screen doesn't rotate when looking at the desktop. Google Maps doze rotate normally though.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] shubhamgohil17:
SMS HELP!

I tried this, everything was all good, until I got a text and tried to reply. When I hit send it tries to send and eventually fails. I am on T-Mobile's network and have ensured that APN settings are correct. Again, I can receive but not send text messages. Any help is greatly appreciated.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] OfferedBison:
What SOT are you guys getting using this root method?

Also how is the performance compared to MM rooted with V15 fixes?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] sabreful:
Has anyone been able to get FlashFire to push anything? I tried a simple install Pixel launcher with no success.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] cjlopez213:
I don't think it's working for Sprint, sorry bud.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] carnivalrejectq:
I used the odin from the thread a few thread down which I believe is the one you said, but I downloaded the odin package from the drive link. I tested a reboot, the custom message no longer shows. Weird.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] sparky2029:
My girlfriend had the same problem. she's uses Textra and her texts work fine on that