[英]Android app root permission?
I want to use "su" in my app but here is some problem我想在我的应用程序中使用“su”,但这里有一些问题
Code:代码:
String command[]={"su","-c","ls /data/data/package.name/databases"};
My phone not root, but My APP need root permission.我的手机没有root,但我的APP需要root权限。 Problem is : Is my phone need root?
问题是:我的手机需要root吗?
Is this possible?这可能吗? Not root phone and APP get root permission?
不是root手机和APP获得root权限?
By the way, my English is not very good, please forgive me...顺便说一句,我的英文不是很好,请原谅我...
Simple answer:简单回答:
It is not possible.这不可能。
Why:为什么:
The user executing your application has not root-rights.执行您的应用程序的用户没有 root 权限。 Any way to gain root access would violate the user concept and besides that be a huge security issue.
任何获得 root 访问权限的方法都将违反用户概念,而且这是一个巨大的安全问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.