-5

Can I develop the app which should never delete even after reset the mobile Or It should block to RESET the mobile. If any suggestion please help out. Thanks in advance.

  • 3
    Any installed app can be deleted so needs to be part of firmware/custom ROM which can survive reset. – Morrison Chang Oct 17 '15 at 18:59
  • 3
    It's like a bad software, a friend. Villainous software. – user2413972 Oct 17 '15 at 19:00
  • I am working for a company which requires me to restrict the app to be uninstalled even after reseting the phone to factory settings by employee. – Abubakar Saddique Oct 17 '15 at 19:04
  • 2
    There is no way to do this without installing it in the system partition, which requires either root privileges or embedding the app in the firmware/ROM. – Karakuri Oct 17 '15 at 19:06
  • Then how to embed our app to the firmware? – Abubakar Saddique Oct 17 '15 at 19:09
  • Can you please provide me some link to add my app to firmware ? – Abubakar Saddique Oct 17 '15 at 19:10
  • 1
    You can't simply add an app to the firmware of an existing device. You would have to make a custom build of the Android OS that includes your app, then force people to flash it over their current Android OS. Most people can't do this anyway because the firmware is locked by the manufacturer (and few people would know how or be willing to risk doing something so invasive). Furthermore, I would seriously reconsider my employment with a company that wants to install their app in the firmware of my phone so as to make it factory-reset-proof. – Karakuri Oct 17 '15 at 19:12

1 Answers1

1

The proper way to do this is to require employees to install an app that provides whatever certificates/credentials necessary to access company resources. This app would use the Device Administration APIs to restrict certain policies on the device. As long as the app is enabled as a Device Administrator in the settings of the device, the user can't manually uninstall it. (They can still factory-reset their phone, but in that case they will no longer have the app and so lose whatever certificates/credentials allowing access to company resources.)

Karakuri
  • 38,365
  • 12
  • 84
  • 104