yashsingh1/xdaforums huggingface dataset:
[G 2014 Android Development] jdcassin:
Failed message

Hi!

I just followed all steps posted but I get some "Failed" messages on the process (In the command prompt line and in the device)

And my moto 2nd gend XT1063 still in lollipop.

But let me tell that I came here because I tried to downgrade from lollipop to kit kat from another post and i was having an enormous problem, no signal, no network, no sim card detected and now its fixed! Im going to leave my phone with lollipop. Thank you so much!

I dont want to screw my phone with no network.

Thanks thanks!

Cheers :)

ps. If you know why my phone stills in lollipop and know a solution please let me know
[G 2014 Android Development] shrtysskat8:
Would anyone be kind enough to reupload the X1064 version of this tool? Says file is missing.
[G 2014 Android Development] fidorulz:
Here you go but I wouldn't recommend using it

I downgraded fine but the OTA bricked my phone most likely because of bootloader

https://mega.nz/#!aU01yCjJ!mCirOvVNFBSs0fgzcq5Xc1K4LIvRz6v3p0knMeV9iuM
[G 2014 Android Development] Haroun16:
Thank you so much bro!
[G 2014 Android Development] Niket03:
Guys any Windows tool for Marshmallow 6.0 for XT1068
[G 2014 Android Development] Tolstoyevsky:
XT1063 link is broken. Could you reupload it please?
[G 2014 Android Development] aaronmy:
+1
[G 2014 Android Development] Jdgp42:
I have a problem in here maybe someone can help me.:

My came with lollipop, I tried to restoring 4.4 but as I have read I cant do that.

So I donwload the 5.0.2 file from here and tried the process. I get the following on the cmd:

Restore to Stock Android 5.0.2 for Motorola Moto G 2014 (XT1068)
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
FAILED (status read failed (Too many links))
finished. total time: 0.312s
target max-sparse-size: 256MB
sending 'logo' (697 KB)...
FAILED (data transfer failure (Too many links))
finished. total time: 0.031s
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
FAILED (command write failed (Too many links))
finished. total time: 0.016s
target max-sparse-size: 256MB
sending 'system' (254994 KB)...
OKAY [ 8.054s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.101s
target max-sparse-size: 256MB
sending 'system' (260623 KB)...
OKAY [ 8.270s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.332s
target max-sparse-size: 256MB
sending 'system' (255649 KB)...
OKAY [ 8.102s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.134s
target max-sparse-size: 256MB
sending 'system' (32272 KB)...
OKAY [ 1.076s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.123s
target max-sparse-size: 256MB
sending 'modem' (49364 KB)...
FAILED (command write failed (Too many links))
finished. total time: -0.000s
erasing 'modemst1'...
FAILED (command write failed (Too many links))
finished. total time: 0.016s
erasing 'modemst2'...
FAILED (command write failed (Too many links))
finished. total time: 0.016s
erasing 'cache'...
FAILED (status read failed (Too many links))
finished. total time: 0.016s
erasing 'userdata'...
FAILED (command write failed (Too many links))
finished. total time: 0.016s
rebooting...

finished. total time: 0.016s
Press any key to exitÔÇª

But the phones doenst pass the bootloader screen.
[G 2014 Android Development] c_/\/\_k:
i have hardbricked xt068, its not even booting in fastboot mode, it got dead while installing official motorola update it was running stock 5.0.2 (unrooted) and stock recovery... but unfortunately it got dead while the installation process that happens in recovery(green androrobot).. and it never woke up, while connecting to pc via usb... it shows some device connected but unrecognized..

so my question is.. will this procedure will work on mu device...?
[G 2014 Android Development] dkukov:
The link from the first post for xt1064 is not working. Can you reupload please.
[G 2014 Android Development] Nahuwii:
OP of this thread doesnt support any of his works anymore so I suggest you find another thread
[G 2014 Android Development] ayush_nagpal:
I need a link to 5.0.2 on XT1068 . The one given , when opened shows file does not exist . So Thanks in advance for help
[G 2014 Android Development] Wolfcity:
RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml.zip :

https://mega.nz/#!BZEHRCqB!N9cqz9isNvgxOtJgHK732zxKOC20Zw3FIkgRi9ugs70

RETAILDSDSALL_XT1068_5.0.2_LXB22.99-16_cid7_CFC.xml.zip :

https://mega.nz/#!MA8wkbCT!1Xa5ktsEd2cXVUoqKuzhQe4cGNEY7mMDQDhXfEFETlg
[G 2014 Android Development] dimitrispas22:
This it works?

https://www.youtube.com/watch?v=fOrNYmhmsJ8

---------- Post added at 04:57 PM ---------- Previous post was at 04:56 PM ----------

XT1068

Firmware 22.99.16 [5.0.2]

LINK NOT WORKING :(
[G 2014 Android Development] dimitrispas22:
link doesnt works for xt1068 lollipop
[G 2014 Android Development] dimitrispas22:
link is broken moto g 2 xt1068 5.0.2
[G 2014 Android Development] andromuks:
Junior members, please don't quote the whole OP . The intention behind quoting is just to give a context of what you are talking about ..so simply put few lines that can give context ...you don't need to quote the whole thing.

Anyways, its just a correction .

-Since your device is hardbricked ( confirm this by checking device manager..if it shows 'qhsub device' after connecting your device to PC ). Currently there isn't any solution for our hard bricked Moto G's . I have one of mine bricked while trying to compile MIUI. So you will have to wait for solution.
[G 2014 Android Development] nicolasokolle:
my moto xt1063 tells me my sim is not supported by the phone. i dont know what to do please need help
[G 2014 Android Development] FoneWatcher:
Give more details.
[G 2014 Android Development] Mottaaaa:
XT1068

Firmware 21.85.27 [4.4.4]

Link is broken, can you please re-upload or provide new link?

Thank you
[G 2014 Android Development] kiranbhat:
sir,

please can u make it to work with xt-1506 moto e2 3g.
[G 2014 Android Development] gullu13:
Any version would be good but I would really appreciate if you do it for the latest one!
[G 2014 Android Development] xdabshr:
Description key ?

it asks me for the description key.
[G 2014 Android Development] cociuba:
[MENTION=5323673]Shawn5162[/MENTION] - great job, waiting for xt1068.

if you would explain how can we extract stock rom maybe we can provide the files you need

Edit: never mind I found the firmwares in another thread
[G 2014 Android Development] Yeag3r24:
So i ran the restore script on my US Unlocked Moto G 2014 (XT1064) and it just restored it to the lollipop 5.0 22.11.6 system version i had previously flashed in recovery after i purchased the phone which came with KK 4.4.4 or maybe it was 4.4.2 but either way i wanted to downgrade back to KK to take the OTA updates and was hoping this script would let me infact do that and go back to stock from the day i purchased it at Best Buy. Any idea why it didn't restore it to KK? It was still nice to run the script and start over fresh on Lollipop but seems as if it still has lags when hitting home button to exit out of an app. Seems as if it does it a lot and homescreen is blank except for app drawer icon then a few seconds later homescreen is there. Also would get some random reboots from time to time on Lollipop update. Was hoping these two issues would be corrected in new update with lollipop but doesn't seem to be the issue .... Any ideas why that happens as well? Would just like to go back to KK and start fresh. Lemme know if there is any other way of doing that if this in fact will always just restore my phone to Lollipop when i try and use it. :eek: Appreciate it!!! And thanks again.

***Update***

Good to go! Great tool
[G 2014 Android Development] iyousif:
THANK YOU!

I unlocked my bootloader and flash custom recovery before I end up halting in white warning screen!

This saved my day! Now I can try Flashing Lollipop again with no fear! :D

EDIT:

FINALLY, I am able to upgrade to Lollipop, you need to DOWNGRADE FIRST TO 21.11.17 from 21.85.23 before you can go to Lollipop!

For XT1063 users like me (Amazon Global version), you can download this file: http://180upload.com/bzl3ah1wov5g (from this post http://xdaforums.com/showpost.php?p=57145688&postcount=8) and extract it to a folder, then add this extra six files (total = 19) from here:

http://www.mediafire.com/download/61sydcepbxjej9f/fastboot_files.rar

Put your phone in recovery and use the same instruction in here to downgrade to 21.11.17:

http://xdaforums.com/moto-g-2014/development/lollipop-moto-g-2014-xt1064-t2937361

Then you will be able to upgrade to Lollipop! :D
[G 2014 Android Development] wereborntudie:
It can be any firmware or is necessarily have to be the ones put in the post? Sorry for my terrible English, I'm using google translate:p
[G 2014 Android Development] mtambo:
Amazing! I was almost certain I was staring at a $160 brick after a failed TWRP flash. Nothing worked until this. Thanks so much for creating it!
[G 2014 Android Development] sagarrai000:
Bro, is there any updates for x1068 version. I need the STOCK Firmware for x1068.
[G 2014 Android Development] Meowdib:
Any update on updating the script to relock the bootloader on 1064?
[G 2014 Android Development] Th1errY:
Can you describe it with more detail
[G 2014 Android Development] Android The Greek:
For anyone on 21.11.23 this works only if you unlock your bootloader first. still not sure if there is a way to relock it.
[G 2014 Android Development] reefuge:
XT1068 version

Introducing my new "Restore to Stock" tool for Windows! This is tool currently supports XT1063 and XT1064 (sold in the US). I will be supporting the XT1068 soon!

I have used your script to make a working (for me) version for XT1068

http://xdaforums.com/moto-g-2014/development/windows-tool-moto-g-2014-xt1068-dual-t2983295

All credit to Shawn5162 for the idea
[G 2014 Android Development] ShadyBusiness:
I'm having the same issue as you my phone just goes back to 22.11.6, how did you end up reverting to KK?
[G 2014 Android Development] Android The Greek:
I was able to back to kk but could not do it if u tried locking the bootloader
[G 2014 Android Development] nerfman100:
Edit: Never mind. I managed to get the decryption error to go away by downloading it from another browser. It's probably a problem with my installation of the Mega extension for Chrome.
[G 2014 Android Development] Lokke9191:
Same here. It would have been nice if the previous poster told us how he did it instead of editing to just say "nevermind, good to go". Stuck on 21.11.6 with a locked bootloader. Anybody know how to upgrade from 22.11.6? Your help would be greatly appreciated.
[G 2014 Android Development] ShadyBusiness:
I ended up getting it to work by unlocking the bootloader.
[G 2014 Android Development] pGuerrerox:
hope this works on my 21.11.23, xt1063

---------- Post added at 09:30 PM ---------- Previous post was at 09:09 PM ----------

worked like a CHARM!

thank you vet much.
[G 2014 Android Development] onur254:
problem

Yes it restored But phone doesn't take signal from Bell (provider)!!! whats the problem everything works just doesn't connect to service provider. Do you think this ROM locked to just US providers?
[G 2014 Android Development] SaberJ2X:
so... let me get this right... I got to unlock bootloader to install the -17build? to get lollipop?

doesn't this trigger a state = 2?
[G 2014 Android Development] ConnerKid:
I did this and I'm trying to relock the bootloader. Is there anything I can do?
[G 2014 Android Development] Android The Greek:
Did you upgrade to lollipop or no. If not you can edit the script to start with fastboot OEM lock begin and end with fastboot OEM lock. If you had lollipop firmware at anytime you may be out of luck until a lollipop signed firmware drops
[G 2014 Android Development] LoneStarPhD:
I just sent you a small donation for saving my butt. At least I am back up and running, if not on Lollipop.

When I try to update to Lollipop with the zip that just came out, I get the fingerprint message. I originally rooted with TWRP and SuperSU. Your script got rid of TWRP and I believe SuperSU, but am I still rooted? I did not relock the bootloader as I believe that has to be unlocked for flashing the OTA zip.
[G 2014 Android Development] ConnerKid:
Yeah, I'm on Lollipop. That's what I was afraid of. Thank you!
[G 2014 Android Development] LoneStarPhD:
I figured it out. To get to Lollipop, you have to be on the right version of KitKat. Since yours is one version away from the most current KitKat for XT1064, the upgrade would fail. I found the correct version and was able to upgrade to it.

Thanks, again.
[G 2014 Android Development] Android The Greek:
Shawn I was able to build your tool for XT1063 to downgrade to 21.85.17 if you need the link to the firmware its here

http://xdaforums.com/showthread.php?t=2987861
[G 2014 Android Development] Subhanzg:
Much awaited :)
[G 2014 Android Development] MrGeek_9:
Thanks!

Thanks man, i fixed my moto g with that
[G 2014 Android Development] EzSqueezeCheese:
Does anyone have a 4.4.4 21.85.23 build for the XT1064?
[G 2014 Android Development] Android The Greek:
http://motofirmware.com/files/file/951-retuaws-xt1064-444-kxb2185-23-cid9-cfcxmlzip/
[G 2014 Android Development] EzSqueezeCheese:
Thanks the link! I want to flash this file, but I'm not entirely sure how to? I tries flashing via twrp recovery, but its not working. Is the file improperly formatted for flashing via custom recovery?

I'm tried to downgrade from 22.11.6. I'm getting an error when using the downgrade tool as it starts to write the system partition. It says "Failed, too many links." I used it once before to downgrade from .23 to .17 to flash lollipop, now regretting that, I just want to go back to KK...
[G 2014 Android Development] Android The Greek:
Not sure what you mean by too many links. You can copy all files in the firmware you downloaded and pastw them in the windows recoverytool folder and overwrite everything to create an auto recovery back to kk 21.11.23
[G 2014 Android Development] zeropants:
So if you have been on lollipop and run this to return to stock in order to return the phone you're not going to be able to get rid of the message? Is it a small text a the top or the full white screen?
[G 2014 Android Development] Android The Greek:
No way to relock bootloader
[G 2014 Android Development] zeropants:
Other question - I have no recovery, just an Android guy with a red logo - can I restore that?
[G 2014 Android Development] Android The Greek:
Power and volume up.
[G 2014 Android Development] zeropants:
Got it, I was doing the power up step backward for some reason.
[G 2014 Android Development] cygnus56:
I have unlocked the bootloader, I have the firmware 21.11.24, I can install the firmware 21.85.17?
[G 2014 Android Development] Juan-nadal:
My xt1063 stop on motorola logo.

my motorola xt1063 afther use the tool stock on motorola logo and does not do anything....
[G 2014 Android Development] RubberSalad:
Thanks a lot! This saved me from a bootloop
[G 2014 Android Development] carlosjhonny:
cuestion

my motorola works perfectly , I have unlocked Bootloader and want to downgrade to install LOLIPOP .. my cuestion is: I can use this tool to install 21,11,17 version . if I come to 21,11,23 retuglb en US ???. I bought my phone from amazon and I am from Venezuela not want to have problems with the signal. and sorry if it is a repeated question but I could not find in any post something about it. :good:
[G 2014 Android Development] fathermocker:
Ditto, I need to know the answer to the same question.
[G 2014 Android Development] Shawn5162:
yes
[G 2014 Android Development] Android The Greek:
Look here if its XT1063

http://xdaforums.com/showthread.php?p=57824478
[G 2014 Android Development] leomijares:
Hi

Hello friend at first want to thank you for this wonderful work, I want to ask you a question, it will be possible to do the same job but with a cleaner rom, I mean no apps motorola and some other inecesaarias? thank you very much in advance and disculap my English, helped me with google translator! :);)
[G 2014 Android Development] hellraiser:
how to revert back to kitkat.

i have flashed the lollipop ota now im facing sim bug and want to revert back to kitkat with out unlocking the bootloader, is there any way..
[G 2014 Android Development] Rockman EXE:
can i unbrick my phone with this?

hello, can i unbrick a soft brick with this?
[G 2014 Android Development] YamilG:
Hey man, I just created an account to say THANK YOU! It worked like a charm! I'm finally running Lollipop thanks to you ;)
[G 2014 Android Development] kata0902:
Hi there,

I got XT1063 Global Unlocked from Amazon. It was KK 4.4.4 and worked fine for me (except KK known SD card limitation).

I read about fix introduced in Lollipop for SD card write methods and was glad when Lollipop upgrade appeared.

OMG, better I didn't touch it all!!! What a piece of crap. I hate its interface, lags and reboots. Want to downgrade back to KK 4.4.4 if it is possible!

This is my first Android phone and I don't know much about all those bootloader things, options, OEM signatures and other stuff.

What I did:

1) Enabled USB debugging from Developer Tools.

2) Installed Motorola Device Manager (to have proper USB drivers)

3) Downloaded firmware with script from this Thread (for XT1063)

4) Pressed Power+Vol. Down button and got Bootloader menu on screen (it says Device is Locked. Status Code 0)

5) While having this menu on screen I run Auto Restore Script.bat script and noticed many validation errors with sending OK messages.

6) After reboot phone stuck with blue Moto logo on screen (some users reported same issue above in this thread).

7) After some time and pressing Power button Lollipop starts from scratch (at least it does user data erase)

So, after reading entire thread I don't know what I'm doing wrong. Either procedure is not applicable for those who already got Lollipop or I missed something.

Some people are nice to explain how to reveal hidden extensions for files in Windows but when it comes to real help with some obvious (for them) things in Android - its hard to get real Help.

Here is my question: what procedure required to downgrade Lollipop to KK on XT1063? Consider untouched phone from store, no mods and etc.

Thank you in advance, Kate
[G 2014 Android Development] bassamy99:
Thanks man, it really worked and helped me
[G 2014 Android Development] jrny99:
Is your boot loader unlocked?
[G 2014 Android Development] mr-bledi:
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)

i get this error and in fastboot says device unlocked status code 3

---------- Post added at 09:33 AM ---------- Previous post was at 09:22 AM ----------

also before reboot command on .bat i edited and added mfastboot.exe oem lock but when this is executed i get this other one on CMD (bootloader) Please flash valid signed images firstly!

OKAY [ 0.468s] reminder:device is xt1064 with bootloader unlocked! and upgraded to lollipop with official update and costum rom then
[G 2014 Android Development] kata0902:
It says Device is Locked. Status Code 0. No idea if script did any changes.
[G 2014 Android Development] Shampoos:
No signal

Someone please help me with this. After using the script for the XT1063 my phone is not getting any signal, no cellular service at all.

Should I try using the XT1064? I was running CM12 with Unnamed Kernel before my Moto G stopped working (wouldn't pass the Motorola logo) but, as I said, now I have no signal.

Help, please?

Update: So after several reboots and taking out and putting back the SIM, I got a "SIM/RUIM is perso locked" error on the lockscreen, took out and putted back on the SIM and now I have a "Claro" instead of the error. My service provider is Claro Guatemala. Could it be that now my phone is locked to a US carrier?

My brother has the same phone, is there something I can do to fix my signal by using his?
[G 2014 Android Development] jrny99:
unlock it and your good to go
[G 2014 Android Development] yxoasis:
so perfect tools, thanks a lot

BTW：BL must unlocked
[G 2014 Android Development] rouyal:
Thank you for this! Worked perfect. I used this tool to flash mine to 21.11.23 (not .17 in the OP), and worked. Was very easy. I just needed to figure out that phone needed to be in fastboot to use it (didn't say in OP).

As soon as I bought my xt1064, I updated it to lollipop. After performance and bug issues (even with custom ROM), I decided to try Kitkat. THIS is where it's at. WAY better battery life and speed, and no noticable bugs. A version of android that 'just works'. Disabled all unused apps that I could. I use nova launcher so I still have the nice app drawer to look exactly like lollipop, and to have smaller icon sizes.
[G 2014 Android Development] amppcguru:
Thanks for this. It has come in handy alot. I've tried a bunch of different lp roms but Lollipop sucks and looks like iOs flat one dimensional screen. KK just works and looks like android should. I use xposed installer with the sdcard fix for kk which works like a charm. So far no sdcard fix for lp… :thumbup::)
[G 2014 Android Development] Bruce-Wayne:
Hey everyone - thanks for this tool! Works to restore perfectly, if your device is from the US.

Mine's from Canada and had some trouble receiving signal afterwards, I saw a few others were having regional problems as well - below is how I reverted to stock.

Here's the tool I used to flash the Canadian stock image:

http://xdaforums.com/moto-g-2014/general/tool-restore-to-stock-firmware-flasher-t3016236?nocache=1

The image name for Canada is:

RETCA_XT1064_4.4.4_KXB21.85-16_cid14_CFC.xml.zip

http://www.filefactory.com/file/78znv8hx0tvt/RETCA_XT1064_4.4.4_KXB21.85-16_cid14_CFC.xml.zip

Directory of a ton of stock images (from link above):

http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=created&order=DESC&show=100&page=1

I also needed to add the extracted/installed files to the directory from:

http://xdaforums.com/showthread.php?t=2317790

to get the ADP to connect to my device.
[G 2014 Android Development] surender996:
Bootloader lock?

Is it required for Bootloader to be unloacked for this??
[G 2014 Android Development] dub_1:
Can anyone with XT1064/XT1063 who has received and installed the official 5.0.2 (NOT FLASHED as per most of the threads here) confirm if it is possible to return to KK with L's new bootloader?
[G 2014 Android Development] luca020400:
I'm using the lollipop bootloader and I can flash and use kk roms
[G 2014 Android Development] Attiany:
Guys please help me, i don't know what im doing wrong, i have an XT1063 with lollipop, non rooted or with unlocked bootloader or a flashed custom recovery, it's pretty much stock, i tried this method to return to kit kat, it seemed everything went ok, but after it rebooted i was in the same lollipop version, the only difference was that all my data was wiped, i kept trying it but i just stay in lollipop, it doesn't go back to kit kat, do i need to be rooted or something like that ?
[G 2014 Android Development] reefuge:
you must have a unlocked boot loader to downgrade from 5.0.2 to 4.4.4 and before you downgrade do a full factory reset or phone can hang
[G 2014 Android Development] Attiany:
Sorry for double post, but i don't know how to edit here, i just found the answer reading the whole topic, it seems that i need to unlock my bootloader in order to finally downgrade to kit kat
[G 2014 Android Development] reefuge:
yes
[G 2014 Android Development] immy8796:
i successfully downgrade my XT1068 from LP to KK.. :) [MENTION=3548061]reefuge[/MENTION] thanx for ur support n instructions.. :)
[G 2014 Android Development] Vidhanth:
This also does the same thing but has more features!