Closed gtf35 closed 3 years ago
All my views are from the perspective of developing an Android application that requires root, using "su" is indeed painful.
The "su" binary itself is also "just an interface", this project is to replace this interface, not the real thing behinds it.
For the user, nothing will change. There is already an API, IRemoteProcess newProcess(String[] cmd, String[] env, String dir)
, which allows the app to create a "shell". It is easy for the terminal app to switch to the new way. For using "su" in ADB, simply copy the original "su" file to somewhere like /data/local/tmp
.
I feel that the description in the document is too extreme, but this situation does exist.
If only one command, so easy ๐
If I need more than one line of commands, it will be hard to use.๐
If there is a correlation between the two commands, emmm, kill me please....๐ข
SU is really not suitable for Android, he is very suitable for Linux.
But like you said:
For using "su" in ADB, simply copy the original "su" file to somewhere like /data/local/tmp.
You are right, maybe my dissatisfaction will only be missed ๐
It's not about the number of commands, many things are impossible with only commands. I noticed you have a project that uses app_process. Have you tried using system server APIs that involving binder? You should know it is impossible to use them with only commands.
So I don't think the document is extreme ๐.
You are right, many things canโt be done by commands, that is why I love this project so much.
When writing that project, I was inspired by this article to a large extent, but itโs a pity that I couldnโt finish it by binder at that time.
This is indeed the case, this project is great.
And the description of the document is appropriate.
Bye the way, when I see ใๅ่ถใ, I know the author is related to Rikka.
But unfortunately the link that says "ๅ่ถ" at the beginning of the article cannot be opened
Only Chinese can express my feelings: ็ๅฎ้ฃ็ฏๆ็ซ ๆๆปก่ๅญ้ฝๆฏ๏ผใๅ่ถ๏ผๅ่ถ๏ผๅ่ถ๏ผๅ่ถ...ใ๏ผๅคช้ญๆงไบใ ๆ่ฐข Rikka ้กน็ฎ็ๆฏไธชๆๅ๏ผๆไพไบ้ฃไนๅคๅฎ็จๅ้ป็งๆ็็นๅญๅ่ดก็ฎใ ๆ่ฐข Rikka ้กน็ฎ้ชไผดๆ่ตฐ่ฟๅ ฅ้จๅฐๆ็ใ๐
๐
Root itself is a concept in Linux, coincidentally, Android is running on Linux.
The purpose of this project seems to be to call system APIs in an efficient way.
It is not related to su, no need to replace it.
ใsuใ is very convenient in some simple scenarios, such as move or delete certain files, set permissions
By the way, this is a very interesting project, I love it. It can be of great help in complicated situations.๐