1

I'm an Android developer doing a project which requires rooting the device and doing some su task to fulfill the needs. The problem is that all the rooting software solutions that worked for me (iRoot, Kingoroot, Kingroot) have inadequate SuperUser app that brought TONS of additional malware stuff such as unintended lock screens, ads etc. Also, when my app does some su command the SuperUser app won't let it do it unless user accepts root permission in the dialog. I can't accept that - the app is running in kiosk mode on devices located in stores. I think there are two ways:

  1. Please provide some rooting programm which has normal SuperUser app that won't do shady stuff and ask for root permission all the time (at first launch it would be ok, or set in the settings).
  2. Or the rooting solution which won't install its own SuperUser app. I assume there are some decent SuperUser apps on the market that will allow my app do well.

The target devices run Android 4.4.2 version. Thanks in advance.

  • Let me ask this: you want your app to be able to call su and obtain root permissions without needing an user to act. Correct? – Death Mask Salesman Mar 17 '17 at 11:56
  • @DeathMaskSalesman yes – Roman Samoylenko Mar 17 '17 at 11:58
  • Are you able to flash a custom recovery on those devices? – Death Mask Salesman Mar 17 '17 at 11:59
  • @DeathMaskSalesman yes, initially the one who will be installing the device will flash it, install pure system image and root the device – Roman Samoylenko Mar 17 '17 at 12:01
  • Well, if you can flash TWRP, then you might create your own flashable ZIP based on this one made by ClockWorkMod, and flash it. In order to grant root permissions automatically (bad for security), you just need to place the su file inside /system/xbin, chown 0.2000 and chmod 755. Then, create a symlink to that file inside /system/bin, call it su and chown 0.2000, chmod 755. – Death Mask Salesman Mar 17 '17 at 12:14
0

The easiest way to do so is to Root your device with kingroot, then replace it with SuperSU.

Here is a detailed guide provided by MrW0lf : How to Remove/Replace Kingroot/KingUser with SuperSU

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.