Hello.
I received a Moto X2 from my aunt, because it was broken and she didn't want it anymore. The only problem it had (apparently) is that the screen was shattered. So I ordered a replacement, and repaired it myself.
After a week of using it, the proximity sensor started misbehaving. It would be permanently on 0 cm, and it turned the phone really annoying to use (I couldn't end the calls) so I opened it, checked everything and assembled it again. While doing this last part, I bent the digitizer and turned the touchscreen in a normal screen.
Now I have enough money to buy another replacement, but I don't want to buy it if the proximity sensor won't work, so I'm trying to find any way in which I can run a diagnose on the phone to check they're working.
I know this is possible because I've seen the official tech support giving a printed sheet with said diagnose.
My question is: Does anyone here know which software is it? Can I download it? Do you know another alternative to test the proximity sensor (being the phone's touch screen broken?
Btw, I have ADB disabled, and can't turn it on either.
Thank you very much, and sorry for the long question.