Compare commits

...

4 commits

Author SHA1 Message Date
Bjoern Kerler
20c7a50b17
Merge pull request #1251 from bignaux/nixshell
Some checks are pending
Python application / Test (push) Waiting to run
add a nix shell script for nix users
2024-10-20 18:10:28 +02:00
Bjoern Kerler
161ac0f664
Merge pull request #1261 from emmanuel-ferdman/main
Update multiple commands example
2024-10-20 18:08:58 +02:00
Emmanuel Ferdman
dcc431022a
Update multiple commands example
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-10-19 23:17:05 -07:00
Bignaux Ronan
b59f65f94e add a nix shell script for nix users 2024-10-11 12:25:39 +02:00
2 changed files with 28 additions and 2 deletions

View file

@ -202,13 +202,13 @@ python mtk.py --stock
### Run multiple commands
```bash
python mtk.py script run.example
python mtk.py script examples/run.example
```
or
```
python mtk.py multi "cmd1;cmd2"
```
See the file "[run.example](https://github.com/bkerler/mtkclient/blob/main/run.example)" on how to structure the script file
See the file "[run.example](https://github.com/bkerler/mtkclient/blob/main/examples/run.example)" on how to structure the script file
### Root the phone (Tested with android 9 - 12)

26
shell.nix Normal file
View file

@ -0,0 +1,26 @@
with import <nixpkgs> { };
mkShell {
name = "mtkclient";
buildInputs = with python3Packages; [
capstone
colorama
flake8
fusepy
keystone
keystone-engine
mock
pycryptodome
pycryptodomex
pyserial
pyside6
pyusb
setuptools
shiboken6
unicorn
wheel
];
}