There are a couple of ways people can root the Samsung Galaxy A5 smartphone. One way–and the most popular way for experienced Android users who also like a new recovery–is flashing the SuperSU file from the new recovery. Becoming the root user by flashing SuperSU from a custom recovery allows people to install new ROMs and kernels with the help from the same recovery that used to get root access to the internal system.
Another way people can root the Samsung Galaxy A6 smartphone–and a way for those who do not want anything to do with a custom recovery–even if it is a great one like TWRP Recovery–is to install Chainfire’s CF-Auto-Root tool using the Odin flashing application from a computer.
Chainfire’s CF-Auto-Root tool works by installing and enabling the SuperSU app after it has briefly installed a new recovery on the system to help get that done. Once SuperSU is loaded correctly, it then reflashes the stock recovery.
- You need to have a computer that is operating in the Microsoft Windows environment or else the Odin flashing application does not run on the computer.
- The developer of the CF-Auto-Root tool that we are using in this guide was running on the LRX22G.A500MUBU1BOK2 firmware build number when he created the rooting tool that is available for this tutorial. You do not need to be running that same firmware build number as him. All you need to make sure of is that you have the Samsung Galaxy A5 smartphone that comes with the SM-A500M model number, and it is running on the Android 5.0.2 Lollipop software version. Both of those details are available to be checked from the About Device menu.
BEFORE WE BEGIN
- Install the Samsung USB Drivers from our link or the official Samsung website  before you get started with the guide so that the Samsung Galaxy A5 smartphone can be detected by the flashing tool when you connect it to the computer.
- Unlock the Developer Options menu on the Samsung Galaxy A% smartphone so you can turn on the USB Debugging Mode by tapping on the Menu > Settings > About Device > Build Number at least seven times. When you eventually tap enough times on the build number it gives you a message on the display letting you know that you are using the device as a developer and that is when you know that you can find the Developer Options menu available from the settings.
- Enter the Developer Options menu on the Samsung Galaxy A5 smartphone now by tapping on the Menu > Settings > Developer Options and then check the box next to the USB Debugging Mode options so that it is enabled. Leave the Developer Options menu once that is done and the Android operating system remembers your preferences.
HOW TO ROOT SAMSUNG GALAXY A5 SM-A500M RUNNING ON ANDROID 5.0.2 LOLLIPOP
- Download the CF-Auto-Root tool for the Samsung Galaxy A5 SM-A500M smartphone when running on Android 5.0.2 Lollipop from here .
- Extract the rooting file to the desktop of the computer and you get the rooting file to flash and the Odin flashing tool to flash the rooting file.
- Boot the Samsung Galaxy A5 smartphone into the download mode  and then connect it to the computer with the USB cable that is usually used for charging the battery.
- Open the Odin flashing tool and check that you can see a blue or yellow color coming from the ID: COM port which is there to let you know the device is detected and the Samsung USB Drivers are working.
- Click the AP button from Odin and then browse through on the desktop and select the rooting file ending in the tar.md5 file extension.
- Click the Start button from the Odin and then wait until the rooting is complete before you unplug from the computer.
In conclusion, that is how to root Samsung Galaxy A5 SM-A500M smartphones running on the Android 5.0.2 Lollipop software updates using Chainfire’s more traditional version of the CF-Auto-Root tool. The version of CF-Auto-Root in this guide still requires modification of the system partition, and that means you need to flash the stock ROM or access the SuperSU app to unroot successfully.