A friend's Galaxy Grand Prime was infected by a virus, I tried factory reset, and surprisingly the virus appeared on screen once factory reset completed and the phone restarted:
I tried hard reset, but both secret code and key combination (HOME+VOLUME UP+POWER) not working.
The virus is really annoying, installing some apps like Hola and Biadu, and whenever I try to remove them, they are just there after restarting the phone.