It's a Z00LD. Now after some time the phone stopped rebooting and seems to work normally. Idk what the issue could've been but yeah, now the phone seems to work fine.
Edit: Also there seems to be something wrong with the lockscreen since sometimes it just plain refuses to swipe up, and when it...