[AutoScript] Install Firmware / Downgrade Firmware (MM-NT)

Search This thread

core720

Senior Member
Feb 6, 2012
2,344
2,502
http%3A%2F%2Fopcrat.com%2Fimage%2Fdata%2Fservice%2Fcustomization.png


AutoScript for Install MM and Downgrade NT 100% Safe (no bricks, no efs lost)


Unlock Bootloader
Donwload your firmware
Unzip AutoScript and Firmware in the same folder
Power Off device
Conect in Fastboot Mode ( Power Vol - )
Run Script for Flash Firmware or Downgrade Firmware
Enjoy !!!


Download - https://drive.google.com/open?id=0B85AHa9iZYzfdjh0bU05TU1NTk0
 

iron maiden

Senior Member
Feb 9, 2011
971
131
http%3A%2F%2Fopcrat.com%2Fimage%2Fdata%2Fservice%2Fcustomization.png


AutoScript for Install MM and Downgrade NT 100% Safe (no bricks, no efs lost)


Unlock Bootloader
Donwload your firmware
Unzip AutoScript and Firmware in the same folder
Power Off device
Conect in Fastboot Mode ( Power Vol - )
Run Script for Flash Firmware or Downgrade Firmware
Enjoy !!!


Download - https://drive.google.com/open?id=0B85AHa9iZYzfdjh0bU05TU1NTk0

Hello mate, this is for those who updated to noguat via ota and your bootloader is updated to nougat to download to MM? Thanks to see if you make a rom like you did on the bike x 2014


regards
 
  • Like
Reactions: lozada81

shrisha

Senior Member
Jul 16, 2011
143
13
Thanks so much, works fine. Don't like nugat, too much battery drain and memory use compare to MM, so I'm back to 6.0.1 now :)
 
  • Like
Reactions: core720

[email protected]

Senior Member
Feb 26, 2008
200
26
Romania
Last edited:

i23u8

Senior Member
Jul 24, 2015
435
148
Manila
OnePlus 7 Pro
Xiaomi Poco F3
I used the zip from the first post.

I'm now trying the recent batch file you uploaded but it's failing on flashing gpt

---------- Post added at 04:28 PM ---------- Previous post was at 04:22 PM ----------

Did u use the script from the first post? Or the one that I uploaded?

It now restarts over and over again and displays "Erasing" with the green Android icon.
 

IncendiaryPyro

Senior Member
May 12, 2013
94
11
I have a Koodo (which is owned by Telus, and on the same tkpca software channel) Moto Z Play, and I've recently sideloaded the Nougat OTA from this thread here. Everything works just fine, but I've realized this might affect me getting future OTAs from my carrier. If I were to download the last Marshmallow firmware from Telus and downgrade using this script, would I run into any issues with this script? Would I run into any issues with OTA updates as well? I'm considering downgrading so I can obtain future OTAs through my carrier again.

Edit: Downgrade to Marshmallow using the included DOWNGRADE FIRMWARE.bat was successful. Thank you very much for writing this script.
 
Last edited:

Really_Rekt

Senior Member
Jan 23, 2016
113
19
Will this work from a stable LOS install? Is it possible to then sideload OTAs?

EDIT: Nevermind, I should learn to read.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    http%3A%2F%2Fopcrat.com%2Fimage%2Fdata%2Fservice%2Fcustomization.png


    AutoScript for Install MM and Downgrade NT 100% Safe (no bricks, no efs lost)


    Unlock Bootloader
    Donwload your firmware
    Unzip AutoScript and Firmware in the same folder
    Power Off device
    Conect in Fastboot Mode ( Power Vol - )
    Run Script for Flash Firmware or Downgrade Firmware
    Enjoy !!!


    Download - https://drive.google.com/open?id=0B85AHa9iZYzfdjh0bU05TU1NTk0
    2
    This worked for me perfectly, I used @-=MoRpH=-'s version from the comments
    2
    Gotcha, interesting... So one more question, is there any way to just install the marshmallow rom over the nougat bootloader through recovery? Or does it not function correctly due to different bootloaders? Honestly I've rooted and rommed so many Android's and for some reason I have had some issues figuring out the rats nest of information with this phone. I can't even seem to see where a reliable and stable recovery is located for download.

    You wouldn't be able to flash the stock Marshmallow ROMs via stock recovery - you'd have to flash the stock ROM via fastboot (i.e. the bootloader). The general method to flash Motorola stock ROMs via fastboot is to:
    Download and install the Motorola drivers https://support.motorola.com/uk/en/drivers , then either Minimal ADB and fastboot https://forum.xda-developers.com/showthread.php?t=2317790 or the Autoinstall script on your computer. Download and extract the stock ROM (you'll need about 2 GB for the extracted images). Back up your device.

    Boot your device to the bootloader (after backing up) - this is fastboot mode, connect your device to your computer via USB and copy the stock ROM images to your ADB folder (e.g. gpt.bin, bootloader.img etc) or the Autoscript folder if you're following this thread.

    Execute the autoinstall script or, if you're using the Minimal ADB fastboot (with fastboot.exe), follow the first set of flashing commands from this guide here https://forum.xda-developers.com/moto-z-play/how-to/guide-relock-bootloader-to-lasted-stock-t3718190 You do not need to be on a custom ROM, but bear in mind this process will erase your device. Using only the first set of flashing commands from that guide will also not lock your bootloader, but you cannot re-lock your bootloader with an old ROM anyway. Flashing via fastboot will likely prevent you from flashing an older bootloader onto your device.

    The autoinstall script does not flash the bootloader (so you still have the Nougat bootloader), but uses mfastboot to flash. mfastboot.exe and fastboot.exe seem to be very similar, with fastboot being newer, both should work for a fastboot flash, just ensure you use mfastboot commands to flash on mfastboot.exe and fastboot commands to flash on fastboot.exe.

    Flashing the stock ROM would also put a stock recovery onto your device alongside all the other stock images. You'd only be able to flash stock OTA updates via stock recovery - I think any other images are rejected.

    You may be able to flash the Marshmallow ROM and it may work, regardless of your bootloader version, as you'd be flashing the Marshmallow system, modem, and other images. I do not know if there will be issues downgrading to Marshmallow from Nougat on Z Play devices, it could be smooth or not, just something to be aware of. Verify also that you're flashing a Marshmallow stock ROM meant for your variant/region - I'm not sure if there are different MM stock ROMs for different regions or if they are unified versions for release. Someone who is more familiar with MM stock firmware may be able to contribute. Regardless, do not use OTA updates if you are downgraded. We have enough hard bricked devices as it is, though depending on which 7.1.1 firmware you downgrade from, a blankflash may work in rescuing your device. There's no guarantees of it working, so please avoid hard bricking if you can.

    You could in theory flash a TWRP flashable of a Marshmallow stock ROM if a TWRP flashable still exists, though you may have modem issues between the Marshmallow ROM and the Nougat modem. With a TWRP flashable you cannot use OTA updates as well.

    Good luck whichever way you decide.
    1
    http%3A%2F%2Fopcrat.com%2Fimage%2Fdata%2Fservice%2Fcustomization.png


    AutoScript for Install MM and Downgrade NT 100% Safe (no bricks, no efs lost)


    Unlock Bootloader
    Donwload your firmware
    Unzip AutoScript and Firmware in the same folder
    Power Off device
    Conect in Fastboot Mode ( Power Vol - )
    Run Script for Flash Firmware or Downgrade Firmware
    Enjoy !!!


    Download - https://drive.google.com/open?id=0B85AHa9iZYzfdjh0bU05TU1NTk0

    Hello mate, this is for those who updated to noguat via ota and your bootloader is updated to nougat to download to MM? Thanks to see if you make a rom like you did on the bike x 2014


    regards
    1
    I wanted to just report back and thank you again. I decided to just unlock the bootloader and install TWRP. Installed a marshmellow stock ROM, rooted it and I'm off to the races. Already sooo much happier. The OTA upgrades to this phone have been trash in my opinion. I've been messing with the phone installing apps setting my themes up and other random settings, for about an hour and 50 minutes of actual screen on time. only lost 10% battery life. That's what I was looking for. And it's fast as hell again! All thanks to your guidance. Appreciate it!


    No worries, hopefully it was somewhat informative :)

    I've heard of some users using Helium Backup to backup their data, but failing that, make sure that all your important files, photos/videos, music documents etc are copied to a PC, or safe and synchronised in the cloud. If you have 2 factor authentication for online services, for example, set up on your device, check that you have the recovery codes/SMS backup for those services. Unfortunately a downgrade will likely wipe your app data but hopefully the majority of that has been backed up or easily replaceable. For SMS texts, call logs, you could look into MyPhoneExplorer https://www.fjsoft.at/en/downloads.php which is free and I've used it to back up (just check if you are backing up your contacts to Google or to MyPhoneExplorer, else if you restore via MyPhoneExplorer, you may end up with duplicate contacts if you are restoring via Google too!) Also, if you have an adopted SD card for extra internal storage, you may wish to backup the contents of the SD card too, as wiping your device may well erase the encryption key for the SD card, potentially requiring a wipe of the SD card.

    With regards to the bootloader, it's something you cannot replace anyway - the Nougat bootloader blocks any flashing of an older bootloader (presumably to prevent security vulnerabilities, that were patched, to be re-opened). That includes flashing a Marshmallow firmware - you'd likely see the bootloader reject the flash of the bootloader via a security downgrade error. As such, the auto install script ignores the flashing of the bootloader.

    However, the above behaviour is the prime reason you do not want to use OTA updates after you flash Marshmallow. Any OTA updates you receive would be for Marshmallow or an old version of Nougat, which include a bootloader in the OTA update. For some reason, the OTA update does not appear to verify your bootloader version (only verifying your system, and assumes your bootloader and system are the same patch level, which if you downgraded is not a correct assumption) before flashing. As such, an old OTA update can flash an older bootloader to your existing newer Nougat bootloader, which corrupts your newer bootloader and results in a nasty hard brick.

    However, if your plan is simply to unlock your bootloader, flash back to Marshmallow, root (and block the OTA updater!), then flashing a Marshmallow stock ROM may work, which should provide you with the full file system. There's a couple of Z Play 6.0.1 firmwares here https://mirrors.lolinet.com/firmware/moto/addison/official/RETAIL/ and here's another 6.0.1 firmware https://forum.xda-developers.com/moto-z-play/how-to/moto-z-play-reteu-firmware-otas-t3557917 but may be worth doublechecking which 6.0.1 firmware build you need.

    Good luck whatever you decide.