add some doc
This commit is contained in:
parent
287ddb0a34
commit
dc740dcf5c
1 changed files with 21 additions and 2 deletions
23
README.md
23
README.md
|
|
@ -1,4 +1,23 @@
|
|||
Test cfg
|
||||
# Test
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
cargo run --bin dump_cfg -- -a /home/histausse/workspace/scool/cs/maltoy/maltoy/build/wanna_play_a_game.apk -m 'Lcom/game/MainActivity;->startGame()V' | dot -Tpdf | zathura -
|
||||
python -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install 'theseus-autopatcher[grodd] @ git+ssh://git@gitlab.inria.fr/androidoftheseus/android-of-theseus.git#subdirectory=theseus_autopatcher/'
|
||||
```
|
||||
|
||||
## Run
|
||||
|
||||
```
|
||||
theseus-autopatch -a test_dynloading.apk -o patched.apk -k keystore.ks --keypass 'P@ssw0rd!'
|
||||
```
|
||||
|
||||
Note: `theseus-autopatch` embed a patcher binary that will only work on x86_64 linux computer, en even then, the binary is optimized for size instead of speed. You should probably build your own patcher binary for your own architecture and pass it to `theseus-autopatch` with `--patch`:
|
||||
|
||||
```
|
||||
cd patcher
|
||||
cargo build --release
|
||||
theseus-autopatch -a test_dynloading.apk -o patched.apk -k keystore.ks --keypass 'P@ssw0rd!' --patch target/release/patcher
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue