FORUMS
Remove All Ads from XDA

[SOLVED!] Can't install Magisk without bootloop

70 posts
Thanks Meter: 13
 
By Padlite, Member on 3rd August 2018, 11:25 AM
Post Reply Email Thread
Scroll down over this post to see anwer!

Hey there! I just got my Xiaomi Mi8 from HK Goldway at Aliexpress. It came with its bootloader already unlocked and a Global ROM flashed.
I wanted to install Magisk but failed horribly . I've already done that to several phones (my last one was a Moto X Play, and it worked without major complications). But with this one, it seems I can't get past the bootlogo.

Stock Fastboot image used:
dipper_global_images_V9.5.13.0.OEAMIFA_20180714.00 00.00_8.1_global

This is what I've tried so far:
First try
  • Flashed TWRP for Mi8 version 0711.
  • Flashed Magisk.
  • Got a bootloop.
  • Reflashed stock image via Fastboot.

Second try
  • Booted (not flashed) TWRP.
  • Tried to install latest global weekly from this thread.
  • Also got a bootloop.
  • Reflashed stock image via Fastboot.

Third try
I thought that those flashable ZIP firmwares were too small for them to be a full-fledged OS. So I went and downloaded this other one. Global version.
I read somewhere that I needed to format data before flashing a new image, so I did.
  • Booted TWRP.
  • Formated data (not Wipe)
  • Installed that ZIP from TWRP and booted correctly.
  • Booted TWRP again and flashed Magisk.
  • Got bootloop.
  • Back to stock image via fastboot.

Last try
  • Booted TWRP.
  • Formatted data.
  • Installed MIUI via TWRP.
  • Without rebooting, flashed Magisk and no-verity-opt-encrypt-6.0.zip.
  • This got past bootlogo ("Unlocked" message changed to "powered by Android") but got stuck there. Not booting at all.

Right now I'm back to the last try, booting MIUI successfully but without Magisk nor no-verity-opt-encrypt.

I kinda have no more ideas left. I understand this is a new device but I can't understand why people claim the have been able to install Magisk and I can't! Other thoughts were, maybe they were running MIUI 10 Beta and it only works with that version? I'm unsure about that.

Can someone lend me a hand? What am I missing?

Thank you!!


EDIT: FIX!
Over here, user @richardyusan helped me out with an extra step.
What I did:
And I got my phone booting with Magisk Installed!

Even though I couldn't install any module, (every install claimed I needed Magisk v15+). I read some threads and with a Magisk Direct re-install (from its app) I got Magisk downgraded to v16 and everything worked perfectly!

Hope this works out for everyone having this problem!
The Following 7 Users Say Thank You to Padlite For This Useful Post: [ View ] Gift Padlite Ad-Free
 
 
3rd August 2018, 11:49 AM |#2  
gulp79's Avatar
Senior Member
Flag Rome
Thanks Meter: 222
 
Donate to Me
More
have you tried to use Magisk 16.4,
if not, try to follow this guide:
https://www.theandroidsoul.com/xiaomi-mi-8-root/
The Following User Says Thank You to gulp79 For This Useful Post: [ View ] Gift gulp79 Ad-Free
3rd August 2018, 12:21 PM |#3  
OP Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by gulp79

have you tried to use Magisk 16.4,
if not, try to follow this guide:
https://www.theandroidsoul.com/xiaomi-mi-8-root/

Thank you for the fast reply!
I followed that guide and tried these steps:
  • fastboot boot mi8-twrp-3.2.2.img
  • Unencrypted via Pattern
  • Flashed Magisk v16.4 + DM verity disabler file
  • Reboot
But I'm still stuck at "powered by Android" bootlogo.
Normally it boots within 5 seconds but now it's taking forever. I'll wait a few minutes to see what happens.

I'm attaching some screenshots of the install process.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2018-08-03-19-14-38.png
Views:	1206
Size:	200.1 KB
ID:	4564162   Click image for larger version

Name:	Screenshot_2018-08-03-19-14-18.png
Views:	1200
Size:	194.8 KB
ID:	4564163  
3rd August 2018, 12:28 PM |#4  
gulp79's Avatar
Senior Member
Flag Rome
Thanks Meter: 222
 
Donate to Me
More
Quote:
Originally Posted by Padlite

Thank you for the fast reply!
I followed that guide and tried these steps:

  • fastboot boot mi8-twrp-3.2.2.img
  • Unencrypted via Pattern
  • Flashed Magisk v16.4 + DM verity disabler file
  • Reboot
But I'm still stuck at "powered by Android" bootlogo.
Normally it boots within 5 seconds but now it's taking forever. I'll wait a few minutes to see what happens.

I'm attaching some screenshots of the install process.

Ok,
but if you install Magisk 16.4, don't install also DM verity disabler.
DM verity disabler is needed if you don't want to root (see poin 14 in the linked guide).
Hope it works...
3rd August 2018, 12:42 PM |#5  
OP Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by gulp79

Ok,
but if you install Magisk 16.4, don't install also DM verity disabler.
DM verity disabler is needed if you don't want to root (see poin 14 in the linked guide).
Hope it works...

If I only flash Magisk 16.4, then phone shows "Powered by Android" and instantly reboots into stock recovery.
Only way to get it back booting, is performing fastboot flash boot boot.img from stock dipper_global_images_V9.5.13.0.OEAMIFA_20180714.00 00.00_8.1_global image

I read somewhere about official and unofficial bootloader unlock. I didn't unlock the bootloader myself. Maybe it has something to do with it?

PS: Anyone had any luck using Magisk with MIUI 9.5.13?
3rd August 2018, 01:56 PM |#6  
Member
Thanks Meter: 15
 
More
Did you try with a newer magisk version ? ... 16.7 was released 15 day ago
https://github.com/topjohnwu/Magisk/releases
Direct link: https://github.com/topjohnwu/Magisk/...gisk-v16.7.zip

It´s a good practice to use magisk_uninstaller before flash new one if you had problems.
Direct link: https://github.com/topjohnwu/Magisk/...r-20180719.zip

Please tell us if it´s works
3rd August 2018, 02:23 PM |#7  
gulp79's Avatar
Senior Member
Flag Rome
Thanks Meter: 222
 
Donate to Me
More
Seems that also others users have this problem
https://forum.xda-developers.com/sho...postcount=6312
3rd August 2018, 02:46 PM |#8  
OP Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by punk84z

Did you try with a newer magisk version ? ... 16.7 was released 15 day ago
https://github.com/topjohnwu/Magisk/releases
Direct link: https://github.com/topjohnwu/Magisk/...gisk-v16.7.zip

It´s a good practice to use magisk_uninstaller before flash new one if you had problems.
Direct link: https://github.com/topjohnwu/Magisk/...r-20180719.zip

Please tell us if it´s works

I just tried that. Uninstalling and re-installing v16.7. Although it seems now it's doing a few more steps, I'm still getting the recovery bootloop.
Install log screenshot attached.

Quote:
Originally Posted by gulp79

Seems that also others users have this problem
https://forum.xda-developers.com/sho...postcount=6312

Exactly that. Maybe we'll need to wait for a supported Magisk version. I'm still wondering what's the difference between our Mi8's that some can get Magisk working and some not. 🤨
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2018-08-03-15-37-55.png
Views:	422
Size:	198.6 KB
ID:	4564241  
3rd August 2018, 08:05 PM |#9  
bassbounce's Avatar
Senior Member
Flag Betuwe
Thanks Meter: 361
 
More
I am running Magisk stable and tmiui 10 from Xiaomi. Eu without any problems.
4th August 2018, 07:40 AM |#10  
Member
Thanks Meter: 7
 
More
I have a Mi 8 se and i install the eu rom boot the phone , reboot to twrp wipe and factory reset and installed magisk 16.4 .this is how works for me
4th August 2018, 09:31 AM |#11  
Junior Member
Thanks Meter: 0
 
More
i have the same problem too..when using china stable rom 16.7 magisk can be installed successfully tried many times...
flashing global version seems to have this issue...
tried all this steps too but no luck in global rom...
Post Reply Subscribe to Thread

Tags
bootloop, global, magisk, mi8

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes