From c637274530e4135c0f6532575fbfac2445b0540e Mon Sep 17 00:00:00 2001 From: onryo Date: Wed, 8 Dec 2021 16:28:50 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e417ee4..8dbe16b 100644 --- a/README.md +++ b/README.md @@ -49,9 +49,13 @@ C8BDD07B189D49109D33BF486A152C73 - Run `fastboot flash unlocktoken Unlock_code.bin` - On your phone select "Yes", and you finally unlocked the bootloader. -# Install LineageOS +# Before installing LineageOS +- Install `fastboot` and `adb` with `sudo apt install fastboot adb -y` - Download a custom recovery with [TWRP.me](https://dl.twrp.me/m8), replace `m8` with your model, for example for me it's `dl.twrp.me/m8`. + +# Install LineageOS + - Run `adb reboot bootloader`, once the device is in fastboot mode run ```fastboot flash recovery .img``` - Power off your device, hold `Volume Down` + `Power`, select "RECOVERY". - Tap `Wipe`, then `Format Data`.