Skip to content
Snippets Groups Projects
Commit e9024dd7 authored by Dinolek's avatar Dinolek
Browse files

Add Windows instruction

parent 5d9544f8
No related branches found
No related tags found
No related merge requests found
# Bypass utility
Small utility to disable bootrom protection(sla and daa)
## Usage
To use this you need [FireISO](https://github.com/amonet-kamakiri/fireiso/releases) or other linux with [this patch](https://github.com/amonet-kamakiri/kamakiri/blob/master/kernel.patch)
## Usage on Windows
Skip steps 1-5 after first usage
1. Run this as root
You should get "Protection disabled" at the end
1. Install [python](https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/libusb-win32-devel-filter-1.2.6.0.exe/download)(select "Add Python X.X to PATH")
2. Install [libusb-win32](https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/libusb-win32-devel-filter-1.2.6.0.exe/download)
3. Lunch filter wizard, click next
4. Connect powered off phone with volume+ button, you should see new serial device in the list. Select it and click install
5. Install pyusb, pyserial, json5 with command:
```
pip install pyusb pyserial json5
```
6. Run this command and connect your powered off phone with volume+ button, you should get "Protection disabled" at the end
```
python main.py -c <config file> -p <payload file>
```
7. After that, without disconnecting phone, run SP Flash Tool
## Usage on Linux
Skip steps 1-2 after first usage
To use this you need [FireISO](https://github.com/amonet-kamakiri/fireiso/releases) or [this patch](https://github.com/amonet-kamakiri/kamakiri/blob/master/kernel.patch) for your kernel
1. Install python
2. Install pyusb, pyserial, json5 as root with command:
```
pip install pyusb pyserial json5
```
3. Run this command as root and connect your powered off phone with volume+ button, you should get "Protection disabled" at the end
```
./main.py -c <config file> -p <payload file>
```
2. After that, without disconnecting phone, run SP Flash Tool in UART Connection mode
4. After that, without disconnecting phone, run SP Flash Tool in UART Connection mode
## Credits
- [@chaosmaster](https://github.com/chaosmaster)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment