Sui为根应用提供Java APIs,滴API。主要提供直接使用Android APIs的能力(几乎以Java作为root的身份,在root下启动app自己的AIDL风格的Java服务。这将使root应用程序开发变得更加容易。
另一个好处是Sui不在PATH中添加二进制文件,也不安装管理器app。这意味着我们不再需要花费大量时间与检测到它们的应用程序进行斗争。
需要说明的是,全面落实“root”远不止是“su”本身,还有很多艰苦的工作要做。Sui不是一个完整的根解决方案,它需要Magisk才能运行。
为什么“su”对app开发不友好
Sui provides Java APIs, Shizuku API, for root apps. It mainly provides the ability to use Android APIs directly (almost in Java as the identity of the root, and start app's own AIDL-style Java service under root. This will make root app development much more comfortable.
Another advantage is that Sui does not add binaries to PATH and does not install a manager app. This means we no longer need to spend a huge amount of time to fight with apps that detect them.
To be clear, the full implementation of "root" is far more than "su" itself, there is a lot of hard work to be done before. Sui is not a full root solution, it requires Magisk to run.
Why "su" is unfriendly for app development
更新日志:
4 commits to master since this release