There can be two causes:
Hardware failure. Unlikely, but a possibility.
Each device has multiple sub-models, and each sub-model has multiple romsROMs. You need to be sure you're installing the RomROM meant for your exact device model, even if you are re-installing a Stock Romstock ROM. If you do install a romROM not meant for your device, you often face issues like these.
The solution for this is to first confirm your exact device model:
- Boot into your device's bootloader and look up the device version/model.
- Open the download page of the RomROM you installed
- Download the version specific to your model
- Install the RomROM the usual way, but be sure to do a full wipe/clean of all partitions first from the Recoveryrecovery.