[Q] Moto g xt1033 convert gpe to stock problem - Moto G Q&A, Help & Troubleshooting

first i flash gpe rom in xt1033 but there is some poblem in rom so i am trying to flash stock rom using fastboot using
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
after completed this process when device was roboot it show gpe rom
how can i restore stock rom now
please help me

Related

[Help]Moto G2014(XT1068) - max-sparse-size

Hello,
I'm having troubles with my Moto G2014 XT1068.
I was with this RETAILDSDSALL_XT1068_4.4.4_KXB21.85-27_cid7_CFC_SVC.xml on my phone.
Yesterday i tried to downgrad to this ROM RETAILDSDSALL_XT1068_4.4.4_KXB21.85-14_cid7_CFC_SVC.xml
I was able to to this.
After that I tried to go back to the ROM RETAILDSDSALL_XT1068_4.4.4_KXB21.85-27_cid7_CFC_SVC.xml but i couldn't.
I have adb, fastboot e mfastboot in the same folder of the ROM and I'm doing this steps:
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
mfastboot.exe reboot
Doing this im always getting the error:
mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk.0': No error
Could anyone help me?

[Q] About Unlocking Bootlader and flashing ROMs

Hi, my question is whether it is really necessary to unlock bootloader (because i will avoid the warranty from motorola, 1 week from purchase) to flash via fastboot XT1040_PEREGRINE_RETBR_5.1_LPB23.13-8_cid12_CFC.xml (posted in the thread for stock firmwares), I have XT1040 from Argentina. I read that there is no need to unlock bootloader if we are flashing ROMs from the same region, is that true? Thank you and sorry for my bad english.
neodarklink said:
Hi, my question is whether it is really necessary to unlock bootloader (because i will avoid the warranty from motorola, 1 week from purchase) to flash via fastboot XT1040_PEREGRINE_RETBR_5.1_LPB23.13-8_cid12_CFC.xml (posted in the thread for stock firmwares), I have XT1040 from Argentina. I read that there is no need to unlock bootloader if we are flashing ROMs from the same region, is that true? Thank you and sorry for my bad english.
Click to expand...
Click to collapse
You do not need a unlocked bootloader to flash stock firmware.
Sent from my XT1031
One more question, the commands to flash will be:
Code:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
The content of the zip file is in the attachment. Thanks again.
neodarklink said:
One more question, the commands to flash will be:
Code:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
The content of the zip file is in the attachment. Thanks again.
Click to expand...
Click to collapse
Make sure you backup your data as running 'mfastboot erase userdata' will delete all your personal files (photos, videos, etc.)
ryanch94 said:
Make sure you backup your data as running 'mfastboot erase userdata' will delete all your personal files (photos, videos, etc.)
Click to expand...
Click to collapse
In Internal Storage. External SD will not be touch, right? This step (mfastboot erase userdata) can be skiped?
neodarklink said:
In Internal Storage. External SD will not be touch, right? This step (mfastboot erase userdata) can be skiped?
Click to expand...
Click to collapse
Correct, it does not touch the external SD. (I always remove mine anyway just in case)
You can skip 'mfastboot erase userdata', although this is known to sometimes cause problems.

Stuck on Bootloader Unlocked Warning

i was on custom rom 5.1 lollipop then i though i should go back to stock rom i tried one tutorial out there.
The commands i ran on fastboot are below :
oem lock begin
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
mfastboot.exe oem lock
mfastboot.exe reboot
but now it's stuck on bootloader. any help would be appreciate
Same problem here. I was on GPE 5.1. Did exact the same steps and now I just see "Warning - Bootloader unlocked".
Edit: Alright, got it working. Was using fastboot instead of mfastboot. Just follow the steps here: http://forum.xda-developers.com/moto-g/general/how-to-to-stock-5-0-2-motorola-lollipop-t3077806 or use the attached scripts.
Edit 2: Before the bootanimation it says "Warning-Bootloader unlocked" but I already locked it again. It also says "Device is LOCKED" in recovery. Any ideas?
Edit 3: Alright, fixed it with the MotoTool AIO

RSD flashing fail and rebooting to TWRP

I am facing two issues on XT1225. Currently I am on RR 7.x.x latest version. Earlier version I had India Stock 6.0.1.
1) It is getting booted to TWRP : (both normal reboot boot) When switched off and swtiched ON it goes directly to TWRP, from there I would need to START Android.
2) My stock RSD (Ver: 6.2.4) flashing is getting failed with error 3/22 gbt.bin
Could anyone help me with this.
Try omitting gpt.bin file.
mohangj said:
I am facing two issues on XT1225. Currently I am on RR 7.x.x latest version. Earlier version I had India Stock 6.0.1.
1) It is getting booted to TWRP : (both normal reboot boot) When switched off and swtiched ON it goes directly to TWRP, from there I would need to START Android.
2) My stock RSD (Ver: 6.2.4) flashing is getting failed with error 3/22 gbt.bin
Could anyone help me with this.
Click to expand...
Click to collapse
Wait. A few weeks ago you solved this issue with my help -- and now it's back?
mohangj said:
It worked Thanks brother !!!!
Here what I executed on bootloader
mfastboot oem fb_mode_set
mfastboot flash partition gpt.bin (didn't execute this command)
mfastboot flash motoboot bootloader.img
mfastboot flash radio radio.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash system system.img_sparsechunk.8
mfastboot flash system system.img_sparsechunk.9
mfastboot erase cache
mfastboot erase userdata
mfastboot erase clogo
mfastboot oem fb_mode_clear
mfastboot reboot
Click to expand...
Click to collapse
mohangj said:
Currently I am using stock 6.0.1 below ROM, its a stock 6.0.1 ROM with best battery backup I could say. ROM : https://goo.gl/lV2WX4 from below thread
https://forum.xda-developers.com/moto-maxx/general/moto-turbo-indian-variant-marshmallow-t3422783
If you have struck with bootloader and your android is not booting after taking OTA since you had TWRP. Better option is to recover back to stock. Samething happened in my case and ChazzMatt guided me to recover it. There are two methods (which I know) to flash stock ROM, one is flash ZIP ROM (https://goo.gl/lV2WX4) with RSD and second option Unzip file and run below commands. you should have mfastboot ADB commands copied to same unzip folder. Once you boot to Stock android, you can take OTA backup and get installed before rooting and installing TWRP.
You would get two OTA updates if you are coming from 24.201.7, Currently my android system version is 24.211.7
mfastboot oem fb_mode_set
mfastboot flash partition gpt.bin (DONOT execute this command)
mfastboot flash motoboot bootloader.img
mfastboot flash radio radio.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash system system.img_sparsechunk.8
mfastboot flash system system.img_sparsechunk.9
mfastboot erase cache
mfastboot erase userdata
mfastboot erase clogo
mfastboot oem fb_mode_clear
mfastboot reboot
Click to expand...
Click to collapse

Bootloader LOCKED after use MBM-CI. (Bootloader) Preflash validation failed

Hi everyone, i have a reallly annoying problem after use MBM-CI but, before of explain the problem, i have to say that i flashed my MOTO G XT1032 (41.1A) with Android 4.4.4 GPE Firmware ( GPE_XT1032_KTU84P.M003_CFC.xml ) and it ran very good so i charge the battery until 32% and i tried to upgrade my phone from settings, all was going normal: The phone reset with a black background, the logo of Android and a blue bar with the message of says that my phone is upgrading, please wait; the problem beging when the blue bar was too close of finish and the phone turned off, it not turn on so i hold the Power button and the phone vibratte but nothing happens, i connected it to the PC and try again to turn on but i only can hear the sound of "Device connected", "Device disconnected" from Windows; i search a solution and found this video "REVIVIR MOTO G 2013 SOLUCIÓN FULL BRICK| NO MAS LADRILLO!!!!" from "Valtitec Indrustries" in YouTube (i know, it's in spanish) and use the BlankFlash Tool from the description of that video (i already had the Qualcomm HS-USB QDLoader 9008 Driver installed in my pc), good, it works buuuut... My phone get in the bootloader screen and shows this info:
AP Fastboot Flash Mode (S)
41.1A(*) (sha-80481ae, 2015-04-10 14:30:28)
CPU: MSM8226 CS
eMMC: 8GB Toshiba RV=06 PV=51 TY=17
DRAM: 1024MB Samsung S4 SDRAM DIE=4GB
Battery OK (After use MBM, Battery was LOW)
Device is LOCKED. Status Code: 0
Transfer Mode: USB Connected
Fastboot Reason: Failed to initialize partition table​
So, i tried to flash it but after of some tries, i read the part of shows "Device is LOCKED. Status Code: 0", i search in Google and found a lot of forums and tried to solve it, the results are:
SDK Tools: fastboot oem get_unlock_data: (bootloader) Failed to get unlock data, please try again!
Try to flash the phone shows in GPT.bin "(Bootloader) Preflash validation failed", same in motoboot, aditional, motoboot patition not found; in the other files shows that "(Bootloader) Permission Denied", and all the files have failure.
I can Only use "Barcodes" in Bootloader and it shows: IMEI, SKU: 000000....; Date: 01-01-1970, Serial Number: 9fd6f218
I tried to flash my phone with various versions of Android:
RETAIL_XT1032_4.4.4_KXB21.14-L1.61_cid9_CFC.xml
BRASIL_XT1032_5.0.2_LXB22.46-28_cid12_CFC.xml
XT1032_FALCON_RETBR_5.1_LPB23.13-56_cid12_CFC.xml
GPE_5.1_XT1032_LMY47M.M001_CFC.xml
GPE_XT1032_5.1_LMY47M.M005_cid222_CFC.xml
GPE_XT1032_KTU84P.M003_CFC.xml
XT1032_FALCON_TEFCO_5.1_LPBS23.13-56-2_cid12_CFC.xml
XT1032_MOVISTAR-CO-SS_4.4.4_KXB21.14-L1.40-1_1_cid12_CFC_1FF.xml
But no one works; now the MBM tool not works, i reinstall the Qualcomm driver and now shows a error :v, and the tools that i used are:
adt-bundle-windows-x86_64-20131030
MBM (BlankFlash of the video)
Moto Auto Flash Tool v6.6
Riff Box Jtag
ADB Tools (ADB Fastboot Tools)
mfastboot
And the sequences of cmd that i used are:
Code:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
Code:
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
Code:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot reboot-bootloader
fastboot flash gpt 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_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2 (I didn't say but if the firmware have 3 or 4 sparsechunks, i put the sequence in front of this)
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot oem fb_mode_clear
fastboot reboot-bootloader
And no one works; ¿what i can do?, i'm poor and not have money for buy a cel phone and neither very cheap phone, only can try to fix this and it's very important for the grupal works of the university :c HELP :crying:

Categories

Resources