My phone got this sensor firmware problem (I didn't knew it was firmware). So I installed lineage and discovered it did nothing for the issue (and add some because of my newbiness). For that reason I taught installing the original rom. First I tried one version (with this I discovered it was a firmware problem) since it was an issue of the new firmware and when I downgraded the phone (just one version) I taught maybe if I install the original version (the one that came with the phone) I would have a stable firmware downgrade. So I installed the 6.0 version.
Now the issue is that for some reason the USB data/file transfer capability was disabled and can't connect with the phone to re-rom it.
Apparently it also messed with the SD card since I cannot download content from my Google music or YouTube red account when the destination is set to external memory.
I did turn on debugging. And the option for file transfer on the developers menu.
So...what can I do?