Where did you get these "some apps" you installed from? Because that message about the build being for development purposes only is something you see when a phone has been unlocked and/or system software modified, and if you had not seen that prior to installing them that might imply you downloaded some serious malware (especially if you are still on Android 5 - later versions are less vulnerable to malware that can escalate privileges and modify the system, but it was still possible with 5). To be clear, if you have seen this before then don't worry, that just means that at some point this phone has been unlocked or modified, but if it is new this is a source for concern.
How have you tried resetting? I'm going to guess it was from the system menu, so instead try booting into recovery mode and doing it from there. You can access recovery from the bootloader, which I assume you know how to access since your screenshot is from download mode. If your recovery is just a black screen (possibly with a red triangle) try pressing volume-up+power together to get the recovery menu. If your recovery is something else, tell us what, because that would suggest it has been modified. If you can't access recovery at all they suggests something has corrupted it.
But to be honest if you are unexpectedly seeing a message that implies a system mod then a reset isn't going to help - all a reset does is clear user data, it won't undo any system changes. For that you need a ROM Update Utility (RUU) to reflash the phone completely with a new set of official firmware. The thing is, to know which RUU we need we need to know your current software version and your cidnum (or else what country the phone was originally sold in and, if it was a network-branded phone, what network it was originally sold by. If it's currently being used on a different network or country that's irrelevant, it's the original that defines the "customer id number" or cidnum). You won't be able to flash an RUU that matches a different cidnum or contains older software, so we need to find a compatible one.