You can remotely shutdown Android with SMS. This feature comes handy in many situations such as you forgot the phone at home and want no one to attend your calls.
After you extracted the files, you can see the remotepoweroff apk file within the extracted folder (/system/app). Transfer the apk file to the Android (if it is on the PC) and install it.
Alternatively, you can install the zip file directly in the custom recovery. Check this article to boot your Android phone into recovery mode. I assume that you’ve installed the app on your device. Let's get started.
Remotely Shutdown Android with SMS [Rooted Device Only]
- Open the app.
- The default code is null. Type "null" in the "Enter Current Code".
- Enter the new code as per your wish. Provide the code which is easily remembered by you and keep it as secret.
- Click on "Change Secret Code" button.
That’s it. From now on, when you send the secret code in the SMS to your Android handset, the phone will shut down.