Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8155305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:38:00+00:00 2026-06-06T16:38:00+00:00

I am working on a rooted Android device. Is there a way to have

  • 0

I am working on a rooted Android device.
Is there a way to have linux commands executed as superuser without having to invoke

Runtime.getRuntime().exec("su")

every time? What bothers me is the Toast which appears every time saying that the app has been granted superuser permission. The first time I issue a su command a dialog appears and even if I select to remember the choice every time the command is executed I get the Toast.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T16:38:01+00:00Added an answer on June 6, 2026 at 4:38 pm

    Nope there is no way while using the default su binary as supplied. Both chainxx and chainfire’s SU apps have options to not have the popup but thats the users choice.

    Of course you could always compile your own su binary and use that, it is open source. This could leave to security concerns having a open su binary, users will probably not like this. If you do you will want to do something like how the other su binaries operate in where its checks to see if it your application doing the calling if not refuse operation. But again this is probably not something you should do.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working with JSF 2.0 (and Primefaces), is there a way to fire an ActionListener
I'm working on an app that actually works fine if the device is rooted,
I have a rooted Nexus One and when I issue the following commands on
I have been working with C# for many years, since beta. I am having
is there a way to expose the current working directory as perhaps the window
Without routing, HttpContext.Current.Session is there so I know that the StateServer is working. When
Working with Reporting Services 2008 r2. So here's my issue: We have 5 reports
So I am working on some homework and I have to complete a size
I'm having two files that I've to invoke from a java program: a batch
I recently rooted my Droid X and everything seems to be working perfectly. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.