yashsingh1/xdaforums huggingface dataset:
[G 2014 General] andrewmilli:
On my moto g, the correct order is system.img_sparsechunk 0, 1,2,3. You can open the flashfile with a browser and see a correct order for an instalation. The flashfile is on the zip that you downloaded .
[G 2014 General] pabreu:
Can this file be flashed via recovery?

EDIT: Without touching the bootloader ofcourse. Its unlocked.
[G 2014 General] jpone7:
See I got all that but what i mean is the download for that specific file is different. On my windows pc the file comes out as a snes rom (I have an snes emulator installed on my pc) while files 0,2,3 come out as they should...i'll try on my mac and see what happens
[G 2014 General] jpone7:
Got it to work but only from my mac, not pc...weird...thanks for the help guys
[G 2014 General] SaydsSuhail:
thanks bro u saved my life

thanks many many
[G 2014 General] archies20:
Press on thanks. :good: :o
[G 2014 General] gramorn:
SIM Problem

After stock rom was good and running, both my SIM chips are not working. Anyone have the same problem or can help me?

Edit: Solved. Just used another ROM.
[G 2014 General] AngelofDeath69:
please help me out here, i'm bloody desperate already.

after receiving the OTA update the phone got stuck on applying update after the reboot for hours and hours, so i force rebooted it, after rebooting it doesn't boot up, just gets stuck on the moto logo.

Then i wipe cache partition and even the logo goes bye bye.

Then i follow this guide and i get failed on mfastboot on many files specially the chunk files.

So i unlocked bootloader and tried again, same result.

now the phone if stuck in a black screeen.

any toughts plz?
[G 2014 General] Rockel:
Sounds a bit like the problem I had (see a few posts above). Is it the same errors you get from CMD-window as I've shown in this post?
[G 2014 General] AngelofDeath69:
yeah i seen it, but didn't work out :(

EDIT: chinks files went trough fine now, damn weird. it booted now, but wifi doesn't work, all wifi :s. maybe because some files are still giving error.

second edit : reflashed everything and now wifi works, wtf damn weird.

I think that maybe it's custom recovery that is allowing the sucessfull flashing of the files in some cases hehe
[G 2014 General] archies20:
Lol :D
[G 2014 General] Rockel:
I've managed to go back to stock rom, and everything worked like a charm. Now I got a message that there was a system update (don't know if it is a new one or that I've gone back to another version). So I downloaded it, and after this it asks you to reboot... so far so good...

But than it reboots in TWRP. When I exit, it starts again into the stock rom where it reboots again to install the update. So I'm in some kind of loop now :p

Does annyone knows how to fix this?

And btw... When I'm TWRP, after sometime it crashes/reboots itself? Annyone familiar with this?

Thanks in advance!

Edit:

In TWRP I get the following error:

Updating partition detail...

FullSELinux support is present.

Processing AOSP recovery commands...

Installing zip file '/cache/Blur_Version.21.11.14.titan_retaildsds.retaildsdsall.en.03.zip'

Installing '/cache/Blur_Version.21.11.14.titan_retaildsds.retaildsdsall.en.03.zip'...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

Verifying current system...

"/system/app/BrowserProviderProxy.apk" has unexpected contents.

E:Error executing updater binary in zip '/cache/Blur_Version.21.11.14.titan_retaildsds.retaildsdsall.en.03.zip'

E:Error installing zip file '/cache/Blur_Version.21.11.14.titan_retaildsds.retaildsdsall.en.03.zip'

Done processing script file

MTP Enabled
[G 2014 General] AngelofDeath69:
i would say reinstall everything again as it seems that is the update that is fcking everything up with the phone :)

EDIT: btw the problem with the update seems to be regarding a file called mesh.apk, the update script tries to move it but it doesn't exist, that seems to be the cause of the "semi-bricks" of the phone
[G 2014 General] Rockel:
Euh.... Could you please explain? :confused:

Just tried to start over. Did a complete wipe and format of the Phone (also system and data). And did the complete recovery 4.4.4. stock recovery again. So guess it would be clean then?

But after rebooting I still get this: new version: 24.11.23.en.03 update. And I get stuck in this same loop as writen above :(

Edit:

btw... Is it possible that all this has something to do with the AOSP Browser Installer?

I've downloaded and installed this from the google website (https://play.google.com/store/apps/details?id=de.mkrtchyan.aospinstaller&hl=nl_NL)

This program requested root-acces. Just wondering, because of this line: "Processing AOSP recovery commands..." And the problem seemed to have started shortly after this.
[G 2014 General] AngelofDeath69:
when u do a full wipe can't forget to wipe cache partition also.

the update download/install popup will come up again after a fully fresh install, but just press back when it does.

it's nagging me like every 15 minutes. just back on it xd
[G 2014 General] Aleq:
yes, run AOSP Browser Installer and uninstall the browser first. It has installed stock browser (several APKs) into /system. Some of the files were overwritten.

System update doesn't like those changes.

Feel free to reinstall the AOSP Browser again after update.
[G 2014 General] Rockel:
Thanks!

I've ran the AOSP Browser Installer again, but the uninstall button doesn't seem to work. I've mentioned that the "BrowserProviderProxy.apk" file was changed into "BrowserProviderProxy.apk.bak".

I've deleted the system app "browser" using RomToolbox and deleted the AOSP Browser Installer too. After this, the *.bak file above was automaticly changed to "BrowserProviderProxy.apk" again.

After installing the update again, I got the following error :(

Updating partition detail...

Full SELinux support is present.

Processing AOSP recovery commands...

Installing zip file '/cache/Blur_Version.21.11.14.titan_retaildsds.retaildsdsall.en.03.zip'

Installing '/cache/Blur_Version.21.11.14.titan_retaildsds.retaildsdsall.en.03.zip'...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

Verifying current system...

"/system/priv-app/GmsCore.apk" has unexpected contents.

E:Error executing updater binary in zip '/cache/Blur_Version.21.11.14.titan_retaildsds.retaildsdsall.en.03.zip'

E:Error installing zip file '/cache/Blur_Version.21.11.14.titan_retaildsds.retaildsdsall.en.03.zip'

Done processing script file

MTP Enabled

Now this seemes to be something with the play store?

Isn't there anny way to wipe everything properly? And get a "fresh" stock install?

Because now it seemes that there're staying some things behind after a wipe/format which causing problems? :confused:
[G 2014 General] Rockel:
When I format my Windows computer, I format the whole disk and put a clean installation on it. I had the idea that it should be almost the same by installing a new (stock) ROM on an android Phone. But I don't have the idea that I get the "disk" properly cleaned because of this returning errors when formating and restoring stock. Guess because it need some "safe" part or partitions where the bootloader and so on is stored. Guess the Phone should be bricked if you wipe it entirely (Please correct me if I'm wrong).

But it's anoying that I'm not seem to get the clean Stock ROM back working again. Well it's strange that it's a 4.4.4 stock-Rom and that it tries to upgrade to 4.4.4 after installation.

I've did the following in TWRP a couple of times now:

*format

*advanced wipe: dalvik cache/data/internal storage/cache/system/external storage

So I guess everything should be clean then... But when I look to the TWRP-filemanager after this, I still see the following folders and files:

Folders:

boot/cache/data/dev/etc/license/proc/recovery/res/root/sbin/sdcard/sdcard1/supersu/sys/system/tmp

Files:

charger/default.prop/file_contexts/fstab.qcom/gpe-fstab.qcom/gpecheck.sh/init/init.class_main.sh/init.mmi.boot.sh/init.mmi.touch.sh/initqcom.class_core.sh/

init.qcom.early_boot.sh/initqcom.sh/init.qcom.ssr.sh/init.qcom.syspart_fixup.sh/init.qcom.usb.sh/init.rc/init.recovery.qcom.rc/property_contexts/seapp_contexts/

sepolicy/ueventd.qcom.rc/ueventd.rc

Could deleting some of this solve the problem? (without bricking the bootloader)
[G 2014 General] archies20:
Reserved!!
[G 2014 General] Gabboplano:
DON'T wipe anything if you want to update via OTA, don't remove system apps, don't wipe in recovery

And restore the stock recovery, OTAs are meant for the stock recovery not for TWRP
[G 2014 General] Rochambeau:
molybdenite arerium

Does this update work with unlocked bootloader and custom recovery (TWRP)?
[G 2014 General] Aleq:
Concentrate on this APK, nothing else. Somehow this file doesn't match the original ROM - don't know why. If you still want to recover from this (and not to do complete return to stock using factory image), get the original APK (from stock ROM (correct version), either by extracting it somehow from factory images or looking it up (easiest) in ROM ZIP) and replace it. Rerun the update again and continue with other mismatched files (if there are any).

Beware, if you change these APKs, you may be downgrading these apps. Their data may or may not work.

Don't forget to wipe cache + dalvik cache after replacing system APKs in recovery
[G 2014 General] archies20:
yes its works. on unlocked bootloader with custom recovery.
[G 2014 General] AngelofDeath69:
just a warning on those that wanna install the update,

the update is what seems to be breaking the phones. i just retried again the ota update and it broke everything again.

had to re-flash the rom once again.

if u try to adb sideload the update u see that u get error about mesh.apk not exisiting and stops the installation.

so i would say install the stock rom first and if it works keep it that way :angel:
[G 2014 General] Rockel:
Yesterday I've been bussy trying to fix my Phone the whole night, this morning I just copied the "delta-ota-Blur_Version.21.11.14-21.11.23.titan_retaildsds.retaildsdsall.en.03.zip" file to the root of the internal SD-card and the problem was solved. :confused:

Strange because I couldn't even flash the delta-ota-Blur file because of a lot of numbers behind *.zip. This made an extension TWRP didn't recognised, so couldn't flash it. Well at least my Phone wasn't trying to update annymore, and it even said that it was up-to-date while checking for system updates!

Although when I renamed the delta-ota-Blur file to the proper *zip extension, it got regognized by TWRP, and I was able to flash it. However when I did this I got the"/system/priv-app/GmsCore.apk" has unexpected contents. error again. So this "fix" wasn't because of flashing the delta-ota-Blur file, so don't know what fixed the problem (maybe my Phone also needed some sleep :p)

But afterall, I got it to work, and just returned back before flashing this update.zip file. Think I'll better leave it this way now :p

Btw... While trying to restore my Phone over and over. I've discovered that for me it was better to use TWRP2.7.1.1 instead of TWRP2.8.0.1. This TWRP2.8.0.1 crashed all the time and it seemes it had some little bugs. This TWRP2.7.1.1 didn't crash a single time and felt more stable.

This TWRP2.7.1.1 version can be found here: https://drive.google.com/file/d/0B427J-kFkGHSd2NYbGFKZy1qaFU/edit?usp=sharing

For those who likes to remove the warning-log, it can be found here: http://www.apothetech.com/unlock-bootloader-on-moto-g-2014-2nd-gen/ (just look for the instructions beneath the Motorola picture)
[G 2014 General] MarcusBremen:
ok, i need some help. i read all the comments of the last 6 sides...and another day with a lot of FAILS...

did a fresh fastboot install with ""Blur_Version.21.11.14.titan_retaildsds.retaildsdsall.en.03"", everything works fine, boot up, push the renamed "delta-ota-Blur_Version.21.11.14-21.11.23.titan_retaildsds.retaildsdsall.en.03.zip" (without the hole bunch of numbers) in my root sd, booted into stock recovery and try to flash the zip.

but i get the an error:

installing update

package expects build fingerprint of motorola/titan_retaildsds/titan_umtsds: 4.4.4/KXB21.85-14/9:user/release-keys or motorola/titan_retaildsds/titan_umtsds: 4.4.4/KXB21.85-23/19:user/release-keys;

this device has motorola/titan_retaildsds:4.4

what the kcuf is wrong, tried it since 3 days...

anyone a tip??

EDIT: FINALLY I MANAGED IT.

10TH CLEAN FASTBOOT INSTALL, DIRECTLY AFTER/NO REBOOT PUSHED THE RENAMED UPDATE.ZIP VIA SIDELOAD IN STOCK RECOVERY TO MY MOTO,

INSTALLED SUCESSFULLY...

CHANGED THE BOOTLOGO AND BOOTANIMATON TO THE NEW FALL THEME WITH 2 ZIPS, FLASHED THROUGH TWRP RECOVERY...

FINALLY, SHOULDER CLAP TO MYSELF.
[G 2014 General] breathstealer69:
update issue

I followed all your steps.......everything works fine but can not boot into recovery mode. Using fastboot command it says no device found.........So please help

Can I update my phone using your update file and update command even if I have a custom recovery.
[G 2014 General] archies20:
Yes u can update.
[G 2014 General] breathstealer69:
But how twrp does not recognizes the file since its not a zip file and what about the stock recovery I still cannot boot into stock recovery.
[G 2014 General] Rockel:
When you download this file, it's called as:

delta-ota-Blur_Version.21.11.14-21.11.23.titan_retaildsds.retaildsdsall.en.03.zip.b31f6760-1d35-482b-b0d6-e59b673d049c

The last part (in red) doesn't belong there, and makes that TWRP doesn't recognises the .zip extention.

Just rename the file to: delta-ota-Blur_Version.21.11.14-21.11.23.titan_retaildsds.retaildsdsall.en.03.zip and it will flashable in TWRP.
[G 2014 General] breathstealer69:
Thanks for your reply will definitely try this and hope this works...:):):good:
[G 2014 General] breathstealer69:
bootloader lock problem

I can not lock the bootloader.When i use bootlader lock command it says to flash system files but when i flash files it says invalid system file piv verification failed.

So can you pls tell me how to lock the bootlader.

P.S:- If i donot lock the bootloader will i be able to get the system updates.:confused:
[G 2014 General] Rockel:
Please see post #51 above :D

Seems you don't need to lock the bootloader for update.
[G 2014 General] AngelofDeath69:
everytime i try to install the update i get a semi-bricked phone :s. tried sideload, tried normal ota, tried flashing via twrp....

all results in a semi-bricked phone amm annoyed as hell
[G 2014 General] breathstealer69:
In post #51 he is talking about the update provided in the post and I am talking about the ota updates which we will get in future and what about bootloader relocking I still cannot find the solution.:(

---------- Post added at 04:45 PM ---------- Previous post was at 04:39 PM ----------

Can we relock the bootloader without flashing the system files. If there is any way pls tell me.
[G 2014 General] MarcusBremen:
yeah, i know this situation...

but i finally managed it, see my post
[G 2014 General] AngelofDeath69:
i tried it, and was same problem.

sideload gives me an error regarding mesh.apk
[G 2014 General] plopingo:
Do you have the latest RETAILDSDSALL_XT1068_4.4.4_KXB21.85-23_cid7_CFC.xml.zip

Thanks in advance :)
[G 2014 General] archies20:
no. zip is not out yet.
[G 2014 General] plopingo:
http://www.filefactory.com/file/6txi0zccfi17/RETAILDSDSALL_XT1068_4.4.4_KXB21.85-23_cid7_CFC.xml.zip

error AdbWinApi.dll is missing when I try the first command :/

---------- Post added at 03:01 PM ---------- Previous post was at 02:56 PM ----------
[G 2014 General] archies20:
Install ADB universal driver. then try.
[G 2014 General] plopingo:
I've managed to install driver, but adb only see my device on android, not in the bootloader :/

http://uppix.com/s-hellllllllllllll54426e6b0017e600-png.htm
[G 2014 General] plopingo:
It's ok now, motorola drivers seems to be bug on windows 8.1 x64, I've used the google usb drivers in the latest SDK.

But I've flash the whole firmware with mfastboot, not the update package and I've just loose root and the syteme have removes supersu, all my others apps etc still there so no wipe with this method too, can i do a factory reset now for back to full stock ?

Thanks in advance
[G 2014 General] iraminderr:
unable to update the stock firmware

C:\Users\Administrator\Desktop\4>mfastboot flash partition gpt.bin

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.031s]

writing 'partition'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.390s

and tell what is cd-ing

i also delete everything via twrp and now stuck at bootloader plz tell me what to do

i did as u described below and this all happens i tried 2 desktop but didnt work

thanks
[G 2014 General] slugger09:
I am having the same issue. Tried a couple of firmwares same issue.
[G 2014 General] plopingo:
same here, flash the complete package it's work better ;)
[G 2014 General] slugger09:
I'm not entirely sure what you mean, I get this error with 80% of the parts of the package.
[G 2014 General] plopingo:
Don't flash the update through recovery, use the mfastboot method is what I'm trying to say

EDIT:

Sorry I don't understand very well sometimes my english is not very good

I've used this firmware with success http://www.firmware-team.com/showthread.php?t=3103 have you already tried it ?
[G 2014 General] MarcusBremen:
Bluetooth Force Closed when connecting...

anyone else??
[G 2014 General] talsur2002:
Thanks for the wisdom

I just did what you have suggested and recovered my moto g

thanks for your timely help
[G 2014 General] deepaklunked:
Anytime for Android ;)
[G 2014 General] slugger09:
The instructions say to reboot to bootloader, what other way is there of doing it? mfastboot reboots to recovery anyway. Either way still can not get this flashed.
[G 2014 General] slugger09:
Is there stock rom that doesn't use Mediafire or filefactory? My patience is wearing thin, over 2 hours to download and just at finalizing my router gives up "Network Error" :crying::crying:
[G 2014 General] plopingo:
retail / unbranded / world firmware ?

---------- Post added at 06:22 PM ---------- Previous post was at 06:15 PM ----------

RETAILDSDSALL_XT1068_4.4.4_

KXB21.85-14

_cid7_CFC_SVC.xml.zip (can be updated by ota to 21.85-23)

http://sbf.droid-developers.org/download.php?device=36&file=945

RETAILDSDSALL_XT1068_4.4.4_

KXB21.85-23

_cid7_CFC.xml.zip

https://drive.google.com/file/d/0B5G23fyE72tnc255M0t5OVB1SHM/view?usp=sharing
[G 2014 General] slugger09:
Another damn disaster, I tried to flash Android X ROM, I went to wipe, the phone went so far then turned off, went it came on its stuck at the bootloader screen. I read its something to do with TWRP 2.8 so tried to install 2.7 it wont let me "error can not load TWRP 2.7 NO ERROR.

Tried to flash stock again, it installed stock recovery OK but damn all else, sitting at a bootloader screen, Cant get any further and now no custom recovery either. HELP

---------- Post added at 07:09 PM ---------- Previous post was at 07:00 PM ----------

Didn't work, still getting same preflash error and now stuck at bootloader screen,
[G 2014 General] plopingo:
use CWM PhilZ Touch 6 Recovery more stable

RETAILDSDSALL_XT1068_4.4.4_

KXB21.85-23

_cid7_CFC.xml.zip

https://drive.google.com/file/d/0B5G23fyE72tnc255M0t5OVB1SHM/view?usp=sharing
[G 2014 General] slugger09:
Right back in action, I managed to get Andro X installed so I am booting and have a phone I can use, however I can not install stock for some reason?
[G 2014 General] mayurppataskar:
is it possible to receive 5.0 ota after doing this ?

Im wanting to root this phone but im just waiting for the 5.0 ota update from moto. So if this works all fine for updating i'll root it asap . an android i without adfree app is a headache
[G 2014 General] cyb3rillusion:
Use pcloud.com remote transfer or uc browser's ucloud service..
[G 2014 General] htcgr:
i flashed but i havent wifi..???:confused:
[G 2014 General] rodrigo07:
it is necessary to wipe or do a factory reset before flashing stock firmware? if it's not necessary, it's recommended?

Ty
[G 2014 General] :
A very urgent help needed

i deleted some of apks after root .. phone went in bootloop. i tried to follow this thread. but while downloading file which took me 1 hr. i kept phone into fastboot mode but now the phone isnt responding. no vol up and vol down key working. no power key working. anyway to get it working into fastboot mode? also usb cable fails to connect phone to laptop. please help urgently. thanks
[G 2014 General] plopingo:
10sec power button not working ?
[G 2014 General] :
No it isnt.

No key is working neither any of the combos. stuck at fastboot mode with nothing to do.
[G 2014 General] plopingo:
and the battery is tot removable... you need to wait the battery will be depleted I think
[G 2014 General] :
Fixed.

I let juice to be drained completely. And then followed this thread. Thanks a lot
[G 2014 General] :
Ok. A question again

For the new stock 4.4.4 update as mentioned in OP. Do we have to flash it using philz/twrp recovery? Obviously we have unlocked bootloader and root as well. The 121mb zip file is flashable via custom recovery? Thanks a lot
[G 2014 General] totophil:
I had same problem.

i found solution on the web. Press power button during about 1 minute. the phone finally reboot

If it happends to someone else....
[G 2014 General] :
An edit here

ZIp flashing via twrp fails. get prop error....

someone please help
[G 2014 General] plopingo:
try CWM recovery ?

http://xdaforums.com/moto-g-2014/development/recovery-cwm-philz-touch-6-moto-g-2014-t2896586
[G 2014 General] smitharro:
Read the OP guys! It says STOCK recovery! This STOCK firmware, flash it with STOCK recovery!
[G 2014 General] plopingo:
Have issue for relocking bootloader

Anyone have idea ?
[G 2014 General] vikasb32:
can anybody provide only stock recovery my phone is Indian dual sim.
[G 2014 General] plopingo:
indian is xt1068 or xt1069 ?

---------- Post added at 05:41 PM ---------- Previous post was at 05:38 PM ----------

xt1068 here you go =>

http://www.filefactory.com/file/6txi0zccfi17/RETAILDSDSALL_XT1068_4.4.4_KXB21.85-23_cid7_CFC.xml.zip

mirror: https://drive.google.com/open?id=0B5G23fyE72tnc255M0t5OVB1SHM&authuser=0
[G 2014 General] rock4hell:
https://www.dropbox.com/s/k7p73oehg348zk6/recovery.img?dl=0
[G 2014 General] Tonal4Nagual:
Can you boot in bootloader?Is it say locked?
[G 2014 General] zoomingrocket:
Same steps for Stock Consumer Celluar to Stock Retail XT1064?

Hi,

I have Consumer Cellular stock XT1064, locked bootloader. Can i use the same steps to flash the US Retail for XT1064 without unlocking the bootloader?

My current firmware detail are

Android version: 4.4.4

Baseband Version: MSM8626BP_1032.394.88.00R, CCAWS_CUST

System version: 21.11.23.titan_ccaws.AWSCC.en.US cc

Build Number: KXB21.85-23

Thanks in advance.
[G 2014 General] diamondjoker5:
From what I read everywhere, stock rom should be able to be flashed without an unlocked bootloader. On my xt1064 (consumer cellular) with locked bootloader, i tried flashing an older version US aws ( the only one i could find for xt1064,) but during system img sparsechunks i was getting error saysing the image was not signed or something like that.

When rebooting, phone reinitliazed but it was still stuck on the same rom 21.11.23.titan_ccaws.AWSCC.en.US cc, and not 21.11.17.titan_retuaws.retuaws.en.US which I was trying to flash.

Can any one provide a 21.11.23 stock rom for the xt1064. Or is the rom posted here "delta-ota-Blur_Version.21.11.14-21.11.23.titan_retaildsds.retaildsdsall.en.03" universal for all models or only xt1068?
[G 2014 General] plopingo:
en.03 is for internationnal 1068

2 US 1064 firmware here: http://sbf.droid-developers.org/phone.php?device=36

try this and update by OTA ?
[G 2014 General] ryanstein:
This worked great, though now it shows my carrier in the upper left hand corner when it didn't with the Consumer Cellular rom on there. Any way to turn that off?
[G 2014 General] zoomingrocket:
[MENTION=1282825]RANS[/MENTION]tein - So you are able to flash retail AWS without any issues? Just wanted to confirm as diamondjoker5 in post#107 said issues with flash. Can you confirm which firmware file you used for flashing to AWS retail?