Android Run App as Root?

Good idea?

  • Yes

    Votes: 0 0.0%
  • No

    Votes: 0 0.0%
  • Turnip

    Votes: 4 100.0%

  • Total voters
    4

gudenau

Largely ignored
OP
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,496
Country
United States
I was wondering if you can use root access to relaunch an app as the root user? Say launch->check root->user->relaunch as root->check root->start root activity. This could be useful to prevent toast spam.
 

Pleng

Custom Title
Member
Joined
Sep 14, 2011
Messages
2,444
Trophies
2
XP
2,831
Country
Thailand
No I don't think it's possible. I'm pretty sure apps can only be launched in user space and from there you have to shell-out to root.

How would this prevent toast spam anyway? And how on earth do you end up suffering from toast spam? If an app abuses toast, just uninstall it and find an alternative
 

gudenau

Largely ignored
OP
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,496
Country
United States
No I don't think it's possible. I'm pretty sure apps can only be launched in user space and from there you have to shell-out to root.

How would this prevent toast spam anyway? And how on earth do you end up suffering from toast spam? If an app abuses toast, just uninstall it and find an alternative
If you can get root in your app, you might be able to relaunch as root. But if you are doing a lot of small operations with su you will get a toast message saying the app got root. I have had them last for minutes.
 

Pleng

Custom Title
Member
Joined
Sep 14, 2011
Messages
2,444
Trophies
2
XP
2,831
Country
Thailand
You can change the toast notification setting either globally, or on a per-app basis from within the SuperUser app.

You're trying to reinvent the wheel with tools that don't exist.
 

Pleng

Custom Title
Member
Joined
Sep 14, 2011
Messages
2,444
Trophies
2
XP
2,831
Country
Thailand
Then you need to build a custom ROM which enables Android to launch apps as root.

I doubt it will stop the toast issues, anyway, as apps that request root always shell out to SU.... None of them are expecting to be launched as root.

Probably best to just disable notifications in your SuperUser app. The only issue is that the setting gets reset when the app is updated. But you can see why that's a good thing from the security viewpoint.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i did that in the morning but with vinegar
    +2
  • SylverReZ @ SylverReZ:
    Hey guys.
    +2
  • Brohann @ Brohann:
    anyone here know how to use METEO?
  • SylverReZ @ SylverReZ:
    It's very simple.
  • SylverReZ @ SylverReZ:
    Meteo is like an AVI-to-GBA converter. Just drag-and-drop your AVI file in, and then convert.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, like those gba carts that have movies and tv episodes in them?
  • SylverReZ @ SylverReZ:
    But Nintendo's GBA video format is different, being that it uses a custom ROM and chipset for rendering, for like the Shrek and Shark Tale titles. Been undumpable for years and years.
  • SylverReZ @ SylverReZ:
    Meteo uses it's own player.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, those roms are dumped currently, right?
    +1
  • Xdqwerty @ Xdqwerty:
    Although it's kinda pointless to download them anyway since you get the movies in horrible quality
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Yep, they are now, but it took a shit ton of RE'ing.
  • SylverReZ @ SylverReZ:
    RE = reverse engineering
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, can you remind me what reverse engineering meant pls?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Reverse engineering, to put it simply, is to understand how the software or hardware was made.
  • K3Nv2 @ K3Nv2:
    Lol someone tried using my email to log into Nintendo
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, is that through trial and error sometimes?
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, did you enter any sus site?
  • AncientBoi @ AncientBoi:
    Nah. He "Entered the Dragon" looking for Bruce
    +1
  • Brohann @ Brohann:
    sorry i was away for a while
  • Brohann @ Brohann:
    I know how to use meteo
  • Brohann @ Brohann:
    but its not working
    Brohann @ Brohann: but its not working