feat(root): refactor root access#107
Conversation
step 1 restore outdated and buggy old root code
|
Currently running the debug build :). Can confirm that this works. Thanks :) |
|
Currently the "Run Script" feature does not work as the scripts ion ".stfolder" are likely not accessible due to permission issues. Would it be possible to fix this? |
pls look at util.runScriptSet and runShellCommandGetOutput(command, false).. if you set true you will get root exec of the scripts needs secure and proper implementation tbh for being accepted here and file permissions should be checked before |
|
@dbhavsar76 may i kindly ask if you like to have fun with this?? it is also ok for me if you dont take the challenge |
|
I'll see what i can do. No promises. Meanwhile, I have the drawer ready. |
|
Great to see the progress on this feature! I was thinking of giving this a test, using the test build artifacts. Is there any gotchas I should be aware or that you folks have already noticed?
|
Signed-off-by: Jonas <244199422+researchxxl@users.noreply.github.com>
step 1 restore outdated and buggy old root code
step 2 use a maintained libsuperuser dependency instead of the old unmaintained one