Notes to self, about this phone, which I doesn't seem to succeed unlocking the boot loader so far

TWRP recovery

I managed to install TWRP esily and successfully into the phone with the instructions TWRP provide in their website
https://twrp.me/xiaomi/xiaomiredminote8.html

Fastboot Install Method (No Root Required):

Install required software in your computer

You will need the platform-tools from the Android SDK on your computer. Download the platform-tools as per your operating system. For linux (debian based - ubuntu 22.04 here by the time of this writing), you can install them all with:

sudo apt install adb fastboot android-sdk-platform-tools

enabled USB Debugging in your phone

On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings.
Press back and go into Additional settings > Developer Options and enable USB debugging.

From your computer, open a command prompt and type:

sudo adb reboot bootloader


You should now be in fastboot mode.

Download the correct image file for this phone model, for instance from:
https://eu.dl.twrp.me/ginkgo/

In this case:


Copy the file into the same folder as your platform-tools. Rename the image to twrp.img and type:

sudo fastboot flash recovery twrp.img # Before running the next command, see the note below (hold the volume up key in your phone while pressing enter in your pc terminal to reboot from fastboot in the next command) sudo fastboot reboot

Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.

About PBRP

[+]

CrDroid OS

https://crdroid.net/ginkgo/10 (supported in 2024)

crDroid for Redmi Note 8/8T

  • OEM Redmi
  • Codename ginkgo
  • Maintainer Simone Esposito
  • Nickname DarkJoker360
  • Version 10.2
  • Android 14
  • Build date 2024-02-09
  • ZIP size 1.1 GB
  • Build type Monthly

First time installation (clean flash)

Adapted to the menus of TWRP recovery:

  • Boot to recovery (switch off phone; then hold volume up and press power button to switch it on)
  • In TWRP, swipe to allow making thanges to the phone
  • Go to TWRP > Wipe > Format data
    • confirm typing yes as requested on the phone
  • Choose apply update and Apply from ADB
  • Go to TWRP > Advanced > ADB Sideload
    • Select:
      • Wipe Dalvik Cache
      • Wipe Cache
    • Swipe to Strat sideload
  • Now install crDroid zip via sideload from your computer
    • In your terminal, from the folder where you have the crdroid.zip file, run:

    adb sideload crdroid.zip
  • Go back to main menu and reboot to recovery to install gapps (if you don't want gapps, reboot to system)
  • To install gapps, simply sideload gapps.zip the same way you installed crDroid.zip then reboot to system
  • Reboot your phone to system




Older instructions:
https://crdroid.net/ginkgo/9 (unsuppoted in 2024)
https://crdroid.net/ginkgo/8 (unsuppoted in 2024)

Backups with SeedVault



Related

https://en.miui.com/unlock/download_en.html
https://github.com/francescotescari/XiaoMiToolV2/pull/88
https://github.com/Nik-Kot/XiaoMiToolV2/releases/tag/dev
https://github.com/Canny1913/miunlock
https://forum.xda-developers.com/t/guide-an-updated-guide-about-unlocking-your-redmi-note-8-bootloader.4071031/
https://forum.xda-developers.com/t/closed-unlock-bootloader-xiaomi-redmi-note-8-ginkgo.4551425/