I did double-check the hard drive connector and I think it's firm enough.
The machine ran smoothly without a freeze for a whole day but no longer than that. The same old story on the next day.....
Now I have no doubt that the problem lie on the quality of the logic board, which Apple has...