Install Drivers
Install the Galaxy Ace 4 Drivers by visiting this link.(Don’t Worry the guide is for Samsung Galaxy J5/J7 but works with Galaxy Ace 4 too) Step 3: Reboot to Download mode and Flash Kernel
Extract the downloaded Root file and you will get a two file Step 1 and Step 2.
Extract Odin and run it as Administrator.
Make sure that Re-Partition is Unchecked in Odin.
Select the previously extracted Step1.md5 file in PDA / AP area depending on Odin version you are using.
Turn off phone and press home + volume down + power key together to put phone in download mode.
Press Volume Up key to confirm booting to Download Mode.
Connect phone to PC and it should be listed as COMX with blue field.
Now press start to begin flashing.
If Odin doesn’t detect your phone try connecting phone again in different port or using original cable.
After Step 1 file is flashed reboot again in download mode by pressing home + volume down + power key.
Select Step2.tar file in PDA / AP field and start flashing.
After successfully flashing phone unplug the phone and press the power key for 2 seconds to reboot phone.
Congratulation now you have proper root access on Samsung Galaxy Ace 4.
Verify Root Access
To verify root access by installing the Root Check from Play Store.