5

Keep Root with Magisk with OTA updates

  1. Anurag_Shrivastav Eclair Sep 26, 2018

    Anurag_Shrivastav, Sep 26, 2018 :
    Updated on 12/6/2019

    I have seen multiple post about people loosing root access after the OTA.. I have jotted down the below the instructions on how to retain root access after OTA updates.

    Follow this steps... 1.Magisk Manager → Uninstall → Restore Images). Do not reboot or you will have Magisk uninstalled.
    2. Now Update the system and let it install completely. Do not press the reboot button.
    3. Now install TWRP A/B Retention Script from Magisk Manger. This module is available on Magisk (if you have twrp as custom recovery) Skip this if you do not have TWRP installed
    4. Go to (Magisk Manager → Install → Install to Inactive Slot) and install Magisk.
    5.Once Magisk installation is done, press the reboot button in Magisk Manager.

    Your phone may get into bootloop once, if that happens just restart the phone again.

    Voila now you have your OnePlus updated and You also have Magisk installed with root access
     
    Last edited: Jun 25, 2019 at 8:49 PM

    #1
  2. Mr. Vandelay Jelly Bean Sep 26, 2018

    Mr. Vandelay, Sep 26, 2018 :
    Or just download and flash the full rom and install magisk, that's it.
     

    #2
    thedarkpresence_ likes this.
  3. Anurag_Shrivastav Eclair Sep 26, 2018

    Anurag_Shrivastav, Sep 26, 2018 :
    You would require TWRP to install magisk..
     

    #3
  4. Mr. Vandelay Jelly Bean Sep 26, 2018

    Mr. Vandelay, Sep 26, 2018 :
    Obviously.
     

    #4
    xnutzii and thedarkpresence_ like this.
  5. Anurag_Shrivastav Eclair Sep 26, 2018


    #5
  6. Mr. Vandelay Jelly Bean Sep 26, 2018

    Mr. Vandelay, Sep 26, 2018 :
    huh, nope you don't have to flash twrp again.

    Download the full update to the internal storage >> Reboot to Twrp >> install the rom and right away install magisk >> wipe cache and reboot. That's it.

    If you don't install magisk right after installing the update then you will loose twrp.
     

    #6
  7. Mr. Vandelay Jelly Bean Sep 26, 2018

    Mr. Vandelay, Sep 26, 2018 :
    Fllow this please
    https://forum.xda-developers.com/showpost.php?p=76596833&postcount=3
    by Funk Wizard
     

    #7
    EaGllE likes this.
  8. L1531558684761 Donut Apr 25, 2019

    L1531558684761, Apr 25, 2019 :
    After this "tutorial" my phone did get bootloop. Restarted to stock recovery and now whenever I boot up I get instantly message: "shutting down" and get back to stock recovery again :( please advice
     

    #8
  9. Kytharsis Lollipop Apr 25, 2019

    Kytharsis, Apr 25, 2019 :
    Just reflash TWRP and Magisk.
     

    #9
  10. L1531558684761 Donut Apr 25, 2019


    #10
  11. Kytharsis Lollipop Apr 25, 2019


    #11
  12. G_Joe_Sauce_xJvo Cupcake Apr 26, 2019

    G_Joe_Sauce_xJvo, Apr 26, 2019 :
    Ok, so we install the OTA update, and if necessary reinstall magisk with twrp (and possibly twrp again)..my main concern is in regards to unlocking the bootloader...if I've already done the unlock through Motorola on my Moto x4 and ADB will an OTA update change the bootloader status? And if so, will the same key work again?
     

    #12
  13. Kytharsis Lollipop Apr 26, 2019

    Kytharsis, Apr 26, 2019 :
    Wait, you're asking about a Motorola phone on the OP forum or are you using this as an example?
     

    #13
    ironass likes this.
  14. ironass KitKat Apr 26, 2019

    ironass, Apr 26, 2019 :
    Doesn't work on my Nokia 3210. ;)
     

    #14
    Kytharsis likes this.
  15. Anurag_Shrivastav Eclair Jun 12, 2019


    #15
    ironass likes this.
  16. J1560613467987 Cupcake Jun 15, 2019

    J1560613467987, Jun 15, 2019 :
    you can install magisk it is very useful when you are compared to the SuperSU, you can stay rooted and you can get your OTA updated this www.magiskinstaller.com website will guide you through how to root your oneplus device
     

    #16
  17. Z1560786532969 Cupcake Jun 17, 2019

    Z1560786532969, Jun 17, 2019 :
    Greetings.
    I got an op5t and thought I could follow those steps. Unfortunatly the system updater asks me to reboot BEFORE the OTA update. But with that i'm afraid to loose root. I'd really like to keep root.

    Also is it better to hide system updater from root via magisk or doesnt IT Matter?

    Thanks in advance
     

    #17
  18. RonanDjinnTetsu Eclair Jun 25, 2019 at 8:21 PM

    RonanDjinnTetsu, Jun 25, 2019 at 8:21 PM :
    Believe it or not twrp is an obsolete project, which 8s why you want to avoid it. Unfortunately devices without a/b partitions are left out in the dark with twrp less root. Twrp has caused so much petty issues, and is only a requisite to obsolete custom rom community.
     

    #18