How to Root Android 11 GSI with Magisk on Any GSI ROM

January 20, 2021 | By androidhowto@youtube | Filed in: Root.

How to Root Android 11 GSI with Magisk on Any GSIs; LineageOS, CAOS, Havoc-OS, FluidOS, StageOS, Decendant OS, NusantaraOS etc. Use latest magisk version v21.x, It works for rooting Android 11 GSI. We need modify and add some code to the file. I have rooted some GSI using magisk v21.x. We also need phh-super user to modify the system file. I recommended use mi-explorer apps to modify it. Use at your own risk, I’m not responsible for bricking your device. If it does not work you can try Root Android 11 GSi without Magisk


Rooting Android 11 GSI Instructions:

  • Enter TWRP Recovery Mode: Turn power off; Press and hold Volume Up key + Power key, when samsung logo appears release power key only, keep pressing volume up until TWRP recovery appears
  • Select Install – select phh’, Swipe to confirm Flash
  • Select Reboot – System
  • Install phh_s_SuperUser_v1.0.3.3.apk
  • Install Termux app
  • Install miexplorer.apk ( you must install it after phh_s_SuperUser_v1.0.3.3.apk )
  • Especially for Decendant 11 before continue, we must enter TWRP then Reboot – Recovery on Galaxy A50, other maybe you must install Magisk.
  • Open Termux
    Type: su ( granted superuser request )
    Type: echo $PATH ( copy the tex it looks “/product/bin:/apex/” )
  • Open MiX app ( mi-explorer )
  • Go to Root folder ( granted superuser request )
  • Scroll down and look for “init.environ.rc”
  • Open ini “init.environ.rc” as Code Editor
  • Add code after “on early--init“: “export PATH /sbin:(paste from termux)”
    complete code: “/sbin:/product/bin:/apex/”, then Save It.
  • Enter TWRP Recovery
  • Select Reboot to Recovery or System, it depends on the Android phone Root Method
    Condition 1:
    Install Magisk v21.x then
    Select Reboot – System
    ex: A30 etc
    Condition 2:
    Magisk v21.x was patched to TWRP, then
    Select Reboot – Recovery
    ex: A50 / A50s / M30s etc
  • Install Magisk Manager, If the Magisk did not install.  Open MiXplorer go to Root folder, then create “sbin” folder.  Enter TWRP recovery – Reboot to Recovery
  • Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
  • Done!

Notes / Warning!

  1. Use at your own risk, I’m not responsible for bricking your device.
  2. Using the incorrect file may brick your device.
  3. If your target device has a custom firmware flash counter, Rooting will trigger it. If you’re lucky, Triangle Away has support for your device and can be used to reset the counter.
  4. If you have a KNOX-enabled device, flash custom rom and Rooting will trip the KNOX WARRANTY VOID status!
  5. If your device storage is encrypted, Rooting will wipe your data !
  6. If you have locked bootloaders, flashing one of these will probably brick your device – with the exception of Nexus devices, which will usually automatically “OEM unlock” and wipe your data !
  7. Make sure to backup your important data before root it.

Watch this video:

How to Root Android 11 GSI with Magisk on Any GSI ROM

Tags: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *