Closed Arinerron closed 7 years ago
I had this problem too.
The error occurs because the run-as command is not changed, and the reason for this is that you've pushed the wrong architecture to your device.
The normal command you type is:
make root
but to push another architecture you use:
make root-arm7
or
make root-arm8
When the overwrite is succesful the response from run-as should be:
running as uid 2000
uid 0
hope this helped
Thanks. That make target doesn't exist though...
Edit: Ah, nevermind. I hadn't pulled the latest commits yet.
@rubikscraft Now I'm getting an unknown command error, no matter if I use the target root
, root-arm7
, or root-arm8
. If I access the file in /system/bin/
directly, it says permission denied. That must mean it is built for the wrong architecture still, even though I tried all three. I have an LG Nexus 5x.
@Arinerron the 5X is vulnerable. You arm64
@timwr make root-arm64
? No such make target exists.
Edit: Nevermind, just make root
like usual. Works, thanks!
No matter what package I use, whether existent or not, always prints the above error message. I've tried
run-as id
,run-as ls -1Z /sbin/
,run-as run-as
,run-as dfbkdfvksfdigertgf
, and more. All the same error message.etc. I'd love if someone could help. Thanks!