Is there a way to disable recovery mode so it won't be possible to factory reset your phone?
Basically what I am trying to do, is that it should be impossible to factory reset the phone as there is no recovery partition.
(Example format the recovery partition, or hide the option of factory reset on the recovery menu, build a custom recovery etc.)
P.S.. I was thinking of maybe removing a system app (example package installer) and making it a user app, and therefore when you factory reset the phone it won't start cause the system app is missing, but when I tried that, the phone wouldn't start even without resetting it, as the system needs the system app to start, ( I thought that maybe even though I removed the app from being a system app, the phone would still start as it's still there as a user app, and only after resetting the phone - that the user apps get deleted, the phone won't start as it's missing the app).
Thanks in advance