Chosen Solution

Gyro Accelerometer Light Proximity .. i have a spare s6 motherboard that has a faulty power ic. Can I swap the sensor to the one I’m using? Where is the sensor located in motherboard.

The fingerprint sensor is on the home button itself, it has a cable coming from it that goes under the display and then plugs in the bottom right of the motherboard’s home button connector. If you have not inspected the inside of the phone yet, the problem may be caused by liquid damage / corrosion on the home button connector on the board and/or cable itself.