yashsingh1/xdaforums huggingface dataset:
[Moto X General] needleyepoke:
Is there any difference? I would appreciate both if you could.
[Moto X General] s5610:
Of course there is. Build.prop is different for sure ) So you can't flash it into other model, and take official 5.1 OTA, when it will appear
[Moto X General] needleyepoke:
Thanks for clarifying.. When you get the US .38 could I get it please... Or is there anyway it can be found in the US 5.0.2 update zip file? I do have a copy of the Blur_Version.213.44.1.ghost_row.Retail.en.US.zip
[Moto X General] s5610:
No, you can't reconstruct recovery from vacuum :o Need to analize previous update, a lot of lurking with combining diffs.
[Moto X General] shavo21:
This recovery is stock from US 5.0.2?
[Moto X General] s5610:
Why ask? Download until link is alive )
[Moto X General] shavo21:
which is the file you uploaded?
[Moto X General] s5610:
I don't wanna be Cap, files have their names, and names tell everything )
[Moto X General] needleyepoke:
Much thanks for the recoveries.. I used flashify to flash them and only the Brazil one worked, the US version acted like it was going to boot into recovery then rebooted.. Tried twice.. I'm going to try fastboot flash and see if it works that way.. The US version is .31 on my wife's moto x with the update
[Moto X General] s5610:
Wait wait, you think US it's .31, not .38?

Can you match them for diffs?

You'll need rooted system, then command like:

set sBD="%date%-%time:~0,2%.%time:~3,2%"
adb wait-for-device
adb shell su -c "dd if=/dev/block/mmcblk0p33 of=/sdcard/recovery.mbn"
adb pull /sdcard/recovery.mbn	./%sBD%/recovery.mbn
adb shell rm -rf /sdcard/*.mbn
pause
[Moto X General] needleyepoke:
The reason I know it's .31 is my wife has the same phone just not developers edition... I'm not sure what you mean by diffs?
[Moto X General] needleyepoke:
Do you mean different builds?
[Moto X General] s5610:
Ouch, yes, it's .31 (( How could I screw it up... Sorry, I'll try to find correct file
[Moto X General] needleyepoke:
Thanks much appreciated
[Moto X General] s5610:
M-m-m, no, I meant dump. But you showed me picture, it's clear
[Moto X General] shavo21:
how to install this recovery?
[Moto X General] s5610:
Don't pay attention, it does nothing. I can't now share recovery, but it will be later. Can't say when exactly, sorry...
[Moto X General] flopezm:
:D

downgrade to 4.4.4 from 5.0.2 soak , do not leave me with RSDLite , what mfastboot rfealice by omitting lines gpt.bin and motoboot .

from my google account

I put the zip of soaktest 5.0.2 again and enter the stock recovery and select sdcard aply update for leave to work and normal restart , the upgrade to 5.0.2 meti ending on 38

and I vote my updates automatically

I'm with the .38 update
[Moto X General] lucasdeeiroz:
So far so good, but... Any news about updates? Waiting for Android 5.1, if possible Android 5.1.1. Memory leak sucks.
[Moto X General] JohNNyum:
How to turn back ?

Ok, now people like me, that rush against all warnings and flashed the leaked, what is next?

Remind you I've the orginal Brazilian version of the XT1058, should we try to roll back to 4.4.4 or wait ?

Kind regards,

Johnny
[Moto X General] gabo_10:
You can wait or install CM12 if you are not happy with the soak test, I've read that even it is possible downgrade to KK but never tried
[Moto X General] JohNNyum:
Hello there Gabo,

Moving to CM12 means root the phone, changing the bootloader, and I would like to avoid messing too much with the phone unless necessary.

Kind regards,

Johnny
[Moto X General] gabo_10:
LOL, you don't root the phone or change bootloader, looks like this is not the correct place to you ;)
[Moto X General] BrownDog99:
Theres a flahable xposed on lollipop. I flahed it twrp on cm12. Flash install only

---------- Post added at 12:40 PM ---------- Previous post was at 12:35 PM ----------

I dont understand how he didnt brick either. The lolipop soak also upgrades your bootloader right? Then how the hell did you flash back kit kat without brick? I think i will wait for a version done by someone on xda that i can flash kit kat agaon if that will ever be possible? I know we can flash 4.4.2 post camera update, if on 4.4.4
[Moto X General] JohNNyum:
Gabo,

I'm trying to minimize the possible damage and headache, not avoid at all cost modifying the phone. My S4 is running CM12 since January and I do update it 2 times per week with nightly releases.

Back to Moto X, I saw on several posts poeple saying it is not so simple rolling back due several circunstances.

Do you own a brazillian version? Have a friend that rolled back from 5.0.2 to 4.4.4 ?

Hope it is now clear.

Kind regards,

Johnny
[Moto X General] ElCrashing:
i own a latam moto x (xt1058). As far as i know to install CM you need to change the recovery and by doing this you change some values of the gpt.bin partition tables and some moto.bin files. 2 things can happen 1) you can brick your device because of gpt.bin mismatch when downgrading and you wold have to wait for the official sbf file to flash a newer gpt.bin and moto.bin 2) you can downgrade without flashing gpt.bin and moto.bin but nobody knows if it can affect performance of the device or if it has a risk of brick. For me 5.0.2 soak test is actually quite stable. Have met both kinds people ( 1 person who bricked his device and 2 who successfully downgraded it).

Hope it helps.
[Moto X General] Viniped1:
TWRP Backup Soak Teste 5.0.2

Hey,can anyone please make a backup in TWRP from the Soak Teste from X1 and send me please?
[Moto X General] Bigluc:
Is anyone having issues with Snapchat or Google Calendar? I can't tell if this is part of the memory leak bug. In the past week both have been crashing. Snapchat crashes when trying to launch the app, and Google Calendar crashes on opening and also randomly throughout the day. However, I do still get notifications from both Snapchat and Calendar. Both apps work for a short period after updating or reinstalling.
[Moto X General] JohNNyum:
Hello ElCrashing!

Thank you for your reply!!

I was discussing with a friend on motorola test group and he told me to be patient now and wait, as the risk of brick is too big.

It is probably going to take up to few weeks and then the 5.1 should be with us.

Kind regards,

Johnny
[Moto X General] makysssdroid:
How to flash on xt1056 sprint whit not lose locked sim card im flashed but my phone locked sim card
[Moto X General] MarcquisDale:
Only available to vzw/att
[Moto X General] s5610:
Nope, it hardware independent.

But makysssdroid will loose XT1056 GSM unlock, cause OTA wants modem update to be performed. Not a big problem, there is a guide to return back unlock. If it's not CDMA matter with hard-flashed inside cellular number.

Not to make new post, some useful stuff in attachment )
[Moto X General] lucasdeeiroz:
hey, guys! 5.1 update started in Brazil! And it seems to be to everyone, it's not a soak test. Yeah. But some people are afraid to post this update anyway. If you received, please, share with us.

Thank you, people!
[Moto X General] makysssdroid:
Hi guys im running 5.0.2 stock modified RSD not flash modem and not change gpt.bin or bootloader my phone ist greats now.....
[Moto X General] needleyepoke:
I downloaded the US.38 here and it's TWRP 2.8.5.0.. Not sure if you knew

---------- Post added at 12:10 AM ---------- Previous post was at 12:06 AM ----------

I meant US.31
[Moto X General] s5610:
O-o-ok... Skip it ) Was unsuccessful. Ones on this page are original, but the .38 US is missing. Couldn't get it because of bricked device.

Damn damn damn! I screwed it all. Removed US ver until further attempts.
[Moto X General] ElCrashing:
Forced the update with the OTA package earlier today. MUCH MUCH MUCH stable. the UI is more smooth, no FC´s, looks like battery consumption went down a little bit( Still testing). Recent page gets cleared correctly, better memory managment.

Hope it HELPS GUYS !!!
[Moto X General] JohNNyum:
Hi there,

How did you forced the OTA exactly?
[Moto X General] ElCrashing:
Downloaded the update from mega , copied to root of the phone and installed via check system update
[Moto X General] JohNNyum:
Hello there again!

Yeah, I did the same but didn't work, the system update didn't recognize the 5.1 (I'm on 5.0.2 Soak)
[Moto X General] adity:
Someone has posted the backup

Try it
[Moto X General] s5610:
Ha-ha. Rename zip to proper name ) Search this forum section for more

5.0.2 seems to have less bugs that 5.1 Tried both...
[Moto X General] ElCrashing:
Im waiting a couple of days so it can finish sync google services, motorola services, etc. But i noticed they fixed the random wifi disconnect problem and also kinda optimized the co-processor maybe. Battery lasts a little more than in 5.0.2 and it has less wake-locks than before.
[Moto X General] scht:
Hello, anyone got the 5.1 222.21.2 version original recovery?
[Moto X General] s5610:
Yep. Nice and clean )
[Moto X General] flopezm:
as having the recovery of the soak eg version 5.1 22221.7 new soak
[Moto X General] scht:
Thank you!

can you tell how to get those original recovery files? So i can get them myself in the future :o
[Moto X General] s5610:
Didn't catch up you good, but it seems you asking about latest recovery. Attached )
[Moto X General] s5610:
Easily. Google "adb dd dump" for more, cause it was discussed here so much times ;)
[Moto X General] demifalcon:
Is there any progress on getting the stock recovery for the XT1053? The OTA is out and I need it to install it
[Moto X General] s5610:
Owning 1053 you can install anything without need of original signed by Motorola files. I can make TWRP backup of stock unrooted 1053 .15 + original recovery .15. After OTA state. Bootloader update is to your choice )
[Moto X General] demifalcon:
Could you please upload a TWRP backup of the recovery and system unrooted without bootloader update?
[Moto X General] BPinard:
Could someone tell me how to properly modify the metadata.json in the update so I may flash it to my xt1058? Also having the correct filename would be helpful as well. Thanks.
[Moto X General] s5610:
1) If you you have AT&T XT1058 with locked bootloader, you can't install ANY Lollipop ROM, yet!

2) If you have ANY unlocked Moto X model, download TMO_RETAIL_XT1053_4.4.4_213.44.1_MR4_CFC.xml.zip ROM, remove from .xml 2 lines containing "gpt.bin" and "motoboot.img", flash this ROM via RSD. Then put to internal storage OTA-zip (name should be "Blur_Version.222.21.15.ghost_row.Retail.en.US.zip"), enable WiFi and check update tab. Follow instructions in there.

P.S. Modifying of the metadata.json is not needed.

Grab system+boot from here. I've checked them, all genuine .15 build, no intrusion. Other goodies - here. And you are ready for next Retail US OTA. But be cautious - never install any old OTA, never! They consist older bootloader that can damage upgraded phone. Latest OTA (.15 up to now) is ok.
[Moto X General] demifalcon:
EDIT: deleted for useless post
[Moto X General] s5610:
You can't and shouldn't take any OTA :cowboy:

But anything higher 222.21.15 received from air is OK.

Then, when you soon get installed 5.1 Final, again, you are advised not install anything lower than 5.1 Final. Do not downgrade, and your phone will be healthy )
[Moto X General] demifalcon:
Last question: what commands do i use to flash the "extra goodies"?
[Moto X General] s5610:
To be honest, downgrade is possible, and it is relatively safe, if you downgrade only system and boot partitions (modem, logo, recovery can be downgraded too):

Bootloader downgrade results in a BRICK. Here is examples of possibly deadly scenarios -

1) RSD:

2) Fastboot:

3) Or any relatively old OTA (relative to already installed one). OTAs are not designed to downgrade, that's the main point. Remember this, pls )

P.S. To your last question. Commands are already in bat-files. Just hit what you need. The possibly dangerous one - bootloader upgrade to 30.BE that comes with 222.21.15 - is secured by prompting y/n question, don't worry. What gives BL upgrade I can't say for sure, but it was in OTA, so I give it too )
[Moto X General] demifalcon:
Why is it so dangerous to upgrade the bootloader?
[Moto X General] s5610:
It's dangerous to downgrade it. Upgrade is safe.

When you take old OTA, consisting of old bootloader, it isn't upgrade at all. OTA script tries to patch newer bootloader files with older code, and breaks everything. Phone gets stuck.
[Moto X General] BrownDog99:
I flashed a xt1053 5.1 rom that didn't upgrade the bootloader so I can easily go back
[Moto X General] bart.found:
Thanks! I want install this on my sister's moto x.. will this rom receive OTAs in future?
[Moto X General] neoriix:
You can do a factory reset in the settings menu, skip the part where you login with your Google account.

Como me imagino que hablan español, pueden restablecer de fabrica desde el menú de configuraciones cuando haga el primer boot (recuerden que no deben de meter su cuenta de google todavía), ya que se restablezca de fabrica pueden poner todos sus datos de manera normal. Espero y les sirva :D
[Moto X General] shinjipsx:
a lo que me refiero es que no quiero hacer factory reset.. hay cosas que no puedo respaldar. no se instala como actualización??
[Moto X General] neoriix:
You need to perform a factory reset after the installation, I don't know why but there's in the instructions, you should make a backup with a laptop or via recovery

Creo que es necesario hacer el factory reset por algo está en las instrucciones, trata de copiar todo a una PC o haz un respaldo via recovery o con alguna herramienta en particular
[Moto X General] flopezm:
no problem if you had configured the computer with your google account and get the ota , I do it that way , as can restore factory ,
[Moto X General] miju12:
where to get the stock 4.4.4 Brazil Retail and the method of installing it on XT1052?
[Moto X General] shinjipsx:
im using this method

XT1058 (Brazil Retail)

Download the OTA, by phone or by computer and place within the device's root folder

Rename file to Blur_Version.221.41.31.ghost_row.Brasil.en.BR.zip

Place the file in the internal memory

Look for updates, if not found, restart the phone

Wait for the update, and when you start is with Lollipop 5.0.2

When you start, do not put your account yet, skip, and reboot to factory settings

When starting after the reset, configure your account and enjoy!

but i cant get the update to work. the root folder is not in sdcard right? i tried to move the update via es file explorer but it says that i dont have space.. and i free 4 gb before do anything.
[Moto X General] :
Finally Working without Full Wipe

Finally got it all installed without losing my all data on my Rogers Moto X XT1058! THis is what I did:

1) Flash stock 4.4.4 Brazil Retail using mfastboot, skipping mfastboot erase userdata and mfastboot flash partition (don't know what this does but didn't want to take a chance)

2) Boot into stock recovery and ADB push the update zip. (This took a long time to flash... I thought it had froze)

3) Remove lock with TWRP. I had a pattern lock that I forgot to reset so I flashed TWRP and under Advanced>File Manager I deleted /data/system/gesture.key. Delete /data/system/password.key if you have a password lock. This step could have been avoided if I removed the lock before I started. oops.

4) Start Setup Wizard. Booted up, nav keys were not working and notifications were also not working so I tried to start Setup Wizard using adb (adb shell am start -n com.google.android.setupwizard/.SetupWizardTestActivity) but my computer was not recognizing the device. I tried to install QuickShortcutMaker from the Play Store but that wasn't working either. Luckily I found an apk online (relax, it's a free app and I was desperate) and put it on a flash drive and using a OTG connector and FX file manager, I got it installed and started .SetupWizardTestActivity with it. Followed the instructions and selected "Set up as new device" when prompted and BAM Lollipop here I come.

So what have we learned here? To flash this OTA and keep your data

1) Remove any locks you have on the device before flashing anything

2) Install QuickShortcutMaker and put the OTA zip in your internal storage before flashing anything

3) I'm probably stupid and did all of this for nothing as there is probably an easier way that would have saved me 2 whole hours of my life *and kept my data*

Thanks for posting the OTA Zip and the guide OP!
[Moto X General] Wing00w0:
So what the heck does quickshortcutmaker is? And why is not a more easy way to not lose data?
[Moto X General] :
To answer your first question, I think that when I dirty flashed the Brazil retail rom over my Rogers rom without wiping userdata something happened and the device thought it had not been initialized even though it had been, causing the non-functional home button and notification shade. I had to somehow start SetupWizard to fix the problem but since ADB was not working, I used QuickShortcutMaker to start the .SetupWizardTestActivity as it was not listed in my launcher. After going through SetupWizard again, my nav keys worked again as well as the notification shade.

To answer your second question, I was on rooted Rogers software. If I was on unrooted stock retail Brazil, I would have been able to flash the OTA zip without going through this whole process. I'm not sure if there is an easier way, that was just what I did. If you find an easier way to go from another rooted carrier's software to this 5.0.2 retail version, please do tell me for future reference!

I hope that answered all you questions and have a nice day!
[Moto X General] DMechnikov:
For those looking for 4.4.4 retail Brazil, I got it from here: (I can't post links yet, google 'Firmware Retail Brasil 4.4.4 KXA 21.12-L1.26', go to the top link, and scroll down for the download from Mega)

I wasn't worried about my SD card data getting wiped, as I had it backed up. I backed up my apps & app data with Titanium Backup.

What I did: (using an AT&T xt1058 - can't guarantee that everything will work with a different model)

opened the 4.4.4 retail Brazil zip and removed the line '<step operation="getvar" var="max-download-size" />' from the XML file.

rezipped all the files (optional)

booted XT1058 Moto X into fastboot mode

Opened RSD Lite, made sure I saw my Moto X, clicked the three dots, picked the downloaded 4.4.4 retail zip, and hit 'Decompress'.

Once it finished decompressing I clicked 'Flash'.

After a few minutes it finished flashing and I booted the phone, skipping all the setup prompts.

I connected the Moto X to my computer and copied 'Blur_Version.212.44.26.ghost_row.Brasil.en.BR.zip' to the SD card.

rebooted into fastboot mode, picked recovery, then to access the menu I held both volume buttons for around 5 seconds and then hit power.

picked 'update from SD card' and selected the copied zip.

waited for it to complete, then rebooted into system.

Everything works!

A big plus is that all the languages seem to be present, including Russian, etc! I was really ticked about the lack of languages on AT&T's firmware.
[Moto X General] jesan9:
Does it works? I have the XT1053 too and i want to know if that Brasil retail works
[Moto X General] Wing00w0:
I have xt1053 but with the Brazilian version worked perfectly I just have unlocked bootloader, no root, no custom recovery I don't want to wipe data you think I could do it without wipe user data?
[Moto X General] zeroy_lalus:
i follow all the steps, but it say

"Failed flashing process. 2/16 flash partition "gpt.bin" phone return FAIL"

and in the phone:

"downgrade security version

upgrade gpt_main version

failed preflash validation failed for GTP"

i download this: XT1058_RETAIL-BR_4.4.4_KXA21.12-L1.26_52_cid12_CFC_1FF
[Moto X General] Wing00w0:
You didn't remove the line '<step operation="getvar" var="max-download-size" />' from the XML file. that's why the program fails
[Moto X General] zeroy_lalus:
disculpa no había visto que eras de México :)

te comento que si lo eliminé amigo, pero me dio el mismo error :(
[Moto X General] Wing00w0:
even if we are from mexico the forum states that all must be wrote in english; in the XML you have to eliminate the lines:

<step operation="getvar" var="max-download-size" />

<step operation="flash" partition="partition" filename="gpt.bin" MD5="d2a411c57c3f37832702bda0c23484b4" />

then do it again and it will work.

from there i don't know if try it i don't wan to lose my data :S

Aun cuando sea de mexico el foro estipula que todo se aescrito en ingles. En el XML debes eliminar las lineas que puse arriba.

vuelvelo a flashear y ya servira.

de ahi no se si intentalos pues no quiero perder mis datos :S
[Moto X General] DMechnikov:
According to this thread, the reason that user data is wiped is this line in the XML file:

<step operation="erase" partition="userdata" />

Quoting:

So extract the zip file, and then remove the lines in red from RETAIL-BR_4.4.4_KXA21.12-L1.26_52_cid12_CFC_1FF.xml:

[COLOR="Red"]<step operation="getvar" var="max-download-size" />[/COLOR]
<step operation="oem" var="fb_mode_set" />
<step operation="flash" partition="partition" filename="gpt.bin" MD5="d2a411c57c3f37832702bda0c23484b4" />
<step operation="flash" partition="motoboot" filename="motoboot.img" MD5="2b664024c8a421245b814e3b7c4c5077" />
<step operation="flash" partition="logo" filename="logo.bin" MD5="b8ae1ada7dabbe967584ec96dda04cc0" />
<step operation="flash" partition="boot" filename="boot.img" MD5="19a8da53d7a2ac0ccbcb8ae00cb9701d" />
<step operation="flash" partition="recovery" filename="recovery.img" MD5="f196f9e76c94ea7f52d364e6e0efb8f1" />
<step operation="flash" partition="system" filename="system.img" MD5="811ec7162d66146f93b0e9001c2d27ec" />
<step operation="flash" partition="modem" filename="NON-HLOS.bin" MD5="d1317e2b51b2428f95789d48e87fbc1a" />
<step operation="erase" partition="modemst1" />
<step operation="erase" partition="modemst2" />
<step operation="flash" partition="fsg" filename="fsg.mbn" MD5="6ae723b95c40dafba2a672dc2f8b0ca2" />
<step operation="erase" partition="cache" />
[COLOR="red"] <step operation="erase" partition="userdata" />[/COLOR]
<step operation="erase" partition="customize" />
<step operation="erase" partition="clogo" />
<step operation="oem" var="fb_mode_clear" />

Just make sure that when you flash in RSD Lite, you pick the edited XML file in the extracted firmware!

So I can't guarantee that it won't wipe, but for the guy in that thread, after removing that line, his data wasn't wiped.

EDIT: Wing00w0 answered this while I was typing, but I'll leave it anyway.
[Moto X General] Wing00w0:
yeah i won jaja but yes i already know how to not wipe user data using RSD Lite, the problem is that in the instructions says that after flashing 5.0.2 we have to wipe user data(or factory reset) thats what i want to find another way and not wiping
[Moto X General] jero_sode:
Xposed Framework

someone could install xposed? I flashed xposed-arm-20150308.zip with TWRP but after that every boot took a lot and it said that it doesnt have memory space. And then i tried to install XposedInstaller_3.0-alpha2.apk but said " app not installed". I wipe cache but nothing change.
[Moto X General] :
Is it because I dirty flashed from another firmware or is the Moto app going through the welcome prompts after every reboot? Also, is Power off the only option in the power menu for you guys? Considering wiping tomorrow to try to fix these problems.
[Moto X General] zeroy_lalus:
ok... i didn't know it... and it works¡¡¡ now i'm with the brazilian retail, but now i cant enter in recovery mode, this is what happens:
[Moto X General] Wing00w0:
Press vol+ and power for 3 seconds and then the recovery options will apear.

preciona volimen + y encendido por como 3 segundos o 5 y apareceran las opciones del recovery apareceran.
[Moto X General] frijolito18:
So... does this works on a XT1053? Sorry, but I have a Moto G and I really dont know the differences between XT1053 and Xt1058, this is for a friend. Thanks in advance :)
[Moto X General] BPinard:
Have you tried doing a wipe? The instructions say to do a wipe.