move amandroid mode to top level