Those Android phones are loaded with their manufacturer's Chinese IME, not a completely open-source one.
CJK languages need language-specific AI conversion engines for any kind of typing. Which OSS versions exist for Japanese, I don't know for Chineses(CN/HK/TW - IIUC they're slightly divergent beyond fonts).