I have converted Moto G XT1032 to GPE and am running 5.1. I am using TWRP recovery and SuperSU root.
I am unable to do an OTA update and I have read that in order to do that I will have to flash factory images. So I have downloaded the latest Moto G factory image for the GPE.
So can someone please tell me how do I go about doing it? All the guides I see are about flashing GPE from stock Motorola and none about reflashing a factory image on a GPE device.
Sent from my HTC One M9 using Tapatalk
Gambler_3 said:
All the guides I see are about flashing GPE from stock Motorola and none about reflashing a factory image on a GPE device.
Click to expand...
Click to collapse
Latest GPE (M005) Factory Firmware Image: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Flashing Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
lost101 said:
Latest GPE (M005) Factory Firmware Image: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Flashing Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
Click to expand...
Click to collapse
Okay I think I have done something horrible.
When I started the process I missed the first few commands and started at like the 4th command. Midway I realized what I have done and then I decided to start again. I did the whole process in order and now my phone simply won't boot past the google logo screen. I can still boot into bootloader and the phone responds to fastboot commands. Booting into recovery shows a broken Android with an exclamation mark in between thing.
Can you please help me? Have I bricked my phone?
Download and use mfastboot: https://www.androidfilehost.com/?fid=24052804347778493
Skip the flash motoboot.img command. Provide a log if you still have problems - copy and paste command prompt - provide screenshots.
lost101 said:
Download and use mfastboot: https://www.androidfilehost.com/?fid=24052804347778493
Skip the flash motoboot.img command. Provide a log if you still have problems - copy and paste command prompt - provide screenshots.
Click to expand...
Click to collapse
I can't use mfastboot I get the AdbWinApi.dll is missing error. I have universal adb drivers installed.
Gambler_3 said:
I can't use mfastboot I get the AdbWinApi.dll is missing error. I have universal adb drivers installed.
Click to expand...
Click to collapse
Required files are in this zip: https://www.androidfilehost.com/?fid=24269982086993793
Put everything into the same folder as firmware image files.
lost101 said:
Required files are in this zip: https://www.androidfilehost.com/?fid=24269982086993793
Put everything into the same folder as firmware image files.
Click to expand...
Click to collapse
Solved thank you so much for your timely help.
Related
So, i have noted a increased number of threads about people who have soft-bricked their phones downgrading from 4.4.4 GPE after recieving the OTA, since it includes a new partition table and there's no firmware image yet.
Worry not, i have found a solution for your problem. This method only let's you use custom ROMs (sadly), but it's meant to be a temporal solution while we wait for a 4.4.4 GPE image anyways.
So, without further ado, here's my fix:
You will need:
-The good ol' Android SDK
http://developer.android.com/sdk/index.html#download
-Motorola drivers
https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
-A custom recovery. I recommend TWRP, since is the only one i have tested.
Official TWRP Images for Moto G: http://techerrata.com/file/twrp2/xt1032/openrecovery-twrp-2.7.1.1-xt1032.img
-The gpt.bin from 4.4.4 (this is the partition table)
I extracted it from the OTA file and uploaded to my Dropbox: https://dl.dropboxusercontent.com/u/82658555/gpt.bin
-A custom ROM of your choice (obligatory) + GApps (optional)
What to do:
Once you have the Android SDK, decompress the folder sdk/platform-tools in a place of your choice.
Inside this folder, put gpt.bin, the custom recovery image and the ROM and GApps zip's.
Start your phone on fastboot. Connect it.
Inside your decompressed platform-tools folder, hold shift and right click inside the folder. Select "Open command window here".
Make sure your phone is properly connected by typing "fastboot devices" (without the quotation marks). The command prompt should show your phone serial number.
Now we start the real deal. Fist of all, flash gpt.bin using this command:
fastboot flash partition gpt.bin
Make sure it ends on "OKAY"
Now, flash the recovery
fastboot flash recovery nameoftherecoveryfile.img
Once this is done, enter recovery using the fastboot menu on your phone (use Vol- to highlight "Recovery", and then press Vol+)
Now your phone should boot on recovery mode. If you recieve an error like "Can't mount /system/", don't worry, this is normal (there's no system partiton yet, after all). Now you can use ADB command with your PC. Once again, to be sure everything is connected properly,tyipe on the console:
adb devices
Once that is done, it's time to give your phone the custom ROM, so you can flash it. Type (or copy/paste)
adb push NameoftheROMfile.zip /sdcard/ NameoftheROMfile.zip
If you have GApps, do the same for those
adb push GApps.zip /sdcard/ GApps.zip
Now you can finally disconnect your phone from the PC! You are almost done, select "Install" in your recovery, and flash your ROM zip, then the GApps if you have them.
Once it's done, you can reboot to system.
And you will have a working Moto G again!!
Enjoy it, and don't brick it again
the guide isw missing some info (like enter flash sideload on recovery)
and that weird command push does not work, i have to use other command
i managed to install another rom after being bricked but still that rom won´t start, i have to try another
still thanks a lot
i did not download android sdk, i have my folder with adb files
also when i am in recovery, i type fastboot devices and nothing happens, but still the recovery could receive the file
maurocds said:
the guide isw missing some info (like enter flash sideload on recovery)
and that weird command push does not work, i have to use other command
i managed to install another rom after being bricked but still that rom won´t start, i have to try another
still thanks a lot
i did not download android sdk, i have my folder with adb files
also when i am in recovery, i type fastboot devices and nothing happens, but still the recovery could receive the file
Click to expand...
Click to collapse
From my experience, you don't have to enter sideload mode in recovery to push a file, sideload mode is for pushing OTAs. And remember, the ADB push command requires you to put the exact name of the file to transfer twice, that could have failed for you.
You can't use fastboot devices on recovery because you can only use ADB commands in recovery, you were supposed to use "adb devices".
Or you can restore 4.4.2 nandroid backup using recovery if you made one. But after that you need to flash correct baseband.
masa86 said:
Or you can restore 4.4.2 nandroid backup using recovery if you made one. But after that you need to flash correct baseband.
Click to expand...
Click to collapse
Not many people do NAND backups these days.
Sad, because they're really useful, and there wouldn't be as many "HALP BRICKED PHONE" threads.
It Doesn't work only say failed xD
Fresroqir said:
It Doesn't work only say failed xD
Click to expand...
Click to collapse
Care to explain what failed?
tatazeuz said:
Care to explain what failed?
Click to expand...
Click to collapse
The install for the custom rom and gapps
Fresroqir said:
The install for the custom rom and gapps
Click to expand...
Click to collapse
What error did you receive? Did you flashed gpt.bin correctly?
tatazeuz said:
What error did you receive? Did you flashed gpt.bin correctly?
Click to expand...
Click to collapse
i just received failed at twrp recovery and how do i flashed gpt.bin right because it say okay.
And what does gpt.bin actually? (i am a noob)
Fresroqir said:
i just received failed at twrp recovery and how do i flashed gpt.bin right because it say okay.
And what does gpt.bin actually? (i am a noob)
Click to expand...
Click to collapse
got.bin is the partition table of the Moto G. Its the file that indicates to the phone the size, name and number of partitions it should have.
So, I know TWRP said in red letters Failed, but I'm interested what is the specific error, what did it said on the command prompt of TWRP.
Error flashing zip sdcard pa falconzip
and then there comes this updating partitution details and do i need to put the rom twice in the cmd?
and do i need a cutom rom with 4.4.4????????
yes, exactly what rom did you use to recover??????????
paranoid did not work, installed fine but stuck at logo loading
Fresroqir said:
and do i need a cutom rom with 4.4.4????????
Click to expand...
Click to collapse
maurocds said:
yes, exactly what rom did you use to recover??????????
paranoid did not work, installed fine but stuck at logo loading
Click to expand...
Click to collapse
I used the latest version of PA + Stock GApps
Thanks!
Edit: Nope... Still same problem. Looks like the gpt file flashed but everything else is the same.
It still doesn't work for me i got th whole time failed and i don't know what i need to do ;(
It says: Z:\New folder\Android>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.025s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.372s]
finished. total time: 0.399s
is that good?
EDIT:it looks that sideload works and not that push command
EDIT: nvm i am stuck at bootanimation
EDIT: this wont work it says failed all the time at twrp
I'm kind of confused. Why couldn't people downgrade and go back to stock by reflashing all of the files from an older stock image, including the motoboot and gpt? I would think this would work...although with people saying that they are unable to downgrade I'm not willing to try upgrading to 4.4.4 myself.
What errors are people seeing if they try to flash gpt and motoboot from, say, 4.4.2 stock or 4.4.2 GPE?
-- Nathan
not work for me..
every recovery stay on black screen and return vibration on touch screen
:/
help > http://forum.xda-developers.com/moto-g/help/help-downgrading-cm4-4-4-to-stock4-4-3-t2804228
i think this fix doesn't work because i can only sideload my roms and gapps xD
My MOTO G (XT1032) IS BRICKED
I was running Android 4.4.4 official stock rom. I decided to remove everything and flash android 4.4.2 stock rom.
So I was failing to flash motoboot.img. I tried everything but it dindt work. I then deleted everything, system cache etc through recovery and still the same error: Failed to flash motoboot.img
And when I try other UNBRICK tutorials you need adb working (to place an custom rom via adb to /sdcard. The problem is ADB is not working when I type in adb devices I get: List of devices attached. but I can't see my phone's ID. Its is just empty.
So fastboot is working (when I type in fastboot devices I get the phones ID), But ADB is not working.
How to solve this huge problem??
Thanks in advance.
Jason61 said:
Thanks in advance.
Click to expand...
Click to collapse
Are you using adb while you are in recovery? It won't work in fastboot mode.
No I'm using fastboot, but problem already solved. The problem was with the files gpt.bin and motoboot.img. All the other files from stock rom are flashing correctly.
So I downloaded 4.4.4 Stock Rom (Verizon US version) and copied gpt.bin and motoboot.img from there and pasted in the 4.4.2 Stock Rom folder. Then I flashed all files and it worked !
So i have been an avid follower of Droid-Life for quite some time now and they have just recently posted their guide to installing Lollipop. I have flashed custom roms in the past and sideloaded things as well, all successfully, but not with this device. So i found that i needed to have fastboot enables to do the adb sideload. i found a like and followed the directions to a T and tried to install the .zip and its telling me that
archive does not contain 'android-info.txt'
archive does not contain 'android-product.txt'
error: update package has no android-info.txt or android-product.txt
Here is the walkthrough i used:
http://forum.xda-developers.com/showthread.php?t=2277112
I have no idea what im doing now and my device wont reboot to factory either. im desperate, please help.
Step-by-step, what did you do? Sideloading is done through adb while in recovery. Fastboot commands are executed while in bootloader.
Wakamatsu said:
Step-by-step, what did you do? Sideloading is done through adb while in recovery. Fastboot commands are executed while in bootloader.
Click to expand...
Click to collapse
I ran through all the steps in this link all the way to
Seeing your serial number means we know all is good
Now lets type these commands:
Code:
fastboot erase system -w
fastboot erase boot
fastboot update superawesomerom.zip (where superawesomerom had been changed to the .zip file that i got from Droide-life)
and it wouldnt install
I think i went with the instructions for installing a custom rom when i wanted to sideload the OTA update and screwed everything up and now i cant figure out how to get back to my factory image
FIXED IT!!!!! Used fastboot to flash the factory image that Google just released! Got the phone back and its Lollipop!
So I have XT1033 Indian Version , with 4.4.4 already installed but since I rooted my device and deleted some system apps and tweaked around a bit , it won't update automatically via OTA to 5.0.2 .
Now I am trying to flash 4.4.4 Stock again by following this and after trying everything I could same error pops up again and again .. waiting for device in mfastboot
though at the same time it is connected in fastboot and adb.
Please Help
rhtyhmed said:
So I have XT1033 Indian Version , with 4.4.4 already installed but since I rooted my device and deleted some system apps and tweaked around a bit , it won't update automatically via OTA to 5.0.2 .
Now I am trying to flash 4.4.4 Stock again by following this and after trying everything I could same error pops up again and again .. waiting for device in mfastboot
though at the same time it is connected in fastboot and adb.
Please Help
Click to expand...
Click to collapse
You need to be in boot loader mode when using fastboot.
skyguy126 said:
You need to be in boot loader mode when using fastboot.
Click to expand...
Click to collapse
Yes, I know that.
My phone connects with fastboot but not mfastboot which is needed to flash the stock firmware
try
mfastboot devices
If your device connected ,then cmd will show some device id.Then try flashing.
Did you placed mfastboot.exe in adb folder????xd
rhtyhmed said:
Yes, I know that.
My phone connects with fastboot but not mfastboot which is needed to flash the stock firmware
Click to expand...
Click to collapse
I used fastboot when flashing on my device. They are virtually the same thing.
Hey guys,
since there isn't a standalone tutorial on how to flash Android 6.0 either on the Moto X Style XT1572, I will provide one.
WARNING! I am not responsible for any harm on your phone. When you're not sure if you can do it, leave it! Use the Brazilian version ONLY on phones which use US-modems! If there is anything wrong or not working, contact me!
Prerequesites:
Make sure you have backuped your internal storage and your apps, because they will delete during the fastboot flash process
Decide which version you need: Indian or Brazilian? You only should download and use the stock rom of one of them!
Install ADB and Fastboot on your PC using Minimal ADB or Android SDK
Install all ADB and Fastboot drivers, for example with Universal ADB driver
Download the files provided in the link section
Steps:
At first, extract the ADB and Fastboot files in a new folder of your choice. After that, extract the 5.1.1 stock rom and copy the boot_root.img and the TWRP image in the same directory and make sure, that there are NO subfolders
Open a command line in the new directory
Now reboot your phone into Bootloader Mode. You can do that by typing "adb reboot bootloader" in an adb command line or by turning it of and then holding the Volume down + power button
Now the funny part begins. Open a command window in the directory where you extracted ADB/Fastboot and the 5.1.1 stock rom to. Now use this commands in this order:
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 erase modemst1
fastboot erase modemst2
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Setup your device. After that make sure you can open the internal storage on your PC. Copy the Marshmallow patch and the SuperSU file on the internal storage of your Moto
Boot into recovery by rebooting into bootloader mode and then selecting the "Restart Recovery" option with the volume rockers followed by pressing the powerbutton
When the text "No command" is shown, press at first the power button and then volume up. Now apply the patch by selecting it after ticking the option "Install update from SDCard" in the recovery and wait till it finished. Reboot your device afterwards
Reboot again into bootloader mode. Now install the bootloader from 5.1.1 by typing "fastboot flash bootloader bootloader.img". We need this to make TWRP work again.
Type "fastboot flash recovery name_of_the_TWRP_image.img" to flash TWRP
Still in the bootloader mode, type "fastboot flash boot boot_root.img", in order to get root working
Boot into recovery mode and flash the SuperSU file. Afterwards reboot into system
That's it! You now have MM on your Style.
Thanks to:
patt2k for the mirrors for the Indian stock rom
gmillz for having the idea with stock 5.1.1
sathishtony for the fastboots commands to flash the stock rom
freakzapster for the MM patch
Sabissimo for root
Links:
SuperSU https://download.chainfire.eu/743/SuperSU/BETA-SuperSU-v2.52.zip
Indian Stock 5.1.1 http://forum.xda-developers.com/showpost.php?p=63770825&postcount=208
Brazil Stock 5.1.1 https://mega.nz/#!bYU0FI7a!W1QjmjUaeG-M4XYrhC9RZwrcMqzSXCA66DebFOplmZc
Indian MM Patch http://forum.xda-developers.com/moto-x-style/general/marshmallow-ota-zip-t3250253
Brazil MM Patch https://mega.nz/#F!rElFjZqJ!Vcx1gA-48Pqx0EMOwZ6A1Q
TWRP https://dl.twrp.me/clark/
Root http://forum.xda-developers.com//mo...ow-ota-zip-t3250253/post63922440#post63922440
Do you need a unlocked bootloader for this?
Kedas said:
Do you need a unlocked bootloader for this?
Click to expand...
Click to collapse
of course.
alex1301 said:
Hey guys,
[*]Boot into recovery by rebooting into bootloader mode and then selecting the "Restart Recovery" option with the volume rockers followed by pressing the powerbutton
Click to expand...
Click to collapse
Followed all steps till now, works fine, i am on indian 5.1.1 now- BUT i can't get to recovery *-*
When i choose to get to the recovery I only get the green Android-mascot and "No command."
What now?
Thanks!
/okay, embarassing. You could add that to your how-to for idiots like me.
When seeing "no command" hold down the power button and press volume up once --> Voila, the recovery options show up.
schlitzohr1812 said:
Followed all steps till now, works fine, i am on indian 5.1.1 now- BUT i can't get to recovery *-*
When i choose to get to the recovery I only get the green Android-mascot and "No command."
What now?
Thanks!
/okay, embarassing. You could add that to your how-to for idiots like me.
When seeing "no command" hold down the power button and press volume up once --> Voila, the recovery options show up.
Click to expand...
Click to collapse
Thanks, added it.
Does this work for Verizon has anyone tried?
Sent from my XT1575 using Tapatalk
No need to thank the people in the original thread who figured it all out, eh? No problem putting a donate mention in though.
MattBooth said:
No need to thank the people in the original thread who figured it all out, eh? No problem putting a donate mention in though.
Click to expand...
Click to collapse
Normally I should only thank gmillz because after he said he flashed 5.1.1 stock Rom I was the first one who tried it and got it working. Am I right?
alex1301 said:
Normally I should only thank gmillz because after he said he flashed 5.1.1 stock Rom I was the first one who tried it and got it working. Am I right?
Click to expand...
Click to collapse
I was unaware you had done anything to be honest I just hit the Indian firmware and flashed the OTA as soon as I got in from work My point was there are several people responsible for this success and you only named a few
MattBooth said:
I was unaware you had done anything to be honest [emoji14] I just hit the Indian firmware and flashed the OTA as soon as I got in from work My point was there are several people responsible for this success and you only named a few
Click to expand...
Click to collapse
Yeah I know what you mean, but the other members contributed to make it working on the XT1575 Pure Edition, so it was unnecessary for my tutorial.
@alex1301 Could you do the same for Brazilian Moto X Style (XT1572 dual sim)? I got my OTA file here: https://mega.nz/#F!rElFjZqJ!Vcx1gA-48Pqx0EMOwZ6A1Q
If you need, I also have the stock firmware.
Tcix said:
@alex1301 Could you do the same for Brazilian Moto X Style (XT1572 dual sim)? I got my OTA file here: https://mega.nz/#F!rElFjZqJ!Vcx1gA-48Pqx0EMOwZ6A1Q
If you need, I also have the stock firmware.
Click to expand...
Click to collapse
Yeah send me also the link for the stock firmware and I will modify the thread. Normally, you have to do the same steps for the Brazilian version like for the European one.
alex1301 said:
Yeah send me also the link for the stock firmware and I will modify the thread. Normally, you have to do the same steps for the Brazilian version like for the European one.
Click to expand...
Click to collapse
Great! Just give me some time (about 50 minutes) I'm uploading the firmware to Mega.
---------- Post added at 11:04 AM ---------- Previous post was at 10:57 AM ----------
A question, can I use my stock 5.1.1 instead the Indian version? Because the Indian modems do not work here in Brazil, only the US modems do.
Tcix said:
Great! Just give me some time (about 50 minutes) I'm uploading the firmware to Mega.
---------- Post added at 11:04 AM ---------- Previous post was at 10:57 AM ----------
A question, can I use my stock 5.1.1 instead the Indian version? Because the Indian modems do not work here in Brazil, only the US modems do.
Click to expand...
Click to collapse
Yep
@alex1301 Here is the Brazilian stock firmware: https://mega.nz/#!bYU0FI7a!W1QjmjUaeG-M4XYrhC9RZwrcMqzSXCA66DebFOplmZc
can anybody tell me that has taken the ota or flashed this. is there a toggle to enable the dark ui or rro "layers" support out of the box like the nexus devices have?
Which one between Indian or Brasilian MM patch must be used for an european mono sim XT1572 Moto X Style? I've already european 5.1.1 stock rom files.
bbb77 said:
Which one between Indian or Brasilian MM patch must be used for an european mono sim XT1572 Moto X Style? I've already european 5.1.1 stock rom files.
Click to expand...
Click to collapse
You need the indian one but you must also install Indian 5.1.1 stock rom
I'm getting this when I try to flash MM OTA:
"/modem/image/adsp.b01" has unexpected contents.
E:Error in /sideload/package.zip
(Status 7)"
Any clues?
ThiEarsiling said:
I'm getting this when I try to flash MM OTA:
"/modem/image/adsp.b01" has unexpected contents.
E:Error in /sideload/package.zip
(Status 7)"
Any clues?
Click to expand...
Click to collapse
Which version of the style do you habe and which stock rom have you flashed?