I can't hard reset or install any apps on my android device
There are some possible reason, You Can’t Install Apps on Your Android Phone

Your Android phone doesn’t have enough storage left
Your phone’s cache could be causing the problem
Your Android OS is too old and needs updating
A factory reset of your phone may fix the problem
You’re using a screen dimming app