If your pay monthly plan for Android includes Inclusive Extras, then with any eligible plan purchased from 17 August 2022 you’ll be able to add Xbox Game Pass Ultimate as one of these. Unless you remove this, it will be available for the duration of your contract.
Alternatively, you can text Xbox to 150 to add Xbox Game Pass Ultimate to your phone or SIM plan.