Verizon mandates pre-installed spyware for all its Android customers

Does anybody offer a utility for phones which acts as a normal computer firewall? Facilitating the management of what processes can access what ports?

I would prefer a regular Linux distro for phones like Ubuntu or Debian which wasn’t deliberately compromised.