Let F be a totally real field of even degree in which p splits completely. Let r : GF → GSp 4 (Fp) be a modular Galois representation unramified at all finite places away from p and upper-triangular, maximally nonsplit, and of parallel weight at places dividing p. Fix a place w dividing p. Assuming certain genericity conditions and Taylor-Wiles assumptions, we prove that the GSp 4 (Fw)-action on the corresponding Hecke-isotypic part of the space of mod p automorphic forms on a compact mod center form of GSp 4 with infinite level at w determines r|G Fw .