[-]
Who's Online
There are currently 1168 online users. [Complete List]
» 4 Member(s) | 1164 Guest(s)
AvatarAvatarAvatarAvatar

[-]
Latest Threads
Need ROM for Q223_MB_V41
Last Post: Golt
Yesterday 10:05
» Replies: 1
» Views: 148
Freedom of connections: dating for open ...
Last Post: Golt
2024-05-13 21:39
» Replies: 0
» Views: 46
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 189
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 157
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 9790
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 126
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 224
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13679
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4251
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 33740
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 148
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2124
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22301
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5448
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8871
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1408
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4825
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 2
» Views: 1323
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 206
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 5607
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 368
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4555
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12408





Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Question] Simplest SU possible
#1
Hi everyone!

I'm working on a pretty convoluted project and it needs to have a working su all the time. The device is a Posh Titan HD (SoC is MTK6592) and I used RootGenius which installs the KingUser su app.

What I need is to have su work all the time, in any situation, without any hassle. Currently, KingUser su asks for permission for new apps to use su. I also suspect that it "forgets" the given permissions after some time. Worst of all, even if the app has already been given su access ( by pressing "Always" when the dialog comes up ), when I launch shell commands that involve su, they NEED to have the app be in the foreground process (probably because it wants to show a toast but I'm not completely sure). Also, I don't like KingUser making a popup asking the user if they want to update the app.

So as I mentioned, the app I'm working on is pretty complex and not straightforward. It's a Kiosk-type app that tries to limit user interaction. We own the phones so we can even install a custom ROM on them if needed. What I would need is to have the su working anytime, without any hassle, without any user interaction. Just the possibility to execute anything and everything as root.

Do you have any idea what would be the best way to do this? Even a little help would be greatly appreciated.
Reply
#2
Hello Lucian, in the past I've successfully replaced KingUser with SuperSU by gaining root shell permissions with MTK Droid Tools, then going to the backup/root tab and rerooting there and selecting SuperSU as control app. This sometimes works and sometimes not, depending on the phone.

The other way to do it is by using a custom recovery and installing SU through recovery.
Lucian213 likes this post
Reply
#3
(2015-03-27, 00:26)modestMouse Wrote: Hello Lucian, in the past I've successfully replaced KingUser with SuperSU by gaining root shell permissions with MTK Droid Tools, then going to the backup/root tab and rerooting there and selecting SuperSU as control app. This sometimes works and sometimes not, depending on the phone.

The other way to do it is by using a custom recovery and installing SU through recovery.

Thanks for the idea. So you're saying that SuperSU grants su permissions without user interaction?
Reply
#4
It can work this way. Try uninstalling the SuperSU control app. Then run an app that requires root access to test.
You like this post
Reply
#5
There are a few things you could do here, some maybe you cannot, and some that are too much hassle for what you wish to accomplish.

Firstly, if you already have KingUser, then you have realized that SuperSU is probably what you want. The problem is that with some automatic root tools, I have noticed that KingUser installs itself as a system app. If this is the case, and you do not wish (or cannot) mess with a CWM recovery installation of the zip file for Super SU - then you must download and install SuperSU from the PlayStore. Once you have done this, run SuperSU. It will ask permission from KingUser for root access. Once you have supplanted KingerUser in this manner, and double checked with RootChecker after a reboot, KingUser can then be disabled permanently.

The best way has already been pointed out by Bacon_Puffs! Ideally, you will be able to install SuperSU from CWM and either remove or disable KingUser.

Either way, you are looking to use Super SU.

Once SuperSU is installed, it sounds like you are looking for a permanent no questions asked always answer "yes" root solution. This is dangerous, so all caveats apply, but if you must:

1. Open SuperSU

2. Click Settings tab

3. Make sure "Enable Superuser" is checked.

4. Uncheck "Re-authentication".

5. Touch "Default Access"

6. Select "Grant"

7. Check "Enable su during boot"

8. Check "Enable multi-user"

9. Uncheck "Tapjacking protection"

Again, be careful, always have a clean baseline backup, and do not ever use these settings on a device or network where sensitive information may exist now or in the future.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] XPRIZE’s $100-Million Carbon-Removal Contest Select...
Last Post: Scientific American
Today 01:18
» Replies: 0
» Views: 8
[Sci-Am] Where Does the Solar System End?
Last Post: Scientific American
Yesterday 11:40
» Replies: 0
» Views: 20
[Sci-Am] The Science of ‘3 Body Problem’: What’s Fact and Wh...
Last Post: Scientific American
2024-05-13 21:59
» Replies: 0
» Views: 16
[Sci-Am] The Famine Developing in Gaza Follows a Clear Patte...
Last Post: Scientific American
2024-05-13 08:23
» Replies: 0
» Views: 20
[Sci-Am] Is Sleeping on the Floor Good for Your Back?
Last Post: Scientific American
2024-05-12 17:41
» Replies: 0
» Views: 33
[Sci-Am] Here's What Universities Always Get Wrong about Stu...
Last Post: Scientific American
2024-05-12 03:26
» Replies: 0
» Views: 53
[Sci-Am] AI Is Helping Referee Games in Major Sports Leagues...
Last Post: Scientific American
2024-05-11 14:04
» Replies: 0
» Views: 66
[Sci-Am] Exercise Helps Your Brain as Much as Your Body
Last Post: Scientific American
2024-05-10 09:30
» Replies: 0
» Views: 63
[Harvard] Amazon butterfly evolved from hybrids
Last Post: Harvard
2024-05-10 09:30
» Replies: 0
» Views: 54
[Sci-Am] Nearsightedness Rates Are Soaring. Here’s Why
Last Post: Scientific American
2024-05-09 20:01
» Replies: 0
» Views: 36
[Harvard] Is AI friend or foe? Wrong question.
Last Post: Harvard
2024-05-09 20:01
» Replies: 0
» Views: 20
[Sci-Am] Do Insects Have an Inner Life? Animal Consciousness...
Last Post: dejanx
2024-05-09 19:24
» Replies: 1
» Views: 43
[Harvard] Climate alignment is no easy task
Last Post: Harvard
2024-05-09 06:10
» Replies: 0
» Views: 26
[Sci-Am] Energy Independence Is a Big Election Talking Point...
Last Post: Scientific American
2024-05-08 16:42
» Replies: 0
» Views: 49
[Sci-Am] Rat Neurons Repair Mouse Brains That Lack a Sense o...
Last Post: Scientific American
2024-05-08 02:49
» Replies: 0
» Views: 52
[Sci-Am] Corals Are Once Again Bleaching En Masse, but Their...
Last Post: Scientific American
2024-05-07 13:08
» Replies: 0
» Views: 46
[Sci-Am] People Keep Secrets Because They Overestimate Harsh...
Last Post: Scientific American
2024-05-06 23:09
» Replies: 0
» Views: 44
[Sci-Am] How Unhealthy Are Ultra-Processed Foods?
Last Post: Scientific American
2024-05-06 09:28
» Replies: 0
» Views: 46
[Sci-Am] Cicadas Are Basically Safe for You—And Your Dog—to ...
Last Post: Scientific American
2024-05-05 20:00
» Replies: 0
» Views: 39
[Sci-Am] The Threat of a Solar Superstorm Is Growing—And We’...
Last Post: Scientific American
2024-05-05 06:40
» Replies: 0
» Views: 41
[Sci-Am] New Pollution Regulations Could Largely Eliminate C...
Last Post: Scientific American
2024-05-04 16:11
» Replies: 0
» Views: 15
[Sci-Am] Extrovert or Introvert: Most People Are Actually Am...
Last Post: Scientific American
2024-05-04 02:50
» Replies: 0
» Views: 17
[Sci-Am] Lemon-Scented Marijuana Compound Reduces Weed’s ‘Pa...
Last Post: Scientific American
2024-05-03 13:20
» Replies: 0
» Views: 20
[Sci-Am] New Interactive Map Shows Where Extreme Heat Threat...
Last Post: macikus
2024-05-03 01:38
» Replies: 1
» Views: 54
[Sci-Am] How Ugandan Tobacco Farmers Inadvertently Spread Ba...
Last Post: Scientific American
2024-05-02 09:12
» Replies: 0
» Views: 30
[Sci-Am] Will the Amazon Rain Forest Help Save the Planet?
Last Post: Scientific American
2024-05-01 19:43
» Replies: 0
» Views: 36
[Sci-Am] The U.S. Spends a Fortune on Beach Sand That Storms...
Last Post: Scientific American
2024-05-01 06:15
» Replies: 0
» Views: 33
[Sci-Am] Could JWST Solve One of Cosmology's Greatest Myster...
Last Post: Scientific American
2024-04-30 03:14
» Replies: 0
» Views: 56
[Sci-Am] How to See the Lunar Far Side Right Here on Earth
Last Post: Scientific American
2024-04-29 13:40
» Replies: 0
» Views: 57
[Sci-Am] How Big a Threat Is Bird Flu?
Last Post: Scientific American
2024-04-29 00:05
» Replies: 0
» Views: 45
[Sci-Am] The Amazon's Record-Breaking Drought Is about More ...
Last Post: Tauma
2024-04-28 22:35
» Replies: 1
» Views: 51
[Sci-Am] FDA Recalls Heart Pumps Linked to Deaths and Injuri...
Last Post: Scientific American
2024-04-28 09:53
» Replies: 0
» Views: 26
[Sci-Am] Deadly African Heat Wave Would Not Have Been Possib...
Last Post: Scientific American
2024-04-27 20:10
» Replies: 0
» Views: 29
[Harvard] Getting ahead of dyslexia
Last Post: Harvard
2024-04-27 06:36
» Replies: 0
» Views: 38
[Sci-Am] Hollywood Should Give Brain Science a Star Turn
Last Post: Scientific American
2024-04-26 17:14
» Replies: 0
» Views: 45
[Sci-Am] Milky Way's 'Sleeping Giant' Black Hole Lurks Shock...
Last Post: Scientific American
2024-04-26 03:48
» Replies: 0
» Views: 57
[Harvard] Why AI fairness conversations must include disable...
Last Post: Harvard
2024-04-25 13:58
» Replies: 0
» Views: 68