分类 Moto 下的文章

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

https://xdaforums.com/t/rescue-and-smart-assistant-lmsa-motorola-lenovo-only.3951714/

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Rescue and Smart Assistant
LMSA: Lenovo's Motorola Smart Assistant (PC)
For Lenovo and Motorola Devices Only​

Rescue and Smart Assistant (LMSA) is an official tool installs on PC. Can help to manage smart device (include all Lenovo android phone, MOTO phone, Lenovo tablet ) data, flash smart device software, and more Lenovo support functions.​

Note: Most Devices Released in 2014 and Newer should be compatible. - 28 July 2021​

Note: There used to be an Update option, it was removed several years ago.​

Quick Links

Problem: Moto Phone will not update, even though you know that an update is available.​

Solution: Use the Update or Rescue option​

Problem: Device will not boot, or you lust want to reflash the firmware​

Solution: use the Rescue Option​

If you have a Verizon Branded Device You may need to use​

Moto's description of options.

  • Device Management: connect device via USB cable or Wi-Fi, and then manage Pictures, Videos,
    Music, Contacts, SMS, Files Management, Back/Restore;
  • Flash: upgrade device system software to the newest release, and even can rescue device from software caused un-operational status;

How to use Lenovo Moto Smart Assistant

Download/Install Smart Assistant on PC and User Guide (Win 10/7)

Smart Assistant App
The Smart Assistant App should install automatically after you enable
USB debugging in developer options
It may take a minute
If not install the app from mirror below.

Optional (Needed for manage Pictures, Videos, Music, Contacts, SMS, Files Management)

The PC program is not very fast,​

Be patient.​

Using Flash Rescue Option

Last edited: Jul 27, 2024

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Last edited: Apr 21, 2020

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Supported devices that can be Flashed/ rescued
Tested by me or reported by others
If your device is not listed, it may still work.

  • Moto G Plus (5th Gen S) alexmaisa
  • Moto G5 Plus - lm\_1970
  • Moto G5 - Akipe
  • Moto E 2015 Surnia/Otus - MotoJunkie01
  • Moto G 2015 Osprey/Merlin - MotoJunkie01
  • Moto G5S Plus - alexmaisa
  • Moto G6/ali/XT1925-12
  • Moto X4/payton/XT1900-1
  • Moto G7 Power/ocean/XT1955-5
  • Moto X2/ victara\_verizon / XT1096

Pretty much any device made after 2015 should be compatible. -28 July 2021

Last edited: Jul 29, 2021

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Unsupported Devices

  • Older devices
  • XT1060 Moto X 1st Gen - Rescue is Unsupported.
  • XT1768 Moto E4 Software Channel: USC - Rescue is Unsupported.
  • Moto Z XT1650 - Milad.\_.R
  • Moto G8 Play now supported -20 Sept 20

Last edited: Sep 21, 2020

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Look for downloaded Firmware in something like

Code:

 C:\ProgramData\LMSA\Download\RomFiles

You may need to uncheck

Code:

Hide protected operating system files

in View/Options/Change Folder and Search options/View

Last edited: Feb 18, 2020

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Skip Data Wipe

There is a way to flash firmware without losing data
Open LMSA select Flashing/rescue
boot the device to Fastboot mode
Connect the device to PC
Let LMSA download the Firmware
Once the firmware is downloaded, don't continue with flashing.
Open C:\ProgramData\LMSA\Download\RomFiles
Select the firmware for the device you want to flash
Open the flashfile.xml with a text editor like notepad++ (https://notepad-plus-plus.org/)
Delete this line

Code:

<step operation="erase" partition="userdata"/>

save the changes
Continue the flashing with LMSA

Note: This is not guaranteed to work
Thanks to nicolap8
How to: flash stock without losing data (without reformatting) by nicolap8

Last edited: Apr 21, 2020

Thanks for sharing. Never bothered to download this because I didn't know it had so many features like clipboard transfer, only heard of it's "Rescue" option before. With Smart Assistant 4.4.0.12 my stock rooted Moto G6 (-6 version) the flash option says "Coming soon" with a small "Go Rescue" option in the bottom. It could be my computer or the root though, because I plugged in my Moto g 2015 Osprey with Ressurection Remix Pie and it says "Coming soon" for it too, though I'm not sure if that's the ROM's /root fault. I know the flash wouldn't work with root/ but thought it would at least show the option in the windows app for the stock g6.

I was looking for an alternative to RSDLite to re-flash my g6's current firmware since some have reported it fixing the widespread lag, guess manual is my only option.

Edit: It appears the Play Store link in the OP isn't the right app, I used the ADB method to install but just figured I would mention it.

Last edited: Aug 10, 2019

Worked on my Moto Z4 xt1980-3, but was wonky at times--had to run it several times (would sometimes hang around 47%, other times said device not supported, though I had just downloaded the ROM of the supported device) but it's come through both times so far! -A

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Options have changed again.
Updated Instructions Here - 20 July 2021

Using Rescue option to Download Firmware

Open Rescue and Smart Assistant

 title=

Sign in

 title=

 title=

Compare target version with the current version, also verify that ro.carrier, and model name, and other info is correct.
If it looks good
Click the Download button.
To find downloaded firmware see post #5

 title=

Last edited: Jul 20, 2021

is it possible to use the zip file from https://mirrors.lolinet.com/firmware/moto/lake/official/ with LMSA-Tool?
If yes how? Just unzip into the folder? Many thanks in advance.
device G7 Plus RETEU3, still on August Patch (although December available), it won't update to newer patch or update to Android 10

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Tell me

Can any body tell me from lmsa is it possible z3 security patches install to z2 force ? Manually

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team

Troubleshooting

If you see this

Unable to match the appropriate firmware. Some key information cannot be read from device

Your device is unsupported, missing a Baseband, or mismatched firmware.

If the device is missing the Baseband or it doesn't match the software channel
LMSA will not be able to flash the firmware.

See these alternative options.

xdaforums.com

[Guide] Using Fastboot.exe with Motorola devices

Guide: Using Fastboot.exe with Motorola Devices If your device has its own section please post in that section. You can ping me with @sd\_shadow MediaTek or Qualcomm Chip? Do I have a MediaTek Device? see post #26 Info: If you have a MediaTek...

xdaforums.comxdaforums.com

Last edited: Mar 4, 2021

Tell me

No that isn't compatible.

Sent from my ali using XDA Labs

Tell me one thing,
Why incompatible?
Whether same specs ?
Actually when i boot my device into fastboot there is baseband number is not found ? What is that ?

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team
Tell me one thing,
Why incompatible?
Whether same specs ?
Actually when i boot my device into fastboot there is baseband number is not found ? What is that ?

The security updates can't be simply separated from the update.

The specs are very similar but there are differences
Mainly the screen
https://www.phonemore.com/compare/p...b-vs-motorola-moto-z2-force-xt1789-01/8729308

Sounds like you flashed the wrong firmware.

Sent from my ali using XDA Labs

Does the upgrade flash delete data like it claims it does? Z2Force, and Z4

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team
Does the upgrade flash delete data like it claims it does? Z2Force, and Z4

There is a warning to backup data, but
I have uipdated a Moto G6/ali/XT1925-12 , Moto X4/payton/XT1900-1, and Moto G7 Power/ocean/XT1955-5
Without data wipe.
I do recommend using the LMSA backup option, just to be safe.

Moto g8 play bricked ( XT 2015 -2 )

Funciona com moto g8 play (Xt 2015 2)?

sd_shadow

sd\_shadow

Recognized Contributor / XDA Welcome Team