FonePaw Android Data Recovery can root most devices running Android 4.x. If the rooting fails, you can go to "Advanced Root" to follow the tips helping you root manually. The program will direct you to different apps to get your device rooted, which depends on your phone model.
For most Android phone:
For LG device only:
For Samsung device in particular: