Well if it’s any consolation, my Bafang hub motor came with three different PAS sensors, of which none fit my bike’s FSA Vero’s splined press fit BB. Did however come with special M5 Allen button caps with hexes 1mm wider than normal so as to be able to apply the requisite torque. Otherwise, Torx are actually the preferred method of mounting disc rotors because their heads can take more torque than standard M5 with their tiny sockets.
Anyway PAS sensors simply make your bike street legal but otherwise don’t offer much advantage over throttle-only setups, which allow you to pedal along with the motor just as well.