Added variables for maioctl on android cpp, removed unusedvariable warnings from iOS