porting memtester to Android