Open sopmodz opened 7 years ago
Your phone's not a compiler, you need to compile the files in this repository not run them see the readme
elsa:/data/local/tmp $ run-as exec ./recowvery-applypatch boot run-as: Package 'exec' is unknown
that means dirtycow did not succeed on run-as
why would it not succeed?
Need some older ROM, the vulnerability was patched in like November 2016
Your phone's not a compiler, you need to compile the files in this repository not run them see the readme
Sorry for necro-bumping, but to someone who's got no real experience with this stuff, how do I compile them first? As for the no real experience part, I've googled this stuff for about an hour. Everything up to this point was painless.
Do you mean the building part? I'm not sure what "lunch your-device-eng" means, and the Windows Powershell doesn't recognize "make" as a valid command.
PS C:\adb> PS C:\adb> adb push dirtycow /data/local/tmp 228 KB/s (3663 bytes in 0.015s) PS C:\adb> PS C:\adb> adb push recowvery-applypatch /data/local/tmp 9 KB/s (9504 bytes in 1.000s) PS C:\adb> PS C:\adb> adb push recowvery-app_process64 /data/local/tmp 146 KB/s (2349 bytes in 0.015s) PS C:\adb> PS C:\adb> adb push recowvery-run-as /data/local/tmp 3 KB/s (3673 bytes in 1.000s) PS C:\adb> PS C:\adb> adb shell elsa:/ $ elsa:/ $ cd /data/local/tmp elsa:/data/local/tmp $ elsa:/data/local/tmp $ chmod 0777 * elsa:/data/local/tmp $ elsa:/data/local/tmp $ ./dirtycow /system/bin/applypatch recowvery-applypatch ./dirtycow[28]: struct: not found ./dirtycow[29]: unsigned: not found ./dirtycow[30]: unsigned: not found ./dirtycow[31]: unsigned: not found ./dirtycow[32]: size_t: not found ./dirtycow[33]: int: not found ./dirtycow[34]: syntax error: '}' unexpected 1|elsa:/data/local/tmp $