You can get access to the root user account that exists on Android so you can then have access to all commands and all files on the system. That is what is referred to as having root access on the Android operating system.
Here is how to root Samsung Galaxy S6 Edge SM-G925R4 handsets running on Android 6.0.1 Marshmallow by flashing the CF-Auto-Root tool by Chainfire:
- You need a computer that runs on a version of the Windows operating system to follow this guide.
- You need the Samsung Galaxy S6 Edge device that is given the SM-G925R4 model number to use this guide.
BEFORE WE BEGIN
- Install the Samsung USB Drivers  on the computer.
- Turn on the USB Debugging Mode  on the Samsung Galaxy S6 Edge SM-G925R4 smartphone so you get to make the necessary changes to the Android software.
- Understand that the MMB29K.G925R4TYU3CPB4 firmware build number is the one that Chainfire had running on his Samsung Galaxy S6 Edge SM-G925R4 smartphone when he came up with the version of the rooting tool that is available in this guide.
HOW TO ROOT SAMSUNG GALAXY S6 EDGE SM-G925R4 RUNNING ANDROID 6.0.1 MARSHMALLOW WITH CF-AUTO-ROOT
- Download the CF-Auto-Root  tool for the Samsung Galaxy S6 Edge SM-G925R4 smartphone running on Android 6.0.1 Marshmallow.
- Open the default folder that contains your downloaded files and extract the rooting tool to that same folder.
- Run the Odin flashing tool that is available to you now in that same folder.
- Boot the Samsung Galaxy S6 Edge SM-G925R4 handset into its Download Mode  that it has available and then connect it to the computer with the USB cable.
- Check that Odin shows an added message from the app and gives out a color from its ID: COM port so you can see that the Samsung USB Drivers are working.
- Click on the AP button from Odin and browse through to the default downloads location on the computer where you extracted the file earlier and click on the rooting MD5 file to that it uploads to the Odin.
- Do not make any changes to Odin’s default settings which are shown on the Odin Options tab.
- Click on the Start button, and the rooting of the Galaxy S6 Edge begins; read everything that is rolling down the display of the phone now, so you understand what is happening.
- Check that Odin shows a green pass message once you can see it state that the phone is going to reboot in ten seconds from its display.
In conclusion, that is all you need to have root on the Samsung Galaxy S6 Edge SM-G925R4 device when it is running on the Android 6.0.1 Marshmallow software updates by flashing the right version of Chainfire’s one-click rooting program that he named CF-Auto-Root. The rooting tool has just used Odin to get the SuperSU installed and enabled on the smartphone. It did have to install a modified cache and recovery temporarily to help get that done but none of that exists on your device anymore. The only difference is you now have the SuperSU app.