1. Download our Official Android App: Forums for Android!

Adding any app into device administrator

Discussion in 'Android Apps & Games' started by Jasmin74, Sep 10, 2017.

  1. Jasmin74

    Jasmin74 Member
    Thread Starter
    Rank:
     #442
    Points:
    26
    Posts:
    61
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    61
    2
    26
    Female
    System Analyst
    Lebanon
    How do I put any application into device administrator??

    is this possible?
     

    Advertisement

  2. El Presidente

    El Presidente Beware The Milky Pirate!
    Moderator
    Rank:
     #5
    Points:
    3,118
    Posts:
    32,120
    Joined:
    Jan 3, 2011

    Jan 3, 2011
    32,120
    24,096
    3,118
    Scotland
    For what reason? What are you looking to do and with what app?
     
  3. Jasmin74

    Jasmin74 Member
    Thread Starter
    Rank:
     #442
    Points:
    26
    Posts:
    61
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    61
    2
    26
    Female
    System Analyst
    Lebanon
    In order not to uninstall this application.
     
  4. srglassw

    srglassw Member
    Rank:
     #562
    Points:
    18
    Posts:
    52
    Joined:
    Dec 28, 2011

    Dec 28, 2011
    52
    18
    18
    Male
    British Columbia, Canada
    To manage Device Administrator capability of apps on your device go to Settings/Security/Device administrators. There you can turn on or off Device Administrator capability for apps that request that capability.

    If there are any apps that have hidden Device Administrator capability you can try using the "Hidden Device Admin Detector" app available from Google Play to find and manage them.
     
  5. Jasmin74

    Jasmin74 Member
    Thread Starter
    Rank:
     #442
    Points:
    26
    Posts:
    61
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    61
    2
    26
    Female
    System Analyst
    Lebanon
    If it s not there?
    A regular application :D
     
  6. Hadron

    Hadron  
    VIP Member
    Rank:
     #7
    Points:
    2,218
    Posts:
    22,826
    Joined:
    Aug 9, 2010

    Aug 9, 2010
    22,826
    16,244
    2,218
    Spacecorp Test Pilot
    Dimension Jumping
    If the app doesn't request it you can't grant it. You just have to remember not to delete it.

    (Actually I guess you are trying to prevent someone else deleting it, since accidentally deleting apps isn't a big problem for most people. Administrator status won't stop a factory reset from removing it.)
     
    Jasmin74 likes this.
  7. Jasmin74

    Jasmin74 Member
    Thread Starter
    Rank:
     #442
    Points:
    26
    Posts:
    61
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    61
    2
    26
    Female
    System Analyst
    Lebanon
    It's ok if on factory reset it was deleted, but I don't want anyone to delete it.
     
  8. Phalon4

    Phalon4 Android Enthusiast
    Rank:
    None
    Points:
    133
    Posts:
    527
    Joined:
    Apr 18, 2016

    Apr 18, 2016
    527
    192
    133
    ??
     
  9. Jasmin74

    Jasmin74 Member
    Thread Starter
    Rank:
     #442
    Points:
    26
    Posts:
    61
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    61
    2
    26
    Female
    System Analyst
    Lebanon
    Of course it will be deleted by factory reset.. My concern is when working normally on it, I don't want any user to delete it..
    I tried Applock & those stuff, not good.
     
  10. Hadron

    Hadron  
    VIP Member
    Rank:
     #7
    Points:
    2,218
    Posts:
    22,826
    Joined:
    Aug 9, 2010

    Aug 9, 2010
    22,826
    16,244
    2,218
    Spacecorp Test Pilot
    Dimension Jumping
    This isn't your solution, I'm afraid. Only apps that request device administrator rights can be granted them, so you can't just make any app an administrator.
     
  11. Jasmin74

    Jasmin74 Member
    Thread Starter
    Rank:
     #442
    Points:
    26
    Posts:
    61
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    61
    2
    26
    Female
    System Analyst
    Lebanon
    So do you suggest any other solution?
     
  12. Hadron

    Hadron  
    VIP Member
    Rank:
     #7
    Points:
    2,218
    Posts:
    22,826
    Joined:
    Aug 9, 2010

    Aug 9, 2010
    22,826
    16,244
    2,218
    Spacecorp Test Pilot
    Dimension Jumping
    That's tricky, and might depend on the device/software you are using.

    I almost suggested in that last post that using one of those app lock apps to lock the system settings app might do it: if the user can't access Settings > Applications it will be hard for them to delete an app. But then I tested on my phone and found that a long press on an app icon gave me the option to uninstall it. However, further testing shows that's true for Nova launcher (my default), but the device's built-in launcher does not offer that, so if I were using the default software the idea might work. You can still remove icons from the homescreen, but that doesn't delete the app (in general: if for example you are using a Xiaomi device with it's MIUI interface it might. It's been a long time since I played with MIUI). So locking the settings app might work, but you'll have to test on your device.

    However, it also depends on what you are trying to protect against. Accidentally removing an app from the screen is something a kid can easily do inadvertently, but in most cases that doesn't delete the app. A launcher that allows you to lock the desktop is also a good protection against that (Nova does this, but it's easy to unlock if you want to. I think the unlock option is harder to find on some others). Locking the settings app is really protecting against deliberate deletion, but in most cases it's hard to delete apps accidentally. However, it's also harder to protect against deliberate deletion (the device administrator thing would only slow someone down, since that can be deselected easily).

    I don't know whether using a guest account on the device would be helpful? I've never really used those so can't speak from experience, but the idea is that it would let you keep your data and setup separate from what they are able to use. It was originally a tablet-only feature, but has been available on phones in more recent Android versions.
     
  13. Jasmin74

    Jasmin74 Member
    Thread Starter
    Rank:
     #442
    Points:
    26
    Posts:
    61
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    61
    2
    26
    Female
    System Analyst
    Lebanon
    Thank you! I have just disabled the package installer in order to prevent the uninstallation of an app.
     
  14. Xavier Black

    Xavier Black Android Enthusiast
    Rank:
     #116
    Points:
    133
    Posts:
    588
    Joined:
    Sep 21, 2015

    Sep 21, 2015
    588
    209
    133
    Male
    If you still needing that, here you go..act cautiously..I recommend do a back up before you submerge in those waters..

    Or what do you think Hadron?
     

    Attached Files:

    #14 Xavier Black, Sep 19, 2017
    Last edited: Sep 19, 2017
  15. Jasmin74

    Jasmin74 Member
    Thread Starter
    Rank:
     #442
    Points:
    26
    Posts:
    61
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    61
    2
    26
    Female
    System Analyst
    Lebanon
    Thanks Xavier I ll try it today & give you my feedback.
     
  16. Xavier Black

    Xavier Black Android Enthusiast
    Rank:
     #116
    Points:
    133
    Posts:
    588
    Joined:
    Sep 21, 2015

    Sep 21, 2015
    588
    209
    133
    Male
    One thing about this app..you have to be rooted because it uses BusyBox(don't think you can use BusyBox being unrooted..maybe I'm wrong)..

    Then within the app, find your target app, hit the button twice..it will give you error messages twice as well..(don't mind that)..reboot your phone..bingo!!

    What's exactly the app you want convert any way..
     
  17. Jasmin74

    Jasmin74 Member
    Thread Starter
    Rank:
     #442
    Points:
    26
    Posts:
    61
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    61
    2
    26
    Female
    System Analyst
    Lebanon
    Well, though my device is rooted it keeps saying that it needs root.. And then shows nothing.
     
  18. Jasmin74

    Jasmin74 Member
    Thread Starter
    Rank:
     #442
    Points:
    26
    Posts:
    61
    Joined:
    Jan 9, 2013

    Jan 9, 2013
    61
    2
    26
    Female
    System Analyst
    Lebanon
    Sir, this app doesn't work..It keeps saying it needs root access thoug it's well rooted & it's been granted permission.
     
  19. Xavier Black

    Xavier Black Android Enthusiast
    Rank:
     #116
    Points:
    133
    Posts:
    588
    Joined:
    Sep 21, 2015

    Sep 21, 2015
    588
    209
    133
    Male
    Sometimes the root reverts by it self..the thing about this app..you can convert just a one single app with it..in my case I did convert the FX file manager..now the only option is to disable it..the "delete" one isn't an option any more..

    Like I said..without Busybox won't do a thing.
     

Share This Page

Loading...