How to Root Android 11 GSI with Magisk. 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 CAOS GSI using magisk v21.0. 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
Download
- Download phh’s-superuser-ab.zip
- Download phh_s_SuperUser_v1.0.3.3.apk
- Download miexplorer.apk
- Download Magisk Manager
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 ( If file in SD Card: Select Storage – Micro SD card – OK ) – select phh’s-superuser-ab.zip Swipe to confirm Flash
- Select Reboot – System
- Install phh_s_SuperUser_v1.0.3.3.apk
- Install miexplorer.apk ( you must install it after phh_s_SuperUser_v1.0.3.3.apk )
- Open MiX app ( mi-explorer ), grant / allow super user
- Go to Root folder, scroll down and look for “init.environ.rc”
- Open ini “init.environ.rc” as Code Editor
- Add code “export PATH /sbin:/product/bin:/apex/com.android.runtime/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin” after line code “on early–init” and save it
- 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 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. Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
- Done!
Notes / Warning!
- Use at your own risk, I’m not responsible for bricking your device.
- Using the incorrect file may brick your device.
- 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.
- If you have a KNOX-enabled device, flash custom rom and Rooting will trip the KNOX WARRANTY VOID status!
- If your device storage is encrypted, Rooting will wipe your data !
- 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 !
- Make sure to backup your important data before root it.
Watch this video: