Download project zip Or access each file in the project
I only know samsung connection failed bug available on Samsung Galaxy Core Prime SM-G361h.
Then i going to guess how to fix it.
First you need open dial pad on phone.
Type that:
*#9900#
Now you have gone SysDump feature .
Check under that :
Debug Level .find it? Now click it. Now press debug level to Mid .
Now will be reboot your phone.
Success!!