I want to get the gpio pins on the mobile phone and the information of the gyro sensor, how can I do it?