[E 2015 Q&A, Help & Troubleshooting] gustavobap:
Hello, I have a motoE 2 LTE (XT1514 Surnia) that originally had Android 5.0.2, but it went to motorola for repair and came back with 6.0. Despite the upgrade, the bootloader screen still showed "software status: official".

The I have unlocked the bootloader, installed TRWP and used it to flash supersu. The log says the process was successful but I checked with the app root checker that it was not.

Then I wanted to go back with the stock ROM. I downloaded the XT1514_SURNIA_RETBR_DS_6.0_MPI24.65-39_cid12_subsidy-DEFAULT_CFC.xml ROM from this link I found on xda-developers and flashed it with RSD Lite. The system works but the bootloader screen now says "software status: modified"; before this process I made a backup using TWRP but after restoring the bakcup image the message still didn't change back to "software status: official".

I thought maybe I need to install the original Android (5.02) and then upgrade it to 6.0, so I downloaded the XT1514_SURNIA_RETBR_DS_5.0.2_LXI22.50-53.8_cid12_subsidy-DEFAULT_CFC.xml ROM from the same link. The problem is I get a failure message when I try to flash the 5.0.2 image

# mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.125s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.570s

I did try with RSD Lite too, but I get the same message. I've read somewhere you can't dowgrade stock firmware, is the the problem here ? There is any workaround ?

My final objective is to have stock firmware with android 6.0 installed and the bootloader message saying it is official. I appreciate any help =)

ps. Even after flasingh the stock ROM there still a folder called supersu on the root folder. How is this possible ?

This is the log of RSD Lite flashing the stock image with android 6.0

28/16 05:39:10 The FlashLog key is turned off.
09/28/16 05:39:10 Multi upgrade started for 1 phones
09/28/16 05:39:10 [Device ID: 0] 1/20 getvar max-sparse-size
09/28/16 05:39:10 [Device ID: 0] 2/20 oem fb_mode_set
09/28/16 05:39:10 [Device ID: 0] 3/20 flash partition "gpt.bin"
09/28/16 05:39:11 [Device ID: 0] 4/20 flash bootloader "bootloader.img"
09/28/16 05:39:12 [Device ID: 0] 5/20 flash logo "logo.bin"
09/28/16 05:39:12 [Device ID: 0] 6/20 flash boot "boot.img"
09/28/16 05:39:15 [Device ID: 0] 7/20 flash recovery "recovery.img"
09/28/16 05:39:18 [Device ID: 0] 8/20 flash system "system.img_sparsechunk.0"
09/28/16 05:39:42 [Device ID: 0] 9/20 flash system "system.img_sparsechunk.1"
09/28/16 05:40:03 [Device ID: 0] 10/20 flash system "system.img_sparsechunk.2"
09/28/16 05:40:22 [Device ID: 0] 11/20 flash system "system.img_sparsechunk.3"
09/28/16 05:40:42 [Device ID: 0] 12/20 flash system "system.img_sparsechunk.4"
09/28/16 05:40:49 [Device ID: 0] 13/20 flash modem "NON-HLOS.bin"
09/28/16 05:40:54 [Device ID: 0] 14/20 erase modemst1
09/28/16 05:40:54 [Device ID: 0] 15/20 erase modemst2
09/28/16 05:40:54 [Device ID: 0] 16/20 flash fsg "fsg.mbn"
09/28/16 05:40:54 [Device ID: 0] 17/20 erase carrier
09/28/16 05:40:55 [Device ID: 0] 18/20 erase cache
09/28/16 05:40:55 [Device ID: 0] 19/20 erase userdata
09/28/16 05:40:57 [Device ID: 0] 20/20 oem fb_mode_clear
09/28/16 05:40:57 [Device ID: 0] reboot
09/28/16 05:40:57 CMultiFlashFlex::RebootPhone, waiting for phone to disconnect, status=2, state=0.
09/28/16 05:40:58 Removal, interface=28(0x0), device id=1636460.
09/28/16 05:40:58 CMultiFlashFlex::RebootPhone, waiting for phone to connect, status=3, state=4.
09/28/16 05:48:08 00002de8	Phone.cpp	1571	0	ERROR	Waiting for phone's handle is setted successfully after restart [430000 ms] completion. failed
09/28/16 05:48:08 CMultiFlashFlex::RebootPhone, unable to wait for phone, status=3, state=4.
09/28/16 05:48:08 [Device ID: 0] Please manually power up this phone.
09/28/16 05:55:18 00002de8	Phone.cpp	3974	-1	ERROR	CPhone::WaitForPhone timed out. Iteration-1
09/28/16 05:55:18 [Device ID: 0] Please manually power up this phone.
09/28/16 06:02:28 00002de8	Phone.cpp	3974	-1	ERROR	CPhone::WaitForPhone timed out. Iteration-2
09/28/16 06:02:28 [Device ID: 0] Please manually power up this phone.
09/28/16 06:08:36 Arrival, interface=36(0x0), device id=1636460.
09/28/16 06:08:36 [Device ID: 0] Waiting for others to finish current operation.
09/28/16 06:08:36 Arrival, interface=20(0x0), device id=1636460.
09/28/16 06:08:36 Arrival, interface=19(0x0), device id=1636460.
09/28/16 06:08:36 The FlashLog key is turned off.
09/28/16 06:08:36 FlashLog file is turned off.
09/28/16 06:08:36 Multi upgrade finished.