Modified version of Lawrence D'Oliveiro's ti5x_android (ldo@geek-central.gen.nz)