[XDA Assist] galaara98:
I would like to 'commission' an app (that might be a java app from the playstore, or code installed via recovery)

The app I am looking for would need su privilege, or other ways to automatically shutdown / reboot phone

I submitted this forms post a while ago and got absolutely no responses... So I think I put it in the wrong spot, or asked the questions wrong

-------------

I have searched for a particular application on the Interwebbies and across XDA and have not been able to find what I'm looking for.

I have searched across XDA for the right forum to "petition" for the creation of an app that meets my needs and found no obvious "appropriate" thread. (In both cases the failure could be my searching skills)

So I have chosen this thread as my best guess for where to plea for help. (And accept wholeheartedly if my post needs to be moved)

I am looking for an android app to solve the following need, within the following constraints, etc.

1) a primary, required, function of the app is to shutdown/power off (or reboot) the device if a human does not interact with the app within a preconfigured time period.

1a) the minimum definition of interact is

1aa) a human who intends to re-arm the timer must be physically within the maximum distance of at least one onboard sensor or radio of the device. (I am constraining the need to be ”not triggerable from a remote sensor”, however I do not deny that may be valuable)

--and--

1ab) said human must cause a onboard sensor to "register their presence" (or send a "signal" or trigger to one of the devices radios) in a way that would be generally accepted by the programming community as unlikely to be accidentally triggered. (To avoid re-arming without valid interaction)

2) a secondary, optional, function of the app is to obscure its primary purpose

2a) for instance have innocent other functions (like a text editor), or be integrated in a way that this app is just part of list of functions (like integrated into the settings app)

3) the app can be an "Android App" (Like: a java based APK). Or an "Android Extension/Tweak" (Like: a java, C, or shell based alteration of Android OS)

3a) if it is possible without root, it would make the app more "reusable" for other's need. If not a Xposed module is a valid solution (to gain root without this app needing to specifically acquire it)

4) if a setting and configuration function is not supplied to the user, then the expected interaction is to "cause pre-explained process to come to the foreground" and the expected timer is 24 hours from boot but reset the timer to 24 hours from the most recent time a correct and successful "interaction" occurs.

---

The underlying purpose of the app is to help one maintain security, confidentiality, etc. of a device that is fully encrypted. The goal is, if the human who caused the device to be encrypted: does not check in, the device would revert to its pre-passphrase state

Aaron

Reply or PM me for clarifications.

PS there is no bounty for this app at this time. But I am not oppose to compensating, but I have a pizza level budget

PPS I have 15+ years in the IT field with emphasises on security and encryption. But my programing skills are generally MS windows based (and generally in forensic, automation, and Windows administration tasks) though I can read and give feedback, bug reports, etc. for almost any language.