I did rooting and installed custom rom 7.1.2. But LTE calling works only when data turned on. Where as it was working stock firmware. HenceI tried ti revert stock firmware. It failed. Even after two hours, id did not update.
Then I saw twrp restore also not working. HenceI tried reinstalled twrp. Now it shows an image with words erasing and warning msg phone unlocked alternatively.
What should I do to get back stock firmware.
Kindly guide me with step by step.
If any more info needed from me, kindly convey.
Problem was solved by omitting two lines
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
in the list of commands.
Related
I was on cm12.1 and I wanted to restore my phone to stock firmware but it failed. I tried many images but none works, each time my phone was stuck on the "Warning bootloader unlocked" screen. What can I do to solve this ?
Factory images that I tried :
AWSRETAIL_XT1034_4.4.4_KXB21.14-L1.61_cid9_CFC.xml.zip
XT1034_AWSRETAIL-CA_4.4.4_KXB21.14-L1.41_37_cid14_CFC_1FF.xml.zip
XT1034_FALCON-RETAIL-CA_5.0.2_LXB22.46-32_31_cid14_CFC_1FF.xml.zip
XT1034_FALCON-RETUAWS_5.0.2_LXB22.99-36_19_cid9_CFC_1FF.xml.zip
Provide a full and complete fastboot log. Do the commands manually. Use mfastboot.
Yes, I used mfastboot and every commands was returning "OK". I didnt have any error during flash.
hello
i've bought used moto g 2015 from spain.
the problem is that the device is locked with status code 0.
i've been trying to unlock it, but with no luck.
everything gives the error failed(remote failure)
recently i've used windroid toolkit to unlock bootloader and install twrp like in some tutorials, the app says it's done, but after i enter a recovery the phone hangs and boots again to fastboot.
any help will be appreciated
EDIT:
invoking "mfastboot flash partition gpt.bin" command gives the error too so i am unable of installing stock firmware too
EDIT2:
i've successfully installed stock package but there is still a problem - boot loop.
you need to flash stock rom to remove boot loop.
here is the link
http://forum.xda-developers.com/2015-moto-g/general/index-moto-g-factory-firmware-images-t3169639
sachin09 said:
you need to flash stock rom to remove boot loop.
here is the link
http://forum.xda-developers.com/2015-moto-g/general/index-moto-g-factory-firmware-images-t3169639
Click to expand...
Click to collapse
I have already flashed the rom but now i think it could be a bad package. My phone is from spain and i installed before:
XT1541_OSPREY_ORAES_6.0_MPI24.65-33_cid7_subsidy-DEFAULT_CFC.xml
now i'm downloading
XT1541_OSPREY_RETES_6.0_MPI24.65-33_cid7_subsidy-DEFAULT_CFC.xml.zip
is there any way to find out which package should i use for sure?
the last package i mentioned doesnt change anything. phone boots to bootloader not to system.
any news i have the same thing with my device everything was flashed but i get boot faillure ??
nothing... i'll get my money back i guess
Well, long story short, I've managed to f*ck up my Moto G. I was having problems with the SD Card ejecting itself on the modified stock 6.0.1 Rom found here so I decided to go full stock again to have a good base to go to, and flash again TWRP, and Turbo or another rom. I had one stock rom downloaded, so I tried that one, I applied that with RSD Lite without noticing that wasn't for XT1542, but for XT1040, aka Moto 1st gen LTE. Needless to say that I received a black screen with red letters tell me that the kernel failed to load. I tried flashing again with stock 5.1.1 in RSD Lite and manually since the XT1040 rom was a 5.1.1, and I can't, gpt.bin fails to flash (preflash validation failed), so I skipped it, and skipped the bootloader like it was a downgrade from 6.0 to 5.1.1, and it worked, the OS boots, and I was able to flash 5.1.1 and 6.0 again, but can't flash anything else stock, like I was on a locked bootloader, even when it says "Device is UNLOCKED" and the "oem unlock {key}" says that the command doesn't work in the device in that state (unlocked) and I can't relock (it asks me to fully flash stock, which I can't do), and I can't manual flash anything else since gives the "preflash validation failure" error.
TL;DR: Flashed wrong stock full rom into G 2015, semi fixed it, phone works but now can't flash own device full stock roms. Send halp.
Did you Flash the bootloader from xt1040?
Have you tried fastboot erase? Erase all partitions and then fastboot flash. I had the same issue when I had Moto G1 and had to erase the partitions before fastboot flashing stock rom.
Śūnyatā said:
Have you tried fastboot erase? Erase all partitions and then fastboot flash. I had the same issue when I had Moto G1 and had to erase the partitions before fastboot flashing stock rom.
Click to expand...
Click to collapse
NO!!! Never do a 'fastboot erase all' - this is really bad, it will wipe the hidden partition that hold the IMEI and other special information, which may not be recoverable at all.
Fastboot flash the bootloader, then reboot to bootloader again, then proceed to flash each piece manually, should be OK. If you can't flash the bootloader, you are pretty much screwed.
HelpMeruth said:
Did you Flash the bootloader from xt1040?
Click to expand...
Click to collapse
I suppose so. Because the rom I flashed, I did it via RSDLite, and the flashing process wasn't interrupted in at any time.
acejavelin said:
NO!!! Never do a 'fastboot erase all' - this is really bad, it will wipe the hidden partition that hold the IMEI and other special information, which may not be recoverable at all.
Fastboot flash the bootloader, then reboot to bootloader again, then proceed to flash each piece manually, should be OK. If you can't flash the bootloader, you are pretty much screwed.
Click to expand...
Click to collapse
Thanks! I'll try that.
Update: Finally fixed it. I had to use another official stock rom (I deeply thank the guys that put together the stock rom images in the General section, true saviors there), this time the operator 'branded' rom (Personal Argentina) that came with the phone, because the Latin American Retail found here didn't work at all, and gave all that flashing errors. With that and RSD Lite flashed successfully, no errors whatsoever, and the OTA worked great so now my bootloader screen reads "Software status: Official" again. Thanks to everyone that replied.
Hello guys
I flashed my Moto G XT1033 (1st 2013) with GPE 4.4.4 a long time ago. I used to have TWRP installed just in case. Last weekend I decide do download a CM ROM of Lollipop (5.1) and just installed it. Worked like a charm.
Later that day when I got home, Android itself started update process from Motorola! The progressbar was showing and never ended. Suddenly the phone powers off, never coming back.
Doing a quick research I was able to turn it on again to the bootloader, who says:
"Fastboot reason: Failed do initialize partition table"
Since then, I've tried every sort of methods to install ANYTHING on this phone, as for say:
- Boot loader seems locked again, as I see the message "Device is LOCKED. Status Code: 0"
- When trying "fastboot oem get_unlock_data" I get "Could not get unlock data"
- Trying to use a previous key that I have to unlock returned "fastboot oem unlock disabled!"
- Trying to flash partition with many gpt.bin files (from different versions), seems useless always returning "Pre-flash validation failed FAILED Remote Failure" and on the phone is says "version downgraded for primary_gpt"
It looks like I'm on a real trouble in here, since I cannot flash anything to the phone, or even unlock the bootloader.
Any help would be appreciated.
Have you tried following the instructions here?:
https://forum.xda-developers.com/moto-g/help/how-to-unbrick-moto-g-falcon-t3394788
aha360 said:
Have you tried following the instructions here?:
https://forum.xda-developers.com/moto-g/help/how-to-unbrick-moto-g-falcon-t3394788
Click to expand...
Click to collapse
Yes, everything works fine until step 15. These are actually the instructions I used to bring the phone "to life" again. All the after steps who tries to flash files to the phone, end up as "remote failure".
Success
aha360 said:
Have you tried following the instructions here?:
https://forum.xda-developers.com/moto-g/help/how-to-unbrick-moto-g-falcon-t3394788
Click to expand...
Click to collapse
Fortunately I was able to completely restore my MotoG 2013 following the instructions from this post:
https://forum.xda-developers.com/showthread.php?t=2623587&page=6
It's noticeble that:
- I MUST flash mototboot.img FIRST because this unlocks the bootloader
- This ALLOWS do flash gpt.bin
- Then you should flash AGAIN the motoboot.img
- And go ahead flashing the other files --- OR --- flash a Custom recovery (TWRP in my case) and use sideload to load your prefered custom ROM.
Thanks to everyone
So a while back I unlocked and rooted my phone. I did something wrong the first time around and it bricked, so I started from scratch and flashed a stock firmware image, then installed Magisk. I used TWRP, but did not install it. No problems, except the OTA updates don't work, and the phone constantly nags me about it. I had a similar problem on a prior phone (Moto G4+) when the recovery partition was modified, and flashing back to stock fixed it on that phone. I finally get around to trying to fix this, figured Magisk did something to either boot or bootloader, so I re-flash boot.img and bootloader.img using the same images and instructions I originally used to flash my phone. boot.img fails claming bad signature, but bootloader.img succeeds. Now my phone will not successfully boot and claims it needs a factory reset. If I boot to TWRP, I can decrypt and see my data is intact (I explicitly chose not to encrypt my phone for this exact reason but *shrug*). If I install TWRP, it only boots to a TWRP screen and will not accept touch input. Booting TWRP from fastboot functions normally.
So basically, my data is intact. I want it to remain intact. My bootloader is mad at me. What do I do?
I have tried flashing the bootloader.img from multiple versions of the stock ROM and all of them have the same result. Using 'fastboot flash bootloader bootloader.img'
My only theory is that the key was written to the bootloader and flashing stock it doesn't have that key, but that doesn't make sense because what's the point of encryption then (see: I explicitly did not want my phone encrypted).
Update: I was able to fix it and retain all my data by using LMSA to recover it, but I edited the flashfile.xml to remove the step where it wipes userdata.