GloDroid / glodroid_manifest

Android port that aims to bring both user- and developer-friendly experience in using AOSP with a set of single-board computers (SBC), phones and other devices.
471 stars 67 forks source link

Getting root access on Orange Pi #238

Closed amarz2195 closed 1 year ago

amarz2195 commented 1 year ago

How can I get a root access in Orange Pi using Android OS? I have added the permission for super user in android, and other things:

try { Process process = Runtime.getRuntime().exec("su"); // rest of the code } catch (IOException e) { e.printStackTrace(); }

After adding this, it still cannot access the root of Orange Pi. The access is still denied. Why?

amarz2195 commented 1 year ago

Have found the solution for this problem. With the help of an application