How to invoke the super user request prompt from the commandline

113 Views Asked by At

I want to invoke the super user request prompt from the command line but could not do it. Here's the code

am start -a com.topjohnwu.magisk.request -n com.topjohnwu.magisk/.request.RequestActivity

Its giving the error as follows

Error type 3
Error: Activity class {com.topjohnwu.magisk/com.topjohnwu.magisk.request.RequestActivity} does not exist.

Please help me. Any help is apperiatated & thanks in advance.

I wanted to invoke the super user request prompt from the command line but could not do it.

And got the error as follows

Error type 3
Error: Activity class {com.topjohnwu.magisk/com.topjohnwu.magisk.request.RequestActivity} does not exist.
1

There are 1 best solutions below

1
Duck On

Try just using 'su' I hope it helps