Hi I am wondering if using a brick phone/flip phone vs an android with grapheneOS/calyxOS is better for specifically being tracked by companies?

Purely on the fact that there is so little attack surface or any apps that can be used to track you and your location on a flip phone but there is the drawback of not having encrypted messaging. which is better and why?