yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] schuppus:
First my biggest thanks to Chainfire who did so much for me and all the other users since many years !

The current cf-autoroot doesn't work for me, so i too need to restore my boot.img.

I don't have installed TWRP yet and no experience with it, please forgive some noobish questions.

My current firmware is G935FXXU1APC8, so i will extract boot.img from there.

Encryption is still intact on my phone. I know, TWRP and afterwards SuperSU can be installed without erasing internal data as long as one does not break encryption. But i need to restore the boot.img.

Will i be able to flash my boot.img with TWRP without erasing internal data ?

Alternatively, i think about updating the new firmware while i'm already at it. There is a new firmware for my device available, G935FXXU1APDH. I could just flash the whole firmware with Odin and then flash cf-autoroot.

But would this keep all the settings and data intact like an OTA or would the firmware flash also reset all internal data ?

The hope is, with root regained, to make a fresh backup with Titanium first and then finally set up TWRP right with full backup functionality, as i should have done before.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ianmacd:
Yes, take advantage of the opportunity to upgrade the firmware, since you need to repair the boot image anyway.

You can safely (non-destructively) flash the firmware with Odin or, even more simply, Smart Switch. Then, just reflash CF Auto Root as you said.

All of your settings will be retained.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] schuppus:
thanks, ianmacd.

I just downloaded the firmware with SamFirm. It contains AP,BL,CP,CSC and HOME-CSC.

In my case, when using Odin, i guess i need only AP (which contains boot.img) and check "Phone Bootloader Update". But should i insert also BL and CP (modem) ?

I would rather leave CP alone since my connection is fine. But must BL be selected so that it fits to the boot.img, i have no idea here ?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] BQZ:
Hi guys!

I've just received my new SM-G930F today. I'm ready to root, but everything explained along this thread is a little confusing for newcomers.

Currently, which are the simplest steps to make for rooting this phone? :confused:

TIA :good:

Bqz
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] schuppus:
The easiest way is using CF-AutoRoot. You get root, keep your data.

An easy step-by-step guide is here: http://www.droidviews.com/root-galaxy-s7-g930f-and-s7-edge-g935f-using-cf-auto-root/
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] --Yo--:
I tried to download CF-Autoroot from the page again, the file seems to be the same and fails using Odin.

What would be the new process to use CF-Autoroot again without using TWRP? It's not clear on the latest posts.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ianmacd:
The honest answer is that I'm not sure. And when I'm not sure about something, I tend to draw a comparison between what I intend to do and the official way of achieving the same goal.

In this situation, Smart Switch wouldn't give you the choice. It would just upgrade everything to the latest version. It will also fix your boot image without your needing to extract boot.img yourself. So why not just use Smart Switch instead of Odin for this operation? That's what I would do. Then there aren't any mistakes that you can make in choosing what to flash and what to leave alone.

---------- Post added at 09:22 ---------- Previous post was at 09:18 ----------

It's definitely not the same file. Chainfire updated all of them yesterday afternoon and I personally used the G935F file with Odin to flash my S7E to SuperSU 2.74.

Try again with Odin. Do you get an error in the log during flashing?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] --Yo--:
No errors, just the same. Right after flashing the booting page shows the red letters that OEM is unlocked but after a few seconds it's gone and the phone boots and no root.

I was wondering about the file because it's named exactly and the size is also same, I thought maybe it was still uploading or something.

I don't use twrp, so I'm flashing cf-autoroot from Odin only.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ianmacd:
That's suspicious. The name will be the same, but the file size almost certainly won't be.

If you inspect the contents of the ZIP file, are they timestamped yesterday, 19th May? If they're earlier, then you are definitely using the previous version and need to download the latest.

Here's an inspection of the correct file:

$ unzip -l CF-Auto-Root-hero2lte-hero2ltexx-smg935f.zip
Archive: CF-Auto-Root-hero2lte-hero2ltexx-smg935f.zip
Length Date Time Name
--------- ---------- ----- ----
709 05-19-2016 15:17 Odin3.ini
2276352 05-19-2016 15:17 Odin3-v3.10.6.exe
87900239 05-19-2016 15:17 CF-Auto-Root-hero2lte-hero2ltexx-smg935f.tar.md5
159744 05-19-2016 15:17 tmax.dll
102400 05-19-2016 15:17 zlib.dll
--------- -------
90439444 5 files

If you see earlier dates, refresh the CF Auto Root page and redownload CF-Auto-Root-hero2lte-hero2ltexx-smg935f.zip.

Another possibility is that you do have the correct ZIP file, and are correctly unpacking it, but subsequently pointing Odin at a directory extracted from a previous CF Auto Root ZIP file.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] selami023:
hi guys, is it possible to root the s7 edge with the newest firmware without wipe?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] iammrred:
how can i unroot the phone ?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] --Yo--:
thanks, I'll check again this weekend to be sure.

Maybe I have the right file but it just doesn't work since I already received the "ninja patch". Hope not, twrp doesn't work for me in G935FD
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ianmacd:
The new version undoes the "ninja patch", so that's definitely not the issue here.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] bsm123:
So I'm going to try flashing 2.74 to see if I can get back my root without having to flash anything else. For those apps that check rooted devices, is there an option in SuperSU that I can use to prevent them from checking root if I get my root back?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] lowrider82:
Help, i fixed the root issue by flashing my rom's boot img through odin, and then flashing cf autoroot through odin and the latest supersu from twrp. Root works now but the phone on each restart forgets my wifi network/password... How can I fix?

I also keep getting a "security notice:un authority actions have been detected... "

In the notifications... What's going on?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Provinomico:
That's weird, I'm not getting that notification, did you disabled the "security policy updates"? Maybe if you haven't the phone detects there's something out of order, hence the notice.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] lowrider82:
I have it disabled :(
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] schuppus:
ianmacd, i would agree with you using SmartSwitch, but i found several posts claiming, that SmartSwitch would erase internal data. On Odin there is just more documentation :)

(Sorry, if offtopic)

Updated Firmware for S7 Edge with Odin without loosing data

.

Download current firmware with SamFirm

http://xdaforums.com/galaxy-tab-s/general/tool-samfirm-samsung-firmware-t2988647

Remember, to set a startup PIN in security Settings !

In Odin, use all 4 files in their right slots, don't check "Phone Bootloader Update". For CSC Slot, use HOME_CSC.

If using Odin 3.10.x, HOME_CSC must be modified, otherwise Odin hangs. So better use Odin 3.11.1. (I used both methods ;)

But before you do it, for heavens sake, read:

http://xdaforums.com/s7-edge/how-to/official-stock-firmware-update-odin-t3335065

and

http://xdaforums.com/s7-edge/help/firmware-homecsc-odin-3-10-7-t3344562

Firmware update ran through smoothly, i checked all my version number with PhoneInfo and settings, everything fine. All my internal data was preserved.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Provinomico:
Might be a knox related notice, if you have Titanium Backup -highly recommended app, I've been using it for years- try freezing/uninstalling this package - com.samsung.android.securitylogagent - and see if the notice goes away. One of the things I was planning to do was after I had finished configuring the phone to my liking, was debloating it little by little, including uninstalling the whole knox suite, once you are rooted you can't take advantage of its features anyway, so if you give this a try, might as well do the same with all the knox packages.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] schuppus:
After updating the firmware, i also could restore root again !

I downloaded the current cf-auto-root. It must have been updated again.

The files of the current version are from 20.5.2016, yesterdays version had files from 19.5.2016.

But the boot process is changed now. After unlocking with my pattern, now appears an open padlock with a turning ring around. Then a green screen with the message "starting android". This did not occure before.

Does anyone know what that means ?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] lowrider82:
You are the man. That did it. Anything else you suggest I remove to further de bloat?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Provinomico:
During the first boot after applying CF-autoroot there's a process that says something along those lines, "optimizing android / upgrading android", on a green background with some graphics -I don't remember a padlock, but some turning gears instead-. Might vary depending on the firmware/operator branding. Whatever the case, it should only happen on the first boot. Does it show every time you reboot the phone?

There's a thread about debloating over the themes/apps/mods section - http://xdaforums.com/s7-edge/themes/samsung-galaxy-s7-s7-edge-bloat-list-t3359654 -, the list of packages listed there is pretty hefty, I'm going little by little, trying to understand the purpose of each one before doing anything. The thing is, the phone runs so smoothly I've only uninstalled a few things so far. I'm focusing on battery life optimization, whatever app that shows under battery usage stats, or with a higher-than-negligible wakelock count, I check for its purpose and decide if I need it running or not. For example, I just uninstalled "samsung push service" as it showed moderate battery consumption and I couldn't care less about notices from Samsung stuff. The battery on this phone is phenomenal, after a couple of weeks of tweaking, I'm getting 4 days of normal usage from a full charge whereas my also tweaked S4 (running KK w/Greenify) was giving me a little over a day. MM is miles ahead regarding power management options.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] lowrider82:
Thanks. I removed knox and samsung push service as well as the gear app.

Ot:Do you use xposed? Any good modules you'd recommend? If so please send through pm :)
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] snej81:
So now I am rooted for the first time, using latest version of CF-Autoroot and everything is working fine. No custom ROM or TWRP, just plain root. I had some minor ``issues´´ in the beginning though that I thought could be good to share with other (newbies).

Android Device Mananager stoped working - couldnt find my phone, neither on PC or via the app. The app also crashed everytime I tried to open it. Issue solved following THIS instruction (+ reinstall Android Device Manager app)

NOTE: Step 5 does not need to be done.

Google Play Books, Movies and Papers (Im not 100% sure of the english name) - crashed all the time after root, I had to inactivate these apps to prevent crash reports flooding me.

Some ``autosync´´ was turned off, for example Chrome and Google Location history. No big deal, just turned it on.

Now everything is working great, thanks a lot Chainfire for a root-tool that is super simple to use. For a beginner as me this is really awesome. Donation is on its way :good:
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] snej81:
Strange. After a couple of hours my device disappeared from the Android Device Manager again. I can try the ``clear data´´routine again but I guess it will just end up the same way. Anyone else have this problem after rooting?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ianmacd:
I haven't seen this issue before; nor the issue of the various Play apps crashing after rooting with CF Auto Root.

Are you sure that all you have done is root the phone? Have you started playing with alarms, wakelocks or anything like that?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] BQZ:
Did you try clean data and wipe cache after root?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] snej81:
Yes, Device Manager stopped working direct after rooting. I followed the instruction in the link I posted, Device Manager worked properly after that and my device was found again. But a couple of hours later I noticed my device had disappeared again, its now still completely gone.

Both issues started directly after reboot when installation of CF-autoroot finished. I did nothing else.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Provinomico:
Hey, I got the padlock with rotating ring animation after switching on "require pattern confirmation on start up", I guess you're using the option too. Uncheck it if it annoys you, I think it's worth having it activated though...
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] schuppus:
Thanks, that was it. It's no problem, now that i know. Will keep it activated.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] bsm123:
So just to confirm before i do it. I can try to flash the latest Cf autoroot over the old one after losing root to see if i get it back right? And even if I don't everything will still be the same? Just without root?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ianmacd:
Correct.

Note that having CF Auto Root successfully restore root on your device may depend on flashing it first with a stock boot.img.

Try CF Auto Root. If it fails, flash a stock boot image and try again.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] coldfire:
Hi, can you please indicate where can i get the stock boot.img?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Obsidian Octagon:
SamMobile.com will have the firmware and you have to extract the boot.img from it. See my following post in the SM-G930 CF Autoroot thread on what I did to restore root (including how to extract the boot.img) without using TWRP:

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

The root restore process should be the same for both the G930 and G935, as well as other affected phones.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] DoubleR:
Thanks [MENTION=286154]kittiyut[/MENTION]

Did the same and this also worked fine for me!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] coldfire:
Thanks!

---------- Post added at 05:43 PM ---------- Previous post was at 05:32 PM ----------

Hi, can you please share the Fevax's boot.tar.md5 file you used?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] kittiyut:
Fevax posted on page 45 of this thread. Scroll down to post #444.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] coldfire:
Thanks kittiyut! I got it :)
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Remix22:
downloaded the boot from post #444 and flashed it, then reflashed auto-root, it worked flawlessly, thanks everybody!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Galactus:
Just so you guys know, the spinning padlock symbol after you type in your pin is letting you know the phone is decrypting data so it can fully boot. If you turn off the pin requirement then this process happens automatically and you won't see it. Like has been mentioned though, it is well worth having on if your phone got stolen etc
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] bsm123:
So i reflashed my stock firmware and got iFlix to work again. What's weird is, that my banking app still pops up a message saying that my device is rooted. I mean it's just a popup and then after pressing OK, I can still use the app and it's fine. But I'm wondering why it still detects a root?

Also, I really want to re-root, but I want to be able to use my iFlix as well. If anyone knows if RootCloak or HidemyRoot will work for the s7 edge that would be really helpful.

Thanks
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Osama Abedin:
Since I'm getting my S7 Edge this weekend, I wanted to root ASAP.

I would also be updating to the latest update. I just wanted to know if the most recent will cause some problems. I have a lil experience (used CF's work for my Note 10.1 and S5).

Someone just drive me over the steps of rooting again plz.... I rooted 2 years ago!! So I dont remember a thing..

Thanks in advance!!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ianmacd:
It's already all been covered in the thread you've posted your question in. Start with the very first posting.

The latest firmware update won't cause you any problems.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] GunVein:
newbie here, i successfully rooted my s7e G935FD some days ago and now the root is gone (might caused by update right?)

ye i have read pages before and i'm still confused what to do again to get the root access, should i do the ODIN method with the files from the chainfire autoroot? i downloaded the latest version for G935FD but it's still modified on 19.5.2016 (someone said it should be 20.5.2016)

sooo what should i do now to get back the root access?

sorry for the noob question, just in case :D
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ianmacd:
That file is fine and will restore root, so long as your boot image back-up didn't somehow get discarded.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] GunVein:
i downloaded and install with ODIN method this file my phone still not rooted, it's the correct version (G935F)

is there something wrong?

sorry for the newbie question xD
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ianmacd:
That's the correct file. You did unzip it, right?

I don't think Odin will even allow you to choose a ZIP file, but I'm asking anyway.

Are there any errors displayed on the phone screen during flashing? Or in Odin, for that matter?

If all looks well, but it's still not working, you'll need to flash a stock boot.img and try again. Search this thread for the details.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] GunVein:
ya i successfully flashed it with odin, phone rebooted and still no root, ok i will figure it out thanks for replying
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] RP12:
I wish someone would respond to this I am curious
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] bsm123:
Yeah you either have to flash the boot.img or flash the stock firmware again. I guess flashing the stock firmware would be much easier.

---------- Post added at 03:12 PM ---------- Previous post was at 03:12 PM ----------

Flashing just auto root after you lost root wouldn't work. Didn't work for most of us.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] --Yo--:
Does anyone has the Boot.img for F935FD (dual sim)?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] bsm123:
I flashed my stock firmware over and I didn't lose any settings or anything. Maybe you could do that. Which country?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] --Yo--:
Bought it in UAE. I just finished dowloading the Stock firmware from Sammobile. When I unzip the file I get 5 files (AP, BL, CP, CSC and HOME CSC). Which one should I flash?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Obsidian Octagon:
See post 516 in this thread.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] --Yo--:
Thanks, just checked the post. Some follow up questions:

How do you extract a file from AP? Is there a special tool needed for that? I'm using WinRAR and it doesn't see the AP file as an archive.

Second, the process described involves installing TWRP which I'm not using, I'm guessing once I get the boot.img file I can just flash it through Odin in AP? Is this correct?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Obsidian Octagon:
You need 7zip to extract the boot.img from the AP file. And, you do not need TWRP to restore root. The somewhat simple process to restore root (after losing it with the Samsung security update) is here:

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

This process is for the G930F, but it should be the same for the G935F and other variants.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] --Yo--:
Sir, you're my hero! Root is finally back! Thanks a lot.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] SamsungInfo:
After root can backup EFS and Devicer Root Key ( DRK) by this apk

http://xdaforums.com/android/apps-games/app-phone-toolefs-imedrk-backup-restore-t3377377
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] GunVein:
still wondering how to get root access again after last week update that caused root access gone

i read that i need to flash boot.img but i searched in sammobile and the boot.img in my country isn't there :(
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] cm2003:
I've been promt with a new security patch yesterday. Did anyone install it and can confirmed whether or not the update removed root again?

Thanks André

Gesendet von meinem SM-G935F mit Tapatalk
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] hanne1989:
Hey folks got somethings strange over here... i flashed the boot.img from post #444 and then i flash the autoroot and supersu and twrp. After i flash the autoroot file it says the same error as with the securty update when we lost the root. But when i checked with root checker it said youre rooted. So thats a strange so when i hit recovery i still see the red error on top of the samsung boot just before trwp recovery boots. Then i another thing i can't clean cache and dalvik because invald urgament (mount). But i now the big cracker i just flashed kingsrom... (dirty flash) because i can wipe data,cache, dalvik, system.... So i hope you guys can help me out with this...

Ps: Have someone uploaded the stock firmware to another website then sammobile? Because sammobile is so danm slow....
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] subheet:
https://is.gd/dDi3tK

This samsung firmware works great! faster and convenient. :cool:
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Enc0der:
Hi,

I downloaded the latest files and flashed it successfully:

But after about 1-2 minutes (with no "reboot a few times") it just booted again into Android, WITHOUT root.. KNOX is tripped to 1, though.

I even tried it again (this screenshot is from the second attempt) but still no root.

Am I missing something?

thanks

p.s.

I have OEM Unlock enabled, of course.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ianmacd:
I have to ask, since you don't say, but how did you verify that you have no root?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Enc0der:
1. By opening any random app that uses root permissions and seeing that it does not have it...

2. SuperSU wasn't even installed..

Anyway, I was managed to fix this by re-flashing my original ROM, and then flashing the CF-Auto-Root file again. Now it's working fine, and I'll disable any automatic updates...
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Misterjunky:
re: updates

If your phone is rooted you will not get any updates even if you don't disable automatic updates.

Go to settings>about device and try doing a manual update, it will tell you that the phone's

operating system has been modified with unauthorized software........

Good luck,

Have a great day!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Enc0der:
oh, you are correct.

But then, how come a few days ago most (all?) of the people in this thread said that they lost their root because of an automatic security update?