[GUIDE] All about unlocking bootloader, TWRP and rooting Redmi Note 8/8T

Search This thread

zwawitotti10

Member
Apr 4, 2016
14
0
i can't unlock deivce bootloader for note 8 4/128 factory in china distinate europe and i see this message
please unlock 168 hours later and do not add your account in miui again
H8961eccbba5e490494a63f95d38d1b368.jpg
 

satria150

Member
May 5, 2016
28
1
So far i have tried many things, different versions of twrp, orangefox, nothing is able to root my phone with magisk. twrp always gets stuck in encryption, all files are randomly named. even if i flash magisk and reboot, it just flashes "Redmi" a few times then boots into fastboot, same goes for when i try it using orangefox. i cant even boot into system after flashing magisk so i had to flash the rom a bunch of times all while fearing i potentially bricked my phone. so many hours wasted only to end up with no root and having to restore all the data and setting up every app again. saw a method that requires patching boot.img but im too tired. at this point i have lost all hopes and i curse whatever coorp is behind securing devices like this, whether it is google or xiami, eat a dic
try again and u have to be calm.

i manage to revert back to android 9 miui 10.3.2.0.
install twrp
install orange fox r11,0_1
magist 21.4
i also use "disable dm verify force encrypt 11.02.2020"

just follow the step at the first page and you are good to go.

i have not plan to install custom rom until i find great custom rom without bugs
 

derjango

Senior Member
May 8, 2018
79
11
Hey guys, my redmi note 8 goes into fatboot but is not recognized by mi unlocking application on my pc? what might go wrong and how can I fix this?
best dj

edit:
I followed precisely the guide in post#1

edit2:
I got it, I had to u pdate my drivers manually
 
Last edited:
Take your installed rom, fastboot variant, extract it somewhere on your pc, flash System, boot and recovery images in fastboot. This should repair your OS.
Please study what are you about to do, look for tutorials don't just dive in something hoping it will work. It should be easy and not have headaches if something goes wrong. I've been there before...
Good luck.
 

g000n

Senior Member
Sep 4, 2015
380
122
This makes no sense:

"OPTIONAL STEPS (Not Recommended): Encryption is always recommended for better security. However if you don't want encryption in your device, follow these steps. Again, not recommended."

???
 

Uluru25

Senior Member
Nov 27, 2016
294
117
Samsung Galaxy S7
Samsung Galaxy A6
This makes no sense:

"OPTIONAL STEPS (Not Recommended): Encryption is always recommended for better security. However if you don't want encryption in your device, follow these steps. Again, not recommended."

???
Surely it makes sense: the OP does NOT recommend to disable forced encryption. But if you anyway want to do so, he tells you how.
 
  • Like
Reactions: sabei

OotineX

New member
Mar 2, 2019
4
0
Hello,
I want to unlock the bootloader as a step to put on a custom ROM on my 8T

I'm running the mi unlock application
I got the same error as this thread:
So I turned off device finder and now I get this error from Mi Unlocker:
  • Couldn't unlock
  • Please add your account in MIUI's Settings > developer options > Mi Unlock status
I have followed the instructions and have done this step, so am not sure what the problem could be.
I have rebooted, removed and readded Mi account
Does anyone have any suggestion on possible solutions?
I guess I need to factory reset next?
 

OotineX

New member
Mar 2, 2019
4
0
Did a factory reset, but still get same message about needing to add in account in MIUI settings
 

sabei

Senior Member
Jul 9, 2020
71
18
Hello,
I want to unlock the bootloader as a step to put on a custom ROM on my 8T

I'm running the mi unlock application
I got the same error as this thread:
So I turned off device finder and now I get this error from Mi Unlocker:
  • Couldn't unlock
  • Please add your account in MIUI's Settings > developer options > Mi Unlock status
I have followed the instructions and have done this step, so am not sure what the problem could be.
I have rebooted, removed and readded Mi account
Does anyone have any suggestion on possible solutions?
I guess I need to factory reset next?
I don't know if still the same but I used multiple web sites when I struggled to do mine 2 years ago. However this specific action seemed to do the trick along with the other instructions from this site -


After failing to unlock the bootloader a few times, I realized that Xiaomi requires “Find My Device” toggled and synced to the latest location for some reason.
best of luck.
 
  • Like
Reactions: OotineX

OotineX

New member
Mar 2, 2019
4
0
I don't know if still the same but I used multiple web sites when I struggled to do mine 2 years ago. However this specific action seemed to do the trick along with the other instructions from this site -



best of luck.

Thanks for the reply - I have just been reading the pages of this thread :)
Like you said, I saw the note here suggesting to turn on Find Mi.
I turned this on, but same result, and when I check my Mi account, the phone is not showing up in my devices for find device.

I saw this in google search, so think I may have to recreate the Mi account next.

EDIT - found out that find device works on the phone via Xiaomi Cloud > manage storage > view items in cloud > find device, but does not work via web browser on PC or phone. Went on Mi Live chat and they said they will raise a support ticket, so will wait and see what they come back with before trying to recreate the Mi account.
 
Last edited:

OotineX

New member
Mar 2, 2019
4
0
Thanks for the reply - I have just been reading the pages of this thread :)
Like you said, I saw the note here suggesting to turn on Find Mi.
I turned this on, but same result, and when I check my Mi account, the phone is not showing up in my devices for find device.

I saw this in google search, so think I may have to recreate the Mi account next.

EDIT - found out that find device works on the phone via Xiaomi Cloud > manage storage > view items in cloud > find device, but does not work via web browser on PC or phone. Went on Mi Live chat and they said they will raise a support ticket, so will wait and see what they come back with before trying to recreate the Mi account.

Just in case anyone has the same issue:
I somehow had 2 x Mi accounts created. Logging on the phone there was account #1 which synced okay.
Logging in the browser and unlock tool with my phone number as the user, this gave account #2 with no devices associated.
I noted the Mi account number for account #1 and logging into that, everything worked fine and can unlock the bootloader.
No idea how my phone number can have 2 Mi accounts associated with it...
 

Roger2022

New member
Aug 19, 2022
3
0
problema resolvido reformatando o cartão SD externo de vfat para ext4.

mas agora o cartão SD não pode ser lido durante a execução da ROM MIUI, apenas durante a recuperação.

Fiz uma cópia do backup no armazenamento interno e é invisível para o TWRP.

isso significa que se eu executasse a descriptografia eu teria resolvido todo esse problema?

Agora meu cartão SD só serve para guardar esse arquivo de backup.

NOVAMENTE, se eu descriptografar o sistema, poderei executar backups e salvar como faria em um telefone Samsung?

Obrigado por sua ajuda e paciência.
 

Roger2022

New member
Aug 19, 2022
3
0
Acho que não sou o profissional que pensei que era porque não entendi o que você disse.

Então, eu nunca tive que fazer isso antes, mas, se eu entrar em MOUNT +

verifique [✓] Sistema

desmarque [_] Partição do sistema somente leitura

Eu fiz isso e tentei um backup esta manhã
Mesmo resultado.

Ao contrário de incursões anteriores no TWRP com outros telefones, estou vendo uma solicitação de senha que pulo.
Poderia ser um problema com criptografia?

https://drive.google.com/file/d/1685boAbYWc58z_zuDPICECVhPyPjj-87/view?usp=drivesdk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 65
    Code:
    /*
     * Your warranty is now void.
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns.
     * YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */

    A guide to unlock bootloader, flash a custom recovery and root your Redmi Note 8/8T device :


    1. UNLOCKING BOOTLOADER :

    Backup your data first. Unlocking will erase your data.

    - Enable Developer Options in your phone by tapping the "MIUI Version" 7 times in About Phone.
    - Go to Settings > Additional Settings > Developer Options.
    - Enable OEM Unlocking, USB Debugging and USB Debugging (Security Settings) .
    - Also add account in Mi Unlock Status (Can be found in Developer Options).
    - Install the required ADB and Fastboot drivers in your PC from here.
    - Download Mi Unlock to PC from here, and sign in with your Mi Account.
    - Shut down your phone manually, and hold volume down key and power button to enter Fastboot mode.
    - Connect your phone to PC using USB cable and click "Unlock" in Mi Unlock Tool.
    - You will be given a specific time (168 hours usually).
    - Wait for the given time. Make sure to use your phone and don't log out of your mi account from the phone or reset your device.
    - Once waiting time is over, redo Unlock process.
    - Your phone will be unlocked successfully. :)

    2. FLASHING TWRP :

    - Install the required ADB and Fastboot drivers in your PC if not already in step 1. from here.
    - Download TWRP from here.
    - Put that TWRP in the ADB and Fastboot installed folder (mostly C:\Program Files (x86)\Minimal ADB and Fastboot).
    - Rename that recovery(TWRP file) to "recovery" for convenience (optional).
    - Click on Start Menu, type cmd
    - Right click and select Run as administrator
    - Then type:

    Code:
    cd C:\Program Files (x86)\Minimal ADB and Fastboot

    - Now Connect your phone to PC With USB Debugging on (keep phone on).
    - Type:

    Code:
    adb devices

    and accept the pop up on phone's screen.
    - Now reboot your phone to Fastboot mode either manually by shutting down phone and then holding volume down key and power button or by:

    Code:
    adb reboot bootloader

    - Once in Fastboot mode type:

    Code:
    fastboot devices

    - Your device ID will be visible on Screen.
    - Then type(hit ENTER after each line):

    Code:
    fastboot flash recovery recovery.img
    fastboot boot recovery.img

    - Now your phone will boot into TWRP.
    OPTIONAL STEPS (Not Recommended): Encryption is always recommended for better security. However if you don't want encryption in your device, follow these steps. Again, not recommended.
    - In TWRP go to Wipe and select Format Data(don't go to advanced). Type yes and format data. [This process will format all your data so make sure your data is backed up]
    - Go back to TWRP home and Reboot > Recovery.(Don't reboot system or else you will have to repeat whole process again).
    - Done :)

    3. ROOTING :

    - Download Magisk zip to PC from here.
    - Download Universal DM-Verity and ForceEncrypt disabler from here. (Only required if you followed optional steps.)
    - When in TWRP transfer the file(s) to phone and go to Install.
    - Here select Magisk zip file and swipe to flash.
    - Then select Universal DM-Verity and ForceEncrypt disabler zip and swipe to flash(Make sure to flash this at last or else phone won't boot). (Only required if you followed optional steps.)
    - Reboot system.
    - Done. Debloat. Enjoy :)

    Links
    1. Minimal ADB and Fastboot
    2. MI Unlock Tool
    3. TWRP
    4. Magisk
    5. Universal DM-Verity and ForceEncrypt Disabler (OPTIONAL)


    If this helped you then hit the Thanks Button. Good Luck. :)
    4
    Thanks for guide. Anyway, latest versions of Windows 10 don't have "Open command prompt here" option. Instead, they have PowerShell. I don't know how PowerShell will react with ADB, so, for these Windows 10 is better to:

    1. Click on Start Menu, type cmd
    2. Right click with mouse and choose "Run as administrator"
    3. Type these commands (hit ENTER after each line):
    4. cd\
    5. cd "program files (x86)
    6. cd "minimal adb and fastboot"

    Now the user is on right folder.

    --------------------------------

    A question: I'm on stock ROM and have a Google Apps account on my phone, and I'm currently using stock Second Space feature to handle it. As encryption is mandatory to use a Google Apps account, I can't use "disable encryption". Or will Second Space be encrypted even if "main account" isn't? There are any problems to use Magisk with encrypted phone?
    3
    Dear OP, thanks again for your very helpful guide! Since meanwhile something changed with magisk installation procedure (as far as I understood no longer recommended or even working by flashing from the recovery) I would be very glad if you could update this section (especially for use of A11 custom ROMs). Thanks in advance if you will find the time for doing so.
    Hi, thanks for the information. I'll look into it and update as needed. :)

    i got these error messages.
    after reboot twrp is still there, it is not replaced by the original recovery
    magisk is installed and root is ok
    factory reset not working (from settings or from twrp)

    miui 12.0.3

    can you help me understand what's wrong?
    Try this once :
    Twrp > mount > unmount(untick) data
    now go to wipe > format data (don't go to advanced) > type yes > reboot

    make sure all your precious data is copied in sd card or pc as this process will format whole internal storage of your device.
    3
    Do it again but this time, after flashing your custom recovery, REBOOT YOUR DEVICE TO RECOVERY FIRST, NOT IN ANDROID!!! Only after this you should reboot normally.
    This is the secret
    2
    Why do you say to back the phone up before starting the Unlock. How is one supposed to accomplish that without TWRP or why even? I guess I will go right into flashing a custom rom (which one would you suggest?) or stock (never!) after it's rooted, so I don't understand what I would be saving?
    I see that your question has been answered very accurately already and I don't think it needs any further explanation..about the backing up data part I meant to backup your internal storage. Since you have to wait for about a week to unlock so few users might start using it as a daily device for that time with all their photos,videos and apps and stuff, so basically just copy all your necessary stuff from internal to PC as unlocking will format your internal storage. About custom rom suggestions I'm myself using EU weekly lol..aosp based roms are starting to gain speed in development but I'm still waiting for a few more stable builds to be released :)

    Managed to work it out:

    1. Install TWRP via fastboot, don't bother with vbmeta.img.

    2. Wipe all except internal storage and then install PE zip.

    3. Format data then reboot to fresh pixel experience install.

    4. Set up and check encryption is enabled then reboot to TWRP.

    5. Install magisk 20.3 zip, check it says encryption and DM Verity is enabled in the log of that install (will be during the flash process)

    6. Boot to pixel experience and open the magisk manager APK, check safety net test and if failed then install safety net v3 patch from repositories and reboot.

    7. Enjoy and job done!

    Hope that can help somebody in future.

    Cheers!
    Glad you've figured it out. Format data=decryption. After flashing fastboot rom, boot till android setup and then in twrp wipe all and flash custom rom,magisk,gapps whatever you want and reboot..do not format data in any step. I also updated the post for users who want to stay encrypted. :)

    Is it possible to unlock the bootloader without mi account?
    I mean without letting mi know that u r unlocking "this" specific device...
    nope unfortunately to unlock your device you need to login to your mi account in your phone and then wait for the specified time..But you can lock it any time you want by flashing fastboot rom via mi flash and selecting "clean_all_and_lock" or just use
    Code:
    fastboot oem lock
    to lock the bootloader of your device :)