From a3d30abf2fd22174077edce7067329acf94333dc Mon Sep 17 00:00:00 2001 From: onryo Date: Mon, 6 Dec 2021 19:35:19 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0dd3760..dfc84a7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ More than a hundred devices are supported by LineageOS including old ones, you don't need to buy a g00gle's Pixel phone to then degoogle it. 😲 -I've been using S3 ([i9300](https://wiki.lineageos.org/devices/i9300)) with the release date as May 2012 along with lineageos for almost 10 years. This guide is for HTC One ([M8](https://wiki.lineageos.org/devices/m8)) though, but the process is nearly the same for your model as well. Both devices are still one of the most popular used models according to [stats.lineageos](https://stats.lineageos.org), m8's release date is March 2014, check if your phone is supported [here](https://wiki.lineageos.org/devices), check "Show discontinued devices" if you're okay to run the outdated version. +I've been using S3 ([i9300](https://wiki.lineageos.org/devices/i9300)) with the release date as May 2012 along with lineageos for almost 10 years. This guide is for HTC One ([M8](https://wiki.lineageos.org/devices/m8)) though, but the process is _nearly_ the same for your model as well. Both devices are still one of the most popular used models according to [stats.lineageos](https://stats.lineageos.org), m8's release date is March 2014, check if your phone is supported [here](https://wiki.lineageos.org/devices), check "Show discontinued devices" if you're okay to run the outdated version. The [wiki](https://wiki.lineageos.org/devices/m8) page is more than enough but it's better to have everything in one place rather than following a lot of external links. @@ -20,4 +20,34 @@ sha256sum lineage-17.1-20211203-nightly-m8-signed.zip wget https://mirrorbits.lineageos.org/full/m8/20211203/lineage-17.1-20211203-nightly-m8-signed.zip?sha256 cat lineage-17.1-20211203-nightly-m8-signed.zip\?sha256 -``` \ No newline at end of file +``` + +# Get unlock bootloader token for HTC devices + +__Only for HTC devices! You might want to skip this section!__ 😰 + +- Go to [htcdev.com/bootloader](https://www.htcdev.com/bootloader), choose your device or select "All Other Supported Models" +- Register on their website, download and `unzip fastboot-linux.zip`. +- Power off the device, then press `Volume Down` + `Power`. +- Get your token with `sudo chmod +x fastboot` and then `fastboot oem get_identifier_token` +- Remove all `(bootloader) ` strings, with the the space after `(bootloader)`. It should look like this: +``` +<<<< Identifier Token Start >>>> +... +85A67172B8004AACF1585CC87C724F17 +624915F26A53E4C1C023ACA2E186B28B +2983FB1F050F19CBA419F60B14EE2FC5 +C8BDD07B189D49109D33BF486A152C73 +... +... +... +<<<<< Identifier Token End >>>>> +``` +- Paste your token on [htcdev.com/bootloader/unlock-instructions/page-2](https://www.htcdev.com/bootloader/unlock-instructions/page-2) +- You will get `Unlock_code.bin` via e-mail. +- Run `fastboot flash unlocktoken Unlock_code.bin` +- On your phone select "Yes", and you finally unlocked the bootloader. + +# Download a custom recovery + +Download a custom recovery with [TWRP.me](https://dl.twrp.me/m8), replace `m8` with your model, for me it's `dl.twrp.me/m8`. \ No newline at end of file