yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Edge Questions and Answers] emariu:
I also lost root today...

My guess is I saw an OTA security update(google android) going on today and after some time(it has been installed) I realised I lost root.

Weird is that I am on a custom ROM TEKXnesis HYBRID S7E URv4.5

I thought that being on a custom ROM I will not get OTA updates anymore ?!
[Samsung Galaxy S7 Edge Questions and Answers] M@rs:
Yesterday I got an safety guideline update. Maybe this cause problems on your rooted phones? As I read this happened out of no where, so maybe it's caused from this update.
[Samsung Galaxy S7 Edge Questions and Answers] kittiyut:
Bug or no bug (and I hope it is the former), there already is a widespread reaction. I lost root out of the blue - 935FD rooted with CF auto root method, no TWRP, Xposed installed using FlashFire, stock ROM. The last update I recall was to an Xposed module called "Flat Style Bar Indicators" - which is totally awesome and works very well.

I don't think I want to go the TWRP route, wipe everything and start from scratch, only to lose root again.

Fingers crossed for it to be an SU bug and simply fixed by flashing an updated version via ODIN.

And now that I've lost root, will I be able to get and install OTA update when one for my region becomes available?
[Samsung Galaxy S7 Edge Questions and Answers] ManDone.vRs:
i lost my phone , but not the root :D
[Samsung Galaxy S7 Edge Questions and Answers] Obsidian Octagon:
I lost root randomly as well on my Galaxy S7 G930F. I rooted the phone about a month ago and had no issues at all. This just appeared randomly out out of the blue. I'm thinking it might have been some sort of OTA security update pushed to my phone as some others mentioned, but I can't be sure. I tried re-rooting with CF-Autoroot, but SuperSU still says I'm not rooted. Will an update to CF-Autoroot or SuperSU fix this? I would prefer not to start from scratch.
[Samsung Galaxy S7 Edge Questions and Answers] pd56:
I had the same problem and stop Security Aytomatic updates. Looks than 12 hours now and still I have the root. Hope to stay like that
[Samsung Galaxy S7 Edge Questions and Answers] Galactus:
Yep same here, I mentioned this a few days ago. I went with CF Auto Root and flashed zips with FlashFire. I did get a warning about a security policy update around the same time. I think I picked the install later option. Lost root in the end though. I went with the nuclear option

Flashed stock image, updated to latest UK OTA. Flashed TWRP, didn't full wipe after setting up (I don't need /data to be accessed, I just flash zip from external SD). So I still have encryption. Didn't flash dm verity (don't need to). Back to normal now. I've rebooted multiple times and haven't lost root yet. I've disabled automatic security updates too.
[Samsung Galaxy S7 Edge Questions and Answers] stremax:
Same happened to me, I receiced a security update notification, and then, in titanium back up I realize I lost root, fortunately I was able to reboot in TWRP with button combo and flashed supersu.zip to gain root again, but I'm curios how this happened and what backdoor this security update use to unroot
[Samsung Galaxy S7 Edge Questions and Answers] chrisdzie:
Hey WTF. I have also a Galaxy S7 Edge SMG935F and about one week ago I had root with no problems. Today I wanted to use root again and my TB tells me no root. So i download root checker and it also tells me no root. So I rerooted my Samsung with CF-Auto-Root-hero2lte-hero2ltexx-smg935f and then tried again and still I have no root. I have not done any updates. So what the hack has happened. I don't want to wipe my Samsung just to find out it might not work or I will lose root again. Can someone please help me or tell me what happened. Thanks.

---------- Post added at 08:25 PM ---------- Previous post was at 08:07 PM ----------

Hey can I flash a custom recovery without root to be able to use the supersu.zip to gain root again?
[Samsung Galaxy S7 Edge Questions and Answers] Galactus:
Just follow the TWRP install steps. You have to full wipe if you don't have an external SD card to flash mods unless you want to disable encryption............which I don't think is a smart idea.
[Samsung Galaxy S7 Edge Questions and Answers] alexj714:
Users on other Samsung XDA forums are reporting the same phenomenon, beginning about the same time as yesterday's security update. It doesn't appear to be just our phone.
[Samsung Galaxy S7 Edge Questions and Answers] ObscenityIB:
i just noticed this myself, disabled security updates but no permissions to flash the binary... weird
[Samsung Galaxy S7 Edge Questions and Answers] johnjohn2014:
I just lost root myself. TB said couldnt find root. Checked root checker and said I wasnt rooted. Reflashed BETA-SuperSU-v2.72-20160510112018.zip in recovery and rebooted. Everything back to normal.
[Samsung Galaxy S7 Edge Questions and Answers] snej81:
First timer root

Hi guys,

Im about to root my S7 edge, its my first Samsung ever and my first root ever :)

My idea is to flash CF-autoroot through Odin, since this seems to be the easiest way to do it. I have read almost entire thread about CF-autoroot in the Dev subforum and there is some problems right now with a security protocol update (I have also read about in in this thread) that removes root access.

Should I wait until this ``problem´´ is resolved or should I just disable security settings -> automatic updates and move on? Some users say that they still have root after disabling this setting and some users cant get root back without wiping the phone (from what I understand), after receiving the update.

Thanks in advance.
[Samsung Galaxy S7 Edge Questions and Answers] chrisdzie:
Well you got really lucky. Like I said in my last post I tried to reflash and in the end I still had no root. So from my understanding it sounds like this security update was installed on a bunch of Samsungs without the user even being notified? Do I understand this correctly?
[Samsung Galaxy S7 Edge Questions and Answers] Atze001:
Is there any way to uninstall/remove the security update?
[Samsung Galaxy S7 Edge Questions and Answers] stremax:
Galactus already answerd in order to gain root you have to first install a modified recovery than flash supersu.zip
[Samsung Galaxy S7 Edge Questions and Answers] riso123:
I got the same security update pushed to my phone AND installed it a couple of days ago. I remember at the time thinking (I bet this kills root). However once I hit on "install" or "proceed" or what ever it was, it disappeared and haven't had any issues since. However, first thing I do with Root, is install Titanium backup and remove anything relating to knox and Samsung security as well as a lot of other Samsung apps I don't like. It does produce an error message on each phone boot on each first start and stops anything Samsung related from installing, but I don't get issues like this, so if that's important to you, then I wouldn't do what I do. Additionally, I can always flash a newer version using flashfire when I want.

Hopefully I'm not a ticking timebomb, but I just restarted and still have root!
[Samsung Galaxy S7 Edge Questions and Answers] snej81:
Will CF-autoroot work IF the security patch is already installed? My device is not rooted and never has been.
[Samsung Galaxy S7 Edge Questions and Answers] atk1024:
I have the same problem here, I was rooted (TWRP recovery with Superuser) on S7 G930F and got an OTA (G930FXXU1APD1) from vodafone, I had to install the OTA via ODIN, I flashed CF-Auto-Root-herolte-heroltexx-smg930f with ODIN and installed twrp recovery and superuser as I have done to root the device before the OTA. I had root access for few days after I rooted the device and I received a security update few days back and lost root access the next day morning. NOT ABLE TO GET ROOT BACK no matter what I do after that It was one of those shady background updates from samsung that tipped my root. My earlier root method didnt format device ever and I was flashing superuser files from SD card. no dm variety file was ever installed (Obviously twrp cant read the internal memory if you dont do it)

Anyone found a way to get root access back? I hate a phone without adblock, greenify , titanium backup and all my precious apps that need root access.

Help help help ..
[Samsung Galaxy S7 Edge Questions and Answers] snej81:
No one? I have turned off automatic updates of security policy but do not know if im updated already or not.
[Samsung Galaxy S7 Edge Questions and Answers] miri1907:
thanks
[Samsung Galaxy S7 Edge Questions and Answers] penanogs:
Same as everyone above lost root randomly. Refkashed my SU beta via TWRP. All back to normal. Root verifies.
[Samsung Galaxy S7 Edge Questions and Answers] Ser7an:
Can I have the version that you flashed and get root back
[Samsung Galaxy S7 Edge Questions and Answers] penanogs:
http://xdaforums.com/showthread.php?p=66869999

First post scroll down to #11 download latest SuperSU by Chainfire. Hit link for flashable zip file using TWRP.
[Samsung Galaxy S7 Edge Questions and Answers] kittiyut:
Is there a version one can flash using ODIN? (Don't have TWRP)
[Samsung Galaxy S7 Edge Questions and Answers] penanogs:
Same link, 1st post. Explains both ways via Odin and TWRP. Provided are download links flashable zip files for either method. The first method via Odin is actually explained first.
[Samsung Galaxy S7 Edge Questions and Answers] kittiyut:
You can use ODIN to flash the same zip file (in this case, BETA-SuperSU-v2.72-20160510112018.zip)?

I thought you needed a xxx.tar.md5 file for ODIN?
[Samsung Galaxy S7 Edge Questions and Answers] penanogs:
https://download.chainfire.eu/930/CF-Root/CF-Auto-Root/CF-Auto-Root-hero2lte-hero2ltexx-smg935f.zip
[Samsung Galaxy S7 Edge Questions and Answers] johnjohn2014:
wrong post.
[Samsung Galaxy S7 Edge Questions and Answers] penanogs:
Sorry y'all I'm not going to jack the OP's thread with links on how to root your phone. Read ups all over XDA on how to.

Bottom line sharing my experience with the OP. Lost root randomly, regained my root by flashing SU via TWRP no wipe necessary. Reflashed and system reboot = Win.
[Samsung Galaxy S7 Edge Questions and Answers] IVPathfinder:
What is the difference TWRP vs Chainfire

What is the difference between

TWRP: a custom boot recovery image?

VS

Chainfire's root: OS modification applied through odin device upload?

Is TWRP like a windows 10 recovery partition software? Is there a good analogy to help me get this around my head ahha. Thanks!

I've only rooted with Chainfire , no titanium back up or anything. It it too late to use TWRP, no that I've lost root?
[Samsung Galaxy S7 Edge Questions and Answers] snej81:
I also would like an explanation. I thinking of which method to use to root my S7e for the first time, all I want is root access but the thing with the security protocol is giving me doubts.

Skickat från min S7 edge
[Samsung Galaxy S7 Edge Questions and Answers] kittiyut:
That file is not going to work WITHOUT HAVING TO WIPE and reflash stock ROM - I already tried.

I just don't want to start over.

Guess I'll have to wait for an updated .md5 :(
[Samsung Galaxy S7 Edge Questions and Answers] ianmacd:
The following information may prove useful to the community.

By scrutinising my devices, I have ascertained that affected units can be identified by checking under Software Info > SE for Android status.

Devices affected by the recent root-fatal security policy update will show SEPF_SECMOBILE_6.0.1_0011.

Devices that were completely up to date before the fatal update will instead show SEPF_SECMOBILE_6.0.1_0008.
[Samsung Galaxy S7 Edge Questions and Answers] dave7802:
I was just about to post, That this may be in relation to the Security Policy Update that was pushed to each handset.

TWRP and Rooted, and last week i got a notification about a security policy update.

After applying this update, I had lost root (Was not noticeable for about 4 days as part Xposed mods where still working)

it was only when i was trying to access a folder that Root is required, when i noticed i was denied access.

Simply flashing SuperSU again worked for me, no need to wipe or anything.

(When i say Part Xposed was working, Things like Back to Kill stopped working, While my Status Bar Icons where still present)
[Samsung Galaxy S7 Edge Questions and Answers] snej81:
Wow, thanks! This means I have not received the update. Now I have shut of automatic updates, so maybe I dare to root then :D:good:
[Samsung Galaxy S7 Edge Questions and Answers] KevQuoi:
I have the same situation following the OTA security update on my S7 however re-flashing SU and even TWRP has no effect. Is there a way to remove the update?
[Samsung Galaxy S7 Edge Questions and Answers] snej81:
Based on Chainfires response in the official CF-autoroot thread, no..

Skickat från min S7 edge
[Samsung Galaxy S7 Edge Questions and Answers] --Yo--:
Same here, I didn't go the TWRP way before, just flashed CF-Autoroot through Odin, mainly because the TWRP method didn't work for me, I flashed it several times and it didn't go to Recovery so I ended up giving up.

Now going TWRP seems too late for me, I just don't want to start over. Guess I'll have to wait as you said.
[Samsung Galaxy S7 Edge Questions and Answers] Galactus:
Root simply allows you to modify more files in the system. It gives other apps privileges to read things that would have been hidden like battery stats etc.

TWRP is a custom recovery which allows you to flash files to /system etc. Device can be backed up as long as /data is not encrypted. TWRP is not needed to flash files. You can use Flashify or FlashFire (which I prefer). Full Wipe is not needed to install TWRP. Full Wipe is mentioned so that /data is readable. If you don't have an SD card and you don't wipe then the only way to flash mods is via ADB, which means you must be near a PC at the time.

So:

if you ONLY want root. CF Auto Root is enough. Disable the automatic policy updates.

If you ONLY want root AND to flash files, CF Auto Root + Flashify/FlashFire is enough. Disable policy updates.

If you want Root AND flash files AND custom recovery AND remain encrypted AND have sd card or don't mind flashing with ADB then TWRP (Install using guide

WITHOUT wiping or flashing dm verity

). Disable policy updates.

Finally, if you want root AND flash files AND custom recovery AND readable /data partition AND don't mind starting from scratch AND don't care if you're not encrypted, simply follow the TWRP guide. You MUST format and lose all data for /data to be readable in TWRP. You WILL NOT be encrypted

Edit: Latest CF Auto Root/SuperSU fixes the lost root/policy update issue.
[Samsung Galaxy S7 Edge Questions and Answers] FrankBlackh:
I'm stucked in the same situation with a Galaxy S7 rooted 5 days ago after the wi-fi security patch that have killed my root last night :(

When Chainfire will release the new .md5 file we have just to reroot with Odin and that all?

Do you thinks that is better to wait a couple of week for the Chainfire patched md5 or suggest to install a modified recovery and than flash supersu.zip?

With "CF-Auto-Root-herolte-heroltexx-smg930f" for the Galaxy S7 Exynos (my model) I can't do anything now that i've lost the root after the security update, is that right?
[Samsung Galaxy S7 Edge Questions and Answers] snej81:
For those of you that dont follow the official CF-Autoroot thread, Chainfire today released an updated version of SuperSU and Autoroot to handle the security patch-issue that removes root.

http://xdaforums.com/showpost.php?p=66928785&postcount=464
[Samsung Galaxy S7 Edge Questions and Answers] KevQuoi:
Thanks for the info. I used his post however Chainfire does warn the fix may not work succesfully for those currently locked from root due to the security update. I was in the situation however I've resolved it this noon by flashing the recent stock firmware (via samfirm.com), flashing TWRP and then chainfire's latest su (2.74) Finally I flashed v81 xposed and all is back to normal now. No wiping required.
[Samsung Galaxy S7 Edge Questions and Answers] Grafiqa:
And how can I get back my Root now?

Gesendet von meinem SM-G935F mit Tapatalk
[Samsung Galaxy S7 Edge Questions and Answers] ianmacd:
Without wanting to sound facetious, start by reading the thread you're posting in.
[Samsung Galaxy S7 Edge Questions and Answers] Obsidian Octagon:
For those who lost root on the G930, see my post in this thread for a process to restore root without TWRP:

http://xdaforums.com/galaxy-s7/development/sm-g930-exynos-cf-auto-root-t3337353/page22

The process for the G935 should be the same. Further discussion on the G935 CF Autoroot and the recent loss of root is here:

http://xdaforums.com/s7-edge/development/sm-g935-exynos-cf-auto-root-t3337354/page52

Chainfire explains the background behind the loss of root here and the updates he did to CF Autoroot to address the loss of root issue:

https://plus.google.com/+Chainfire/posts/XMFgencRR11
[Samsung Galaxy S7 Edge Questions and Answers] zauberpferd:
Is it "save" to root my device now? Or might it still happen that I lose root?

EDIT:

That explains it I guess. Thanks!
[Samsung Galaxy S7 Edge Questions and Answers] Grafiqa:
One Question. I lost my Root, BUT Xposed still working. For Example : XtouchWiz is working.

That's normal?

Gesendet von meinem SM-G935F mit Tapatalk
[Samsung Galaxy S7 Edge Questions and Answers] eddiedavidwan:
Hi,

I'm a newbie here. Can elaborate how you reflashed your SuperSu.zip file? I rooted using Odin 3.10.7 and this tar file twrp-3.0.0-0-hero2lte.img.tar , before I lost root just like the rest of the folks here. So you flashed using TWRP? Somehow, I don't have TWRP when I rooted my phone. Please assist and thanks in advance :)

Ed
[Samsung Galaxy S7 Edge Questions and Answers] Obsidian Octagon:
You do not necessarily need TWRP to restore root. The somewhat simple process to restore root (after losing it with the Samsung security update) without TWRP is here:

http://xdaforums.com/showthread.php?p=66934553#post66934553

This process is for the G930F, but it appears to also work for the G935F (and likely other variants) as per this link:

http://xdaforums.com/showthread.php?p=67043338#post67043338
[Samsung Galaxy S7 Edge Questions and Answers] johnjohn2014:
Since you have TWRP which you installed with the tar, file Reboot into TWRP recovery, click INSTALL. Browse to the SU.zip and slide to flash. Reboot.

[When you power on your device hold vol up, home, power at the same time. You will boot into TWRP recovery].

Sorry re read your post.

Use ODIN to flash TWRP.

https://dl.twrp.me/hero2lte/

Good instructions on how to do this are here:

http://www.droidorigin.com/root-samsung-galaxy-s7-edge/
[Samsung Galaxy S7 Edge Questions and Answers] eddiedavidwan:
Flash using TWRP

A thousand thanks to Obsidian Octagon and Johnjohn2014

I've managed to regain root again and credit to penanogs

So I'll recap what I did for the sake of the rest of the community here. My S7 is SM-G935FD variant.

1. This URL will show you how you can root using TWRP, which is what I did.

http://xdaforums.com/s7-edge/develo...your SuperSu.zip file from TWRP

Cheers
Eddie
[Samsung Galaxy S7 Edge Questions and Answers] omid_freesky:
here is how i got my root back

i downloaded THIS boot.tar.img and i flashed it via Odin and it went to boot loop. then i flashed he latest CF Root via Odin and it restarted a few times and BACK to ROOTED phone.
[Samsung Galaxy S7 Edge Questions and Answers] omid_freesky:
I keep getting this notification: unauthorized actions have been detected. Over and over again. I can't stop it, and I'm sure not going to update the security to lose root again. What can I do?
[Samsung Galaxy S7 Edge Questions and Answers] Yanush7:
Lost root in samsung galaxy

Hi,

I’m writing this to hopefully clarify a little bit the situation about how to get root again on your Samsung device.

The easiest way (which I tasted on my Galaxy S7 Edge), which doesn`t require playing with extraction of boot.img etc., is the following:

1)	Check what is your current ROM version

http://xdaforums.com/showthread.php?t=2772624

2)	Download corresponding ROM from

http://www.sammobile.com/firmwares/

It takes some time for download to complete (sammobile is slow for free users) but it is worth waiting IMO.

Tip: when you find your ROM there, you can copy the full filename and try to google it for some mirror links, just be smart and do not download from some trash sites.

3)	Download newest Odin 3.11

http://xdaforums.com/attachment.php?attachmentid=3749061&d=1463117260

4)	Download updated CF Auto Root (all the files now are already updated by Chainfire, and it will protect you from losing root again)

https://autoroot.chainfire.eu/

5)	Using Odin, flash your ROM (which you just downloaded) to your device. I won`t describe whole process, as there is many tutorials. But in general, after putting your phone in Download Mode, and connecting to PC, you run Odin, and you select only the AP file (you can ignore the other files in package with names that starts from CSC, BT, Home_CSC etc.)

You will not lose any data. This is important. If you download ROM which match the ROM you already have on your phone, then you can flash the entire ROM without losing any data, settings etc.

6)	After flashing your ROM, now you can flash CF Auto Root and root your phone like you did once before.

I tested it on my phone and everything worked without problem.
[Samsung Galaxy S7 Edge Questions and Answers] Grafiqa:
And this Works?

And how can I flash the img? With Odin in AP or BL?

Gesendet von meinem SM-G935F mit Tapatalk
[Samsung Galaxy S7 Edge Questions and Answers] racandroll:
re

Hi i'm on Samsung S7 Flat.

I've tried searching threads on how to do it but i was unable to find the exact firmware with the same CSC version for my device.

Tried searching SAMMOBILE but still no firmware with the exact CSC version as my Phone.

I'm afraid that i could have my phone bricked if i flashed the firmware having different CSC version.

Can anybody give me a hand to fix this? I'm attaching all my phones info for details.

By the way i rooted my phone using CF root and lost it probably because of Samsung's Security Update.

PDA Version: G930FXXU1APD1

Bootloader Version: G930FXXU1APD1

CSC Version: G930FOLB1APD3

Thanks!
[Samsung Galaxy S7 Edge Questions and Answers] omid_freesky:
Of course it works. This is why I post it here. I used this method and got my root back.

Yes use Odin and in AP section choose this file.

Then go back to download mode and flash latest CF ROOT
[Samsung Galaxy S7 Edge Questions and Answers] Grafiqa:
THX! It works and it's soooooo easy.

Gesendet von meinem SM-G935F mit Tapatalk
[Samsung Galaxy S7 Edge Questions and Answers] thomasc73:
Me too. I can't find firmware with the same region as mine.

Samsung S7EDGE

PDA and Bootloader Version: G935FXXU1APD1

CSC : G935FOLE1APD2

Firmware REGION : XID

Can I use boot.img from other region?
[Samsung Galaxy S7 Edge Questions and Answers] Obsidian Octagon:
According to Chainfire, only the PDA firmware needs to match. See here:

http://xdaforums.com/showthread.php?p=67131357#post67131357
[Samsung Galaxy S7 Edge Questions and Answers] gigikent8blue:
Thank you!! THIS WORKED!

Thanks a lot! I lost my root on my s7 edge... I tried all root procedures..nothing worked..except this! Flashing a new firmware AP did the trick and could flash autoroot succesefuly again!

For those of you who can't find the right firmware by searching on sammobile with the model number...try searching for the AP version (ex. G935FXXU1APD1) ... it will search all zip files for the right one. For example my s7 edge is dual sim.. and could not find it as a model number but it worked by AP version... even though it was not model number g935FD and it was g935f and it still worked.

Good luck!
[Samsung Galaxy S7 Edge Questions and Answers] thomasc73:
Thanks! It worked for me.

1. Go to sammobile and download firmware with the same PDA version.

2. Unzip the firmware. You will have 5 files (AP_g935XXX, BL_, CP_, CSC_, and HOME_). You will need AP_935XXXX file only.

3. Put your cellphone into recovery mode, and flash the AP_G935XXXXXXX.tar.md5 using Odin.

4. reboot then flash the latest CF-AUTOROOT