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

Using Lenovo Moto Smart Assistant to restore stock rom (and lock bootloader after)

Search This thread

alexmaisa

Senior Member
Mar 8, 2016
166
40
Padang
If you have some difficulties finding fastboot rom for some G5S+ variant, I suggest using Lenovo Moto Smart Assistant (LMSA). You can download it from here and install on your PC.

How to download latest specific stock fastboot rom for your G5S+

You must:
  1. Using stock rom (locked or unlocked bootloader).
  2. Install Lenovo Moto Smart Assistant on your PC.
  3. Restore stock firmware, recovery, and boot image (if you changed it before).

Steps:
  1. Reboot your phone to bootloader.
  2. Open "Lenovo Moto Smart Assistant".
  3. Connect your phone to PC using the USB cable.
  4. Choose "Flash" menu on LMSA.
  5. Choose "Moto Phone".
  6. Choose "Moto G Plus (5th Gen S)".
  7. Choose your phone models.
  8. Wait for a minute while LMSA checking your phone, and then choose "Rescue". It will download the latest 1.5+ GB stock fastboot rom based on your phone model. You can find it on "C:\ProgramData\LMSA\Download\RomFiles".
  9. Click "Rescue" to flash latest rom and accept some confirmations. Your phone will be rebooted after flashing process completed.

Now your phone is back to stock rom. Of course, if you have unlocked it before, those steps wouldn't lock your bootloader. If you want to lock it, I suggest you do it immediately after flashing process completed.

Here to lock your phone after successful stock rom restoration.

You must:
  1. Have ADB fastboot driver installed.
  2. Get extracted fastboot rom from "C:\ProgramData\LMSA\Download\RomFiles".

Steps
  1. Reboot to bootloader.
  2. Open "Command Prompt" on your PC, and go to the location of extracted fastboot rom.
  3. Connect your phone to PC using the USB cable.
  4. Check first that your phone is connected using "fastboot devices" command.
  5. Do all below commands in sequence:
Code:
Code:
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash boot boot.img
fastboot oem lock

Your phone will be restarted. There will be no unlocked bootloader message anymore. And you'll have your phone locked. Ta-da :cool:.

Note:
  • Check "system.img_sparsechunk.x" files (where "x" is sequential numbers) in extracted fastboot rom folder. Newer rom may have more files than the older one. You must flash ALL those "system.img_sparsechunk.x" files in sequence.

If you have issues, please share here. Thanks are appreciated.
 
Last edited:

infineonz

Senior Member
Nov 15, 2007
75
18
I did all above steps but my G5 plus is still saying it has an unlocked bootloader with a ID: Invalid key error.
My phone simply avoids the bootloader to be relocked... it's just pure garbage...
 
May 12, 2018
36
4
Will Moto Smart Assistant also work for the G7 (Play)?

Motorola support sais no (and that there is no way at all to restore the images after unlocking the bootloader)... will try to find out myself later today.

And another question, do people have experience with updating Motos via Moto Smart Assistant? Reason is that latest models (G7) do not allow for OTA updates with bootloader unlocked. Am wondering if it will still be possible via the Smart Assistant - provided that works at all
 

voliveira92

Member
Jun 12, 2019
13
0
Limeira
Tried it all, but no good news.

Did it all, but my phone is stuck in boot screen. Can enter bootloader and recovery but can't do anything else. Tried everything I could find online (adb flash from twrp, fastboot flash [stock rooms, custom rooms]). Just keep getting kernel errors. If someone could please give me a light I would aprecciate a lot. This started after I installed lineage and tried to restore it back to stock via fastboot flashing (Potter retail 8.1), since fingerprint sensor stoped working on lineage. Mine is XT1802
 
Last edited:

Abhimlv12345

New member
Aug 20, 2016
4
0
Install Pixel Experience ROM

Did it all, but my phone is stuck in boot screen. Can enter bootloader and recovery but can't do anything else. Tried everything I could find online (adb flash from twrp, fastboot flash [stock rooms, custom rooms]). Just keep getting kernel errors. If someone could please give me a light I would aprecciate a lot. This started after I installed lineage and tried to restore it back to stock via fastboot flashing (Potter retail 8.1), since fingerprint sensor stoped working on lineage. Mine is XT1802
I am on Pixel Experience ROM and this ROM is purely copy of Android Pie of Pixel Devices and most stable rom
Prepare an sd card and copy pixel Experience ROM winrar file then put it in your phone and flash going into the recovery mode
This will work out for your device and will start up again
 

mattgwood

New member
May 26, 2020
1
0
I am on Pixel Experience ROM and this ROM is purely copy of Android Pie of Pixel Devices and most stable rom
Prepare an sd card and copy pixel Experience ROM winrar file then put it in your phone and flash going into the recovery mode
This will work out for your device and will start up again

hello i was looking around to fix my revvl xt-1952-t ( motola g 7)
its stuck in boot loop flashing bad key ( always had bad key since unlocking the phone. )
i have done a couple roms on samsung devices and never on any thing else .
fast boot is some what new to me. i love it vr oden installs . so i went to reinstall
stock rom on a extra phone
and didnt not get it to load i have whipped and reinstalled 4 tines checked the models var etc seems like it is all correct . is there any ideas or tricks i could be missing
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    If you have some difficulties finding fastboot rom for some G5S+ variant, I suggest using Lenovo Moto Smart Assistant (LMSA). You can download it from here and install on your PC.

    How to download latest specific stock fastboot rom for your G5S+

    You must:
    1. Using stock rom (locked or unlocked bootloader).
    2. Install Lenovo Moto Smart Assistant on your PC.
    3. Restore stock firmware, recovery, and boot image (if you changed it before).

    Steps:
    1. Reboot your phone to bootloader.
    2. Open "Lenovo Moto Smart Assistant".
    3. Connect your phone to PC using the USB cable.
    4. Choose "Flash" menu on LMSA.
    5. Choose "Moto Phone".
    6. Choose "Moto G Plus (5th Gen S)".
    7. Choose your phone models.
    8. Wait for a minute while LMSA checking your phone, and then choose "Rescue". It will download the latest 1.5+ GB stock fastboot rom based on your phone model. You can find it on "C:\ProgramData\LMSA\Download\RomFiles".
    9. Click "Rescue" to flash latest rom and accept some confirmations. Your phone will be rebooted after flashing process completed.

    Now your phone is back to stock rom. Of course, if you have unlocked it before, those steps wouldn't lock your bootloader. If you want to lock it, I suggest you do it immediately after flashing process completed.

    Here to lock your phone after successful stock rom restoration.

    You must:
    1. Have ADB fastboot driver installed.
    2. Get extracted fastboot rom from "C:\ProgramData\LMSA\Download\RomFiles".

    Steps
    1. Reboot to bootloader.
    2. Open "Command Prompt" on your PC, and go to the location of extracted fastboot rom.
    3. Connect your phone to PC using the USB cable.
    4. Check first that your phone is connected using "fastboot devices" command.
    5. Do all below commands in sequence:
    Code:
    Code:
    fastboot oem lock
    fastboot oem lock
    fastboot flash oem oem.img
    fastboot flash system system.img_sparsechunk.0
    fastboot flash system system.img_sparsechunk.1
    fastboot flash system system.img_sparsechunk.2
    fastboot flash system system.img_sparsechunk.3
    fastboot flash system system.img_sparsechunk.4
    fastboot flash system system.img_sparsechunk.5
    fastboot flash system system.img_sparsechunk.6
    fastboot flash system system.img_sparsechunk.7
    fastboot flash system system.img_sparsechunk.8
    fastboot flash system system.img_sparsechunk.9
    fastboot flash system system.img_sparsechunk.10
    fastboot flash boot boot.img
    fastboot oem lock

    Your phone will be restarted. There will be no unlocked bootloader message anymore. And you'll have your phone locked. Ta-da :cool:.

    Note:
    • Check "system.img_sparsechunk.x" files (where "x" is sequential numbers) in extracted fastboot rom folder. Newer rom may have more files than the older one. You must flash ALL those "system.img_sparsechunk.x" files in sequence.

    If you have issues, please share here. Thanks are appreciated.