Android depends on who gave it to you. If you install Linux from a parking lot flash drive it doesn’t mean the Linux project is compromised, it means you got pwned.
I’d make the same argument about installing pre-compromised pirated windows but…windows kinda just is malware now.