Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom commands #1

Closed
beSpit opened this issue Aug 31, 2021 · 2 comments
Closed

Custom commands #1

beSpit opened this issue Aug 31, 2021 · 2 comments

Comments

@beSpit
Copy link

beSpit commented Aug 31, 2021

My boot.img didn't become rooted after patching with Magisk (seemingly because it uses a rare SAR).

May I suggest an option that the app just dumps the boot.img to the accessible internal storage, so I can manually patch it.

Maybe making a commnad to run an external bash script would be best, as this allows custom dumping/writing partitions etc.

Many thanks,
B. Spitz

@vvb2060 vvb2060 closed this as completed Aug 31, 2021
@yunasc
Copy link

yunasc commented Jul 4, 2022

I would add to this, that just giving some shell/terminal would be also nice.
Would help us with polygraphene/DirtyPipe-Android#3

@vvb2060
Copy link
Owner

vvb2060 commented Jul 4, 2022

void cmd(String... cmds) {
shell.newJob().add(cmds).to(console).submit(out -> {
if (!out.isSuccess()) {
console.add(Arrays.toString(cmds) + getString(R.string.exec_failed));
}
});
}

This is an open source project, you can do whatever you want, like start sshd. Why are you seeking my technical support?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants