Ensure the device has at least 60% charge to prevent shutdowns during the process.
If you are still using this phone, a Custom ROM might be the only way to keep it usable. Sm-j110h Custom Rom
And that, in the world of custom ROMs, is a win. Ensure the device has at least 60% charge