This app was mentioned in 8 comments, with an average of 41.88 upvotes
it's the original X, so i think the 2013 - the one that hasn't gotten Lollipop because Motorola lied! :-(
i use: https://play.google.com/store/apps/details?id=kr.sira.metal
but they are all pretty similar.
Io quando dovevo fare dei buchi ho usato un'app del genere: https://play.google.com/store/apps/details?id=kr.sira.metal&hl=it Non so quanto sia affidabile ma usandolo su pareti in cui ero sicuro ci fossero tubature funzionava bene.
I have a metal detector in my LG G2, I mean in my smart phone. You can use such application to detect, at least, ~~metals~~ some metals.
There are apps that use your phone's magnetic field sensor as a metal detector, for example this one https://play.google.com/store/apps/details?id=kr.sira.metal
EDIT: Grammar
For future reference: https://play.google.com/store/apps/details?id=kr.sira.metal&hl=en
You're mostly welcome.
Buy a selfie stick. Install this app. And you're good to go.