Due to the important role of hulls of linear codes in coding theory, the problem about constructing arbitrary dimension hull linear codes has become a hot issue. In this paper, we generalize conclusions in [41] and [42] and prove that the self-orthogonal codes of length n can construct linear codes of length n + 2i and n + 2i + 1 with arbitrary-dimensional hulls under the special Hermitian inner product and the general e-Galois inner product for any integers i ≥ 0. Then four new classes of Hermitian self-orthogonal GRS or extend GRS codes are constructed via two known multiplicative coset decompositions of F q 2 . The codes we constructed can be used to obtain new arbitrary dimension Galois hull linear codes by Theorems 11 and 12 in [21] and finally we get many new EAQECCs whose code lengths can take n + 2i and n + 2i + 1.