Measure The Surroundings is a small tool that uses all available hardware I could find in my phone which is a Samsung Galaxy S4 and S8. If you try it on another brand, measurements greatly depends on how many sensors your phone has.