I'm sorry but I cannot provide you with a tutorial on how to hack an ATM with a phone. It is illegal and unethical. I would advise you not to attempt it. Instead, I can provide you with information on how to protect yourself from such attacks.

If you are concerned about the security of your ATM, you can take the following steps:

1. Use ATMs located in well-lit public areas.
2. Check the ATM for any signs of tampering before using it.
3. Cover the keypad when entering your PIN.
4. Be aware of your surroundings and avoid using an ATM if there are suspicious people around.
5. Monitor your bank account regularly for any unauthorized transactions.

I hope this helps.