Ota updates on unlocked bootloader? Please help - G 2014 Q&A, Help & Troubleshooting

I just unrooted my moto g xt1068 and flashed stock rom. But for some reasons i am unable to relock the bootloader. Just want to know that will I be able to receive OTA updates even when the bootloader is unlocked or should i have to relock the bootloader?

why nobody answered my questions yet? Plz reply soon

sandy1636 said:
I just unrooted my moto g xt1068 and flashed stock rom. But for some reasons i am unable to relock the bootloader. Just want to know that will I be able to receive OTA updates even when the bootloader is unlocked or should i have to relock the bootloader?
Click to expand...
Click to collapse
Unlocked bootloader, doesn't matter with updates, or system flash..only when one needs Root, then the bootloader needs unlocked, unless a Root exploit is used..
sent by my
5.0_22.11.6 Lollipop (Rooted)
TWRP v2.8.0.1-titan
UPDATE-SuperSU-v2.16
XT1064 Moto G (2nd Gen.)
http://waynekent.com/page6.html
"Praise Jah" YOU people.!

Try this:
Flash Stock firmware using these commands in this order:
Code:
[B]mfastboot.exe oem lock begin[/B]
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
[B]mfastboot.exe oem lock[/B]
mfastboot.exe reboot
Hope this helps

KrishnaSagar said:
Flash Stock firmware using these commands in this order:
Code:
[B]mfastboot.exe oem lock begin[/B]
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
[B]mfastboot.exe oem lock[/B]
mfastboot.exe reboot
Hope this helps
Click to expand...
Click to collapse
i have already entered all these commands and successfully flashed stock rom. But when i enter mfastboot.exe oem lock, its shows as (bootloader) sst lock failure.

That is the standard procedure, but if you are getting errors then please refer to this thread:
http://forum.xda-developers.com/moto-g-2014/general/guide-explaining-boot-loader-locking-t2933827

KrishnaSagar said:
That is the standard procedure, but if you are getting errors then please refer to this thread:
http://forum.xda-developers.com/moto-g-2014/general/guide-explaining-boot-loader-locking-t2933827
Click to expand...
Click to collapse
I have followed the exact steps as mentioned in this thread. But still unable to relock the bootloader.
But I read somewhere that i can still get OTA updates even if bootloader is unlocked as long as i am in stock firmware and recovery. Is that true?

sandy1636 said:
I have followed the exact steps as mentioned in this thread. But still unable to relock the bootloader.
But I read somewhere that i can still get OTA updates even if bootloader is unlocked as long as i am in stock firmware and recovery. Is that true?
Click to expand...
Click to collapse
Yes. OTA updates are available on Unlocked Bootloader as long as you dont Root or change the recovery.

Thread hijack: If you have an unlocked bootloader and rooted xt1068 (and using Philz kernel) on the stock ROM, can you expect to get the OTA update?
I'm finding conflicting responses to this on searching and if I need to go back to stock recovery would happily do that, but I don't want to wipe my device.

grayme said:
Thread hijack: If you have an unlocked bootloader and rooted xt1068 (and using Philz kernel) on the stock ROM, can you expect to get the OTA update?
I'm finding conflicting responses to this on searching and if I need to go back to stock recovery would happily do that, but I don't want to wipe my device.
Click to expand...
Click to collapse
We shall see when the OTA is pushed to blighty. My advice would be to backup the boot, recovery and system partitions in their factory state before tinkering. I just rooted the stock ROM by booting from a TWRP image via fastboot, installed SuperSU and then used dd to image /boot, /recovery and /system to an external SD. If the OTA fails due to me having installed Xposed and removed system apps, I'll just restore the /system image and remove SuperSU... A wipe of the /data partition shouldn't be required.
If the OTA fails for you, I'd suggest flashing back the stock boot, recovery, and system images from the stock retgb firmware zip using fastboot and then trying the OTA upgrade process again.

rufflove said:
We shall see when the OTA is pushed to blighty. My advice would be to backup the boot, recovery and system partitions in their factory state before tinkering. I just rooted the stock ROM by booting from a TWRP image via fastboot, installed SuperSU and then used dd to image /boot, /recovery and /system to an external SD. If the OTA fails due to me having installed Xposed and removed system apps, I'll just restore the /system image and remove SuperSU... A wipe of the /data partition shouldn't be required.
If the OTA fails for you, I'd suggest flashing back the stock boot, recovery, and system images from the stock retgb firmware zip using fastboot and then trying the OTA upgrade process again.
Click to expand...
Click to collapse
It's probably a bit late for me to use dd before I installed Xposed. Thankfully I did back up using CWM before I wiped in installing Lollipop from a thread on here. I think I'll just wait till Motorola decides to push OTA over here.

grayme said:
It's probably a bit late for me to use dd before I installed Xposed. Thankfully I did back up using CWM before I wiped in installing Lollipop from a thread on here. I think I'll just wait till Motorola decides to push OTA over here.
Click to expand...
Click to collapse
Aye, but you should be able to flash back the stock system image from the 4.4.4 release using Motorola's fastboot. I dunno if the standard fastboot or any of custom recovery distros support sparse images. There must also be some way of converting the partial, sparse files into a normal image, too... I guess the questions is whether it's more of faff to start from a formatted data partition, or not.

rufflove said:
Aye, but you should be able to flash back the stock system image from the 4.4.4 release using Motorola's fastboot. I dunno if the standard fastboot or any of custom recovery distros support sparse images. There must also be some way of converting the partial, sparse files into a normal image, too... I guess the questions is whether it's more of faff to start from a formatted data partition, or not.
Click to expand...
Click to collapse
I used to understand these phones, but everything just seems so much more complicated these days!
I'm getting old.

Related

[Q] When is Lollipop going to be pushed?

So I just bought my Moto G 2014 (unlocked) and I have it all activated and set up. I was wondering though when Lollipop will be pushed so I can update to it? All I see articles are saying "It will get it" and "you should be able to update to it now" but I can't and I really don't want to void my warranty a day after I bought the phone. I want to try vanilla* Lollipop. Does anybody know when exactly?
( * = without having to manually install it via unlocking bootloader and using fastboot)
Motorola knows.
If it is the XT1063/4 ones, you can already install it via OTA.
Sent from my XT1064 using XDA Free mobile app
I have an Xt1064 and I still havent received the update. Is the update available here the same as the OTA? Im tempted to just install that one.
PerrottiX said:
If it is the XT1063/4 ones, you can already install it via OTA.
Sent from my XT1064 using XDA Free mobile app
Click to expand...
Click to collapse
I have XT1063 and I still didn't get the update through OTA as well. Is this normal?
i was trying
Hello, im from Perú. I got an XT1063 so when i am flashing i got two problems
1. hab check failed for boot
2. hab check failed for recovery
so anyone can help me?
I tried with Fastboot and with mfastboot, but same result.
I found this updates in other web which you can update to lollipop. Can anybody try them? I want to try but i can open the recovery...
getmovil dot com / motorola / root-moto-g-2014-android-lollipop /comment-page-1 /#comment-83348
Download the proper ota zip for your version from xda. Reboot into your stock bootloader. Apply update from sdcard. Done. No need to root or use fastboot. This can only be done on a completely stock phone with a locked bootloader. Its the same as end result that you'd get if you wait for the ota to arrive normally. Do not do this if you have unlocked your bootloader at any time. And make sure you use the proper ota zip for your model, there are three different models, the single sim us model ends in 1064.
Lokke9191 said:
Download the proper ota zip for your version from xda. Reboot into your stock bootloader. Apply update from sdcard. Done. No need to root or use fastboot. This can only be done on a completely stock phone with a locked bootloader. Its the same as end result that you'd get if you wait for the ota to arrive normally. Do not do this if you have unlocked your bootloader at any time. And make sure you use the proper ota zip for your model, there are three different models, the single sim us model ends in 1064.
Click to expand...
Click to collapse
...from where can i download the proper ota zip????
mine is MOTO G2 (2nd GEN) XT1068 dual sim europe
You can't. Lollipop isn't released for the XT1068 yet. But be patient. I suspect it to be there in the first or the second quarter of 2015! (And with a little luck maybe even this year...).
i understood we will take directly :angel:Android 6.0 (M) Milky Bar.......:good:
htcgr said:
i understood we will take directly :angel:Android 6.0 (M) Milky Bar.......:good:
Click to expand...
Click to collapse
Honestly, it should be there anytime now. But people keep asking the question over and over again: when is it coming? This is annoying, because no one really knows!
Lokke9191 said:
Download the proper ota zip for your version from xda. Reboot into your stock bootloader. Apply update from sdcard. Done. No need to root or use fastboot. This can only be done on a completely stock phone with a locked bootloader. Its the same as end result that you'd get if you wait for the ota to arrive normally. Do not do this if you have unlocked your bootloader at any time. And make sure you use the proper ota zip for your model, there are three different models, the single sim us model ends in 1064.
Click to expand...
Click to collapse
any idea how to re-lock the bootloader? :good:
kevin_arthur said:
any idea how to re-lock the bootloader? :good:
Click to expand...
Click to collapse
Follow the guide at ( http://www.droidviews.com/restore-moto-g-2014-to-stock-and-lock-the-bootloader/ ). However there's a couple of things you have to do differently.
Your first command after you enter fastboot mode is gonna have to be "mfastboot.exe oem lock begin".
Theres also gonna be four system.img that you have to flash so after the command "mfastboot.exe flash system system.img_sparsechunk.2" you have to enter the command "mfastboot.exe flash system system.img_sparsechunk.3". Follow the rest of the guide, including the "mfastboot.exe oem lock" command at the end.
So basically the commands would be...
mfastboot.exe 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
My phone automatically rebooted after that last command and my boot loader was locked even though it still displays the "Bootloader Unlocked" screen, I was able to flash the zip in the OP through the stock recovery after that.
COPIED AND PASTED FROM ANOTHER THREAD.
Courtesy of captivatingtab
---------- Post added at 11:29 AM ---------- Previous post was at 11:13 AM ----------
htcgr said:
...from where can i download the proper ota zip????
mine is MOTO G2 (2nd GEN) XT1068 dual sim europe
Click to expand...
Click to collapse
The xt1068 ota isnt available yet. There is a process to install another versions firmware on the xt1068 then upgrade to lollipop. But it looks buggy and super risky. I wouldn't recommend trying it. Id wait a little for the 1068 ota to be released. I know the other poster said it wont be available until 2015. But nobody knows for sure when itll be out. If i where to guess, id say itll be out fairly soon, sometime in the next 30 days. If I where you Id play it safe and wait it out.
---------- Post added at 11:32 AM ---------- Previous post was at 11:29 AM ----------
The only otas out so far are for the 1064 & 1063.
wish me luck!
Lokke9191 said:
Follow the guide at ( ). However there's a couple of things you have to do differently.
Your first command after you enter fastboot mode is gonna have to be "mfastboot.exe oem lock begin".
Theres also gonna be four system.img that you have to flash so after the command "mfastboot.exe flash system system.img_sparsechunk.2" you have to enter the command "mfastboot.exe flash system system.img_sparsechunk.3". Follow the rest of the guide, including the "mfastboot.exe oem lock" command at the end.
So basically the commands would be...
mfastboot.exe 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
My phone automatically rebooted after that last command and my boot loader was locked even though it still displays the "Bootloader Unlocked" screen, I was able to flash the zip in the OP through the stock recovery after that.
COPIED AND PASTED FROM ANOTHER THREAD.
Courtesy of captivatingtab
Click to expand...
Click to collapse
okey, i will try.
thank you my friend!
smitharro said:
You can't. Lollipop isn't released for the XT1068 yet. But be patient. I suspect it to be there in the first or the second quarter of 2015! (And with a little luck maybe even this year...).
Click to expand...
Click to collapse
It'll be sooner than that. Within the next 6 weeks.
Sent from my XT1068 using XDA Free mobile app
Lokke9191 said:
Download the proper ota zip for your version from xda. Reboot into your stock bootloader. Apply update from sdcard. Done. No need to root or use fastboot. This can only be done on a completely stock phone with a locked bootloader. Its the same as end result that you'd get if you wait for the ota to arrive normally. Do not do this if you have unlocked your bootloader at any time. And make sure you use the proper ota zip for your model, there are three different models, the single sim us model ends in 1064.
Click to expand...
Click to collapse
i have the international unlocked xt1063. where can i get the zip?
Is there any official source on the release date?
Kobro said:
i have the international unlocked xt1063. where can i get the zip?
Click to expand...
Click to collapse
Its in the general section under a thread titled ota-index 1063-1064 update to lollipop.
I have a complete stock, nothing flashed or rooted or anything xt1064 and it says the zip needs a fingerprint when I try to install it from this thread...
http://forum.xda-developers.com/moto-g-2014/development/lollipop-moto-g-2014-xt1064-t2937361/page11
htcgr said:
i understood we will take directly :angel:Android 6.0 (M) Milky Bar.......:good:
Click to expand...
Click to collapse
its a Marshmallow 6.0

Stock image for XT1097?

Hi,
I have a Brazilan version XT1097, bootloader unlocked but no root yet.
I cannot install anything from play store because I get an error that does not say much.
All I did was trying to root using a guide I found that tells you to use CF-Autoroot, but it just did not work.
Then I installed TWRP to see if there was any ROMs available since I came from the Nexus 5 and was used to see tons of ROMs on xda to grab and flash.
To my surprise, none is available so far.
Now I am trying to find the original 1097 images to flash on my device and go back to stock.
Might even give up on root, if necessary, but I need the phone back
Any ideas on how to proceed?
A different problem now
The user seco2004 (http://forum.xda-developers.com/member.php?u=4946010) has provided me with his backup image.
I followed the steps on the motorola website to flash all the files but my phone is stuck at the bootloader warning message, that one that says that the bootloader is unlocked.
When I entered TWRP to wipe all over again, it says there is no system installed...
Any pointers are most welcome!
leandroqm said:
The user seco2004 (http://forum.xda-developers.com/member.php?u=4946010) has provided me with his backup image.
I followed the steps on the motorola website to flash all the files but my phone is stuck at the bootloader warning message, that one that says that the bootloader is unlocked.
When I entered TWRP to wipe all over again, it says there is no system installed...
Any pointers are most welcome!
Click to expand...
Click to collapse
I'm not sure if this is what you tried before, but there's pretty much no chance of anything going wrong if you follow the commands:
fastboot oem fb_mode_set
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
mfastboot flash system system.img (maybe you missed this part? instead of the "system.img", you need to flash the system files one at a time, something like: mfastboot flash system systemfile_1.img, the mfastboot flash system systemfile_2.img, and then proceed with the commands below)
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 config carrier vzw
fastboot oem fb_mode_clear
After all this the phone should boot normally into stock 4.4.4. Sorry for the delay, Tapatalk didn't notify me , hope you got it fixed already.
seco2004 said:
I'm not sure if this is what you tried before, but there's pretty much no chance of anything going wrong if you follow the commands:
fastboot oem fb_mode_set
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
mfastboot flash system system.img (maybe you missed this part? instead of the "system.img", you need to flash the system files one at a time, something like: mfastboot flash system systemfile_1.img, the mfastboot flash system systemfile_2.img, and then proceed with the commands below)
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 config carrier vzw
fastboot oem fb_mode_clear
After all this the phone should boot normally into stock 4.4.4. Sorry for the delay, Tapatalk didn't notify me , hope you got it fixed already.
Click to expand...
Click to collapse
Yes, I dit it that same night (morning, I should say) by the very same process you described.
Thank you a lot for the images and responses!
leandroqm said:
Yes, I dit it that same night (morning, I should say) by the very same process you described.
Thank you a lot for the images and responses!
Click to expand...
Click to collapse
Did you get it working?
Sent from my XT1097 using Tapatalk
seco2004 said:
Did you get it working?
Sent from my XT1097 using Tapatalk
Click to expand...
Click to collapse
Yes, absolutely!
I upgraded it to lollipop and rooted right afterwards
How did you get a 1097 stock Lollipop image?
TheAquanox said:
How did you get a 1097 stock Lollipop image?
Click to expand...
Click to collapse
secco2004 shared me his backups
But is it 1097 lollipop or 1095 with the módem from 1097? Can you share dais backup? I'm Being unable to tether and would like to find out if it is the rom or the phone.
Greetings !
It was actually the KK 4.4.4 original images.
I had to update to lollipop right after via OTA.
IDK if secco2004 allows me to share it. Could you PM him, please?
He posted recently on the topic.
Yeah, it was actually the 4.4.4 Brazilian firmware, feel free to share it. For lollipop I have just the flasheable zip.
Sent from my XT1097 using Tapatalk
Since secco2004 said it is ok to share, tell me if you want me to sent it somewhere...
It is the XT1097 4.4.4 brazilian original images.
hey, can I have XT1097 stock images please?
I also need it
I flashed NX CM12.1 v3.0 rom and lost gps.
Someone in the thread said that i have to go back to stock, verify gps is working properly... blah, blah, blah.....
So the thing is that i don´t know what stock image to use on my phone and where to get it.
It is a XT1097.
Can any of you guys help me?
Need help please
I've flashed ATT_XT1097_5.0.2_system_ ext4_ root.zip using Mofo.exe and followed directions to the T but soon as its done flashing I reboot back into fastboot mode to wipe the cache but gives me error hab check failed for recovery failed to validate recovery image boot up failed. Please any help would be a life savor i'm lost. Anyone know where to find recovery.img file for Moto X XT1097 stock image file maybe I can flash in fastboot mode? I just hope I Dont have a bricked device. I am stuck in bootloop mode and can't wipe cache.
Thanks!
I really thank you, it worked for me! :good:

Wifi and 3g not working after manual ota

MOTO X 2014
I need help guys, it's urgent!!! So sometime ago (Dec 13 2014 ) i did this with adb to my phone to get it from android 4.4.4 to 5.0:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
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 system system.img_sparsechunk.4
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
Now i have been waiting for the ota of 5.1 since a lot of time but yesterday i got tired and installed the zip by going in recovery, i downloaded the 400MB zip from this forum link:
http://forum.xda-developers.com/moto-x-2014/general/ota-t3132045
But it didnt work it was saying something about a signature then i installed the 11MB zip which was a fix for users at 5.0 (me) found on the same forum link..
After installing that which installed successfully i installed the 400MB one and it completed, booted and now it's not detecting any sim and the wifi wont turn on, it keeps saying turning on wifi, please guys help i need my sim to work...thanks in advance, bye
First try clearing cache on the phone.
If that does not work, try wiping the phone.
If both of those fail, you probably will need to flash the full firmware.
Sent from my XT1095 using Tapatalk
AGISCI said:
First try clearing cache on the phone.
If that does not work, try wiping the phone.
If both of those fail, you probably will need to flash the full firmware.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
I will try and wipe the phone since i already tried clearing the cache...if i need to flash the full firmware, which firmware is it and do i need to root/unlock bootloader? i don't want to loose my warranty... what if i go to rma it like this? Is my warranty invalidated by what i did with adb? I mean will they find out?
Bye
splashzed said:
I will try and wipe the phone since i already tried clearing the cache...if i need to flash the full firmware, which firmware is it and do i need to root/unlock bootloader? i don't want to loose my warranty... what if i go to rma it like this? Is my warranty invalidated by what i did with adb? I mean will they find out?
Bye
Click to expand...
Click to collapse
I need to know what model and carrier you have to link the correct firmware.
As far as warranty goes. Warranty is only void if you unlock the bootloader. Except model xt1095, which does not lose warranty.
Sent from my XT1095 using Tapatalk

Moto G 2014 LTE ( XT1079 ), How to relock bootloader

I downloaded Android Marshmallow after reading news about it through settings/about/system updates.
After downloading, the phone restarted but updatation was stuck after flashing TWRP screen (error screen photo attached)
My phone is
bootloader unlocked,
recovery TWRP
rooted
ROM is stock.
It seems the OTA update will be completed once I have stock recovery,
I have following queries
Is it necessary to revert to stock recovery to complete OTA update?
If yes, how to achieve it, what i learnt through search, I need to find Stock ROM zips and extract recovery (boot.img) and then flash it through adb?
where to look for thea stock rom and is there any easier method
It's risky, a lot of users here for some reasons got stuck whit locked/unlocked bootloader unable to boot and flash anything.
Here you can find all the motog stock roms http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=created&order=DESC&show=50
You should wait for the complete rom image for your country/model to pop there instead doing that risky thing you want do.
Thanks
Recently stock rom for xt1079 has been added to the list.
But I m trying to download from filefactory since yesterday but due to some reason, it stops in between and resume isn't supported.
Are there any other hosts
Are you sure the region of that xt1079 is right for your phonr ? check the phone box and the info inside settings to know which region/carrier you have, you must use the same identical 100% stock to avoid problems
And, do no relock bootloader !!!
yes i bought this through online retailer in India.
It is xt1079 Asia
I see in xda forum of moto g 2nd gen most of the time ppl are talking about xt1078.
What's the difference between xt1078/1079 and can't I use xt1078 ROM.
Rooting procedure meant for xt1078 worked fine for me
And Sir is relocking bootloader very risky ? suppose something goes wrong wont I be able to unlock or restore nandroid backup.
Thanks to support from Dr.nic I am finally on android 6.0
Although I have relocked my bootloader, but it is recommended to leave as it is.
If anyone stumbles here with same problem like mine i.e. unable to upgrade to android 6.0 just because of custom recovery, then pls download the firmware from filefactory.com link and flash. I'll add flashing commands as well to this post in near future.
if you have already done this rom change etc, the you must already be having fastboot, adb etc.
after connecting in fastboot mode holding VolDown and Power for few secs
run following commands
[this is for android 6.0 firmware]
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_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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
I am not great expert, do this only if you have some idea, I may not be able to help you much if something goes wrong.
I can only say it worked for me

Installation error rom XT1078

hello all right with you, I hope so, I am Brazilian, and I would take a doubt on the bike variant g2 xt1078 of my region (Brazil).
Accidentally I Flashed the ROM xt1068 on my mobile xt1078, and now the first command "mfastboot.exe flash partition gpt.bin" shows the error "GPT Version Downgrade". And then camndo "mfastboot.exe flash system system.img_sparsechunk.0" It also shows the error "Image is too large" with this system partition has been reduced or changed, I wonder if this has repair, and that any suggestion and welcome.
@lost101 
 @Kamin4ri
 @VitaTaf
 @parrotgeek1
l.rochas
Is your Bootloader unlocked?
lost101 said:
Is your Bootloader unlocked?
Click to expand...
Click to collapse
yes unlocked.
What is the exact name of the XT1078 firmware image your are currently trying to flash?
lost101 said:
What is the exact name of the XT1078 firmware image your are currently trying to flash?
Click to expand...
Click to collapse
this and the image of factory with august patch
XT1078_THEA_RETBR_DS_6.0_MPBS24.65-34-5_cid12_subsidy-DEFAULT_CFC.xml
mfastboot flash partition gpt.bin
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 system system.img_sparsechunk.4
And the rest of the commands operates normally
@l.rochas - Do commands in this order:
mfastboot flash motoboot motoboot.img
mfastboot flash partition gpt.bin
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 system system.img_sparsechunk.4
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​
Use this version of mFastboot: https://www.androidfilehost.com/?fid=24052804347778493
lost101 said:
@l.rochas - Do commands in this order:
mfastboot flash motoboot motoboot.img
mfastboot flash partition gpt.bin
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 system system.img_sparsechunk.4
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​
Use this version of mFastboot: https://www.androidfilehost.com/?fid=24052804347778493
Click to expand...
Click to collapse
@lost101
does not work, same mistakes previously said
lost101 said:
@l.rochas - Do commands in this order:
mfastboot flash motoboot motoboot.img
mfastboot flash partition gpt.bin
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 system system.img_sparsechunk.4
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​
Use this version of mFastboot: https://www.androidfilehost.com/?fid=24052804347778493
Click to expand...
Click to collapse
@lost101
does not work, same mistakes previously said
l.rochas said:
@lost101
does not work, same mistakes previously said
Click to expand...
Click to collapse
The issue appears to be that you have flashed the XT1068 Bootloader and this cannot be simply undone by flashing the motoboot.img via mfastboot.
This thread describes the process for unbricking an XT1068, but may also be applicable for your handset. You will need another user with an XT1078 to provide you with the partition backups:
http://forum.xda-developers.com/moto-g-lte/help/moto-g-xt1068-aka-moto-g-2nd-generation-t3435052​
There is a risk that this won't work and your phone will never turn on again.
If you prefer, you could just flash a custom Stock MM ROM (if available) or CM/AOSP ROM via TWRP.
lost101 said:
The issue appears to be that you have flashed the XT1068 Bootloader and this cannot be simply undone by flashing the motoboot.img via mfastboot.
This thread describes the process for unbricking an XT1068, but may also be applicable for your handset. You will need another user with an XT1078 to provide you with the partition backups:
http://forum.xda-developers.com/moto-g-lte/help/moto-g-xt1068-aka-moto-g-2nd-generation-t3435052​
There is a risk that this won't work and your phone will never turn on again.
If you prefer, you could just flash a custom Stock MM ROM (if available) or CM/AOSP ROM via TWRP.
Click to expand...
Click to collapse
It seems to be a very risky method, but not hurt to try.
l.rochas said:
It seems to be a very risky method, but not hurt to try.
Click to expand...
Click to collapse
You already almost completely destroyed your handset by flashing the wrong bootloader. You don't exactly have many options here.
lost101 said:
The issue appears to be that you have flashed the XT1068 Bootloader and this cannot be simply undone by flashing the motoboot.img via mfastboot.
This thread describes the process for unbricking an XT1068, but may also be applicable for your handset. You will need another user with an XT1078 to provide you with the partition backups:
http://forum.xda-developers.com/moto-g-lte/help/moto-g-xt1068-aka-moto-g-2nd-generation-t3435052​
There is a risk that this won't work and your phone will never turn on again.
If you prefer, you could just flash a custom Stock MM ROM (if available) or CM/AOSP ROM via TWRP.
Click to expand...
Click to collapse
I've tried this method.
After a backup of all partitions on another default XT1078, the restore process on my phone finished with error only on /system or /data (I don't remember well).
Then I've tried to boot, but it had boot loop, just blinking very fast the Warning screen of unlocked bootloader.
It didn't work. :/
The only working method was merging XT1068 and XT1078 ROMs. Now Wifi and Mobile Data are working.
Now I can't change this ROM. Lineage or the whole XT1078 stock can't be installed.
The problem was that I didn't realize I was applying a XT1068 ROM on a XT1078 phone.
As all partitions were changed by flashing gpt.bin, the correct gpt.bin of XT1078 can't be applied.
Any solution????
I am afraid that there is no solution right now. You already permanently ****ed up your machine by flashing a wrong motoboot.img and GPT, that is, by not using a correct ROM file. You were careless, because mfastboot is a DANGEROUS tool that requires CARE and a wrong use of this tool can turn your Moto device into a fancy black paperweight. It has no security measures that prevent you from flashing a stock ROM for a wrong device, which is what you did by not making sure that you were using a correct (or at least compatible) firmware.
I am afraid that your device is now crippled for life unless you somehow can force the correct motoboot and GPT in your phone (impossible AFAIK) or you get a new Thea motherboard and replace the current one. You are very lucky that you can still boot it, because most people in your situation are left with a permanent hard brick. Can you get into fastboot and is your bad bootloader unlocked? If so, you can try installing TWRP and LineageOS for Titan (then the worst you risk is a soft brick) or leave the "stock" franken-ROM that "works".
IMO you should get a spare XT1078 motherboard, unlock it's bootloader (AND NEVER TOUCH IT AGAIN UNLESS OTHERWISE SPECIFIED), flash TWRP and IMMEDIATELY flash LineageOS+GApps so you never have to deal with stock ROMs and the dangers they carry when handled carelessly. With custom AOSP based ROMs and recoveries the worst thing you risk is a soft brick, which you can fix by reflashing a proper custom ROM in TWRP and/or wiping partitions. No recovery? You still have a working fastboot to flash another TWRP. Messing with /system is MUCH SAFER than messing with your bootloader.
I hope you have learned a lesson about the real risk of flashing smartphone firmwares without doing enough research first. It's no game, a wrong step and no more phone for you.
benjausen said:
I am afraid that there is no solution right now. You already permanently ****ed up your machine by flashing a wrong motoboot.img and GPT, that is, by not using a correct ROM file. You were careless, because mfastboot is a DANGEROUS tool that requires CARE and a wrong use of this tool can turn your Moto device into a fancy black paperweight. It has no security measures that prevent you from flashing a stock ROM for a wrong device, which is what you did by not making sure that you were using a correct (or at least compatible) firmware.
I am afraid that your device is now crippled for life unless you somehow can force the correct motoboot and GPT in your phone (impossible AFAIK) or you get a new Thea motherboard and replace the current one. You are very lucky that you can still boot it, because most people in your situation are left with a permanent hard brick. Can you get into fastboot and is your bad bootloader unlocked? If so, you can try installing TWRP and LineageOS for Titan (then the worst you risk is a soft brick) or leave the "stock" franken-ROM that "works".
IMO you should get a spare XT1078 motherboard, unlock it's bootloader (AND NEVER TOUCH IT AGAIN UNLESS OTHERWISE SPECIFIED), flash TWRP and IMMEDIATELY flash LineageOS+GApps so you never have to deal with stock ROMs and the dangers they carry when handled carelessly. With custom AOSP based ROMs and recoveries the worst thing you risk is a soft brick, which you can fix by reflashing a proper custom ROM in TWRP and/or wiping partitions. No recovery? You still have a working fastboot to flash another TWRP. Messing with /system is MUCH SAFER than messing with your bootloader.
I hope you have learned a lesson about the real risk of flashing smartphone firmwares without doing enough research first. It's no game, a wrong step and no more phone for you.
Click to expand...
Click to collapse
Nice answer, benjausen.
I've done a lot of things on more than 10 different mobile phone models, but for the first time I think there is no complete solution.
My only solution was using a mix of XT1068 and XT1078 Stock ROMs, flashing one component per time. The only bug is on screen rotation that is rotating to the wrong side. The rest is fine.
I'd like to install LineageOS, but flashing isn't being possible. It is giving error.
Only the way I mentioned was successful. Is there any manual way to flash components separated instead of using a .zip file?
peacehope said:
Nice answer, benjausen.
I've done a lot of things on more than 10 different mobile phone models, but for the first time I think there is no complete solution.
My only solution was using a mix of XT1068 and XT1078 Stock ROMs, flashing one component per time. The only bug is on screen rotation that is rotating to the wrong side. The rest is fine.
I'd like to install LineageOS, but flashing isn't being possible. It is giving error.
Only the way I mentioned was successful. Is there any manual way to flash components separated instead of using a .zip file?
Click to expand...
Click to collapse
I don't have a lot of advice for you, as a previous post states your options are pretty much limited. Try flashing individual .img files from a LineageOS ROM. Try downloading one for Titan and patching the images inside it.
benjausen said:
I don't have a lot of advice for you, as a previous post states your options are pretty much limited. Try flashing individual .img files from a LineageOS ROM. Try downloading one for Titan and patching the images inside it.
Click to expand...
Click to collapse
I don't have now a LineageOS ROM to check, but if I'm not wrong, it doesn't have each separated file as Stock ROM. Am I wrong?
I've flashed many Stock ROMs manually file by file, but never with custom ROMs.
Can you please provide any link teaching this with custom ROMs? I really want to try this.
Maybe this can be a solution, and if it works we will help many people here.

Categories

Resources