When you buy a device that is running on any of the Android software versions, sadly, you are buying a device that isn’t letting you be in full control of that operating system by default. It makes you work a little bit for it which isn’t always a bad thing. Many things in life taste a little sweeter should you have to put in a certain amount of work to achieve them, and nothing is stopping you from viewing rooting Android in much the same way.
By putting in just a little bit of work, you can become the root user, and that puts you in control of the Samsung Galaxy A5 SM-A510M smartphone, so you properly own it.
- You need the Samsung Galaxy A5 that is given the SM-A510M model number to use this guide. The Samsung Galaxy A5 smartphone can come in many model numbers, and any of the others will get bricked if you follow this guide because the file in this guide is uniquely developed for the SM-A510M model.
- The computer that you plan on using the Odin flashing tool with needs to be running on the Windows operating system for it to work. It does not really matter which version of the Windows operating system it is running so long as it is Windows XP and above.
BEFORE WE BEGIN
- Chainfire who is the developer of the CF-Auto-Root tool found in this guide lets it be known that he was running the MMB29K.A510MUBU2BPH1 firmware build number when the version of the CF-Auto-Root tool found in this guide was developed. That does not suggest you need to be running on the same as him. In fact, you can run on any firmware because there might be many of them. You just need the same details that are given in the article title which say that it is for the SM-A510M model number and running on Android 6.0.1 Marshmallow. It could work for other Android versions too, but the chances are a lot less likely.
- You need to have the Samsung USB Drivers  installed on the computer that is running on the Windows operating system to use this guide. When you connect the Samsung Galaxy A5 smartphone to the computer the USB cable alone isn’t enough or create the connection. The drivers are what allows the phone to communicate with the Odin flashing tool and thus allow for the rooting to happen.
- Just check that the Developer Options menu on the Samsung Galaxy A5 smartphone is in fact unlocked  already and that the USB Debugging Mode is enabled  from within the Developer Options menu or else the Android software that is running on your phone will not allow for the necessary changes for the rooting to work.
HOW TO ROOT SAMSUNG GALAXY A5 SM-A510M RUNNING ON ANDROID 6.0.1 MARSHMALLOW UPDATES
- Download the CF-Auto-Root  tool for the Samsung Galaxy A5 SM-A510M smartphone running on the Android 6.0.1 Marshmallow software updates.
- Open the Downloads folder (or whatever the default folder is for your downloaded files if you have changed it) and then extract the rooting file to the Downloads folder.
- Run the Odin flashing application that is now available from the Downloads folder and the user interface of the flashing tool opens.
- Boot the Samsung Galaxy A5 SM-A510M smartphone into the Download Mode  and then connect it to the computer with the USB cable.
- Check that Odin is showing a blue or yellow ID: COM port which is there to let you know the Samsung USB Drivers that you installed earlier are working and allowing for the flashing tool to detect your device.
- Click on the AP button from the Odin user interface and then select the MD5 rooting file from the Downloads folder.
- Click on the Start button from Odin and then the rooting of your Samsung Galaxy A5 smartphone begins.
- Since this is the systemless root version of the rooting tool, it can take a few minutes to complete. Read the information that rolls down the display of the smartphone because it lets you know what is happening and what to expect.
- Wait for the green pass box to show up on the Odin user interface before disconnecting from the computer.
In conclusion, that is how to root Samsung Galaxy A5 SM-A510M smartphones running on Android 6.0.1 Marshmallow software updates by flashing the systemless root versions of the CF-Auto-Root tool that is developed by Chainfire.