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

Rescue and Smart Assistant (LMSA)(Motorola/Lenovo Only)

Search This thread

smud61e

Member
May 12, 2014
15
0
Well thank you anyway for your help and patience, im on the climb up to 80 so getting my head around these things can be a bit of a challenge:)
A couple more questions if I may? what would be the outcome of editing the flash file ,then running the smart assistant recovery software if that were possible ?
Is there any way the data could be extracted from the memory chip once the phones been taken apart?
 

sd_shadow

Recognized Contributor
Sep 21, 2011
18,207
2
8,753
South Dakota
goo.gl
Motorola Droid X
Moto X4
  • Like
Reactions: smud61e

TheLonelyByte

Member
Mar 14, 2018
6
0
Hi, i've managed to kill my motorola one macro while trying to get root access, when i power it on, it just says there's no valid operational system.
I did a blankflash an then tried to flash the stock rom both with adb+fasboot and with LMSA and it seems to work until it does not. The blue screen with the "M" logo appears but it also shows the message "dm-verity corruption. Your device is corrupt. It can't be trusted and may not work properly". I remember that when i was trying to root the phone i've performed the command -fastboot dm-verity disable, or something like this but at that moment the device was working fine until i realized that it can't even get root, so i decided to ¿relock? the bootloader and now im here :/. Any advices?
 

Attachments

  • 16291711894215885285605406198524.jpg
    3.4 MB · Views: 5

sd_shadow

Recognized Contributor
Sep 21, 2011
18,207
2
8,753
South Dakota
goo.gl
Motorola Droid X
Moto X4
Hi, i've managed to kill my motorola one macro while trying to get root access, when i power it on, it just says there's no valid operational system.
I did a blankflash an then tried to flash the stock rom both with adb+fasboot and with LMSA and it seems to work until it does not. The blue screen with the "M" logo appears but it also shows the message "dm-verity corruption. Your device is corrupt. It can't be trusted and may not work properly". I remember that when i was trying to root the phone i've performed the command -fastboot dm-verity disable, or something like this but at that moment the device was working fine until i realized that it can't even get root, so i decided to ¿relock? the bootloader and now im here :/. Any advices?
Do you know how to use fastboot.exe ?
What does getvar all say?
Remove the imei line before posting.
Code:
 fastboot getvar all
 
  • Like
Reactions: TheLonelyByte

TheLonelyByte

Member
Mar 14, 2018
6
0

Attachments

  • Captura de Tela (2)_LI.jpg
    Captura de Tela (2)_LI.jpg
    876.5 KB · Views: 16
  • Captura de Tela (3).png
    Captura de Tela (3).png
    112.4 KB · Views: 16

TheLonelyByte

Member
Mar 14, 2018
6
0
Dude, i dont know how but i managed to boot up my phone, the system started with no problems, I just wanna know what i should do now, im afraid of letting the phone turn off and the nightmare start again. I wanna have the device as he come to the world, relock bootloader etc.
 

sd_shadow

Recognized Contributor
Sep 21, 2011
18,207
2
8,753
South Dakota
goo.gl
Motorola Droid X
Moto X4
Dude, i dont know how but i managed to boot up my phone, the system started with no problems, I just wanna know what i should do now, im afraid of letting the phone turn off and the nightmare start again. I wanna have the device as he come to the world, relock bootloader etc.
The bootloader is locked.
Screenshot 2021-08-17 073959.jpg
 
  • Like
Reactions: rotorline

mario0318

Senior Member
Question here...

This method of reflashing the same stock rom image files by editing out the erase userdata command, this can be done without unlocking the bootloader is that correct?

What would happen if I were to replace the boot.img file with the Magisk patched boot.img? Would the signatures or file size difference trip the rescue flash process?

I'm assuming this must have been attempted at some point, but I wanted to ask in case this would run the risk of bricking the device. I'm on the moto g play (2021) still on stock and with locked bootloader.
 

sd_shadow

Recognized Contributor
Sep 21, 2011
18,207
2
8,753
South Dakota
goo.gl
Motorola Droid X
Moto X4
Question here...

This method of reflashing the same stock rom image files by editing out the erase userdata command, this can be done without unlocking the bootloader is that correct?
In theory yes
I haven't got enough feedback on this to be sure.
What would happen if I were to replace the boot.img file with the Magisk patched boot.img? Would the signatures or file size difference trip the rescue flash process?
The signature wouldn't match
I'm assuming this must have been attempted at some point, but I wanted to ask in case this would run the risk of bricking the device. I'm on the moto g play (2021) still on stock and with locked bootloader.
I don't think it would brick the device, but the flash would fail.
 
  • Like
Reactions: mario0318

mario0318

Senior Member
In theory yes
I haven't got enough feedback on this to be sure.

The signature wouldn't match

I don't think it would brick the device, but the flash would fail.
shoot. I figured as much. Oh well.

You wouldn't know if there is a way to interrupt the process between sending the fastboot oem unlock command before it begins wiping userdata? Like forcing a reboot immediately after sending unlock command and getting the 'OK' response? I know it's a long shot and near impossible with most devices.

None of this would be an issue if there was a way to truly back up app and Config data without root. But more so keeping the Play Store Device Certification intact as i presume once reset it will fail as it detects the newly unlocked bootloader.
 
  • Like
Reactions: rotorline

Derfreigeist

Member
Aug 31, 2021
6
0
How to get to the Rescue option.
The options have changed again

Boot device in to fastboot mode
Do not connect to PC till Fastboot Mode step







The option will say Download the first time, and rescue will be greyed.
Click on Download to download the target firmware.
screenshot-2021-03-03-192604-png.5239211



If the firmware has already been downloaded, Rescue Now will be orange.
Click Rescue Now to install the target firmware.


View attachment 5380513
how do you select fast boot mode in the tool options, I could only manage to download And flash my phone once with this tool but I can't get the tool to recognize my device even if it appears on registered devices and the stock rom downloaded the first time is still there, should I log out and then in? Why I does keep telling me something about some key thing cannot be read from my device instead?
 

sd_shadow

Recognized Contributor
Sep 21, 2011
18,207
2
8,753
South Dakota
goo.gl
Motorola Droid X
Moto X4
how do you select fast boot mode in the tool options, I could only manage to download And flash my phone once with this tool but I can't get the tool to recognize my device even if it appears on registered devices and the stock rom downloaded the first time is still there, should I log out and then in? Why I does keep telling me something about some key thing cannot be read from my device instead?
Unfortunately, if the baseband, or some other parts are missing, lmsa will not work.
What does getvar all say?
Remove the IMEI before posting.
Code:
 fastboot getvar all
 

Derfreigeist

Member
Aug 31, 2021
6
0
Unfortunately, if the baseband, or some other parts are missing, lmsa will not work.
What does getvar all say?
Remove the IMEI before posting.
Code:
 fastboot getvar all
So, should I type that command on ADB in order for the assistant tool to work again, I'm sorry If didn't understand quite well, I formatted my phone completely in both slots with TWRP before trying to get help from the tool and that's exactly how I did it the first time when it actually recognized my phone, and it worked, what's different this time? And what did you mean by removing the IMEI before posting?
 

Derfreigeist

Member
Aug 31, 2021
6
0
Ok I think I understand you now, I'm sorry I didn't before, ill try to come back and show you a picture I just haven't done this procedures before And don't even know how to blurry my IMEI number but I'll try to figure that out, it's just that like I said I the tool worked great the first time and I did the exact same thing (format my phone with TWRP) when LMSA did work, is there something Is there any file I should restore back in my phone, I've got back ups but they're all from when I was on Lineage OS Android 11 so I guess thatd be a different baseband, anyway thanks for helping I try to take a picture with the fast boot getvar all command to show you

Unfortunately, if the baseband, or some other parts are missing, lmsa will not work.
What does getvar all say?
Remove the IMEI before posting.
Code:
 fastboot getvar all
.
 

dm29

New member
Sep 14, 2021
1
0
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
Hi,

I tried to rescue my MOTO G6 without wiping out my data and rescue also got completed but Still My phone doesnot goes beyond Starting Android part and screen freezed to Moto Logo.
 

Derfreigeist

Member
Aug 31, 2021
6
0
Yeh, the ro.carrier is missing.
You will have to flash with fadtboot.exe
thanks! well i allready sorted that out, since i already had the official rom downloaded i did some reseach and came up with this really helpful tool called RSD lite which i ultimately ended up using to easily reflash my moto g7 play stock rom no problem, its funny though after isuccesfully reflashed the device i an adb fastboot getvar all command and it still didnt how anything on ro.carrier but it doesnt matter no cause my moto g is running well as for now on bliss os and TWRP installed, i appreciate the help with this i was a bit overwhelmed by the whole issue, so thanks again
 

Derfreigeist

Member
Aug 31, 2021
6
0
Hi,

I tried to rescue my MOTO G6 without wiping out my data and rescue also got completed but Still My phone doesnot goes beyond Starting Android part and screen freezed to Moto Logo.
thanks for the informaion it sure can come at handy and save a ot of time, im using TWRP backups so i guess i just can use restore data infrmation or copy/paste it if i ever want to keep it even with any olther rom installed?
 

Top Liked Posts

  • 1
    I am having a hard time login in to LMSA. There seems to be a problem with the system. Any fix for this?View attachment 5440165
    I think Moto servers were down again.
  • 2
    In all my fiddling with Moto phones, LMSA has never failed to give good firmware. It's primarily where I get it from. The main issue is it only serves up the latest, which is unhelpful if you're trying to avoid a full Android upgrade (like the somewhat problematic Android 11 on the G Power 2020). So I typically just snag some backups from it when I buy a new model and just before a new upgrade is pushed.
    1
    Thanks @sd_shadow for assembling this thread. I've been spoiled by SDlite with stock images from lolinet on an old Windows 7 workstation with USB 2 ports but that machine is increasingly less reliable and I've had no other options (other than attempting to do things manually in Linux) ... until now. I may still use the old Win 7 box but in a preliminary test of Rescue and Smart Assistant on a Moto G Power 2020 with known good ADB/fastboot on the attached computer the Moto device was found through the USB connection and what seems to be the latest firmware package was offered.

    Also I found some posts about the update feature which I may (or may not) try at the next security patch, although I typically prefer a clean slate and flash the entire latest version. I'm also curious about the instruction for how to use builds downloaded from lolinet but if the native Rescue and Smart Assistant download gives me the version I need I may not mess with that. In any event, just having this as a secondary option (possibly to become primary) will free me up to start playing with the Moto G Power 2020 and possibly a Moto G7 Power.

    In the new 5.8 update, anyone not able to sign in with their Lenovo ID?

    I never had a previous version so technically not an update but in a new installation of Rescue and Smart Assistant 5.8.0.25 I was able to create an account and log-in through the installation wizard. I had to authenticate the account by accessing a link in email but after that was able to log-into Rescue and Smart Assistant
    1
    They seemed to have fixed it but thanks anyway!
    Could have been a server issue, moto seems to have a lot of those.
    1
    I'm also curious about the instruction for how to use builds downloaded from lolinet...
    You should be able to use the firmware downloaded by LMSA, with RSD Lite.
    The flash_file.xml and service_file.xml use the same format as the past firmware.

    LMSA just has safeguards to prevent flashing the wrong firmware.
    Although there are plenty of reports that LMSA downloaded and flashed the wrong firmware.

    Usually, in these cases, it's devices that have some submodels that have 1 sim card and some have 2 sim cards or some other hardware differences.
    just verify that it lists the correct sub-model and ro.carrier.
    1
    LMSA is really the only official way moto firmware has ever been available to the public other than a few Developer models.
    Before firmware has always been leaked by people that had access to moto servers.
  • 14
    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​

    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
    5
    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
    4
    Supported devices that can be updated.
    Most Devices 2014 and later should be compatible.

    Devices listed in LMSA's Rescue options
    In the order as listed. - 16 April 2020

    • Droid Maxx - XT1080
    • Droid Maxx 2 / Moto X Play (LRA) - XT1564/XT1565
    • Droid Turbo - XT1250/XT1254
    • Droid Turbo 2 - XT1585
    • Moto C - XT1750/XT1754/XT1755/XT1756/XT1757/XT1758
    • Moto C Plus - XT1721/XT1723/XT1725/XT1726
    • Moto E2 - XT1526/XT1527/XT1528
    • Moto E4 - XT1760/XT1761/XT1762/XT1763/XT1764/XT1769/XT1765/XT1766/XT1767/XT1768/XT1765PP
    • Moto E4 Plus - XT1771/XT1772/XT1770/XT1773/XT1775/XT1774/Xt1776
    • Moto E5 - XT1944-1/XT1944-2/XT1944-3/XT1944-4/XT1944-5/XT1944-6/XT1944-DL
    • Moto E6 - XT2005-PP/XT2005-1/XT2005-5/XT2005-3/XT2005-4/XT2005-DL
    • Moto E5 Go - XT1921-8
    • Moto E5 Play - XT1921-18/XT1921-1/XT1921-2/XT1921-3/XT1921-5/XT1921-6/XT1921-7/XT1921-15/XT1921-16/XT1921-/XT1920-19
    • Moto E5 Plus - XT1924-1/XT1924-2/XT1924-3/XT1924-4/XT1924-5/XT1924-6/XT1924-7/XT1924-8/XT1924-9
    • Moto E3 - XT1700
    • Moto E3 Power - XT1706
    • Moto E6 Plus - XT2025-1
    • Moto E6 S Plus - XT2025
    • Moto G3 - XT1548/XT1540/XT1543/XT1544/XT1541/XT1542/XT1550
    • Moto G4 - XT1621/XT1622/XT1624/XT1625/XT1626
    • Moto G4 Play - XT1600/ XT1601/XT1603/XT1604/XT1607/XT1609
    • Moto G5 S - XT1790/XT1791/
    • Moto G6
    • Moto G7
    • Moto G6 Play
    • Moto G7 Play
    • Moto G4 Plus
    • Moto G5 S Plus
    • Moto G6 Plus
    • Moto G7 Plus
    • Moto G8 Plus
    • Moto G7 Power
    • Moto G Turbo
    • Moto G5
    • Moto G5 Plus
    • Moto M
    • Moto X2
    • Moto X4
    • Moto X Play
    • Moto X Pure
    • Moto X Style
    • Moto Z
    • Moto Z2
    • Moro Z3
    • Moto Z Droid
    • Moto Z Force Droid
    • Moto Z Play
    • Moto Z2 Play
    • Moto Z3 Play
    • Moto Z Play Droid
    • Moto Z4 - XT1980-4/XT1980-3
    • Motorola One - XT1941-1/XT1941-2/XT1941-3/XT1941-4/XT1941-5
    • Motorola One Action - XT2013-1/XT2013-2/XT2013-4
    • Motorola One Macro - XT2016-1
    • Motorola One Power - XT1942-2
    • Motorola One Vision - XT1970-3/XT1970-2/XT1970-5/XT-1970-1
    • Motorola One Zoom - XT2010-1
    • Motorola Razr - XT2000-1/XT2000-2
    • Revvlry+ - XT1965


    Tested by me or reported by others



    Some related threads
    https://forum.xda-developers.com/moto-g7/how-to/how-to-fix-g7-xt1962-1-stuck-bootloader-t3917792.
    3
    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
    3
    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