A list of phones and repair solutions can be found here.
By unlocking the sm-a505u model, the function works. But Samsung produces a lot of firmware fixes, so success depends on the firmware version.