|
|
@ -8,8 +8,10 @@ The [wiki](https://wiki.lineageos.org/devices/m8) page is more than enough but i |
|
|
|
|
|
|
|
# Pre-Requirements |
|
|
|
|
|
|
|
Enable USB Debugging: Settings -> Developer options, click "Yes" and check if USB Debugging is marked.<br> |
|
|
|
You might need to enable OEM unlock: Setting -> About -> System -> More -> click on Build Number a few times. |
|
|
|
- Enable USB Debugging: Settings -> Developer options, click "Yes" and check if USB Debugging is marked.<br> |
|
|
|
- You might need to enable OEM unlock: Setting -> About -> System -> More -> click on Build Number a few times. |
|
|
|
- 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`. |
|
|
|
|
|
|
|
# Download the build file and its hash. |
|
|
|
|
|
|
@ -49,11 +51,6 @@ C8BDD07B189D49109D33BF486A152C73 |
|
|
|
- Run `fastboot flash unlocktoken Unlock_code.bin` |
|
|
|
- On your phone select "Yes", and you finally unlocked the bootloader. |
|
|
|
|
|
|
|
# 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 <recovery_filename>.img``` |
|
|
|