Level and angle
The accelerometer in a phone is good to about half a degree once zeroed, and it varies by phone. A thick case, a camera bump or a warm sensor adds error. Zero it on a surface you trust, then flip it to check.
Ruler
The ruler is only as true as the scale behind it. Matched to your model it is usually within a millimetre or two over a card; guessed at 96 dpi it can be 10% out. Check with a bank card.
Sound
Phone microphones roll off bass, limit loud sound and apply their own processing, so readings differ by phone, often by several decibels and more above 100 dB. It is for comparing places, not for measuring compliance.
Compass
Magnetic north only, shifted by steel and magnets nearby. Good enough to orient a room, not to navigate.
When to use a proper instrument
For structural work, legal measurement, workplace noise or anything where a mistake costs money or safety, use a calibrated instrument. These tools are for quick, honest checks. Read more in Phone sensors and their limits.