[Guide][Mi 8 Lite](Global) how to install TWRP + root with Magisk

Did this tutorial work for you?

  • Yes

    Votes: 23 79.3%
  • No

    Votes: 6 20.7%

  • Total voters
    29

malek_anas_97

Senior Member
Nov 24, 2013
113
76
0
Please help me, how enter to twrp recovery on Mi8 Lite ? I try all buttons combinations and nothing.
turn off your phone completely
press and hold Volume up + Power
keep them pressed until xiaomi logo comes up for the first time and don't release untill it shuts down and restarts
after it shows up again and you're still holding the buttons you should be at recovery

if all of that didn't work for some reason you can just boot to recovery from ADB
connect your phone with usb debugging enabled and type "adb reboot recovery" and it should boot into recovery
 

Marek89

Member
Mar 13, 2012
43
1
0
i turn off phone, press and hold VOL up + power, still hold, first xiaomi logo with unlocked info, shutdown adn restart, still hold buttons and nothing do, phone restart still. ADB reboot is not comfortable, boot into recowery without pc some times need.
 

malek_anas_97

Senior Member
Nov 24, 2013
113
76
0
i turn off phone, press and hold VOL up + power, still hold, first xiaomi logo with unlocked info, shutdown adn restart, still hold buttons and nothing do, phone restart still. ADB reboot is not comfortable, boot into recowery without pc some times need.
does it work with adb?
if it doesn't work even with adb and reboots again then maybe you have a corrupted recovery or something I'm not sure
 

c0rp1

Senior Member
Nov 18, 2009
396
43
0
So I did everything correctly, installed Magisk v18.1 (which is the latest) - it all installed correctly without errors in TWRP, but after the phone rebooted itself, there's no Magisk app on the screen... any idea why that is?
 

malek_anas_97

Senior Member
Nov 24, 2013
113
76
0
So I did everything correctly, installed Magisk v18.1 (which is the latest) - it all installed correctly without errors in TWRP, but after the phone rebooted itself, there's no Magisk app on the screen... any idea why that is?
did you swipe to allow modifications when you got the prompt the first time you booted twrp?
also did you try reflashing magisk? try older versions too
i did some searches online and i saw other people having the same issue when it gets installed but doesn't show up
weird :"/
take a look
https://github.com/topjohnwu/Magisk/issues/591
 

c0rp1

Senior Member
Nov 18, 2009
396
43
0
did you swipe to allow modifications when you got the prompt the first time you booted twrp?
also did you try reflashing magisk? try older versions too
i did some searches online and i saw other people having the same issue when it gets installed but doesn't show up
weird :"/
take a look
https://github.com/topjohnwu/Magisk/issues/591
Thanks for the reply. Tried to edit my original post, but am getting constant errors.

Problem was with the Magisk version - tried with a previous one and it worked perfectly fine.
 
  • Like
Reactions: malek_anas_97

lexridge

Senior Member
May 19, 2011
617
110
63
I have been trying to just get TWRP installed for hours. It goes thru the motions, but when I reboot to recovery, it is always stock recovery. I have tried numerous times using "fastboot flash recovery recovery-TWRP-3.2.3-1003-XIAOMI8LITE-CN-wzsx150.img". It seems like it is not flashing. I can use the "fastboot boot recovery-TWRP-3.2.3-1003-XIAOMI8LITE-CN-wzsx150.img" and it boots to TWRP, but not actually installs it apparently. Just boots to the sent image. I tried installing Magisk this way too. It installed, as my installed SuperSU claims there is already a binary in place, but I have not root or recovery. Any ideas?

Yes, I am completely unlocked. It says unlocked on boot every time now since a successful unlock procedure.

EDIT: Please Disregard. Turns out I had reset my device and failed to turn Developer Options back on and therefore USB Debugging as well. Opps! :D
 
Last edited:
  • Like
Reactions: malek_anas_97

lexridge

Senior Member
May 19, 2011
617
110
63
i turn off phone, press and hold VOL up + power, still hold, first xiaomi logo with unlocked info, shutdown adn restart, still hold buttons and nothing do, phone restart still. ADB reboot is not comfortable, boot into recowery without pc some times need.
This is exactly the same issue I was having, until I realized after I had done a reset I did not tap the Settings "About Phone/MIUI version" 5 times to re-enable "Developer options". Duh!

Make sure you have done this. Then turn on USB Debugging from the "Additional Settings/Developer Options/USB Debugging". Without doing this, TWRP will not actually flash to your phone, nor will anything else.
 
  • Like
Reactions: malek_anas_97

sildinei

Member
Nov 14, 2018
12
0
1
Disclaimer :
Code:
 * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed
* 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 :D
with that out the way and without bothering you with more useless things to read
let's get started shall we?
==== Notes ====
you should have already unlocked your bootloader (if not then start the process as soon as possible because it's going to take a while)
backup your stuff, make sure you have sufficient charge just in case anything goes wrong
download the unoffical TWRP port from Here
get the latest magisk from Here
install device usb drivers
set up fastboot properly

1- shutdown your device completely
2- boot into fastboot mode by pressing and holding the power button + volume down button until you see xiaomi's mi bunny with a blue "fastboot" text underneath it
3- connect your device via your usb cable
4- on your pc check if you have fastboot configured properly and your device recognized by typing
Code:
fastboot devices
if it's detected then you're good to proceed to the next step.
5- flash the twrp recovery image by using the usual fastboot commands
Code:
fastboot flash recovery recovery.img
in our case it should be something like
Code:
fastboot flash recovery recovery-TWRP-3.2.3-1003-XIAOMI8LITE-CN-wzsx150.img
6- i tried using "fastboot reboot recovery" command to reboot to recovery but it did nothing
so i used this command instead
Code:
fastboot boot recovery-TWRP-3.2.3-1003-XIAOMI8LITE-CN-wzsx150.img
7- if you rebooted successfully, you should be at TWRP splash screen
you will be greeted with a slider slide it and continue
when i first booted into twrp it was in chinese so i used my nexus 5 twrp as a guide to change the language xD
press the third entry down on the right to open the settings, press the last tab on the right with the globe icon and choose english then
press "set language".
8- back to the main menu of TWRP, go to "Install"
choose the magisk zip file you downloaded and flash it, when done reboot the device.
9- congratulations friend, you're now rooted and have TWRP as your recovery :D

Happy Flashing :highfive:

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

after installing magisk by twrp it did not appear to me as app.

What do I do to get root access?
 

lexridge

Senior Member
May 19, 2011
617
110
63
after installing magisk by twrp it did not appear to me as app.

What do I do to get root access?
After my phone updated to Pie, I am also having this problem. When flashing Magisk, it all goes well, no errors whatsoever. I reboot, no Magisk app and no root. Anyone have any ideas? Do I need to maybe use one of these commands before installing Magisk?
Code:
echo KEEPVERITY=true>>/cache/.magisk
echo KEEPFORCEENCRYPT=true>>/cache/.magisk
or do I want to disable this stuff using:
Code:
echo KEEPVERITY=false>>/data/.magisk
echo KEEPFORCEENCRYPT=false>>/data/.magisk
 

sildinei

Member
Nov 14, 2018
12
0
1
After my phone updated to Pie, I am also having this problem. When flashing Magisk, it all goes well, no errors whatsoever. I reboot, no Magisk app and no root. Anyone have any ideas? Do I need to maybe use one of these commands before installing Magisk?
Code:
echo KEEPVERITY=true>>/cache/.magisk
echo KEEPFORCEENCRYPT=true>>/cache/.magisk
or do I want to disable this stuff using:
Code:
echo KEEPVERITY=false>>/data/.magisk
echo KEEPFORCEENCRYPT=false>>/data/.magisk
I installed magisk apk after installing via fatboot and started to function perfectly.