by David Diaz
Root version. Modded extended version of "🔒Protect & Recover Lost or Stolen Device". See flowchart. Provides some remote control over your device via text messages if it is lost or stolen. Text "device-lock" to your device to start the persistent device lock (device will lock anytime the screen is turned on preventing access to the user), "device-unlock" to stop the lock, "device-location" for gps location, "device-alarm" to play a sound for 60 seconds, "device-call" to force device to call you with the speakerphone on, "device-shutdown" to force device to shutdown, "device-speak" followed by text to speak in same message to force device to speak the text 3 times, or "device-help" to receive a text from your device listing these commands. One command can be sent per text. Commands are not case sensitive and confirmation texts will be sent in response if received. Flow should be running constantly in the background so these features can be used when you may need them. Check your sms limits per time interval in the automate settings for compatibilty with this flow.
Flow can be enabled/disabled with a widget if desired but the commands can only be controlled via a text (separate device with texting and possibly booting into safe mode are the only methods to stop the persistent screen lock once it has been triggered via a text so do not enable the lock from your own device). Custom icons for automate widgets are available at www.iconspedia.com assuming you are using an automate flow beginnings shortcut style widget and have a custom android launcher like GoLauncher or an app like Icon Changer from the app store that allows you to change shortcut icons.
The "sms received" object can be updated so commands can only be executed from texts sent by a specific phone number.
Optionally, if you would like the flow to send pictures of the user via email or mms when screen is turned on after lock has been enabled, connect the currently un-connected series of objects on the lower-left side of the flow to the empty "new" branch of the "fork" object nearby. Update the "take picture" object in this area of the flow, specifying your location to save pictures and make sure the folder exists (folder path is case sensitive). If emails are your preferred method, update "send gmail" object to include your "google account" and the destination email address in the "to" field. To receive this info via mms instead, replace the "send gmail" object with the "send mms" object nearby, it is already filled out to text info to the phone number that initiated the lock command, but keep in mind that "send mms" objects will not work on many devices and networks (if using the mms object be sure to check the mms limit in the automate settings). Texts and pictures will use network data. Test this section of the flow if you implement it using two devices that have texting capabilities.
* * * Created by Pete Glass * * *
Reviews and ratings can be submitted in the app.