https://xdaforums.com/t/guide-root-motorola-with-magisk-unlocked-bootloader-non-twrp-method.4222583/

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Root Motorola Devices with Magisk

Note:
This method has been working with most Moto Devices that the Bootloader can be UnLocked.
If the Bootloader cannot be Unlocked this method will not work.

Please only use this as a reference. If you require more help please post in your device's forum.
Mention me with @sd\_shadow

Quick Steps

  • Unlock the Bootloader

    • Note: Unlocking will wipe Userdata
  • Install Magisk manager app
  • device_info.png
  • If Ramdisk is Yes continue to Download Firmware
  • If Ramdisk is anything else see

  • Download Firmware Rescue and Smart Assistant(LMSA)(PC)

    • If the download is newer, now is a good time to flash the update.
      The newer boot.img may not work correctly with the older software on the device.
      If you want to keep the firmware version that is on the device see Other Firmware Options
    • Other Firmware options
  • Find the boot.img or init\_boot.img in the LMSA Downloads Folder

    • C:\ProgramData\RSA\Download\RomFiles
    • or
    • "ProgramData\LMSA\Download\RomFiles\"
  • Copy boot.img or init\_boot.img to Moto Device
  • inkedscreenshot_20210813-020307_li-2-jpg.5384813
  • inkedmagisk-select-and-patch-image_li-jpg.5384835
  •  title=
  • Copy magisk\_patched.img to PC
  • Flash magisk\_patched.img
  • Reboot
  • Open Magisk manager to verify you have the current version.
  • Hide Magisk

    • If you use apps the won't work if rooted devices (Banking apps) Enable Hide Magisk
  • Safetynet fix (21 March 2022)

More

Last edited: Jul 11, 2024

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Last edited: Feb 27, 2021

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Flashing magisk\_patched.img

Change .img name to exact file name.

Code:

fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot reboot

or

Code:

fastboot flash boot magisk_patched.img
fastboot reboot

Last edited: Feb 27, 2021

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Magisk in recovery

If your device does not have ramdisk in boot images, Magisk has no choice but to be installed in the recovery partition. For these devices, you will have to reboot to recovery every time you want Magisk.

When Magisk is installed in your recovery, you CANNOT use custom recoveries to install/upgrade Magisk! The only way to install/upgrade Magisk is through the Magisk app. It will be aware of your device state and install to the correct partition and reboot into the correct mode.

Since Magisk now hijacks the recovery of the device, there is a mechanism to let you actually boot into recovery mode when needed: it is determined by how long you press the recovery key combo.

This does not replace stock recovery.

Last edited: Mar 26, 2021

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Magisk

Magisk Manager is dead.​

Long live the Magisk app!​

Ever since the first Magisk release, Magisk (the core components) and Magisk Manager (the companion app) are released separately and isn't necessarily always in sync. This leads to some confusion and a lot of complexity when downloading/installing Magisk through the app. Starting from v22.0, the Magisk app (renamed from Magisk Manager) includes everything it needs within the APK itself, making installation a 100% offline process.

Custom recovery lovers, no worries! The Magisk app APK itself is a custom recovery flashable zip, just like MAGIC™ title=. Check out the updated installation guide for more info.

Last edited: Jul 21, 2021

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Last edited: Mar 26, 2021

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Wow, thanks so much for the comprehensive reply @sd\_shadow. Think I may take a look at the non-TWRP method.

Interesting that you install Magisk immediately after unlocking bootloader. I had been following these instructions: https://appuals.com/root-Motorola-moto-g5-g5-plus/ which doesn't install Magisk until after TWRP - but then you're not using TWRP!

In answer to @Wolfcity, yes I had tried reboot to TWRP, but get the following:
C:\adb>fastboot boot recovery.img
cannot load 'recovery.img': No such file or directory

I should've said, that's mostly why I figured it had failed.

I'm actually rooting to make use of Nethunter on the device. It's an old device, so not one I'll be using for any everyday apps or accounts. It'll be dedicated to Nethunter - for legit purposes only!

Root Motorola Devices with Magisk

Note:
This method has been working with most Moto Devices that the Bootloader can be UnLocked.
If the Bootloader cannot be Unlocked this method will not work.

Please only use this as a reference. If you require more help please post in your device's forum.
Mention me with @sd\_shadow

Quick Steps

  • Unlock the Bootloader

    • Note: Unlocking will wipe Userdata
  • Install Magisk manager app
  • device_info.png
  • If Ramdisk is Yes continue to Download Firmware
  • If Ramdisk is anything else see

  • Download Firmware Rescue and Smart Assistant(LMSA)(PC)

    • If the download is newer, now is a good time to flash the update.
      The newer boot.img may not work correctly with the older software on the device.
      If you want to keep the firmware version that is on the device see Other Firmware Options
    • Other Firmware options
  • Find the boot.img in the LMSA Downloads Folder

    • "ProgramData\LMSA\Download\RomFiles\"
  • Copy boot.img to Moto Device
  • inkedscreenshot_20210813-020307_li-2-jpg.5384813
  • inkedmagisk-select-and-patch-image_li-jpg.5384835
  • Copy magisk\_patched.img to PC
  • Flash magisk\_patched.img
  • Reboot
  • Open Magisk manager to verify you have the current version.
  • Hide Magisk

    • If you use apps the won't work if rooted devices (Banking apps) Enable Hide Magisk

More

Question, when I did all of this through magisk everything went swell but my moto Touchscreen stopped working but booted just fine not sure if it was a one time fluke or not gonna try again any suggestions? Should I also Flash Recovery?

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team
Question, when I did all of this through magisk everything went swell but my moto Touchscreen stopped working but booted just fine not sure if it was a one time fluke or not gonna try again any suggestions? Should I also Flash Recovery?

If the touchscreen stopped working you likely used the wrong boot.img
You don't need a custom recovery just for root.

Sweet thanks I'll look again at what I got

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Ok I see Where I messd up now looks like I used wrong channel

Flashing magisk\_patched.img

Change .img name to exact file name.

Code:

fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot reboot

or

Code:

fastboot flash boot magisk_patched.img
fastboot reboot

I can't get my pc to see the phone when the phone is in fastboot mode

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team
I can't get my pc to see the phone when the phone is in fastboot mode

See device manager, how is it listed?

@sd\_shadow My devices is edge xt2063-2 (USA,5G brand N71),It’s can't connect to chinatelecom(5G band N78)
But xt2603-3(Europe)ROM include N78 band
Can I flash XT2063-3 EU ROM on mydevices just by fastboot mode?
Or Just need modify some .img files

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team
@sd\_shadow My devices is edge xt2063-2 (USA,5G brand N71),It’s can't connect to chinatelecom(5G band N78)
But xt2603-3(Europe)ROM include N78 band
Can I flash XT2063-3 EU ROM on mydevices just by fastboot mode?
Or Just need modify some .img files

If the bootloader is unlocked, no problem.
If the bootloader is still locked, just flash the radio part.

I can't get my pc to see the phone when the phone is in fastboot modemak

Also Make sure To Update Drivers

标签: none

评论已关闭