OTA nougat update failed - bootloop - Moto Z Play Questions & Answers

Hi
ADB sideload fails at 47%, error in package.zip
The phone is in bootlop. I can't find signed MM images. The bootloader is locked. Any suggestions????

zaver said:
Hi
ADB sideload fails at 47%, error in package.zip
The phone is in bootlop. I can't find signed MM images. The bootloader is locked. Any suggestions????
Click to expand...
Click to collapse
Is your phone rooted? Because the same thing happened to me, but with the Nougat OTA update, not the ADB. I tried to unroot, but It kept failing, until I flashed from scratch the Marshmallow (with ADB).
Then I went through the OTA update again and it worked!
Maybe if you install the MM again, the Nougat may work =)

The phone is stock. I tried flashing MM with adb sideload, but I get "signature verification failed"
I also tried flashing in fastboot, but I can't without signed firmware files.

Have you extract the MM firmware files? I have successfully downgrade to MM my reteu Z play.

-=MoRpH=- said:
Have you extract the MM firmware files? I have successfully downgrade to MM my reteu Z play.
Click to expand...
Click to collapse
I have downloaded this:
https://mirrors.lolinet.com/firmware/moto/addison/official/RETEU/
if i use fastboot flash:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery
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 oem oem.img
fastboot erase carrier
fastboot erase DDR
fastboot oem fb_mode_clear
Output:
.....
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
......
.....
writing 'system'...
(bootloader) Security version downgrade
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
.......
....
Invalid signed image is for every partition action.

First flash this commands:
Code:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
than restart the bootloader!
Now flash:
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.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 oem oem.img
after that make a wipe in the stock recovery. That works for me yesterday.
{Edit} Is your Bootloader unlocked? And what channel is it? (RETEU?)

Fisrt set of commands goes through OK
For the second set I get "Invalid signed image"
My bootloader is unfortunately locked.

I got the msg that the signature failed also. But the flash finished. Just flash all commands straightforward.
Gesendet von meinem XT1635-02 mit Tapatalk

I did wipe/factory reset in recovery.
Now it starts up MOTO scren, the followed by by an ""Android (like in recovery)" and text "Erasing..."
And it loops.

That's because a broken update. I had the same after trying to root. The only way for me was the downgrade to MM and update till nougat again.
Would you write me a pm with the errors you got at the downgrade process?
Gesendet von meinem XT1635-02 mit Tapatalk

zaver said:
I did wipe/factory reset in recovery.
Now it starts up MOTO scren, the followed by by an ""Android (like in recovery)" and text "Erasing..."
And it loops.
Click to expand...
Click to collapse
is your software status official or modified?
if its modified flash this by fastboot method
https://firmware.center/firmware/Motorola/Moto Z Play/Stock/
check which ur device is and download latest stock firmware... everything will be just fine..
if it fails do report us we all are here to help you
edit: ur bootloader is locked... ur in trouble my son....
unlock it then flash firmware files...it should work out

Sagar_1401 said:
unlock it then flash firmware files...it should work out
Click to expand...
Click to collapse
You are aware that unlocking erases all data and voids warranty?
Without unlocking you may try starting with
fastboot oem lock start
ending with
fastboot oem lock
(Only from memory, don't know what needs to be integrated, should do no harm if it fails, just refuse changes - but have no experience with this)

tag68 said:
You are aware that unlocking erases all data and voids warranty?
Without unlocking you may try starting with
fastboot oem lock start
ending with
fastboot oem lock
(Only from memory, don't know what needs to be integrated, should do no harm if it fails, just refuse changes - but have no experience with this)
Click to expand...
Click to collapse
he anyways need to loose all his data... he has messed up already.. what could he do now?

Maybe the data is lost, but the warranty isn't. At least by now.
Edit: I mean, it may be that the action makes sense. But it is not your decision and you should mention the drawbacks. He may not be aware that the data is lost, and there may be actions avoiding the data loss (may be needed to wait weeks or months to get the right nougat firmware). He may not be aware that warranty will be void, and it may also be an option to use the warranty and give it Lenovo. It is not your decision. Giving hints is fine, but always tell the negative part/alternative ways. You do suggestions, not a guide. The user has to decide himself, otherwise he has some right to get angry if something does not work fine.

Just my 2 cents: He needs a open bootloader to downgrade. If not, he have to wait for an full Android 7 Firmware File what is newer or exact Version of the flashed bootloader; what he flashed already i think. The big Question is: why the update stops. Where do you get the file?
Gesendet von meinem Lenovo TAB 2 A10-70F mit Tapatalk

I cannot unlock bootloader, you need to modify a setting when the phone is running in developer options.
I don't care about the data and I already have the bootloader unlock key. I need to get official signed firmware files so I can flash MM from fastboot. At least that is what I think.

Try other firmware than retail.us. You have already done
Enviado desde mi XT1635-02 mediante Tapatalk

joshua764 said:
Try other firmware than retail.us. You have already done
Enviado desde mi XT1635-02 mediante Tapatalk
Click to expand...
Click to collapse
I tried reteu, retbr 6.01. I cannot flash from fastboot. I get "Invalid signed image", which to my knowledge means, that the image was not signed by motorola/google/lenovo. And I can't find official, signed images anywhere.

For me, the OTA update succeeded, worked a for a while, then at some point it rebooted, whereupon I received the same message as OP.
Using: https://mirrors.lolinet.com/firmware/moto/addison/official/RETEU/
Running
Code:
fastboot flash partition gpt.bin
results in
Code:
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ 0.003s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.072s
I assume this is because the update flashed newer firmware than what has been released by Motorola...
Attempting to sideload the .zip results in:
Code:
E: footer is wrong
EL signature verification failed
Installation aborted
So I'm left with the following choices:
1. Send the device back to Motorola for repair - won't have a phone in the meanwhile
2. Wait for Motorola to get a move on with releasing their firmware - phone unusable in the meanwhile
3. Unlock bootloader, void warranty, install LineageOS or similar, no camera until Motorola release the firmware blobs
Unless there are any other options I've missed, this is why you just cough up and go Google Nexus/Pixel gents...

Like I have said numerous times , DON'T ATTEMPT TO FLASH BACK TO MM unless you have a back up plan.
That back up plan would of course be, make sure you have the Nougat firmware for your specific device.

Related

Stock Recovery Issue

Everytime i try and flash the stock image in fastboot it fails when it gets to anything pertaining to the bootloader
FAILED (remote: Do not allow to flash Bootloader image on Unlock device)
My device is unlocked but to try and compat this i even try to re-lock the device which also fails:
FAILED (remote: oem lock back is forbidden)
Im stuck, i cant use the flashall because it fails, i cant individually flash files because the bootloader items fail,
im at a loss as to what to do.
Im able to flash a custom recovery but i cant do anything with it, except try and flash modem items with twrp which also did nothing.
brother, i am sorry for your condition , i dont have much knowledge on such things, but i once had MotoG, i used to flash Stock files with this method..
https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
if you are flashing Stock files, then Bootloader need not to be stayed UNLOCKED..
hope you get any idea from there.. all the best
---------- Post added at 11:25 AM ---------- Previous post was at 11:23 AM ----------
look in to this also :
https://forum.xda-developers.com/mo...e-restore-moto-e-2015-stock-firmware-t3054303
this might give u anyidea
Did you have TWRP installed before you tried to flash stock Rom ? I'm guessing thats why its failing , but i dont know how to fix
maybe you're trying to flash older version of bootloader than the one you've already got? besides you don't need to flash bootloader to lash the rest, like system, modem or kernel
Okay so i know what my problem is i just dont know how to solve it:
I have a partially unlocked bootloader. is i do the fastboot oem device-info command, it tells me that my bootloader is unlocked but im unable to flash bootloader images (Device critical unlocked: false)
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem device-info
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Device Secure boot: yes
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.080s]
finished. total time: 0.081s
Does anyone know how to get Device critical unlocked: true?
I stuck in the bootanimation and i cant flash a stock rom because there is no such thing. I found one, but this is no flashable zip. And the "flashall.bat" doesnt work. CM also doesnt work. I dont know what to do now.
Edit: Now i dont get into twrp recovery. With adb and with the hardware its not possible to enter twrp.
Did anyone found any solution? I am in same situation...
Found
flash only boot and system, not bootloader
finally while Flashing stock, i am stuck at Bootlogo looop
any suggestions??
i tried unrooting my RR 7.1.1 but with the zip provided , i think it failed..
any way to clean flash / freshly load stock again !!
nandakis4 said:
finally while Flashing stock, i am stuck at Bootlogo looop
any suggestions??
i tried unrooting my RR 7.1.1 but with the zip provided , i think it failed..
any way to clean flash / freshly load stock again !!
Click to expand...
Click to collapse
if you have the stock rom just follow the trouble shooting guide at the start of this thread , should work
Hi, thanks for replying..
flashed the files again,
Boot, recovery, then systemchunk files, REBOOT..
its still bootlooping, i think i am missing any file that needs to be put, but i am not putting .. !!
any more suggestions ??
nandakis4 said:
Hi, thanks for replying..
flashed the files again,
Boot, recovery, then systemchunk files, REBOOT..
its still bootlooping, i think i am missing any file that needs to be put, but i am not putting .. !!
any more suggestions ??
Click to expand...
Click to collapse
I am having the same issues:
I cannot flash anything pertaining to the bootloader, this is the official flash list, open fastboot and paste this entire list, when its finished you will see "failed" next to anything pertaining to the bootloader. And therein lies the issue, i havent found a soloution and ive been searching for 2 months now
fastboot flash partition gpt_both0.bin
fastboot flash sec sec.dat
fastboot flash apdp dp_AP_signed.mbn
fastboot flash msadp dp_MSA_signed.mbn
fastboot flash prov prov32.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash sbl1bak sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash rpmbak rpm.mbn
fastboot flash devcfg devcfg.mbn
fastboot flash devcfgbak devcfg.mbn
fastboot flash lksecapp lksecapp.mbn
fastboot flash lksecappbak lksecapp.mbn
fastboot flash tz tz.mbn
fastboot flash tzbak tz.mbn
fastboot flash keymaster keymaster.mbn
fastboot flash cmnlib cmnlib.mbn
fastboot flash cmnlibbak cmnlib.mbn
fastboot flash cmnlib64 cmnlib64.mbn
fastboot flash cmnlib64bak cmnlib64.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash abootbak emmc_appsboot.mbn
fastboot flash logo logo.bin
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system systemchunk0.img
fastboot flash system systemchunk1.img
fastboot flash system systemchunk2.img
fastboot flash system systemchunk3.img
fastboot flash system systemchunk4.img
fastboot flash system systemchunk5.img
fastboot flash system systemchunk6.img
fastboot flash system systemchunk7.img
fastboot flash system systemchunk8.img
fastboot flash system systemchunk9.img
fastboot flash system systemchunk10.img
fastboot flash system systemchunk11.img
fastboot flash system systemchunk12.img
fastboot flash cache cache.img
fastboot erase userdata
FYI i have unlocked my bootloader, and it wont let me lock it again
@nandakis4 Did you manage to solve your issue?
@itsjustbilly Why are you flashing the bootloader? It will fail if it's unlocked.
I'd want to go back to stock to start off fresh, but these are some discouraging stories.
cyrrrinda said:
Found
flash only boot and system, not bootloader
Click to expand...
Click to collapse
Please confirm if you were able to revert to MM without losing your signal.
Edit: It crossed my mind just now. TWRP has the ability to backup the modem so surely you could use it if you were to have problems with the signal later? Provided you can access the recovery of course, but that doesn't seem to be a problem in most cases.
qcn backup
Hi here is qcn backup from working phone. To go to engeneering mode you have to press ####8899#. Smaller is from qfil tool, bigger is from qpst tool (software download). When I restored, I am back on internet 4G, can make or receive calls, BUT NO SOUND from speaker and MIC not working so. Any idea?
cyrrrinda said:
Hi here is qcn backup from working phone. To go to engeneering mode you have to press ####8899#. Smaller is from qfil tool, bigger is from qpst tool (software download). When I restored, I am back on internet 4G, can make or receive calls, BUT NO SOUND from speaker and MIC not working so. Any idea?
Click to expand...
Click to collapse
Do 2G and 3G work? My phone can detect 4G, but not 2G and 3G.
You've probably solved the sound issue by now, otherwise have a look at this thread.

[TUTORIAL] How to update your Moto X Force (RETEU) To Nougat!

Considering Lenovo has ABANDONED all the phones before 2016, I was about to lose hope on updating the RETEU version of XT 1580, but after finding some tips to flash the Latin American firmware version, I could get a Nougat Update bugs (so far), and fully functional with my SIM. It's my first tutorial attempt in Xda Foruns, so let me know if there's any divergent intel within it​
This Tutorial is based on a few others I've searched throughout foruns and Google+ by @miltonfernandez , and since I read the @Alimataei post Helping us to update the Chinese X Force version to Nougat, I could get this working too and now I'd like to tell ya guys how I did.​
Step by Step​1. Download the setup files:
Firmware Flahser
Career Signal Files
2. Download the required files in order to make your phone elegitable to the OTA update:
RETLA DS FIRMWARE24.78.8.12-12
Blur_Version.25.11.12.kinzie.retla.en.01.zip (NOUGAT OTA)
3. After the files being dowloaded, extract them to your desired pc folder: the firmware flasher and the RETLA UPDATE FILES;
4. Enable the USB Debugging in Settings>Developer Options, if you dont have that option enabled, just go to Settings> About The Phone> Click 7 x in the Version Number tile;
5. Connect your xt 1580 to your computer and open the firmware flasher, it will do all the job, but if you face any issue or if you want to flash the firmware by yourself, open a new comand prompt in this folder(right click > open comand prompt here) and paste the following comands:
fastboot flash partition gpt.biadb reboot bootloader
fastboot getvar max-sparse-size
fastboot oem fb_mode_setn
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.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 system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12

fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
Click to expand...
Click to collapse
PS. It's normal to face a Fail Hash validation during the NON-HLOS.bin flash due the different modem versions, just flash again and it will be fine, this error doesn't occur during the process with the firmware flasher;
6. After the process completion, transfer the OTA file to your x force internal memory, and then, reboot your cellphone in recovery mode via bootloader menu or via adb with the command:
adb reboot recovery
Click to expand...
Click to collapse
* if you face the "NO COMAND" Screen, just press the VOL UP + POWER Keys at once;
7. In the recovery mode, go to "update from SD card" and choose the OTA File, if all the earlier steps went fine, the updade will work as fine as it should to a Latin American X Force, but it takes about 20 minutes, so hold on for that while...
8. After the long wait, and the "result is /system" status, it's recommended to wipe data and cache, so do these steps before rebooting your phone;
9. Now, you can choose to boot normally or go to the bootloader menu and flash the Career Singnal Files , because the reteu version was supposed to be single SIM, that's why we can't get any SIM recognition with DS (Dual SIM), firmwares. In order to flash the Career Singnal Files you can simply run the .bat file provided in the package attached, or use these comands in the prompted comand folder:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Click to expand...
Click to collapse
10. Your phone is now fully updated to the 7.0 Nougat and SIM Functional!!
Tap the Thanks button if it was useful for you​ :good:
Just checking.
Is this going to enable dual sim in European xt1580?
wifi is working?
TeddyBeers said:
Just checking.
Is this going to enable dual sim in European xt1580?
Click to expand...
Click to collapse
Dual SIM options are displayed for me, but I can't say if the second SIM tray will work cuz I don't have a second SIM
But if you flash all the provided files as described in the tutorial, your SIM will be fine
LoTableT said:
wifi is working?
Click to expand...
Click to collapse
Yep
I guess this procedure will also work with retmx 6.0 firmware and retmx 7.0 OTA file instead of retla firmware/OTA, right ?
Can confirm this is working. Can't see any bugs so far.
Simple instructions:
1) Flash the DS UPDATE files to allow your device to accept the 7.0 OTA (Warning: the firmware flasher will wipe your user data)
2) Flash the OTA file
3) Flash the RetEU files for modem etc.
the flash failed for me, could someone tell me why ?
do I need to unlock my bootloader (and void my warranty ) ?
Code:
C:\Program Files (x86)\ADB_Fastboot>fastboot getvar max-sparse-size
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
max-sparse-size: 268435456
finished. total time: 0.002s
C:\Program Files (x86)\ADB_Fastboot>fastboot oem fb_mode_set
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.012s]
finished. total time: 0.013s
C:\Program Files (x86)\ADB_Fastboot>fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.005s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.326s
Dhalsim43 said:
1. do I need to unlock my bootloader (and void my warranty ) ?
2. C:\Program Files (x86)\ADB_Fastboot>fastboot flash partition gpt.bin
Click to expand...
Click to collapse
1. Yes
2. You can not do this. Installing gpt.bin from another phone, for example LA on the EU, can result in a brick.
Enlace de OTA y firmware eliminados por no citar al autor original del post de Google+. Hay que citar los créditos a quien corresponda, no adueñarse y solo traducir el trabajo de otros.
ilia3367 said:
1. Yes
2. You can not do this. Installing gpt.bin from another phone, for example LA on the EU, can result in a brick.
Click to expand...
Click to collapse
Really ?! so why is it in the procedure ?
LoTableT said:
wifi is working?
Click to expand...
Click to collapse
miltonfernandez said:
Enlace de OTA y firmware eliminados por no citar al autor original del post de Google+. Hay que citar los créditos a quien corresponda, no adueñarse y solo traducir el trabajo de otros.
Click to expand...
Click to collapse
You are the author Dude!
Sorry, I totally forgot to mention you on credits, glad to know you're on Xda too
I installed without any problem!
Thanks a lot!
Mirror
Is there a mirror available ? the mega download doe not work anymore
ilia3367 said:
You can not do this. Installing gpt.bin from another phone, for example LA on the EU, can result in a brick.
Click to expand...
Click to collapse
@Felipolas, what do you think about that ?
Felipolas said:
You are the author Dude!
Sorry, I totally forgot to mention you on credits, glad to know you're on Xda too
Click to expand...
Click to collapse
New OTA and Firmware link in the original post of Google+.
LoTableT said:
I installed without any problem!
Thanks a lot!
Click to expand...
Click to collapse
Hi, can you please tell me what phone you have? I tried it on my XT1581 with MM 6 and I am having problems. I cannot go past the 6.01 update, then I have one sim and wifi OK but not second sim. If I use my modem file (from my China rom) I get two sims OK but no wifi!
Crazy
Thanks
Andrea
Alchimista58 said:
Hi, can you please tell me what phone you have? I tried it on my XT1581 with MM 6 and I am having problems. I cannot go past the 6.01 update, then I have one sim and wifi OK but not second sim. If I use my modem file (from my China rom) I get two sims OK but no wifi!
Crazy
Thanks
Andrea
Click to expand...
Click to collapse
this guide is for XT1580 Reteu (european version)
LoTableT said:
this guide is for XT1580 Reteu (european version)
Click to expand...
Click to collapse
Thank you for your immediate reply. Noted, I think I'll give up!
Regards
Andrea
Dhalsim43 said:
@Felipolas, what do you think about that ?
Click to expand...
Click to collapse
That'e true, you can get a softbrick you manage to install a different gpt.bin file that your region is

[HELP] Help with fastboot and RSD Lite

The phone doesn't show up in RSD Lite
But in my ADB ( $- Fastboot devices) it's showing up.
Can someone help me?
Downloaded and installed:
Device Manager
Moto USB Drivers
Moto Service (doesn't appear here too)
My brother give me this phone, and doesn't know the Gmail account he use (yeah i'm furious, he created a account just to "test" the phone, now i'm stuck in the google login screen because he wipes the phone in bootloader)
Windows 10
Motorola USB Cable
Print:
http://prntscr.com/gcrqab
What are you attempting to do?
If you are trying to flash firmware you do it through fastboot
If you are trying to log into google just create and sign in with a different account
Commands to flash via fastboot once you have downloaded the firmware are
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Note if you have more sparsechunks flash them as well in number order
If you want to play it safe and only really flash what should get the phone booting again just flash
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot erase cache
fastboot erase userdata
fastboot reboot
Again if you have more sparsechunks flash them as well in number order
I don't know what that tool you are using is but it's not required
TheFixItMan said:
What are you attempting to do?
If you are trying to flash firmware you do it through fastboot
If you are trying to log into google just create and sign in with a different account
Commands to flash via fastboot once you have downloaded the firmware are
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Note if you have more sparsechunks flash them as well in number order
If you want to play it safe and only really flash what should get the phone booting again just flash
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot erase cache
fastboot erase userdata
fastboot reboot
Again if you have more sparsechunks flash them as well in number order
I don't know what that tool you are using is but it's not required
Click to expand...
Click to collapse
I can do it with bootloader locked?
i"m with FRP (Factory Reset Protection) i can't pass without the gmail that he created and doesn't even remember the email.
TeuzHd said:
I can do it with bootloader locked?
Click to expand...
Click to collapse
Yes if it's original Motorola firmware
You only need to unlock bootloader for custom firmware/roms
TheFixItMan said:
What are you attempting to do?
If you are trying to flash firmware you do it through fastboot
If you are trying to log into google just create and sign in with a different account
Commands to flash via fastboot once you have downloaded the firmware are
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Note if you have more sparsechunks flash them as well in number order
If you want to play it safe and only really flash what should get the phone booting again just flash
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot erase cache
fastboot erase userdata
fastboot reboot
Again if you have more sparsechunks flash them as well in number order
I don't know what that tool you are using is but it's not required
Click to expand...
Click to collapse
TheFixItMan said:
Yes if it's original Motorola firmware
You only need to unlock bootloader for custom firmware/roms
Click to expand...
Click to collapse
I'm getting this with everything:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk3
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
That's my ADB root folder: http://prntscr.com/gcz5ld
TeuzHd said:
I'm getting this with everything:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk3
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
That's my ADB root folder: http://prntscr.com/gcz5ld
Click to expand...
Click to collapse
from that you should be typing the following
Code:
fastboot flash partition gpt.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk0
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot flash system system.img_sparsechunk4
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
The errors you are getting is because of your adb version - it should still flash
long as you get an output that looks like this at the end
Code:
sending 'logo' (460 KB)...
OKAY [ 0.099s]
writing 'logo'...
OKAY [ 0.154s]
finished. total time: 0.256s
I have encluded my adb and fastboot folder for you to use (excludes any firmware just adb and fastboot) for use on windows
Download from link below
Platform-tools
TheFixItMan said:
from that you should be typing the following
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.520s]
writing 'boot'...
(bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.722s[/HTML]
i can try with another PC, should work?
Click to expand...
Click to collapse
TeuzHd said:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.520s]
writing 'boot'...
(bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.722s[/HTML]
i can try with another PC, should work?
Click to expand...
Click to collapse
The firmware you are trying to flash is a lower version than what is installed - You must get firmware that is equal to or newer than the firmware on the device already else it will fail
eg you cant flash android 7.0 on a device that has a bootloader that is for 7.1
you will have to find the correct firmware for your device
note there is no harm trying the firmware because as you can see - if its wrong it will just fail the validation test and not flash
TheFixItMan said:
The firmware you are trying to flash is a lower version than what is installed - You must get firmware that is equal to or newer than the firmware on the device already else it will fail
eg you cant flash android 7.0 on a device that has a bootloader that is for 7.1
you will have to find the correct firmware for your device
note there is no harm trying the firmware because as you can see - if its wrong it will just fail the validation test and not flash
Click to expand...
Click to collapse
Reflashing the 7.1.2 version i can pass FRP? i'm trying to bypas FRP.
In the authorized warranty, they told me that they can not do any software repairs on the device until I remove the FRP, but as I said we do not know the account he used to "test" the device
try adding this to the list of fastboot commands
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
---------- Post added at 06:24 PM ---------- Previous post was at 06:21 PM ----------
TeuzHd said:
Reflashing the 7.1.2 version i can pass FRP? i'm trying to bypas FRP.
In the authorized warranty, they told me that they can not do any software repairs on the device until I remove the FRP, but as I said we do not know the account he used to "test" the device
Click to expand...
Click to collapse
best thing is to google
eg
https://www.progeeksblog.com/frp-bypass-apk/
Iv never had do anything with frp so no idea how to do it on this device
TheFixItMan said:
try adding this to the list of fastboot commands
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
---------- Post added at 06:24 PM ---------- Previous post was at 06:21 PM ----------
best thing is to google
eg
https://www.progeeksblog.com/frp-bypass-apk/
Iv never had do anything with frp so no idea how to do it on this device
Click to expand...
Click to collapse
I did this, but the APK and Share exploit's doesn't work anymore
do you mean there is a password on the device because you can bypass that easy
just goto twrp
advanced
file manager
data
system
click on each of the following files and delete
gatekeeper-password.key
gatekeeper-patten.key
locksettings.db-shm
locksettings.db-wal
other than that I can't help anymore
TheFixItMan said:
do you mean there is a password on the device because you can bypass that easy
just goto twrp
advanced
file manager
data
system
click on each of the following files and delete
gatekeeper-password.key
gatekeeper-patten.key
locksettings.db-shm
locksettings.db-wal
other than that I can't help anymore
Click to expand...
Click to collapse
can't start TWRP
1- bootload locked with ADB options OFF
to put adb options on i need to pass FRP
TeuzHd said:
can't start TWRP
1- bootload locked with ADB options OFF
to put adb options on i need to pass FRP
Click to expand...
Click to collapse
have you tried
https://www.youtube.com/watch?v=xhf9egv8-ys
uses this app
https://play.google.com/store/apps/details?id=com.wUnlockiOfficial
TheFixItMan said:
have you tried
https://www.youtube.com/watch?v=xhf9egv8-ys
uses this app
https://play.google.com/store/apps/details?id=com.wUnlockiOfficial
Click to expand...
Click to collapse
How can i install a app without pass FRP?
TeuzHd said:
How can i install a app without pass FRP?
Click to expand...
Click to collapse
Do some googling
https://youtu.be/GkmL5tUtyB0
With this tool
http://www.mediafire.com/file/yif2m8j11dx1ur8/Moto+G4+Plus+Google+Account.rar
Watch videos and Google - don't rely on me to search for thing for you
TheFixItMan said:
Do some googling
https://youtu.be/GkmL5tUtyB0
With this tool
http://www.mediafire.com/file/yif2m8j11dx1ur8/Moto+G4+Plus+Google+Account.rar
Watch videos and Google - don't rely on me to search for thing for you
Click to expand...
Click to collapse
i alredy do this, look in the thread
Hi,
Where I can download the last firmware for Moto G5 XT1676 ?

[GUIDE] Moto G5 Plus: Flashing Stock Firmware & Rooting [2021]

Flashing signed stock firmware:
You need:
Latest signed stock firmware:
Europe (RETEU):
lolinet mirrors - firmware, software, iso etc.
lolinet mirrors - powered by h5ai
mirrors-obs-2.lolinet.com
India (RETIN):
https://mirrors-obs-2.lolinet.com/f...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
US (RETUS):
https://mirrors-obs-2.lolinet.com/f...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
All other firmwares and locations:
lolinet mirrors - firmware, software, iso etc.
lolinet mirrors - powered by h5ai
mirrors-obs-2.lolinet.com
Also:
flashallO.bat:
https://drive.google.com/file/d/1Ne7Kps25heUO7wsJ0Z4_X43eKQYRegoa/view?usp=sharing
Motorola drivers (Device Manager - former LMSA):
Motorola Device Manager
Motorola Device Manager, free download for Windows. Program to transfer data between Motorola devices and computers, update software and backup files.
motorola-device-manager.en.lo4d.com
Tiny ADB & Fastboot v1.4.0 signed;
Tiny_ADB_&_Fastboot_v1.4.0-signed.exe | Tool by K3V1991 for Misc. Software & Hardware Resources
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
1) Download the 8.1.0_OPS28.85-17-6-2 firmware for your region (it's the last one for the Moto G5+ (potter), there won't be any updates anymore, so no risk of bootloader downgrading)
2) Install Tiny ADB & Fastboot (best place is the root directory of C: or wherever your OS resides).
3) Extract the firmware to that ADB & Fastboot folder.
4) Download my "flashallO.bat" and move it to that folder too.It removes the need for you to manually flash all partitions, just double-click it and it'll run all the commands for you.
5) Download and install Motorola device drivers.The program is called "Motorola Device Manager".
6) Reboot your phone to the bootloader. To do this, turn it off, then hold down the power and volume down buttons until you see a bugdroid undergoing open-heart surgery.
7) Connect the phone to your PC with your USB cable. Type
Code:
fastboot devices
to check if your device is connected. A serial number should be shown.
8) Run the flashallO.bat script. (Caution: This will wipe your device completely!) It will take some time to flash, just be patient and don't worry.
If the command window appears for a brief moment and then disappears, the device drivers may not be installed correctly. You can ask me in that case, there are some special drivers that may solve that.
9) Once the command window closes, it should have completed the flashing process and you are safe to press the power key on the phone to start Android. Just make sure that the text near the buttons reads "START".
That's it.
You can save your (internal) data when you open the flashallO.bat and delete the command
Code:
fastboot erase userdata
so that it will be omitted.
I won't recommend it but it's possible.
Rooting:
You need:
Magisk 24.1:
https://github.com/topjohnwu/Magisk/releases/download/v24.1/Magisk-v24.1.apk
If you have problems with the newer Magisk builds (since v24) you may try
Magisk 23:
https://github.com/topjohnwu/Magisk/releases/tag/v23.0
or
Magisk 20.4: https://github.com/topjohnwu/Magisk/releases/tag/v20.4
TWRP 3.5.2_9-0:
https://eu.dl.twrp.me/potter/twrp-3.5.2_9-0-potter.img
Maybe you'll need:
Disable_Dm-Verity_ForceEncrypt.zip:
https://yadi.sk/d/HLr5vjnkA8gaqw
- Download TWRP from the above link and place it in your ADB & Fastboot folder.
- Download magisk.zip (and Magisk Manager APK if you use version 20.4) and place it in your internal storage.
- Turn the phone off again and reboot to bootloader using previously mentioned key combination.
- Navigate to the folder where you placed the TWRP image.
- Hold down the "shift" key and right-click anywhere in the Explorer window,it should give you an option to "Open command window here."
- Now input the command:
Code:
fastboot flash recovery [filename].img
, where [filename] is the name of your TWRP image file. Tap Enter and it will take a few seconds to flash the new recovery.
- Alternatively, you can use "fastboot boot [filename].img" to temporarily boot TWRP for the purpose of flashing Magisk. This retains the stock recovery.
- Now that TWRP has been flashed, press the volume down key until you see the label on the side change to read "RECOVERY." At that point you can press the power button and you will boot right into TWRP.
- If you decide to decrypt your device:
In that case go to "Wipe" in TWRP and use "format data" (the option where you have to confirm with "yes"). Just wipe data is not enough!
- If you want your device to stay encrypted skip that step.
- Now press the "Install' button in TWRP and navigate to the location where the magisk.zip is located. Simply tap it and "Swipe to install."
- If you decided to decrypt your device normally magisk should take care that it doesn't get encrypted again.
Magisk only disables the enforced encryption flag, the device will still be encrypted and that's why a wipe of data is necessary to remove the encryption.
If that's not the case and you get problems to reboot flash Disable_Dm-Verity_ForceEncrypt.zip after magisk.zip.
More information about decryption/encryption:
https://didgeridoohan.com/magisk/Magisk#hn_Disabling_dm-verity_and_forced_encryption
- Reboot your device, if the Magisk Manager isn't installed already (it should) install the Magisk Manager APK.
Thanks to @Jrhotrod for parts of the rooting tutorial.
Edit: Updated Links again.(1-2022)
My 3 year old Moto G5 Plus running android 8 suddenly restarted a few days ago and went into Start up failure. It no longer shows My product or IMEI number. It just shows potter 000000000000000 32GB P3B
Bootloader logs read " Start up failure. Your device didn't start up successfully. Use the Software Repair Assistant on computer to repair your device. Connect your device to your computer to get the Software Repair Assistant" written in red.
I have my IMEI and product numbers saved on my pc in a notepad file, but the LMSA software does not recognise my device to even try to rescue it. I want to retrieve files from my phone before attempting a factory reset.
On using the LMSA, it says "lmsa doesn't match appropriate firmware. you can try to select a firmware manually" but then it has no option to select anything manually. I have my phone previously registered on the software on my PC.
I have not rooted my phone, nor used anything other than stock android. My bootloader is locked. I cannot remember if I had Developer options selected or not, most probably not.
On trying to go to recovery mode it says the same message " Start up failure. Your device didn't start up successfully. Use the Software Repair Assistant on computer to repair your device. Connect your device to your computer to get the Software Repair Assistant"
When I connect the phone to the computer, it recognises it (I hear a notification sound) and under Devices it shows under Unrecognised as "Fastboot potter s"
I've never flashed my phone but would it be possible to recover the files in the internal storage of the phone by installing TWRP (in a non rooted, bootloader locked phone) without data loss?
How does it work?
Please help! I really need to recover my photos and notepad notes. Is there any way? Any software?
Is there any way to flash stock ROM without losing data? I haven't attempted anything in the off chance that there is a way to recover internal storage data. It's absolutely essential to me. I don't care about the phone, I'm gonna replace it anyway.
If I can even switch on the phone for long enough to backup data from the phone, it will be enough.
I read in another thread that downgrading a Moto with a locked bootloader will hard brick the device. This thread. My bootloader/oem is locked. I've attached a screenshot from when I once connected my phone to LMSA a few weeks before it crashed, it showed my current version I was running at the time. I never got around to taking a backup of the phone, then.
These are the screens I get. I try to charge the phone in fastboot every day to keep it from dying completely.
I'm desperate.
Also Lolinet seems to be down. I tried to download RETIN firmware from the link you provided, but I only get
404 Not Found
nginx
What to do now?
I downloaded the firmware from Motorola Stock Room. Will that do?
I downloaded the firmware from Motorola Stock Room. Will that do?
[/QUOTE]
DwightKBrute said:
Also Lolinet seems to be down. I tried to download RETIN firmware from the link you provided, but I only get
404 Not Found
nginx
What to do now?
I downloaded the firmware from Motorola Stock Room. Will that do?
Click to expand...
Click to collapse
I also recognised that lolinet.mirrors has some problems but it seems it's been working on it (see attached screenshot).
The firmware from Motorola Stock ROM should work, it's the same build and also the last firmware for the Moto G5+ so no risk of bootloader downgrading.
Let me know if you were successful.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit: No way to save your data from an unroofed device with locked bootloader, I'm sorry.
You can omit the "fastboot erase userdata" command (see above thread) to save your internal storage when flashing the firmware but as you have problems with your device a complete clean start may be the only solution. But you can give it a try.
Wolfcity said:
I downloaded the firmware from Motorola Stock Room. Will that do?
Click to expand...
Click to collapse
I also recognised that lolinet.mirrors has some problems but it seems it's been working on it (see attached screenshot).
The firmware from Motorola Stock ROM should work, it's the same build and also the last firmware for the Moto G5+ so no risk of bootloader downgrading.
Let me know if you were successful.
View attachment 5162915
[/QUOTE]
I will follow your instructions on this post.
The download from the Motorola stock room has adb, flashboot and everything else (including a .bat file) in its folder.
How can I use your .bat file (from the link you provided) instead of the one from Motorola Stock Room?
Also I want to preserve the internal storage, so I can erase the fastboot erase userdata command. But how do I open the .bat file? There is no open with option.
Also since I'm missing my IMEI and SKU, should I keep the erase modemst1 and fastboot erase modemst2 commands in the file?
DwightKBrute said:
I also recognised that lolinet.mirrors has some problems but it seems it's been working on it (see attached screenshot).
The firmware from Motorola Stock ROM should work, it's the same build and also the last firmware for the Moto G5+ so no risk of bootloader downgrading.
Let me know if you were successful.
View attachment 5162915
Click to expand...
Click to collapse
I will follow your instructions on this post.
The download from the Motorola stock room has adb, flashboot and everything else (including a .bat file) in its folder.
View attachment 5162925
View attachment 5162923
How can I use your .bat file (from the link you provided) instead of the one from Motorola Stock Room?
Also I want to preserve the internal storage, so I can erase the fastboot erase userdata command. But how do I open the .bat file? There is no open with option.
View attachment 5162927
[/QUOTE]
Copy this content and put it into a notepad:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.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 oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Delete the fastboot erase userdata line and save it as .bat file (if your notepad has no option to save it as .bat save it as .txt and change the ending from .txt to .bat by hand).
And deactivate your Windows Defender when doing that and also when using the .bat file.
Wolfcity said:
I will follow your instructions on this post.
The download from the Motorola stock room has adb, flashboot and everything else (including a .bat file) in its folder.
View attachment 5162925
View attachment 5162923
How can I use your .bat file (from the link you provided) instead of the one from Motorola Stock Room?
Also I want to preserve the internal storage, so I can erase the fastboot erase userdata command. But how do I open the .bat file? There is no open with option.
View attachment 5162927
Click to expand...
Click to collapse
Copy this content and put it into a notepad:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.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 oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Delete the fastboot erase userdata line and save it as .bat file (if your notepad has no option to save it as .bat save it as .txt and change the ending from .txt to .bat by hand).
And deactivate your Windows Defender when doing that and also when using the .bat file.
[/QUOTE]
So let me just recheck the steps.
1. Downloaded the firmware from Motorola Stock Room
2. Downloaded and installed Mini Adb.
3. Extracted the firmware to the same folder as the mini adb
4. Deleted the .bat file already present in the extracted firmware folder from MSR. Replaced that with the .bat file you have provided.
5. Erase userdata command removed.
6. Run the .bat file.
7. Wait for flashing to complete
Yes?
DwightKBrute said:
I also recognised that lolinet.mirrors has some problems but it seems it's been working on it (see attached screenshot).
The firmware from Motorola Stock ROM should work, it's the same build and also the last firmware for the Moto G5+ so no risk of bootloader downgrading.
Let me know if you were successful.
View attachment 5162915
Click to expand...
Click to collapse
I will follow your instructions on this post.
The download from the Motorola stock room has adb, flashboot and everything else (including a .bat file) in its folder.
View attachment 5162925
View attachment 5162923
How can I use your .bat file (from the link you provided) instead of the one from Motorola Stock Room?
Also I want to preserve the internal storage, so I can erase the fastboot erase userdata command. But how do I open the .bat file? There is no open with option.
View attachment 5162927
[/QUOTE]
Download (or copy) my flashallO.bat file delete,the erase userdata line
DwightKBrute said:
Copy this content and put it into a notepad:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.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 oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Delete the fastboot erase userdata line and save it as .bat file (if your notepad has no option to save it as .bat save it as .txt and change the ending from .txt to .bat by hand).
And deactivate your Windows Defender when doing that and also when using the .bat file.
Click to expand...
Click to collapse
So let me just recheck the steps.
1. Downloaded the firmware from Motorola Stock Room
2. Downloaded and installed Mini Adb.
3. Extracted the firmware to the same folder as the mini adb
4. Deleted the .bat file already present in the extracted firmware folder from MSR. Replaced that with the .bat file you have provided.
5. Erase userdata command removed.
6. Run the .bat file.
7. Wait for flashing to complete
Yes?
[/QUOTE]
Sounds ok. The bat file has to be copied into the ADB & Fastboot folder (mini ADB) too.
Deactivate Defender and start the bat file.
Be patient.
And collect as many data from the flashing process as possible (screenshots etc.)
Well. I wasn't able to get many screenshots, it happened too quickly. But the phone is still stuck on fastboot, but this time the fastboot reason is given as: Last time flashing failed.
Oh well. I'll try again without removing the flashboot erase userdata?
failed to validate recovery image
DwightKBrute said:
Well. I wasn't able to get many screenshots, it happened too quickly. But the phone is still stuck on fastboot, but this time the fastboot reason is given as: Last time flashing failed.
Oh well. I'll try again without removing the flashboot erase userdata?
failed to validate recovery image
Click to expand...
Click to collapse
Seems your device has problems to erase partitions before flashing new stuff to them. Maybe search for blankflash files.
Where to find the blankflash file?
DwightKBrute said:
Where to find the blankflash file?
Click to expand...
Click to collapse
https://mirrors.lolinet.com/firmware/moto/potter/
Hello. I have a rooted Moto G5 Plus (Magisk) and I have also installed a Custom ROM with TWRP. I want to unroot the device and return it to absolute stock. Will this guide work in that case? If no, can anyone direct me to the correct guide?
DEJAVU54 said:
Hello. I have a rooted Moto G5 Plus (Magisk) and I have also installed a Custom ROM with TWRP. I want to unroot the device and return it to absolute stock. Will this guide work in that case? If no, can anyone direct me to the correct guide?
Click to expand...
Click to collapse
The above guide https://forum.xda-developers.com/t/guide-moto-g5-plus-flashing-stock-firmware-rooting-2021.4205293/ should be helpful for you. Flashing the latest signed stock firmware as described in the first part will take you to absolute stock.
A few points to take care of:
- Make sure that you chose the correct firmware for your location.
- Don´t delete the fastboot erase userdata command from the flashallO.bat so that it will be omitted because some parts of Magisk or other root apps may reside at that location.
- You have to erase everything to be on the safe side.
- So save your internal userdata like pictures, documents, music etc. to a PC or a SD card before you start the
process!
- Flashing stock will overwrite the recovery.img (TWRP) and the boot.img (Magisk) so you don´t have to unroot or reflash stock recovery.
If you want to relock your bootloader too (remember that you won´t get to the "nerver unlocked" state again, the device will flag the bootloader as "has been unlocked" even when you lock it):
-After flashing stock firmware open a command prompt in the ADB & Fastboot folder again and give the following commands one by one or use the attached relockO.bat file. the same way you did it with the flashallO.bat:
relockO.bat:
relockO.bat
drive.google.com
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 boot boot.img
fastboot oem lock
You can do that anytime, it hasn´t to be right after the firmware flash.
I flashed the ROM today and everything went well, except the IMEI is 0 and I cannot use VoLTE. What can I do?
DEJAVU54 said:
I flashed the ROM today and everything went well, except the IMEI is 0 and I cannot use VoLTE. What can I do?
Click to expand...
Click to collapse
What does getvar all say?
post it here after you remove imei line.
Code:
fastboot getvar all
sd_shadow said:
What does getvar all say?
post it here after you remove imei line.
Code:
fastboot getvar all
Click to expand...
Click to collapse
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C0.92
(bootloader) product: potter
(bootloader) board: potter
(bootloader) secure: yes
(bootloader) hwrev: P3B
(bootloader) radio: 6
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG RX14MB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 4GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) serialno: ZY2244FVLG
(bootloader) cid: 0x0032
(bootloader) channelid: 0xc0
(bootloader) uid: 10E5EE5600000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: Volume down key pressed
(bootloader) meid:
(bootloader) date: 05-23-2017
(bootloader) sku: XT1686
(bootloader) carrier_sku:
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Thu Aug 30 2:39:28 UTC 1973"
(bootloader) ro.build.fingerprint[0]: motorola/potter_n/potter_n:8.1.0/O
(bootloader) ro.build.fingerprint[1]: PSS28.85-13-3/72e4:user/release-ke
(bootloader) ro.build.fingerprint[2]: ys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.201.4.potter.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-08600-89xx.0
(bootloader) version-baseband: M8953_41.50.07.82u POTTER_INDIADSDS_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-g70fa69f (hud
(bootloader) kernel.version[1]: [email protected]) (gcc version 4.9.x 2015
(bootloader) kernel.version[2]: 0123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Wed Oct 10 11:58:58 CDT 2018
(bootloader) sbl1.git: git=MBM-NG-VC0.92-0-gd009c3b
(bootloader) rpm.git: git=92e5e21-dirty
(bootloader) tz.git: git=26cc248-dirty
(bootloader) devcfg.git: git=26cc248-dirty
(bootloader) keymaster.git: git=26cc248-dirty
(bootloader) cmnlib.git: git=26cc248-dirty
(bootloader) cmnlib64.git: git=26cc248-dirty
(bootloader) prov.git: git=26cc248-dirty
(bootloader) aboot.git: git=MBM-NG-VC0.92-0-g3ea8df0
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retin
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
all: listed above
Finished. Total time: 0.062s
DEJAVU54 said:
I flashed the ROM today and everything went well, except the IMEI is 0 and I cannot use VoLTE. What can I do?
Click to expand...
Click to collapse
Have you ever flashed someone else's persist file?
Wolfcity said:
Have you ever flashed someone else's persist file?
Click to expand...
Click to collapse
No I have not. Only the PixelExp zip and now, the stock rom.
Anyways, after panicking a bit yesterday, I flashed the custom rom again and my IMEI and LTE returned, but I cannot place/receive calls. What can be done if I wanted to stay on the ROM but gain calling capabilities?
EDIT: I'd prefer to have everything working on the stock ROM if possible.

How To Guide HOW TO CONVERT MOTOROLA EDGE X30 CN ROM TO GLOBAL (Tutorial)

NOTE: MAKE SURE THE MOTOROLA DRIVERS ARE INSTALLED AND THE ADB IS ISTALLED.
1ST : go to your phones fastboot mode then flash this firmware using flashfile.bat in the folder and wait until finished. CN FIRMWARE LINK:
File folder on MEGA
mega.nz
2ND : download eu rom from here : https://mirrors.lolinet.com/firmwar...-DEFAULT_regulatory-DEFAULT_cid50_CFC.xml.zip
3RD : in the folder where you extracted the EU FIRMWARE open a adb powershell window. then flash this.
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash dtbo dtbo.img
fastboot flash recovery recovery.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot flash super super.img_sparsechunk.10
fastboot flash super super.img_sparsechunk.11
fastboot flash super super.img_sparsechunk.12
fastboot flash super super.img_sparsechunk.13
fastboot flash super super.img_sparsechunk.14
fastboot erase apdp
fastboot erase apdpb
fastboot erase carrier
fastboot erase userdata
fastboot erase metadata
fastboot erase ddr
fastboot reboot
If you got this error from fastboot flash partition gpt.bin ignore it.
Sending 'partition' (206 KB) OKAY [ 0.007s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Preflash validation failed
(bootloader) Preflash validation failed
(bootloader) Preflash validation failed
(bootloader) Preflash validation failed
(bootloader) Preflash validation failed
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote: '')
fastboot: error: Command failed
if you got this error from fastboot flash bootloader bootloader.img ignore it just flash.
Sending 'bootloader' (27637 KB) OKAY [ 0.841s]
Writing 'bootloader' (bootloader) no suitable package!
FAILED (remote: '')
fastboot: error: Command failed
after those 2 all systems go.
after the phone has finished booting up. disable the moto app since it has a buggy lockscreen feature.
IF YOU DONT WANT ANYMORE OR YOU HAD A BOOTLOOP. YOU CAN ALWAYS GO BACK TO THE CHINESE FIRMWARE.
Donate me a little money. I hope I can help you guys even more soon. THANKS!
Donate to Elmer Gien Gomez
Help support Elmer Gien Gomez by donating or sharing with your friends.
www.paypal.com
Thank you for tutorial.
Does 5g and NFC work fine ?
مجــاهدـــــ said:
Thank you for tutorial.
Does 5g and NFC work fine ?
Click to expand...
Click to collapse
NFC no
Dope, didnt think it was that easy, coming from the Vivo x70 Pro Plus. Will try this on the x30 pro when the global is launched.
Do OTA updates work?
Killuminati91 said:
Dope, didnt think it was that easy, coming from the Vivo x70 Pro Plus. Will try this on the x30 pro when the global is launched.
Do OTA updates work?
Click to expand...
Click to collapse
On CN yes.
On global?
Killuminati91 said:
On global?
Click to expand...
Click to collapse
i dont know because thats the latest firmware right now.
Hi
Does this Chinese firmware have Google play?
you don't flash the radio ?
''after the phone has finished booting up. disable the moto app since it has a buggy lockscreen feature.''
I disabled or uninstalled the Moto APP,it still have a very big problem.I cant unlock my phone.I cant use my phone at all!
hk56184172 said:
''after the phone has finished booting up. disable the moto app since it has a buggy lockscreen feature.''
I disabled or uninstalled the Moto APP,it still have a very big problem.I cant unlock my phone.I cant use my phone at all!
Click to expand...
Click to collapse
How about YouTube video? Is any lag on It?
hk56184172 said:
''after the phone has finished booting up. disable the moto app since it has a buggy lockscreen feature.''
I disabled or uninstalled the Moto APP,it still have a very big problem.I cant unlock my phone.I cant use my phone at all!
Click to expand...
Click to collapse
there is an app called Moto Display . disable it, remove the update from the market and stop the auto update
I've tried this method on my x30 Pro / Edge 30 Ultra. After the initial setup and accepting Google terms there is a black screen with a non-working back button. I can take a screenshot and force shutdown the phone but always end up at this blackscreen after going through the setup. Is this related to the Moto Display / Moto app? Cant even get to the point where I can disable it.
Edit: Went through the complete setup (including google login) until blackscreen. Then rebooted to fastboot and erased all partitions according to the XML again. Phone boots up, now is the EU version!
Can anyone confirm if doing this will make the TMobile Volte USA work? There is an issue where 5g works but the moment you make a call, the phone switches to 2g/3g. Thanks.
fabien32 said:
there is an app called Moto Display . disable it, remove the update from the market and stop the auto update
Click to expand...
Click to collapse
Same problem here but no Moto Display app to be found either on installed or system apps. Issue is as it recognized an official case switching or some gestures activated as a specific lockscreen that cannot be deblocked. At least this is what is happening to me:
Pablitus_Maximus said:
Same problem here but no Moto Display app to be found either on installed or system apps. Issue is as it recognized an official case switching or some gestures activated as a specific lockscreen that cannot be deblocked. At least this is what is happening to me:
Click to expand...
Click to collapse
As per info, there is the solution in this thread. Worked for me:
Fix screen stylus on Motorola x30
Hi all, I have a problem with motorola edge x30. My phone buy china, I unlock bootloader and flash rom global. But i have a problem. My phone stuck screen stylus, can not unlock screen, i must reboot phone, but when i lock screen, stylus screen...
forum.xda-developers.com
UPDATE: No, it did not. At first I locked and unlocked fine, but when falling into lockscreen due to inactivty, the problem is back. app data is now 0 bytes but still having the issue, and the app is not allowed to be disabled. Any help is welcome!
Now I have another problem. In system, Google Play system update is out of date (January 1st). If I update, then after rebooting it is fine, but then in few minutes it crashes and update is lost. Any ideas?
So is everyone saying it doesn't work?
Hello, I need help, I want to flash my machine according to the tutorial, but I am currently the latest firmware in China, can I follow the tutorial to flash the old version you provided++++
how can i contact with u

Categories

Resources