yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] stuckintheskull:
Definitely works for Sprint. I have done it successfully. Some have not though.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] shubhamgohil17:
I managed to fix it. Steps:

Extract zip attached.

Place the "imsservice" folder in System/Priv-App

Set permissions as following:

For every FOLDER: rwx r-x r-x

For every FILE: set permissions as rw- r- r-

Make sure to go through all the contents and set the right permission for every single file and folder (including the initial immservice folder) It seems like a lot of work but its really not.

---------- Post added at 04:09 AM ---------- Previous post was at 04:05 AM ----------

Sorry zip too large to attach, its just the file here:

https://www.androidfilehost.com/?fid=817550096634750941
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] babbar559:
how to unroot without losing data...someone mentioned that he was able to do it. please provide instructions and files you use. thanks
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Saaber:
Just copy the apk into system-> app. There's no need to flash the pixel launcher. I have it running on my S7 with Google Now and weather working.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] miko12312:
I have been getting bootloops after startup and in recovery verity dm check or what ever fails is this the same as the issue with s7 that is equnox processor with there root process 7.0
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Quickvic30:
You have to use the HOME.CSC and you will retain all your data.

---------- Post added at 05:38 AM ---------- Previous post was at 05:33 AM ----------

Add this line to system/build.prop and it will enable Google assistant.

ro.opa.eligible_device=true
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] sabreful:
Manually was something that did work, tried it right after the initial lack of effectiveness of FlashFire... Been running it just fine installing as system.

Was just curious if anyone had been able to flash *anything* with FlashFire on out device on 7.0

Even after couple of tries (including the LTE "cloud" icon still being there), nothing seems to stick. Send to run fine, no errors... But nothing happens unless I edit the build.prop or manually install.

I don't mind meeting around with things until they work, just wanted a general consensus FlashFire for this build.

Side note -

Anyone know how to manually remove that darn icon? ( See attachment)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] babbar559:
Where can I get the Home.csc from ?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] nitroevo:
Do you folks ever read posts on this topic? He already posted something to remove that. It's a zip
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
You need to run the root.bat to get rid of Knox...
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Forkinator:
Alright i think this solved it, Thank you so much! I barely had enough time to run root.bat. Glad that it removes knox before doing everything else.

I have another issue though, Now my phone keeps force closing apps. I don't understand what it says to do. Im new at this.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
It keeps closing knox... Wait for it to reboot
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Forkinator:
Thanks again.

Everything seems to be okay....well...

The phone is so much slower now. Why does rooting cause the phone to slow down? Its a huge difference from before.

I did set governers to on demand through kernel auditor and set them to "on boot"
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Reboot your phone into recovery, wipe cache and reboot. Let the phone sit for about 20 minutes without touching it. Should help performance.

Though root does account for some of the lag, the main cause is the eng boot you flash (s7edge.tar or whatever)

It disables dm-verity on most partitions allowing for root.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Forkinator:
Wow, sounds like you know a lot about this stuff. I just want to say i appreciate your help very much.

Is it possible that there is a more updated eng boot file? I used the Root.bat with SuperSU v2.82. Not sure if theres a newer version of these files or something else that can help with the performance. I just wiped cache and restarted. Going to leave the phone for 20 min without touching it.

I wouldn't really complain if it was a small performance drop but this is extremely noticeable. For instance, on Final Fantasy XV pocket edition, Before root, I was getting 0 stuttering and high fps, smooth as butter. Now its a stutter fest and my fps is much lower.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
The one in OP is the latest, sorry. And yeah I've been here awhile lol. Stay are you'll learn too.

I don't have the link rn, but search for "kev tweaks s7" and flash that with flashfire... Mount system. Its helps a ton. I'm not sure how well he got v6 working so I'd use 5.2 for now. And don't use the secure tweaks because they cause bluetooth issues (for some)

Also, try "craz tweaks s7" and flash that. It hurts battery a bit but performance is greatly increased ;)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Nightbiker07:
Followed this exactly, now the phone will start up and work fine, but about every 3 minutes, the phone reboots itself. Not sure what to do

---------- Post added at 03:38 AM ---------- Previous post was at 02:40 AM ----------

after several tries, returning to stock and trying again, the problem seems to come after using ODIN to flash the ENG-ROOT-USA file for my S7. (not the edge file)

Even doing the root.bat after using ODIN, I dont get root access, probably because the phone reboots itself halfway though. going to return it to stock and leave it alone for a day and see what happens
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Make sure to run the root.bat
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Nightbiker07:
I have tried. It doesnt give root access after running it. I think its because the phone reboots itself before the operation completes.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
It should delete Knox before it reboots...
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] AndroidGee209:
So I've been reading through a few threads and still a bit lost.. I'm currently on UVS4BRA1 and want to root my device and install magisk but I don't know which rooting method to follow as most are on old baseband versions.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
You cannot use Magisk... Read through the thread.

This will work for your phone.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] justinchao740:
i tried to flash the unbranded "u" firmware but it says model mismatch
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Try again, and try a different Odin. I have problems sometimes too. It should eventually flash we with one of the Odin's (regular or prince comsy)
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] justinchao740:
also i want to save battery without sacraficing much performance how can i do that? mind u that on my galaxy s7, android system is always on the top when looking at which process used how much battery. i usually get only 1-2 hours of sot but my friends with galaxy s7 can get upwards of 4 hrs. This happened back when i was stock too.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] AndroidGee209:
I have skimmed through the thread but can't really find anything about my current baseband, thanks anyways... The main post is hell for me so Many different edits idk where to begin lol
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
I've rooted on yours several times, it works fine
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] nomad247:
Question )AAARRRGGGHHHH!!!) Just got my phone fully back and did the root and now is rebooting every five minutes or so, any ideas what i should do? I have SM-G935UUES4BRA1, after 4 or 5 updates from the G935UUEU2APEH I loaded this weekend. It has the unlock symbol on the start screen but root checker, su and kernal adiutor all say not rooted.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Wait wait... You went from BRA1 to APEH?!?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] nomad247:
Rooting issue

I went from G935AUCS4BRA1 (AT&T) to G935UUEU2APEH TO G935UUES4BGL1 TO G935UUES4BRA1. From the first one, it did auto-updating like 4 times I think. I did not go backwards. Main thing was to get rid of the AT$&T ROM so I could use verizon. At any rate, I just re-flashed again but with BQD2 and it updated to BRA1. Took less than an hour. I had run the root thing before all this and is shows "custom' but noting showed rooted. this time I ran the root bat and I think because I was NOT running the AT&T BRA1, it screwed something up or I did. Anyway, all is good now, just trying to figure out if i can put Oreo on this. May use the spare phone, an S7 I bought used while I fixed my Edge. The APEH was what I first installed off the AT&T ROM and that updated through smart switch a few times and on its own a few times.:laugh:
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
My phones being dumb and when I try to copy a link, won't let me paste... So sorry.

Theres an Oreo ROM by jrkruse; Its an early build so there are a few bugs but battery and performance and fine ;)

And look at the 5th character from the right of the build number... That's the bootloader version, you cannot downgrade them. You're saying you went from 4 to 2?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] sandreas:
The first post first line indicates this thread is also for the S7, despite the title....

Does it matter if the G930A hardware is Qualcomm or Exynos?

Which ROMs are specific to the Exynos hardware?

From my research, the At&t USA version is supposed to be Qualcomm, but my G930A says it is Exynos.

Why did Samsung use the same model number for different hardware? Seems very confusing.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] urbanman2004:
Today my Galaxy S7 has been acting extremely sluggish today and now the battery is overheating which I get an error message preventing me from charging my phone as I type and so I'm at my wits end and would like to know how would I go a/b restoring the original ENGBoot file I replaced in order to root my s7 to improve its performance. Any helpful instructions would be greatly appreciated
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Dwr3ker:
HELP!!

i rooted my phone. it was way too slow. i unrooted it's even slower. i keep getting ims services stopped and com.sec.epdg has stopped how do i get my phone back to its original state?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] freeop:
Just reflash it to stock. Unrooting will not get rid of the eng.img so you have to reflash to stock.

Hope this helps...
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] jhubz:
eng root flashed but no root access

hi i recently followed your instructions and was able to get everything installed. supersu and all installed but when i used root checker to check if it was rooted it says i am not. what could be the issue. i installed kernal adiutor and it also says no root. when i open supersu it say binary occupied. please help!!!

Update* sorry im a noob figured it out
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] jjrevis:
For going back to stock, do I use the AP, BL and CP in addition to the HOME_CSC file or do I only use the HOME_CSC file? The instructions in the initial post are a little unclear on that. And I assume I go into download mode again when flashing?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Just use regular csc, not home csc... But yes those 4 files.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] jjrevis:
Wouldn't that delete my apps and data though, as stated in the OP? Or is that intentional to undo the tweaks and apps installed for root functionality?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Yes, but using it has caused problems
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] MrWhite0429:
Will this work on g935a on AT&T running BRA1 baseband? Has anyone tried it?

Sorry I should've read back a few pages. I may give this a shot later on tonight.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] jjrevis:
Worked great, thanks for the tip man.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Fon Spaak:
Hi, i need some help to know what i require to root the G930A ARM64 Snapdragon 820, because i can't seem to find the right stuff as im usually stuck on a bootloop, luckily i get out of it each time
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
Following [MENTION=293193]billa[/MENTION] 's how-to, I got down to step 5. and the wheels fell off.

I selected the do not install fingerprint fix, Root No Tweaks, SuperSU options. The top half of Root.bat, before the first reboot, ran with no obvious errors. However, after the reboot at the end of this segment, I ran into the adb device offline problem (adb devices reports the phone ID but its state is "offline"). Before continuing with the actual rooting (before pushing the 'any' key) I pulled the cable, put it back, and waited for the phone to show up in Windows Explorer - end of offline problem. Press the 'any' key, the phone is recognized by adb, and the script continues.

Installing Root
/system/xbin/: 1 file pushed. 0 files skipped. 2.8 MB/s (104384 bytes in 0.036s)
[100%] /etc/init.sec.boot.sh
[100%] /etc/launch_demonsu.sh
Success
Success
If you get this error in above script
adb: error: failed to copy 'supersu/xbin\su' to '/system/xbin/su': couldn't create file: text file busy
during install please reboot and try again

There seems to be nothing wrong (nothing like supersu not being copied), but pushing the 'any' key after this message closes cmd, the phone reboots, and nothing further happens. The good news is the phone still boots normally. There is

no

padlock icon at startup. This is an unbranded, unlocked S7 SM G930UZKAX
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
Your ADB issue has nothing to do with the rooting process, it's a local problem since adb is known to be finicky especially when different versions/instanced are run on a single machine.

Try to resolve it by first unplugging the phone and restarting it.

Next, enter these adb command 2 or 3 times in a row:

adb kill-server

Finally, plug in your phone after it has been restarted.

If the above fails, then try restarting your pc as well.

If all else fails, try performing a full factory reset, or full stock flash on your phone (all data will be lost!).
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
Sorry - I think I gave the wrong impression. I understand the adb offline thing has nothing to do with rooting. Well, other than breaking the work flow. I ran adb to find out what was going on, and Googled on the problem, too. Anyway, since the rooting process is paused, pulling the plug isn't a problem for me. Question: can I run concurrent adb sessions that will use the same daemon? I suspect the answer is no.

What is a problem is that SuperSu message. In general, when I've rooted other phones SuperSU was a stumbling point (dunno why - it just is). My big question is why the rooting process breaks down the way I showed in the code segment.

I'll flash back to stock and try to root again. Dollars to donuts the process will break down in the same place. :(
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
[/COLOR]

Generally you can't run more than one adb thread, unless you use special port forward but it gets messy.

So gain my recommendation is follow the kill-server command (2-3 times) before restarting.

Just follow this detailed guide very carefully and you'll be able to root your phone just fine.

https://xdaforums.com/showpost.php?p=75418504&postcount=2527
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
Are you saying I should kill the adb daemon before starting a root attempt, or are you recommending restarting during the pause after the first reboot? If so, I'm not sure how I can break through the running script to kill the daemon. If I can get that far, of course I can restart it, too.

My guess is you're saying that I should kill the adb daemon before trying to root (step 5).

In any case, I'll do a fresh stock flash and start over.

---------- Post added at 09:58 PM ---------- Previous post was at 09:46 PM ----------

WTF!!! SuperSU is present and Joey Krim says I'm rooted. I have utterly no idea why this worked despite the error message which, I assumed, said I didn't reach being rooted. Very, very strange... NTL I got where I'm wanted to go, even if I haven't a clue as to why I'm there.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] billa:
Yes, it's better to start running the script with no adb deamon running, since the script will invoke it on its own.

On top of Task Manager > Processes make sure there are no running ADB.EXE

If there are, right click on it and kill it.

Just follow this, don't skip anything, follow it step by step, trust me it works! ;)

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

p.s. The only thing I can think of about your weird issue, is that you may have more then one phone plugged in to the same pc, and while the script ran fine on the S7, the other one could have thrown those strange errors. Anyway, next time make sure there's only ONE phone is plugged in, all adb's stopped, and follow the step by step instructions. A similar situation has occurred to me in the past, and it was really frustrating trying to figure out the root cause. Now, this may or may not be in your case, nonetheless it's worth taking a look at.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
Trust me, I had 2527 in front of me during the whole "adventure".

Good point about killing off an existing adb daemon before starting.

adb kill-service
adb wait-for-device

That should do it, no?

There was only one phone on the PC. NTL, I wonder if the previously running adb daemon wasn't causing problems.

At this point the phone is rooted although I don't understand why. I ran Root.bat one last time, so I could collect the error message about "text file busy". When the phone rebooted at the end of the third try, there was the open padlock icon. Root Checker confirms the phone is rooted. I added Busy Box (AFAIK it wasn't loaded) and updated SuperSU. Since then I've run Ti, FX, etc. without a complaint.

Looking at the piece of Root.bat I used, maybe everything completed as it should.

:SYSTEM
echo Installing Root
adb uninstall com.topjohnwu.magisk >NUL 2>&1
adb uninstall eu.chainfire.supersu >NUL 2>&1
adb shell rm /data/su.img >NUL 2>&1
adb shell rm -r /system/etc/launch_daemonsu.sh >NUL 2>&1
adb shell rm -r /system/xbin/su >NUL 2>&1
adb shell rm -r /system/bin/su >NUL 2>&1
adb push supersu/xbin /system/
adb push supersu/init.sec.boot.sh /etc/
adb push supersu/launch_daemonsu.sh /etc/
adb install -r SuperSU.apk
adb install -r flashfire.apk
adb shell chmod 0755 /system/xbin/su
adb shell chcon u:object_r:system_file:s0 /system/xbin/su
adb shell chmod 0700 /system/etc/launch_daemonsu.sh
adb shell chcon u:object_r:su_exec:s0 /system/etc/launch_daemonsu.sh
echo
echo NOTE: If you get the error message below during install, please reboot and try again
echo NOTE: adb: error: failed to copy 'supersu/xbin\su' to '/system/xbin/su': couldn't create file: Text file busy

I think the "adb: error: failed to copy 'supersu/xbin\su' to '/system/xbin/su': couldn't create file: Text file busy " message left me thinking an error occurred, when it's really only an advisory message. I tweaked the script slightly (see above) to, I hope, avoid the confusion. Maybe killing any adb daemon and this change will help?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
Sigh... I did all of the above without a SIM in place (what difference can it possibly make, right?) Installing the SIM forced some sort of error relating to dm-verity which denied me access to the phone. I've flashed back to stock and am going back through rooting, with the SIM present.

Speaking of updates, someone (Samsung?? Google?? - it showed up even without the SIM) keeps trying to push what looks like an OTA at the phone. I assume that update will prevent rooting. I can live without the OTA. What I don't know how to do is a) delete the downloaded OTA, and b) keep it from being pushed at me again. If it's still in the phone, sooner or later it's going to install itself whether I want it or not. And being rooted, the dm-verity error will come back and, effectively, I'll be locked out of the phone yet again. >:-<
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
Sigh... no luck. Root.BAT can't write to /system/xbin/ or to /etc/ - the errors end with "read-only file system".

FWIW, I added adb kill-server at the top of the script - Root.BAT starts with a fresh instance of adb.
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
You flashed eng, correct?
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] RBEmerson:
Yep. But I'll walk through the process from 1 to 5 all over. Again.

This is the wheels falling off...

Device reconnect ...

-------------------------------------
- 1 Install FingerPrint Fix -
- 2 Do Not Install FingerPrint Fix -
-------------------------------------
Please make your decision: 2

--------------------------------------------------
- 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 -
- 5 Exit -
--------------------------------------------------
Please make your decision: 1

-------------------------------------
- 1 Install SuperSU Root -
- 2 Install Magisk Root -
- 3 Install Systemless Root -
-------------------------------------
Please make your decision: 1
Installing Root
adb: error: failed to copy 'supersu/xbin\su' to '/system/xbin/su': couldn't create file: Read-only file system
adb: error: failed to copy 'supersu/init.sec.boot.sh' to '/etc/init.sec.boot.sh': couldn't create file: Read-only file system
adb: error: failed to copy 'supersu/launch_daemonsu.sh' to '/etc/launch_daemonsu.sh': couldn't create file: Read-only file system
Success
Success
chmod: /system/xbin/su: No such file or directory
chcon: /system/xbin/su: No such file or directory
chmod: /system/etc/launch_daemonsu.sh: No such file or directory
chcon: /system/etc/launch_daemonsu.sh: No such file or directory
If you get this error in above script
adb: error: failed to copy 'supersu/xbin\su' to '/system/xbin/su': couldn't create file: Text file busy
during install please reboot and try again
Press any key to continue . . .

I don't understand who's reporting "Success".
[T-Mobile Samsung Galaxy S7 Edge Guides, News, & Di] Craz Basics:
Sooo.... You're booted up right? Screen unlocked? Make sure USB debugging is on as well. If no luck, try another PC. Last thing is another root.bat