• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE][REDMI 7A] Root with Magisk on Miui 11.0.7 Global

Search This thread

jurubebaamarga

New member
May 18, 2020
4
3
Well, a lot of people wanting to root global miui 11.0.7 and not being able to... So I did it on my Global redmi 7a - MIUI 11.0.7 Global.
Simple though. Apart from whats being said, u can update Magisk to v20.+ after flashing
the 19 version, through the app Magisk Manager automatically installed after flashing.

Prerequisites & Downloads:
- Your bootloader must be unlocked (https://en.miui.com/unlock/)
- ADB and Fastboot -> I did on windows version, maybe can be done on linux...
- patched boot.img for miui 11.0.7 global
- vbmeta.img
- Magisk v19.3 zip -> place it on the root of your external sdcard

This is basically copied from cg730620's post [Guide][Redmi 7A] TWRP, Root with Magisk, Custom ROM [GSI][Pie] and Avedroid's vid

1 - Unlock bootloader and flash stock miui 11.0.7 recovery rom, using miflash 2017
CAREFUL! On the lower right corner check the first option, "clean all", or you may end up with a locked bootloader.

-> exactly the same from the quoted post from now on, what differs is the files and we are only flashing magisk v19.3

"2. Install Minimal ADB and Fastboot

3. Rename patched boot file to boot.img

4. Rename custom recovery file to recovery.img

5. Place boot.img, recovery.img, vbmeta.img in Program Files (x86)/Minimal ADB and Fastboot/ folder

6. Turn off your phone.

7. Reboot phone to fastboot mode by holding Volume-down button while pressing On/Off-button. You know you are in fastboot mode when you see a cartoon bunny.

8. Connect the phone to your PC via USB.

9. On your PC open command prompt and nagivate to ADB folder, or open command prompt window directly from right-click menu in ADB folder; just right-click on empty space and choose 'Open command prompt here'

10. In command prompt, enter the following commands:

Code:
Code:
fastboot flash boot boot.img
Code:
Code:
fastboot flash vbmeta vbmeta.img
Code:
Code:
fastboot flash recovery recovery.img

11. Now reboot to recovery: Press Volume-Up button on your phone and enter the following in command prompt:

or just turn off the phone and reboot by holding Volume-Up and On/Off button (release On/Off when phone turns on, keep holding Volume-Up until you see screen of TWRP recovery)

12. Swipe to allow modifications. If TWRP asks for PIN, enter the PIN code you set for your unlock screen.

13. In TWRP choose Wipe > Advanced Wipe. Select 'Dalvik / ART cache', 'System', 'Data', 'Cache'. Then Swipe to Wipe.

18. In TWRP choose Install. Select the Magisk zip-file on your phone and then Swipe to confirm flash.

Reboot to system, open Magisk, update and there u go.

Same steps of the beginning of Avedroid's video, only with modified boot.img and Magisk Version ;)

https://www.youtube.com/watch?v=NSs08O6uGVI&t=324s
After 16:30 of the video he flashes a custom gsi rom which is not of the interest of this thread, just flash magisk.

Thanks to all who made it possible, especially Avedroid and cg730620
Post questions and answers here, please, NOT in PM.
Good luck!
 
  • Like
Reactions: Ancyel and Cinox

Cinox

New member
Feb 18, 2018
2
1
I did everything right, however, when it came to installing Magisk, the following error occurred: "Updater process ended with ERROR: 1".

So I redid the whole process, but before installing Magisk I did the following: I went to Mount, I deselected the System partition and after that the installation proceeded normally.

Well, I don’t know if this is the best way to fix this problem, I don’t understand much of these things, but it ended up working for me.

Thanks for the post :)
I will do some tests to see if everything is working.
 
  • Like
Reactions: Ancyel

vincecabalan

Member
Nov 8, 2017
16
2
I've rooted my MoKee OS Android 10 rom. Can somebody help me change the system font? The font changer module in Magisk is not appearing in the search bar.
 

speed_cars

Member
Aug 11, 2020
6
0
Hello, what files do I need to rename to boot.img and recovery.img? I'm lost :(

3. Rename the patched boot file to boot.img

4. Rename the custom recovery to recovery.img
 

speed_cars

Member
Aug 11, 2020
6
0
Extract boot.img of installer mokee.zip Patch boot image https://patcher.yaalex.xyz/ select include magisk Expect to do uploud after downloading rename boot.img sdcard Go twrp flash boot install magisk manager apk
Credit to @idcamper

I did according to this advice, uploaded boot.img to this site. Magisk works, but Wifi won't work :(. When I uploaded boot.img, Wifi works, then it shows that Magisk is not installed, but it was installed.
 
Everything works fine, exept password. When i set new password, let's say it is 1234, i set the password in the setting, then i press the power button for lock screen, i put the password in as usual, but it just says try again over and over, im pretty sure that it is not my fault. Thanks for reply.
 

Shaneels94

New member
Jul 12, 2021
3
0
Well, a lot of people wanting to root global miui 11.0.7 and not being able to... So I did it on my Global redmi 7a - MIUI 11.0.7 Global.
Simple though. Apart from whats being said, u can update Magisk to v20.+ after flashing
the 19 version, through the app Magisk Manager automatically installed after flashing.

Prerequisites & Downloads:
- Your bootloader must be unlocked (https://en.miui.com/unlock/)
- ADB and Fastboot -> I did on windows version, maybe can be done on linux...
- patched boot.img for miui 11.0.7 global
- vbmeta.img
- Magisk v19.3 zip -> place it on the root of your external sdcard

This is basically copied from cg730620's post [Guide][Redmi 7A] TWRP, Root with Magisk, Custom ROM [GSI][Pie] and Avedroid's vid

1 - Unlock bootloader and flash stock miui 11.0.7 recovery rom, using miflash 2017
CAREFUL! On the lower right corner check the first option, "clean all", or you may end up with a locked bootloader.

-> exactly the same from the quoted post from now on, what differs is the files and we are only flashing magisk v19.3

"2. Install Minimal ADB and Fastboot

3. Rename patched boot file to boot.img

4. Rename custom recovery file to recovery.img

5. Place boot.img, recovery.img, vbmeta.img in Program Files (x86)/Minimal ADB and Fastboot/ folder

6. Turn off your phone.

7. Reboot phone to fastboot mode by holding Volume-down button while pressing On/Off-button. You know you are in fastboot mode when you see a cartoon bunny.

8. Connect the phone to your PC via USB.

9. On your PC open command prompt and nagivate to ADB folder, or open command prompt window directly from right-click menu in ADB folder; just right-click on empty space and choose 'Open command prompt here'

10. In command prompt, enter the following commands:

Code:
Code:
fastboot flash boot boot.img
Code:
Code:
fastboot flash vbmeta vbmeta.img
Code:
Code:
fastboot flash recovery recovery.img

11. Now reboot to recovery: Press Volume-Up button on your phone and enter the following in command prompt:

or just turn off the phone and reboot by holding Volume-Up and On/Off button (release On/Off when phone turns on, keep holding Volume-Up until you see screen of TWRP recovery)

12. Swipe to allow modifications. If TWRP asks for PIN, enter the PIN code you set for your unlock screen.

13. In TWRP choose Wipe > Advanced Wipe. Select 'Dalvik / ART cache', 'System', 'Data', 'Cache'. Then Swipe to Wipe.

18. In TWRP choose Install. Select the Magisk zip-file on your phone and then Swipe to confirm flash.

Reboot to system, open Magisk, update and there u go.

Same steps of the beginning of Avedroid's video, only with modified boot.img and Magisk Version ;)

After 16:30 of the video he flashes a custom gsi rom which is not of the interest of this thread, just flash magisk.

Thanks to all who made it possible, especially Avedroid and cg730620
Post questions and answers here, please, NOT in PM.
Good luck!
I wish to obtain root / access to magisk,

Wanting to know if I can do this without losing data (having to delete system data)

Thank you
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Well, a lot of people wanting to root global miui 11.0.7 and not being able to... So I did it on my Global redmi 7a - MIUI 11.0.7 Global.
    Simple though. Apart from whats being said, u can update Magisk to v20.+ after flashing
    the 19 version, through the app Magisk Manager automatically installed after flashing.

    Prerequisites & Downloads:
    - Your bootloader must be unlocked (https://en.miui.com/unlock/)
    - ADB and Fastboot -> I did on windows version, maybe can be done on linux...
    - patched boot.img for miui 11.0.7 global
    - vbmeta.img
    - Magisk v19.3 zip -> place it on the root of your external sdcard

    This is basically copied from cg730620's post [Guide][Redmi 7A] TWRP, Root with Magisk, Custom ROM [GSI][Pie] and Avedroid's vid

    1 - Unlock bootloader and flash stock miui 11.0.7 recovery rom, using miflash 2017
    CAREFUL! On the lower right corner check the first option, "clean all", or you may end up with a locked bootloader.

    -> exactly the same from the quoted post from now on, what differs is the files and we are only flashing magisk v19.3

    "2. Install Minimal ADB and Fastboot

    3. Rename patched boot file to boot.img

    4. Rename custom recovery file to recovery.img

    5. Place boot.img, recovery.img, vbmeta.img in Program Files (x86)/Minimal ADB and Fastboot/ folder

    6. Turn off your phone.

    7. Reboot phone to fastboot mode by holding Volume-down button while pressing On/Off-button. You know you are in fastboot mode when you see a cartoon bunny.

    8. Connect the phone to your PC via USB.

    9. On your PC open command prompt and nagivate to ADB folder, or open command prompt window directly from right-click menu in ADB folder; just right-click on empty space and choose 'Open command prompt here'

    10. In command prompt, enter the following commands:

    Code:
    Code:
    fastboot flash boot boot.img
    Code:
    Code:
    fastboot flash vbmeta vbmeta.img
    Code:
    Code:
    fastboot flash recovery recovery.img

    11. Now reboot to recovery: Press Volume-Up button on your phone and enter the following in command prompt:

    or just turn off the phone and reboot by holding Volume-Up and On/Off button (release On/Off when phone turns on, keep holding Volume-Up until you see screen of TWRP recovery)

    12. Swipe to allow modifications. If TWRP asks for PIN, enter the PIN code you set for your unlock screen.

    13. In TWRP choose Wipe > Advanced Wipe. Select 'Dalvik / ART cache', 'System', 'Data', 'Cache'. Then Swipe to Wipe.

    18. In TWRP choose Install. Select the Magisk zip-file on your phone and then Swipe to confirm flash.

    Reboot to system, open Magisk, update and there u go.

    Same steps of the beginning of Avedroid's video, only with modified boot.img and Magisk Version ;)

    https://www.youtube.com/watch?v=NSs08O6uGVI&t=324s
    After 16:30 of the video he flashes a custom gsi rom which is not of the interest of this thread, just flash magisk.

    Thanks to all who made it possible, especially Avedroid and cg730620
    Post questions and answers here, please, NOT in PM.
    Good luck!
    1
    I did everything right, however, when it came to installing Magisk, the following error occurred: "Updater process ended with ERROR: 1".

    So I redid the whole process, but before installing Magisk I did the following: I went to Mount, I deselected the System partition and after that the installation proceeded normally.

    Well, I don’t know if this is the best way to fix this problem, I don’t understand much of these things, but it ended up working for me.

    Thanks for the post :)
    I will do some tests to see if everything is working.
    1
    I Tried To Root Mokee But Failed. Can You Please Tell Me How You Root Mokee
    Extract boot.img of installer mokee.zip Patch boot image https://patcher.yaalex.xyz/ select include magisk Expect to do uploud after downloading rename boot.img sdcard Go twrp flash boot install magisk manager apk
    Credit to @idcamper