The farm screws are well designed for fastening metal sheets to wood, with drill tips, but they don't perform particularly well. Pre-drilling is always beneficial, but the drill tip on the screws is too large, as it is mainly intended for making holes in the metal sheets.
Use regular wood screws, pre-drilling 1 mm smaller than the core of the screw.
For example, if the screw is 6.3 mm across the threads and the core is 5 mm, drill 4 mm for optimal fastening. For harder woods like oak, drill to the same size as the core and lubricate the screws with grease.
It depends a bit on the weight and number of hinges, but a through bolt is optimal. Farmarskruv is definitely too weak. Better then with relatively long but rather weak franskskruvar.