ROOT MI A1 (OREO 8.0-8.1) without disabling ota with magisk

This method working for you?


  • Total voters
    478
Search This thread

idx1984

Member
Jan 17, 2018
15
1
Can anybody help me?

Im on Android O 8.0 1st December 2017 patch rooted with Magisk 15.2
(i rooted my device using the patched_boot for december method , the one from the "root mia1 oreo without disabling ota updates" thread)

Now im afraid to update to the Jan 2018 OTA
I need a proper instructions.

I need to be very clear on this.
1) Do i need to uninstall all the modules or should i just disable them before i restore stock image from Magisk Manager Uninstall?
2) Do i need to uninstall Xposed if i have it installed?

Hi, I installed magisk still on android 7 and later I realized the update via OTA through the link indicated in the tutorial. I understand it is for any update via ota.

https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips

Sent from my Mi A1 using XDA Labs
 

Leonhart9907

Member
Dec 8, 2017
12
2
Hi, I installed magisk still on android 7 and later I realized the update via OTA through the link indicated in the tutorial. I understand it is for any update via ota.

https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips

Sent from my Mi A1 using XDA Labs

Thanks .. but now my problem is. When i restore image from the Magisk Manager Uninstall . It says "Stock Boot does not exist!" . If so .. where is the right directory to place my stock boot.img to??
 

Soham Biswas

Senior Member
Feb 1, 2017
519
66
When you used fast boot command ..you must have typed fastboot "flash" patched... It should be fastboot "boot" patched..not "flash"..it Should be "boot"...
 

idx1984

Member
Jan 17, 2018
15
1
Thanks .. but now my problem is. When i restore image from the Magisk Manager Uninstall . It says "Stock Boot does not exist!" . If so .. where is the right directory to place my stock boot.img to??

This message appeared to me when I removed Magisk and restarted it, it entered bootloop. Are you sure to follow step-by-step commands and direct installation of Magisk? In my case, I repeated the installation procedure for the December and January packages, then I checked the magisk manager, installed the Magisk and it worked, including the recovery of the ROM stock in the uninstall of Magisk to update via OTA.

Sent from my Mi A1 using XDA Labs
 

goofball2k

Senior Member
Oct 5, 2010
1,569
457
Ottawa
I have just followed all the steps given above.. but my magisk manager is not installing v15.5 , it's just downloading and boom that error msg :(

I'm not being asked to install 15.5 anywhere. Maybe change your setting to Stable instead of Beta channel for updates? I'm on beta and I don't get prompted for 15.5.
 

Passmind

Member
Apr 9, 2013
12
3
OnePlus 7 Pro
So, I was on the December patch. I went ahead and remove Magisk, and it went into bootloop. So I installed the stock rom and fixed it, however, this locked the bootloader. I went ahead and downloaded January patched img, unlocked bootloader, installed Magisk, asked to update Magisk manager, installed Magisk and rebooted. After that it went to no command error. Any thoughts? (I had to reinstall stock rom to fix it again)
 

goofball2k

Senior Member
Oct 5, 2010
1,569
457
Ottawa
So, I was on the December patch. I went ahead and remove Magisk, and it went into bootloop. So I installed the stock rom and fixed it, however, this locked the bootloader. I went ahead and downloaded January patched img, unlocked bootloader, installed Magisk, asked to update Magisk manager, installed Magisk and rebooted. After that it went to no command error. Any thoughts? (I had to reinstall stock rom to fix it again)

Did you just boot from the patched boot image (fastboot boot patched_boot.img), or did you flash it (fastboot flash boot patched_boot.img), then let Magisk do the direct install?
You should be just booting from the patched boot, and not flashing the patched boot image.
 

Passmind

Member
Apr 9, 2013
12
3
OnePlus 7 Pro
Did you just boot from the patched boot image (fastboot boot patched_boot.img), or did you flash it (fastboot flash boot patched_boot.img), then let Magisk do the direct install?
You should be just booting from the patched boot, and not flashing the patched boot image.

I did boot, and immediately went to Magisk manager 5.5.4. when I run it, it won't show me the option to install Magisk. Only after I update Magisk Manager to 5.5.5 it let me install it. After rebooting it showed the error message.

Update: Tried again and it worked, only this time I installed Magisk Manager 5.5.5.
 
Last edited:

Rohit99

Senior Member
Jan 23, 2014
126
112
Bengaluru
By readings of my crystal ball, you were on Nougat with Magisk and Mi A1 Magisk module which contained modified framework-res.apk (night light). When you upgraded to Oreo, you haven't disable this module and now it's causing boot loop. Is my crystal ball right? :D
nope i never installed night light module, your crystal ball reading is wrong.
 

abossard

New member
Jan 29, 2018
2
1
By readings of my crystal ball, you were on Nougat with Magisk and Mi A1 Magisk module which contained modified framework-res.apk (night light). When you upgraded to Oreo, you haven't disable this module and now it's causing boot loop. Is my crystal ball right? :D

I have exactly this! You're crystal ball was about me :)
How can I solve it? I'd like to not do a Factory Reset, if avoidable.

Any ideas?
 
  • Like
Reactions: iG0tB0lts

_mysiak_

Senior Member
Apr 1, 2009
2,412
1,392
Xiaomi Mi 10T Lite
I have exactly this! You're crystal ball was about me :)
How can I solve it? I'd like to not do a Factory Reset, if avoidable.

Any ideas?
Install this from TWRP https://forum.xda-developers.com/apps/magisk/module-tool-magisk-manager-recovery-mode-t3693165, then run terminal in TWRP and type "/data/media/mm" and disable modules with on screen instructions. If you don't have working TWRP recovery, this one should be working (don't flash/install it, just boot once) https://forum.xda-developers.com/showpost.php?p=75163475&postcount=747
 
  • Like
Reactions: abossard

SystemDoctor

Senior Member
Apr 30, 2013
309
70
Manila
Whenever I try to press the Direct Install option from Magisk manager, the latest version of Magisk won't download. I checked my downloads through the Files app and it just stays there as a queued download. Anyone got any ideas as to what's causing this?

EDIT: What if I download the installer.zip seperately and place it on my phone, would that work?
 
Last edited:

abossard

New member
Jan 29, 2018
2
1

akikara

Member
Oct 28, 2011
17
1
If you boot correctly you will see the Direct Install option. Here what you have to do.
1. check your security patch level . Setting>System>About phone>
If January, download the January patched_boot, if December, download the December patched_boot. Download again just to be sure
2. follow the step
3. After you boot to patched_boot.img (Step 10) make sure you are successfully boot on first try.
4. Then open magisk manager>Install>Direct Install (Recommended)

Stuck on "Boot Loop".

I am on latest security update for january. Enabled oem unlocking, usb debugging from developer options.
Here is screen shot of unlock and boot of patched_boot.img
Code:
[email protected]:~/Desktop/ccc$ fastboot devices
no permissions	fastboot
[email protected]:~/Desktop/ccc$ sudo fastboot devices
[sudo] password for da: 
b2edb5	fastboot
[email protected]:~/Desktop/ccc$ sudo fastboot oem unlock
...
OKAY [  0.017s]
finished. total time: 0.017s
[email protected]:~/Desktop/ccc$ sudo fastboot boot patched_boot.img 
downloading 'boot.img'...
OKAY [  0.512s]
booting...
OKAY [  0.597s]
finished. total time: 1.110s
[email protected]:~/Desktop/ccc$
I've followed steps. Cable is connected in all steps.

What is wrong? Please help me.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 297
    Hello guys this guide is for who want to root phone without disabling ota updates.
    Follow this easy steps
    1. Download and install magisk manager apk latest from here (official thread)
    2.Download patched boot.img for may security patch frm here
    Download patched boot.img for june (8.1) security patch frm here
    Download patched boot.img for july (8.1) security patch frm here
    3. Extract patched_boot.img.zip
    4. Copy patched_boot.img in fastboot folder.
    5. Enable developer option in ur device and enable oem unlocking in developer option.
    6. Turn off ur phone.
    7. Now press and hold voume down+power button.
    8. Now connect your device with PC in fastboot mode
    9. Type command
    Code:
    fastboot oem unlock
    10. now type
    Code:
    fastboot boot patched_boot.img
    11. Then open magisk manager app and then install magisk using direct method and reboot once again
    DONE...

    HIT THANKS button if your phone rooted.

    USE THIS GUIDE WHEN OTA ARRIVES

    7zzqvmfo.png


    Click Here To Join The " Mi A1 Developent Group " in Telegram
    Ask for help in telgram group if u facing any problem



    7p2vdrvg.gif

    ukt8fvhs.jpg
    23
    May patched img released

    Download from here

    7p2vdrvg.gif

    ukt8fvhs.jpg
    16
    April patched img released

    Download from here

    7p2vdrvg.gif

    ukt8fvhs.jpg
    15
    July(8.1) patched img released

    Download from here

    7p2vdrvg.gif

    ukt8fvhs.jpg
    15
    Here is a easier process if you really want to check if the boot.img is compatible:
    First enable OEM Unlock in developer settings
    - Reboot to fastboot (volume down + power)
    - fastboot oem unlock (won't wipe)
    - fastboot boot patched_boot.img
    - After Android finishes booting, install Magisk Manager.
    - In Magisk Manager, use Install and install the latest Magisk with Direct Install
    - Reboot and you're done