Companion Event and Precursor of the X17 Flare on 28 October 2003