Android is definitely better than iOS in that regard, but nothing beats running a fully freedom respecting OS like Ubuntu Touch for example.