yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
Seems like you've done everything correctly, but you bring up a good point about Eng-Boot not being flashed properly.

Even if it's flashes properly, you can't check with a root checker before running the script, because Eng-Boot is just a Shell-Root, therefore it will not grand SU privileges on it's own (SuperSU gets loaded via the script). To check it right after you've flashed the Eng-Boot, simply enter:

adb shell whoami

If you see "shell" , you should be fine

- or -

adb shell id

Should show something like this:

uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc)

context=u:r:shell:s0

Anyway I think you got it working, I'm just puzzled as to why all the trouble when nobody else had any?

"...the BillA how-to specifically calls out odin3.12.3_patched - which is not the PrinceComsy odin. "

The "Patched" Odin is exactly the same as the Prince Comsy with just a cleaned up ini file.

And the one without the word "patched" is the regular Odin.

"does using Samsung_Security+OTA_Disabler_(BillA_v2018-01-01) have any value here?"

Yes, it disabled security warning/bootlooping due to kernel panic, AND pesky OTA's.

Clearing cache does remove the ota data, but only temporarily till the ota app fetches a new copy again unless you disable it.

You could either freeze the ota app, or run my script which uninstalls them, so they won't interfere.

A full flash or a factory reset will re-enable all disabled apps.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
Darn - I wish I knew about those two shell options. Anyway, it's (thankfully) now moot. To clarify about Root Checker, I tried that in a couple places in the process. Assuming "well, it works for everyone else", it seemed reasonable to check if something had gone right, but not obviously. adb shell whoami is the better choice to see if, in fact, ENG went in intact or the last script, in fact, did root the phone. Consider it a "hail mary pass".

Looking back through my posts, there was a point where the phone was rooted, but without the SIM. As soon as I installed the SIM, I got a message (I wish I could remember exactly what it said) that wouldn't go away with the back or home key or IIRC a reboot. Right after that is when nothing worked. I strongly suspect that installing the VZW SIM caused problems. Grrrr... Past that, I'm certain that, after things didn't work right, some of my experimentation added to the confusion. But at least the last 2-3 tries were rigorously by the book and still failed. I leave Craz Basics and you to sort out why his root.bat worked when yours persisted in treating the directories as read-only.

Even if only the .ini is different but the .exe isn't, in practical terms, for newbies, it's better to leave it at "they're not the same". :)

Good deal. I applied the script, of course, Ti says I put the appropriate apps are on ice, and I wiped the cache. What could possibly go wrong? go wrong? go wrong? go wrong? go wrong? LOL

Thanks all around, guys, and a virtual case of beer to you, too, BillA.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
Cheers to that lol... I'm still puzzled how a slightly older script worked for ya, but it is what it is, it's the end result which counts.

By the way here's a new version of Odin v3.13.1, both normal and patched.

Though not absolutely required for the S7, I've tested them and both worked fine.

It has some bug fixes, disabled the annoying startup message (when Odin starts up), and it's mandatory for the new S9 and newer phones.

Visually you can't tell the difference between the normal and patched one (but in fact are different binaries), so unzip them in separate folders.

Samsung_Odin_v3.13.1.ZIP

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

Samsung_Odin_v3.13.1_Patched.ZIP

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

Enjoy!
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
I tried unpatched 3.13, but it didn't inspire any confidence here. I got some sort of warning that didn't go away one later launches. And, of course, it wasn't patched. Overall, one more "surprise" avoided.

I've loaded up the phone with the rest of what I wanted to load, including Ti, and I used it to kill off a lot of bloatware. No complaints, no lost root. I guess it's all stable.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
Well RBEmerson, I'm glad we have come the end of a long saga (lol), and at least now you can enjoy root too.

Good luck, in your further endeavours. ;)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
You and me both, guys. I'm going to need some down time to decompress. LOL^2

I'm still curious about what something that worked on my first S7 didn't work on this one. I'm still suspicious of what may have happened in connection with that VZW SIM. There's no way to test that save to try to root another unbranded unlocked S7 and try a SIM with, for example, some almost no-name carrier reseller. Or maybe having coped for so long with Verizon for FiOS and wireless makes me overly paranoid.

Again, great thanks BillA and Craz Basics for getting my wife's phone rooted and working the way I want it to. She's happy, so I'm happy. I owe y'all one. [/ smile ]
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] kevev:
The OP is confusing as it has too many edits for me to understand what is needed and what to do. I am on the latest 930U firmware on my T-Mobile S7. I have volte and wifi calling working. I would like to root now. Just not sure exactly which steps to follow.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
Despite all of my posts, the short answer to the question is follow the steps in this post. Follow them exactly as they're written. If, for some reason, you can't root, in the last step, use this root script in place of the one in the last step.

I strongly recommend you put the files steps 2 through 4 into separate folders. Include a copy of patched odin in each folder. Expand the .ZIP files., never expand the .TAR file. If you use the alternate root.bat, expand it in a separate folder and start it from that alternate folder. I created Step2, Step3, Step4, Step5 and Step5A. (I needed the alternate root.bat). When giving odin the CSC file name, do

not

use house_csc...

You will blank your phone in Step2 - back up everything that matters before you begin.

Again, follow these instructions and you'll have a rooted SM G930U.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] kevev:
Thanks. I did all of this except that I used the updated root.sh that one of the users posteed un this thread. It is referenced in the OP. Seems stable. Battery life is kinda lame but performance is good. Might be vecause of snapdragon CPU or worn out battery. This is a referbished model.

Any way to get fps working?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
Both of my SM G930U's work quite well, don't burn through their batteries, and none of their features is missing.

One more time - follow these steps exactly. D/l the files from the links given and use only those files. If you see the "read-only directory" error message at the end of step 5, use this alternate root.bat. I know this sounds hard nosed and "my way or the highway", but this is not a place to flash something and hope it works. If you want to do mix&match, pulling files from whatever you choose, and root.bat from someplace else... [/ shrug ] ...not much anyone can do to diagnose your choices.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] kevev:
Thanks. I am at the root.sh part. What is the difference between the one you recommend and the one posted by Quickvic30? https://xdaforums.com/showpost.php?p=71700562&postcount=688
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
The two root.bats I recommended will work with the BillA procedure. I'm not into trying to know every possible rooting procedure, and all of the combinations and permutations. I wanted to get my phones rooted and move on to something else. The procedure I recommend has a good track record of working without nasty surprises. If you want to try something else, and you have lots of time to experiment, and you don't mind risking bricking your phone... go for it. Unless you have questions about BillA's procedure, I've got nothing to add.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] kevev:
I tried both root.sh methods and never got good performance. I trued all of the governors. I will stick with stock for now. Thank You for the help.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
I'm sorry, its bothering me... it's a root.bat!!! Ahhh lol
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
One last time, and only 'cause I'm a nice guy... RTFM! Stop screwing around with mix&match! If you don't want to listen to the answer, don't ask for help.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Best thing to do for performance is leave the phone sitting for a little while after flashing eng.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] kevev:
lol sry. I'm a Unix admin. Bad habbit.

---------- Post added at 09:05 PM ---------- Previous post was at 09:02 PM ----------

You don't sound like a nice guy. But I will take your word for it. ;) I did follow your instructions but I was not satisfied with the results. Not saying it was anyone's fault. I'm done with this thread. :angel:
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] slimcyril:
March Security patch
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] tm1618:
I did this method tonight, got everything to root correctly on my S7, but I can't do a factory reset for some reason. I get taken to the booting recovery screen repeatedly. To get out of it I have to actually reflash with Odin. Ideas?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
How are you trying to do your FDR? If Settings -> General Management -> Reset doesn't do it, use Recovery mode.

Power down
Press Volume Up, Home, and then Power for 5 seconds
Wait through what looks like an update and then a "dead Andy" with "No command" under it
Recovery mode will show up after about a minute
Scroll up and down in the recovery menu with the volume buttons or with your finger
Select full reset, OK it with the power button
Reboot phone
The phone is in the "don't know nuthin'" state
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] tm1618:
Yeah I tried that, it actually goes into a loop showing the blue recovery text, then the phone restarts and shows that screen again. Over and over and over. Can't turn off, can't do anything except go to the download screen
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
I'm confused. You go to Recovery, do an FDR, and boot loop? How do you get to the download screen?

FWIW, in this how-to, pick things up at step 2. That gets you back to stock. Which should clear the boot loop. If not, fixing your problem's beyond my skill set.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] tm1618:
I have to hold vol down, power and home to get to it. If i hold vol up power and home it tries to go into recovery mode but fails and then tries again and fails over and over

---------- Post added at 01:15 PM ---------- Previous post was at 01:09 PM ----------

Looks like my bootloader may be corrupted. Guess I need to find the stock firmware?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
You should have followed the link I posted above to get everything you need. Here it is again.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] bigair360x:
First, a HUGE thank you!

A few questions regarding the root.bat file. It asks a few questions during the process. What should we be selecting?

1. Install fingerprint fix

2. Do not install fingerprint fix

I selected "do not" because I don't care about the fingerprint reader.

1. Install root no tweaks

2. Install root with CPU governor conservative

3. Install root with CPU governor Ondemand

4. Install root with CPU governor Interactive

I selected "ondemand". Is this the best choice for performance / battery?

1. Install SuperSU Root

2. Install Magisk Root

3. Install Systemless Root

I selected SuperSU because I believe that's what the instructions are saying. What are the advantages / disadvantages of the others?

After that it says Installing root

100%

100% /etc/launch_daemonsu.sh

Then it says "failed to install supersu.apk error" no devices enumerators found

Invalid APK file: flashfire.apk

Going to reboot and try again as suggested.

Thanks for any help!
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
You're welcome.

Stick with 2,1,1,1 for root.bat. If that works, go back and try the other options later. IMHO too often custom installations are over-tweaked and then comes "this is crap!!! It makes things worse!!" 'Nuff said.

Until you've completed the straight-ahead options, there's no value in diagnosing what may be non-issues.

Follow the instructions in BillA's OP

exactly

. Don't do "well, my files worked before so..." Don't do "meh - close enough". Follow BillA's OP

exactly

.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] bigair360x:
Looks like it worked the second time. I verified root.

Unfortunately it looks to be laggy and the battery is down 6% in just a few minutes. Should i have tried a different option?

Thanks for any advice
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
All I can offer is my phone isn't laggy. At least it doesn't try my patience when I use it - I'm somewhat picky about lag. The battery doesn't particularly take a dive unless I've got the screen busy and the BT link is moving, for example, non-stop audio at high volume. Even then, I can get a several hours' work done before I think about recharging. Or... I just don't have lag and battery problems.

I have two rooted S7's. One is my personal VZW-branded S7 and the second one, that put me in this thread, is my wife's new, unbranded S7. My phone's a couple of years old and the battery is still happy. I did have a problem with the ribbon connector for the compass, etc. sensors. The problem is only a sloppy, oxidized connection - clean it up and all is well. Past that... sorry - I see no problem here.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
Sorry about the double post - the tyranny of computers, I guess.

Anyway. thinking about lag and battery issues... There's a better than even chance you're seeing the OS sorting itself out after rooting. Let the phone idle for a while on a charger - say 30-60 minutes. Power down fully (definitely not just a lame restart), recover into wiping the cache (can't hurt - might help), and power down again. Give the phone 5 minutes to recover (thinking about RAM decay - can't hurt - might help) and power up again. Let the phone get the cache back in order and then see how performance is doing.

I know this is long and tedious and probably 75+% of it is silly or BS, but "can't hurt - might help".
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
Other users have already given some suggestions, which are all valid.

As pointed out, it's super important to be patient and wait at least half and hour after the eng-boot flash to let the phone settle (do not even touch the screen!), then turn it off wait a while turn it back on then wait another half hour just to be on the safe side. These actions will pretty much define your further experience with your phone.

I would suggest first trying the Root.bat with all the options off, just to get a feel for what you get without them.

Then try re-rooting with only one option turned on at a time, to get a sense of what's better, since for some reason every phone seems to reacts slightly differently to the tweaks. I prefer running it without any tweaks, but then again that's just my particular device.

By the way, the apk error is fine as long as root checker indicates a successful root.

Do not try to use Magisk as it will not work with this phone's locked bootloader (it was written as a generic Root.bat to accommodate various devices).
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
It wasn't written as a generic root.bat, jrkruse made it for this however Magisk developer wasn't willing to continue with jrkruse to make a system version of Magisk. He never released himself until it popped up in this thread.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] TheXRated:
My phone just won't boot

It got stuck on Samsung logo...

I just did the boot.tar on modified odin thing and when It restarted, got stuck.

What should I do?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
What phone are you using? What's the model number? For example, SM-G930U

Flash back to stock. Follow the instructions BillA quoted above. Do

everything

he says to do

exactly

as it's written. Use only the files he links to. This is not a place to be creative.

---------- Post added at 10:01 PM ---------- Previous post was at 09:57 PM ----------

BTW, the option choices should be 2 , 1 , 1 - no fingerprint fix, no tweaks, SuperSU
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] TheXRated:
That's my phone model, SM-G930U.

It is necessary to flash back to stock? Because I don't want to lose any data from my phone. Can I just flash another funtionally boot.tar file?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
At this point, who knows what state your phone is in. Flashing a boot and hoping you don't brick your phone isn't a winning strategy.

To get to a known starting point, you have to go back to stock. And, yes, that wipes everything. Back up whatever you can onto an SD and pull the SD. Use a backup app to store text and phone logs. Use Google to back up app data, etc.. Kiss the rest good bye.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] TheXRated:
Well sir, it worked, I just did exactly what I told you, flash a boot.tar file from a stock firmware. You can take your kiss back, good night.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Pretty sure you can't brick by flashing a boot.img. it's a boot.img lol. Soft brick sure but no hard bricks.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
"Whatever gets you through the night is alright, alright with me." -- John Lennon
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
I M A G I N E that! ;)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
"Life is what happens when you're busy making other plans." Sooooo true. Sooooo OT. [/LOL ]
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] freeop:
Just wanted to let everyone know that this procedure still works with the ATT latest update, G935AUCS4BRC1 with the March 1, 2018 Security Update. Installed the Update and rooted the phone after that. Still works great. No sluggish operations, but will have to wait for a couple of days for the battery report.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] diggordig:
Device Not Booting Properly

This morning my device wasn't turning on so I decided to plug it in for the day while I go to school. 6 hours later I come back from school and it shows that green batter thing with a 100% in it that tells me it's charged. I boot it up and it gets to the first bootup screen (the one that has the unlocked lock on it that says custom) and it just stops after that, the screen goes blank again and it won't work. I went to multiple troubleshooting sites and I tried everything they told me to do and only one method seems to work. Whenever I hold down the power button and the volume down key it goes back to the same screen as mentioned before and goes blank just like before ( and that's if it even works in the first place).

Does anyone have any idea on how to fix this? The reason I'm asking on this thread is that my phone is rooted with this method. please help if possible.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Odin back to stock
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] diggordig:
Do you know where I can find a stock "Samsung Galaxy S7 SM-G930A" boot image thingy?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] 124chase:
You can search for it online. Not sure we are able to post websites due to violation of policy.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] diggordig:
Gotcha. One last question, do I need a special/modified Odin to flash it?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
The ATT version is a harder to get (especially the latest version), so you can safely use the unbranded "U" version from here:

G930U UES4BRC1 v7.0.0

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

G935U UES4BRC1 v7.0.0

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

Always try the patched Odin first, if that fails then revert to the original.

Samsung_Odin_v3.13.1.ZIP

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

Samsung_Odin_v3.13.1_Patched.ZIP

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

Just a heads up, I've read on multiple threads that the next bootloader after the March release, might come with some nasty little surprises, at least on the S8/+ and newer models, so thread cautiously. I certainly wouldn't want to become the guinea pig. ;)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] rthings:
I got a G935T and this does not work as of today a update dropped like two days any help?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] rthings:
The baseband version for me is G935TUVS4BRA1 any help?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Should work fine. Make sure you're flashing eng file before running root.bat
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] rthings:
Did the steps correctly but when it rebooted it says supersu occupied
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Try this: https://drive.google.com/file/d/0Bygh6W_e2Fo5M185ZENkSUl3Zmc/view?usp=drivesdk

Run the root.bat
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
If running the above root.bat doesn't work, then just start over again with a full firmware flash (the triple "F" threat) , that should cure your problem. ;)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] jedilord71462:
ATT Files For Stock Nougat 7.0

Yuo can find the bra1 odin update on Oreo beta link ... just unpack files put in odin and run wala
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Levi4cyber:
Help needed!

Gr8 thanks to all of you for working so hard - JUST TO HELP OTHERS!!!!!

I just installed it using the superSU 2.79

(Didn't see that there is a 2.82) and everything works properly except the fingerprint and that I get signed out of my Samsung account immediately!!!

Should I install the latest superSU zip (2.82)??

If so do I have to uninstall the 2.79 first????

Any other methods???

Help pls???

Thanks
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Should be able to run 2.82 over 2.79
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Levi4cyber:
So more specific? I just download the zip unzip it and connect my phone and just run the root.bat ?

[I see that the unzipped folder of superSU 2.79 has a unroot.bat should I run it before installing the new superSU (2.82)

(It's the first time I've rooted so I'm concerned of bricking my phone!)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
I wouldn't be too afraid of bricking a Sammy, you really have to try to brick one. There is no way I can see that running a root.bat could ever brick it. Might not let it boot, however that's reversible by flashing stock via Odin.

So yes, download and run it. The way the root.bat works is before installing root files, it removes all the previous files (If any) so it should clean up before installing the newer version anyway.