Android is a mobile operating system that has a great deal in common with Linux. Anyone with experience in Linux operating systems from desktop environments will know that the person who first sets up the computer is the sudoer. The sudoer is the person who can give sudo commands and when you do that it allows you to run other programs as the root user.

The idea that Linux has of giving the owner of the computer the chance to run the operating system as the root user is no different than what Windows does with the admin account. If you set up a computer that is running Windows for the first time, you also find it gives you the access to the administrator’s account.

Galaxy Grand Prime

The person who has this master control on the operating system is then able to do anything that they want. The person who has that master control is also able to give other accounts the same level of permissions or give other user accounts lesser permissions.

The way mobile operating systems that are popular today are set up is different. Apple owns its iOS and jailbreaking has become a bitter afterthought since Apple do not want people to be able to do it. The reason for Apple not wanting people to jailbreak is because Apple wants to trap you inside their ecosystem; an ecosystem that allows them to trap you into using their services. That is understandable in a corrupt kind of a way; we can all understand potentially being as corrupt ourselves if in a position of great wealth. However, the way Android works is a bit different. Apart from the new Google Pixel phone that was just released, Android was not ever owned by a manufacturer of the phone itself, and therefore Android did not have any reason to comply with what manufacturers would’ve wanted which is the same kind of lockdown tactic as Apple. Still, Android operating system comes locked also, but according to Android, they are locked for a different reason: security.

If you manage to install malware on a device that has root access—on a Linux desktop operating system or Android mobile operating system—then that malware can do more damage that if it did not have access to the root user account. For that one reason alone, Android claim to take away the root user account for people to use.

Details We Should Know

  • You need to know that there are two versions of the Samsung Galaxy Grand Prime SM-G530H smartphone that come with the same model number. One of them is currently running on the Android 4.4.4 KitKat software update, and the other one is currently running on the Android 5.0.2 Lollipop software update at the time of writing this guide. Do not flash the wrong file or else it bricks the device and you need to flash the right stock ROM on it that becomes available from the Sam Mobile website.
  • Chainfire had the LRX22G.G530HXCU1BPB1 firmware build number running on the Samsung Galaxy Grand Prime SM-G530H smartphone when he created the versions of the CF-Auto-root tool that is available in this guide. You do not need to be running on the same firmware build number that he was running; that is not the reason why he shows that information. You can use it as an indicator fi it ever becomes relevant for you to do that.
  • You can send messages to the developer of the rooting file by getting in touch from the CF-Auto-Root tool thread made over at the XDA-Developers website. There are times when the rooting files stop working because they need updating; you can quickly identify these issues by flashing the rooting file and noticing that the device does not boot after the flashing.
  • You need to have a computer that is running on a version of the Windows operating system if you are going to use the version of the rooting file that is available in this guide. If you try running the Odin flashing application on any other operating system, it will not run, and therefore you cannot flash the rooting file. Additionally, you should not use something like a virtual machine from another operating system because it does not usually work.

Files We Need

  • Download the CF-Auto-Root tool that you need for the Samsung Galaxy Grand Prime SM-G530H smartphone running on the Android 5.0.2 software update (latest available OTA)
  • Download the CF-Auto-Root file for the Samsung Galaxy Grand Prime SM-G530H smartphone that is running on the Android 4.4.4 software update (latest available OTA)
  • Download the Samsung USB Drivers for the Windows operating system that is running on the computer you are using for the flashing.

Rooting the Samsung Galaxy Grand Prime SM-G530H running on the Android 5.0.2 Lollipop software updates using the CF-Auto-Root tool

  1. Unlock the Developer Options menu for the Samsung Galaxy Grand Prime SM-G530H smartphone so that you can use the options that then become available to developers from the operating system.
  2. Enable the USB Debugging Mode on the Samsung Galaxy Grand Prime SM-G530H smartphone so that the Android operating system then allows you to make the changes that it needs for the rooting to work.
  3. Extract the rooting file to the Downloads folder that is available on the computer and then run the Odin flashing app that is available from the Downloads folder.
  4. Install the Samsung USB Drivers on the computer so that the Odin flashing application is then able to identify the smartphone that you are trying to connect to it.
  5. Boot the Samsung Galaxy Grand Prime SM-G530H smartphone into the Download Mode and then connect it to the computer with the USB cable.
  6. Check that Odin has a blue or yellow ID: COM port coming from the user interface and the added message showing in the Log, so you know that the smartphone is connected thanks to the Samsung USB Drivers working.
  7. Do not make any changes that you might be able to make from the default settings coming from the Odin user interface.
  8. Click on the AP button and then navigate to the Downloads folder where you extracted the flashable version of the rooting file and then click on the rooting file to upload it to the Odin.
  9. Click on the Start button and then wait for the rooting to complete.
  10. You can read the information that is now running down the display of the smartphone, so you know what is happening and what to expect, including how long it takes.
  11. Wait until you get the message that says the smartphone is going to reboot in ten seconds and then check that Odin shows a pass message coming from the user interface.

In conclusion, that is all you need to root the Samsung Galaxy Grand Prime SM-G530H smartphones running on the Android 4.4.4 KitKat or the Android 5.0.2 software updates depending on the version of the device that you own. The SuperSU applications are now installed on the smartphone, and there is nothing you need to do before it helps you run the root applications because the rooting tool has enabled it on the smartphone too. All you need to do is find out the names of the root applications that you would like to install because there is no easy way to find them from the Google Play Store.