This is a somewhat more unusual experiment: A little more than a week ago, the SPQR group of the University of Michigan has demonstrated, that it is possible to manipulate the readings of an accelerometer with sounds at the sensor’s resonance frequency (Original source). They called this the walnut attack and you can reproduce this with phyphox.
The phyphox version of this experiment generates a sine tone from the speaker and slowly sweeps it from 200 Hz to 20000 Hz while monitoring the data from the accelerometer. You can place your phone on a stable surface, start the experiment and wait for the result. If your accelerometer is susceptible to this type of manipulation, you will see resonances, like in this example from an iPhone 6s.
You can clearly see how the readings from the accelerometer deviate at certain frequencies although the phone is resting.
If your phone is not susceptible, you should barely see any deviations at all like in this example of an Nexus 5X.
If you want to try it yourself, just open the following link on a smartphone with phyphox. (If you came here without knowing about phyphox: It’s a free app for doing physics experiments with your phone, just go to the start page to learn about it.)
By the way: Don’t worry if your phone shows a resonance. So far, the worst attack based on this is manipulating the number of steps counted by your fitness-tracker…