docs: minor layout fixes
Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
parent
88bf4cea06
commit
f27ac69356
1 changed files with 24 additions and 14 deletions
38
README.md
38
README.md
|
|
@ -1,29 +1,37 @@
|
|||
# Recovering Xperia XZ2/XZ3 (and maybe other TAMA) from hard-brick state
|
||||
|
||||
Applies for all XZ2/XZ3 variant (DoCoMo please use specific files)
|
||||
Applies for all XZ2/XZ3 variant (DoCoMo please use specific `DoCoMo` files)
|
||||
|
||||
Written by : @cuynu (feel free to correct me)
|
||||
|
||||
Tool credit : [j4nn](https://xdaforums.com/m/j4nn.4418980/), [trustedfirmware](https://xdaforums.com/m/trustedfirmware.13291828/) (XDA)
|
||||
|
||||
Original repositories
|
||||
|
||||
Original repositories :
|
||||
```
|
||||
Katana : https://github.com/Daniel224455/katana
|
||||
|
||||
SDM845 Payloads : https://github.com/Daniel224455/sdm845-payloads
|
||||
|
||||
EDLClient : https://github.com/bkerler/edl
|
||||
```
|
||||
|
||||
## Requirements
|
||||
|
||||
- A PC running Linux, (Windows may still work but more complex and is not supported)
|
||||
- Bkerler EDL tool installed, Python installed with `pip`
|
||||
- Katana & SDM845 Payload & Firehose
|
||||
- Unbrick (or rescue-only) package (get below)
|
||||
- Unbrick (or rescue-only) package (get below)
|
||||
--------------------------------
|
||||
- Meaning : [Unbrick package = Full unbrick package with ROM] | [Rescue-only package = Unbrick package without ROM]
|
||||
--------------------------------
|
||||
- Unbrick package for XZ2 Dual SIM (H8266/H8296/H8276) : [Download](https://cuynutt.ddns.net/files/XZ2_Unbrick/XZ2_H8266_52.1.A.3.137_Unbrick_EDL.zip)
|
||||
- Unbrick package for XZ2 Single SIM (H8216/702SO/SOV37) : [Download](https://cuynutt.ddns.net/files/XZ2_Unbrick/XZ2_H8216_52.1.A.3.49_Unbrick_EDL.zip)
|
||||
- Rescue-only package for XZ2 (Single/Dual) : [Download](https://git.disroot.org/cuynu/xz2_unbrick/releases/download/rescue-only/XZ2_Unbrick_EDL_RescueOnly.zip)- Rescue-only package for XZ2 (DoCoMo) : [Download](https://git.disroot.org/cuynu/xz2_unbrick/releases/download/rescue-only/XZ2_DoCoMo_Unbrick_EDL_RescueOnly.zip)
|
||||
- Rescue-only package for XZ3 (Single/Dual) : [Download](https://git.disroot.org/cuynu/xz2_unbrick/releases/download/rescue-only/XZ3_Unbrick_EDL_RescueOnly.zip)
|
||||
- Rescue-only package for XZ3 (DoCoMo) : [Download](https://git.disroot.org/cuynu/tama_unbrick/releases/download/rescue-only/XZ3_DoCoMo_Unbrick_EDL_RescueOnly.zip)
|
||||
--------------------------------
|
||||
- Rescue-only package for Xperia XZ2 (Single/Dual) : [Download](https://git.disroot.org/cuynu/xz2_unbrick/releases/download/rescue-only/XZ2_Unbrick_EDL_RescueOnly.zip)
|
||||
- Rescue-only package for Xperia XZ2 (DoCoMo) : [Download](https://git.disroot.org/cuynu/xz2_unbrick/releases/download/rescue-only/XZ2_DoCoMo_Unbrick_EDL_RescueOnly.zip)
|
||||
--------------------------------
|
||||
- Rescue-only package for Xperia XZ3 (Single/Dual) : [Download](https://git.disroot.org/cuynu/xz2_unbrick/releases/download/rescue-only/XZ3_Unbrick_EDL_RescueOnly.zip)
|
||||
- Rescue-only package for Xperia XZ3 (DoCoMo) : [Download](https://git.disroot.org/cuynu/tama_unbrick/releases/download/rescue-only/XZ3_DoCoMo_Unbrick_EDL_RescueOnly.zip)
|
||||
|
||||
## Notice
|
||||
|
||||
|
|
@ -77,29 +85,31 @@ Install EDLClient tool by bkerler / Dependencies
|
|||
# Debian/Ubuntu/Mint/etc
|
||||
sudo apt install adb fastboot python3-dev python3-pip liblzma-dev git
|
||||
sudo apt purge modemmanager
|
||||
|
||||
# Fedora/CentOS/etc
|
||||
sudo dnf install adb fastboot python3-devel python3-pip xz-devel git
|
||||
|
||||
# Arch/Manjaro/etc
|
||||
sudo pacman -S android-tools python python-pip git xz
|
||||
sudo pacman -R modemmanager
|
||||
|
||||
# Gentoo (run as root!)
|
||||
emerge -aq dev-util/android-tools dev-vcs/git dev-python/pip
|
||||
|
||||
# For systemd distros
|
||||
|
||||
sudo systemctl stop ModemManager
|
||||
sudo systemctl disable ModemManager
|
||||
# For OpenRC distros (run as root!)
|
||||
rc-update del modemmanager default boot sysinit
|
||||
rc-service modemmanager stop
|
||||
|
||||
# Install EDLClient tool
|
||||
|
||||
git clone https://github.com/bkerler/edl.git # do NOT use --recurse-submodules
|
||||
cd edl
|
||||
git submodule update --init --recursive
|
||||
|
||||
# Manual install
|
||||
chmod +x ./install-linux-edl-drivers.sh
|
||||
bash ./install-linux-edl-drivers.sh
|
||||
pip3 install . --break-system-packages
|
||||
pip install . --break-system-packages
|
||||
```
|
||||
|
||||
If you have problem with installing EDLClient tool (pylzma failed to build/install), do this
|
||||
|
|
@ -113,11 +123,11 @@ cd pylzma
|
|||
python setup.py build
|
||||
sudo python setup.py install
|
||||
```
|
||||
Then try `cd .. && pip 3 install . --break-system-packages` to install again.
|
||||
Then try `cd .. && pip install . --break-system-packages` to install again.
|
||||
|
||||
-------------------------------------------
|
||||
|
||||
Clone and prepare BootROM exploit tool
|
||||
Clone and prepare BootROM exploit tool (this is my fork with changes to work with specific Sony TAMA VID/PID, as it is `0fce:ade5`, and providing pre-built binaries)
|
||||
```
|
||||
git clone https://git.disroot.org/cuynu/fhcoyote_sdm845.git
|
||||
git clone https://git.disroot.org/cuynu/katana-fork.git
|
||||
|
|
|
|||
Loading…
Reference in a new issue