Can’t use iCloud 2FA without iPhone [closed]

So I recently switched from iPhone to Samsung and I have
some things on my iCloud account. Every time I want to
sign in in a new device, iCloud asks me to use the 2FA
thing. Because I now have an Samsung, I can’t sign in.
Hence, I’ll have to sign in with the device while bringing my
iPhone every time I want to sign in. Any ideas?