How to re-software Samsung Galaxy J2 SM-J200G/DD

My friend’s Samsung Galaxy J2 SM-J200G/DD has some kind of software issue that it won’t respond to touches and will have to be rebooted. So he reseted the phones using the stock recovery options. Now when it boots it asks for Google login like always and then again it gets stuck no response. He wants to get it re-softwared or change ROM. The phone is under warranty period but he can’t claim it because it was not bought from India.
Please help @Abhiram Shibu @Neeraj55#5 @Prasoon Mehra @Vams and all other i forgot to tag :slight_smile: .

Found a solution to this! I have shared it here> [Solved] - Bypass FRP in Samsung Galaxy J2 (J200G)