yashsingh1/xdaforums huggingface dataset:
[RAZR HD General] CoinCoin88:
on any unix platform:

Assuming everything is in ~/Downloads and you're on 4.1.2 RTFR

cd ~/Downloads

Flash CWM for JB (see http://xdaforums.com/showthread.php?t=1973904)

fastboot flash recovery cwmrecovery6028-xt925_20130219-epinter.img
fastboot reboot

Now let's edit the OTA when the phone is booted up (assuming the OTA is currently in the external sdcard because you've already tried to flash it, unsuccessfully)

mkdir -p META-INF/com/google/android
cd META-INF/com/google/android
tar xvzf ../../../../updater-script.zip
cd ~/Downloads
adb pull /storage/sdcard1/Blur_Version.98.21.22003.XT925.CEE-Retail.en.EU.zip ~/Downloads
zip -r Blur_Version.98.21.22003.XT925.CEE-Retail.en.EU.zip META-INF
mv Blur_Version.98.21.22003.XT925.CEE-Retail.en.EU.zip edited_OTA.zip
adb push edited_OTA.zip /storage/sdcard1
adb reboot recovery

Then apply the edited_OTA.zip from recovery

edit 3: fully noob-proof script to copy and paste (hopefully you'll have everything in the right place). I'm not responsible for anyone bricking anything because of an alien messing with your command lines.

edit 4: aaaaand it doesn't work either. Error in /external_sd/edited_OTA.zip (Status 7) because "install-recovery.sh has unexpected contents"...
[RAZR HD General] Orphee:
Did you flash the OTA ? is everything working ?
[RAZR HD General] CoinCoin88:
Nope, install aborted for unknown reason. Either I corrupted the OTA by replacing the updater-script or there is something else... No idea what it is.

edit: oops, forgot i was rooted again (I do it without even thinking about it now x)). I'll unroot then try again
[RAZR HD General] Orphee:
No log on screen ?

What recovery are you using ?
[RAZR HD General] CoinCoin88:
Using this one: cwmrecovery6028-xt925_20130219-epinter.img

Nothing was flashed from my edited_OTA.zip actually, it failed in preliminary checks I guess. But I think it's because I'm rooted (installed TB yesterday after I couldn't flash the OTA and decided to wait on 4.1.2 a little longer, and so I needed root)
[RAZR HD General] Orphee:
Maybe you could try this recovery to see if it is more verbose :

https://goo.im/devs/philz_touch/CWM...o_msm8960/philz_touch_6.43.8-moto_msm8960.img

But you should try on a clean RTFR ROM yes.

The First part check each file signature on 4.1.2 partition to be sure everything will be correctly flashed (each file is patched, not replaced). So if only one file is changed on system partition, OTA flash can fail if it tries to update this file.
[RAZR HD General] CoinCoin88:
I've unrooted, factory reset and tried again, no go:

Finding update package...

Opening update package...

Installing update...

Warning: No file_contextsValidating boot (source or target)

Verifying current system...

"/system/etc/install-recovery.sh" has unpexpected contents.

E:Error in /external_sd/edited_OTA.zip

(Status 7)

Installation aborted.

I'll try with the more verbose cwm you're pointing at.

Edit: Tried with Phil'z recovery, exactly the same log. i'll try reflashing the stock RTFR from here, but I'm at work on my mac so no RSD. Hopefully it'll go OK with fastboot
[RAZR HD General] Orphee:
The fist bold line is strange, it shouln't give this result...

The yes, the red line is the cause of the error, root & recovery edit this file to keep ROM from flashing stock recovery again.

can you confirm the beginning of the file is

mount("ext4", "EMMC", "system", "/system");
ui_print("Validating boot (source or target)");
apply_patch_check("EMMC:boot:10485760:57ade7cb74d3f973a25055f4d5b82086fbac8db7:10485760:e6e4a0cd102dca9ac155e7dc7ea7c7a2266485d4") || abort("\"EMMC:boot:10485760:57ade7cb74d3f973a25055f4d5b82086fbac8db7:10485760:e6e4a0cd102dca9ac155e7dc7ea7c7a2266485d4\" has unexpected contents.");
show_progress(0.050000,0);
ui_print("Verifying current system...");

The first warning is not normal ...

Custom recoveries try to disable "/system/etc/install-recovery.sh" from restore original recovery.

I think the trick is to restore original RTFR, boot on it one time, reboot in AP fastboot, flash CWM & reboot directly in recovery and flash modified OTA.

It should work.

When OTA is fully flashed, reboot to AP Fastboot and flash new bootloader CWM.
[RAZR HD General] CoinCoin88:
install-recovery.sh is definitely not like yours:

#!/system/bin/sh

# If you're implementing this in a custom kernel/firmware,
# I suggest you use a different script name, and add a service
# to launch it from init.rc

# Launches SuperSU in daemon mode only on Android 4.3+.
# Nothing will happen on 4.2.x or older, unless SELinux+Enforcing.
# If you want to force loading the daemon, use "--daemon" instead

/system/xbin/daemonsu --auto-daemon &

# Some apps like to run stuff from this script as well, that will
# obviously break root - in your code, just search this file
# for "install-recovery-2.sh", and if present, write there instead.

/system/etc/install-recovery-2.sh
[RAZR HD General] Orphee:
It is not install-recovery.sh, sorry, but updater-script

Just flash again system_signed with fastboot.

And then try again to flash the OTA with CWM

Edit : As you can see in your install-recovery.sh there is references to SuperSU, so it is not the original install-recovery.sh

It seems [MENTION=631273]Chainfire[/MENTION]'s unroot menu is not totally cleaning root at is does not restore original install-recovery.sh
[RAZR HD General] CoinCoin88:
exactly what I was doing (actualy just pressed enter for this. I'll tell you more in 1 min or 2...

edit: ****, fastboot is scrwing like yesterday at home

(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 675074164 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 644665460 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 613208180 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 581484660 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 549888116 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 518574196 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 487121012 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 455921780 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 423977076 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 394055796 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 362598516 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 333807732 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 303878260 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 272420980 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 240963700 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 209379444 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 179945588 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 149737588 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 118153332 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 88793204 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 59297908 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 29151348 is not a multiple of the block size 4096
sending sparse 'system' (27688 KB)...
error: write_sparse_skip_chunk: don't care size 675074164 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 675074164 is not a multiple of the block size 4096
OKAY [ 2.162s]
writing 'system'...
(bootloader) Unknown chunk type
FAILED (remote failure)
finished. total time: 4.281s

Yesterday, RSD went fine whereas fastboot had the same bugs. Don't know where this comes from...

And now fastboot boots by default with reason flash failure. Grrrrrrr
[RAZR HD General] Orphee:
Well, already saw this, I don't know why but RSD lite flash everything well while fastboot fails...

Edit : Maybe you can try mfastboot : https://dl.dropboxusercontent.com/u/7632904/Mfastboot-4.4.zip
[RAZR HD General] CoinCoin88:
At last!!

1) My failed flashing through fastboot was caused by the official fastboot not being correct to flash moro files because of memory allocation and limitations. You need mfastboot for that (called fastboot in the zip file from this thread, but I renamed it to mfastboot to keep both on my system).

2) Errors when applying the OTA were caused by remains of root (even after complete unroot from superSU).

So the conclusion here is to really start from a fresh RTFR without any modification whatsoever.

Here is a step-by-step noob-proof guide (again, not responsible if you do something wrong :)). Obviously the bootloader needs to be unlocked.

On any unix platform:

Assuming everything is in ~/Downloads and you're on 4.1.2 RTFR

Navigate there

cd ~/Downloads

Flash CWM for JB (see http://xdaforums.com/showthread.php?t=1973904)

mfastboot flash recovery cwmrecovery6028-xt925_20130219-epinter.img
mfastboot reboot

Now let's edit the OTA when the phone is booted up (assuming the OTA is currently in the external sdcard because you've already tried to flash it, unsuccessfully)

mkdir -p META-INF/com/google/android
cd META-INF/com/google/android
tar xvzf ../../../../updater-script.zip
cd ~/Downloads
adb pull /storage/sdcard1/Blur_Version.98.21.22003.XT925.CEE-Retail.en.EU.zip ~/Downloads
zip -r Blur_Version.98.21.22003.XT925.CEE-Retail.en.EU.zip META-INF
mv Blur_Version.98.21.22003.XT925.CEE-Retail.en.EU.zip edited_OTA.zip
adb push edited_OTA.zip /storage/sdcard1
rm -r META-INF

Now the edited_OTA.zip is back on the phone and must be flashed from the custom recovery

Reboot to custom recovery

adb reboot recovery

Then apply the edited_OTA.zip from recovery and voilà, you're on 4.4.2! Just to be sure, I'd do a reset to factory default from here on... but that's just me being careful ;)

Thanks to [MENTION=813614]Orphee[/MENTION] for the edited updater script!
[RAZR HD General] Orphee:
Please check everything is working (GPS, WIFI, Bluetooth, etc...)
[RAZR HD General] JoseBerga:
[MENTION=813614]Orphee[/MENTION] could you edit the updater-script from Brazilian ota too? I tried edit myself but with no success

[MENTION=4259600]CoinCoin88[/MENTION] Thanks for the tutorial.. I will try this with Brazilian OTA..
[RAZR HD General] CoinCoin88:
Wifi is OK (was connected before I wiped everything), bluetooth and gps do turn on, but I haven't tested their functionnality yet.
[RAZR HD General] Orphee:
You just have to compare original RTFR with mine with a tool like winmerge and apply the same kind of modification.

I won't download BR OTA sorry.
[RAZR HD General] JoseBerga:
Yes, that was I did but with no success.. :(:(:(

Thanks anyway buddy! :)
[RAZR HD General] mrzuzzo:
Awesome man! Do you know how this can be done on a Windows machine?
[RAZR HD General] Orphee:
Just open ota zip with 7zip and drag drop updater-script in the good folder inside 7zip.
[RAZR HD General] omlet:
I've just flash 9.8.2Q-8-XT925_VQU-22_USERSIGNED_S7_UCAVANQU02NA02F.0R_LSAVNQJBRTFR_P007_A004_CFC.xml.zip with RSD but I can't flash the new OTA, just replaced the script inside 7zip BTW, no error, also trying to disable zip check...

any idea?

edit: flash ok but no boot animation, just a line on the screen
[RAZR HD General] mrzuzzo:
Orphee, you are an Android god! That worked!

My only issue is the fact that my LTE/4G no longer works. This is probably because I am in US. Is there any way to get it back?
[RAZR HD General] diegofdg:
It worked perfectly for me, thank you very much !!!

:good::good::good:
[RAZR HD General] SalJR:
Damm, when Motorola will release OTA for Version.98.50.26 ? Hey, did you try flashing version 98.21.6 and apply update?

* I didn´t try that yet.. I´m lazy.. lol..:p

PS: Im about to test this: http://en.miui.com/thread-13226-1-1.html

It is similar to Orphee´s solution..
[RAZR HD General] JoseBerga:
I'm more lazy than you.. Lol

I modified the Brazilian OTA again following Orphee's updater-script and uploading it..

The first time I forget to erase one line on the updater-script.. I hope work this time [emoji3]

Enviado desde mi RAZR HD mediante Tapatalk
[RAZR HD General] CoinCoin88:
After a night of setting, my thoughts about this update. I'm not convinced compared to the leaked soak test. In particular some bugs that should have been address are still present (namely, the circle widget does only work with the stock sms app, it does not communicate with Hangouts son you are forced to disable sms notification in it). Wifi signal strength has indeed dropped a bit ( in places where I'm usually having low signal, now I sometime have no signal at all).

And finally, having trouble with Lightflow notifications not picking up Hangout sms/mms for some reason, whereas it was working fine in the soak build.

I'll see if I can get this working somehow...
[RAZR HD General] hbenz2008:
yeah my thoughts exactly, if that is as good as it gets on xt925 I prefer to stick with JB as all working properly. Even my cell signal was weaker than in JB, this will indeed impact battery life for the worst, so as of now , am staying put
[RAZR HD General] CoinCoin88:
Got hangouts notifications to work, not exactly sure how. I had "notification access" enabled for Lightflow in security settings and accessibility. I disabled the one in accessibility, and sms were notified with led again. Go figure...

The circle widget nor handling hangouts is a pain though (@six37 any insight on that?)
[RAZR HD General] Insano Kyller:
My Razr HD died once after changing firmware, already tried everything but he can not call enter FlashBoot.

Sorry for the bad English.

It is that way. Sera which has somehow to do? Have you tried connecting holding power button + volume down button and nothing happens.

Only green led is accusing connecting to a power source, it turns on and off then.
[RAZR HD General] navi7512:
My xt925 runs just awesome no more lagging at all even playing games. Wifi signal seems the same for me. Only issue is the GPS, i frozen Maps to get gps work with other apps like Waze.
[RAZR HD General] hbenz2008:
try to reset your gps cache with some tool like gps tool or whatever, or even just clearing all caches
[RAZR HD General] navi7512:
Tried everything, but just cant get a lock. After look at google seems like is a common KK issue in several phones.
[RAZR HD General] JoseBerga:
Yay!!

Well, finally I installed the Brazilian KitKat OTA..

I modified the updater script again comparing [MENTION=813614]Orphee[/MENTION]'s one and following CoinCoin88's guide and all works flawlessly!

Here is the modified updater script: View attachment updater-script-BR.zip

And If you are too lazy to do it yourself, here is a modified Brazilian OTA and for those who prefer RTFR/CEE OTA is here

Happy Flashing! :fingers-crossed:

Thanks again to [MENTION=813614]Orphee[/MENTION] and [MENTION=4259600]CoinCoin88[/MENTION]

PS: In case of Status 7, use an updated recovery for JBBL.. I tested with Philz 6.43.8 and CWM 6.0.4.4 :good:
[RAZR HD General] mrzuzzo:
Did you do factory reset after you did the update?

I have no such issues, WiFi works the same and so does my GPS and BT. Circle widget works with Go SMS Pro. I don't use Hangouts.

The phone can finally pair with my moto360 as well.
[RAZR HD General] SalJR:
My friend,

It didn´t work here. What´s the steps? (I thought it was simple)

Here´s what I did:

1 - Flashed Philz 6.43.8

2 - On recovery, selected the edited zip file on sd card and started the installation

3 - Error status 7 :(

Questions:

Do I need to reinstall the original JB version before the ota installation?

Do I have to clear data, cache, factory ?

Tks for your help and support, man ! :good:
[RAZR HD General] TAbrantes:
:D I will try and flash retail as soon as the OTA it's leaked, as I have no big issues with no root. I can wait a while for root, but I've been waiting for KK for six months already and am eager to try it out!
[RAZR HD General] Kenny_31:
I had this notification a few minutes ago, starting to download but it seems very slow... I guess Motorola's servers are being very busy :good:
[RAZR HD General] Velocy:
Nothing with SFR ( france ) , snif -_-
[RAZR HD General] Fekajo:
Hello,

i upload the OTA
[RAZR HD General] Qix84:
where?
[RAZR HD General] Fekajo:
i post the link here, at 22h00 ( from france )
[RAZR HD General] axel28210:
Hello, I also live in France I have a stock HD version of RAZR. I have not got this updates. Is it really original? I'm pretty excited to have this updates. thank you
[RAZR HD General] m_torresagasti:
When you upload the ota.. I will quote you post con the OP.. so everybody van fond it easily
[RAZR HD General] six37:
Hello!

I have downloaded firmware 5 times and tried to update but failed all 5 times...

I am on XT925 Stock 4.1.2. Retail.CEE. The phone was rooted but I have unrooted it and the bootloader is LOCKED.

I didn't freeze or deleted any bloatware. It was fully STOCK ROM!!!I I was about to go nuts then I remembered that I have edited build.prop

to unlock camera shutter but didn't revert it before unroot.

I downloaded stock Retail.CEE from http://sbf.droid-developers.org/phone.php?device=6 and reflashed it with RSDLite in a matter of minutes.

As soon as I have signed into Google account it offered me OTA and this time it was installed SUCCESFULLY!!!

If you have problems installing the OTA update I recommend re-stocking it with image and RSDLite...
[RAZR HD General] Fekajo:
Yep, no problem. i have slow connection 80% done, 25 minute remaining
[RAZR HD General] MickyMax:
Which firmware had you before the OTA? Blur_Version.98.21.22003.XT925.CEE-Retail.en.EU?
[RAZR HD General] Fekajo:
Yes but only selected persons have this OTA

Let's go !

https://mega.co.nz/#!7t50zSpb!vzTyQsfsoYEyPHh7XuMUn_NpXKJ3vCW5suKnu8l8fxs
[RAZR HD General] MickyMax:
Is the OTA or the full firmware [MENTION=4041157]Fekajo[/MENTION] ?

How to flash please?
[RAZR HD General] Orphee:
It is the OTA only, you must have a clean RTFR ROM to flash it with official stock recovery.

You must have 9.8.2Q-8-XT925_VQU-22_USERSIGNED_S7_UCAVANQU02NA02F.0R_LSAVNQJBRTFR_P007_A004_CFC installed with RSD Lite before trying this OTA.
[RAZR HD General] Qix84:
Im trying to install the ota, but stuck in Stock Recovery when i trying to apply the update.zip.

I installed the CEE stock via recovery.

Any Help ?
[RAZR HD General] Fekajo:
are you rooted ? some guys have the same problem.

This update work for me, i post img soon
[RAZR HD General] Tuckycv:
Do i have to have a french handset? or will any XT925 will sufice? Would it be compatible with my home network? (méxico) Where can i donwload the 9.8.2Q Rom in order to proceed t update to 4.4.2?
[RAZR HD General] Qix84:
Im not rooted, i installed via rsd and my phone restored all setting and deleted the root.
[RAZR HD General] Fekajo:
Picture !
[RAZR HD General] JoseBerga:
Yes you need a clean, fresh Retail brazil 26. Then install a custom recovery for JBBL, flash the ota, reboot system and do a factory reset from Settings Menú..

An then install a KKBL recovery and flash supersu.zip

[emoji4]

Enviado desde mi RAZR HD mediante Tapatalk
[RAZR HD General] SalJR:
Well, finally I have KK on my phone. I´m loving it so far - everything goes smooth and with no lags :victory:

Now I realized I´m not rooted anymore and I can´t enter at recovery mode - Philz or stock doesn´t work.

How to flash a new custom KK recovery?

Tks man!! :good::good:
[RAZR HD General] Orphee:
Boot in AP fastboot (Power and VOL+ at boot)

And flash Philz/TWRP with fastboot (fastboot flash recovery tutu.img)
[RAZR HD General] andreluigo:
I will try later! Thank you in advance.[emoji6]
[RAZR HD General] CoinCoin88:
The wifi range problem is more of a general feeling. I feel like the signal is a bit weaker than before update. It might just be some sort of placebo effect of reading it before here, but I feel that it is a bit weaker in places where it was already weak (typically, I have 2 router that broadcast the same SSID at home: in the place just between them (kitchen) where only signal from one is present and weak, I have somewhat more difficulties to connect)

Factory reset is mandatory, I always do it when I upgrade ;) just a good habit to have I guess.

---------- Post added at 02:10 PM ---------- Previous post was at 02:10 PM ----------

Or just enable USB debugging then adb reboot recovery
[RAZR HD General] Orphee:
adb reboot-bootloader

I was talking about flashing the recovery.
[RAZR HD General] SalJR:
Got it I'll do that when I arrive my home :good:

Tks for your support!
[RAZR HD General] CoinCoin88:
Indeed, and reboot bootloader then flash what you want with mfastboot

---

once again sms notifications stopped triggering the led. After a reboot it was back again.

However the circle widget does not support hangouts (if widget is used to display sms notification, it opens the stock sms app even though it's not the default sms app). Maybe it works for go sms (which I don't use), but hangout is a no go. Furthermore, I tried to freeze the stock sms app in TB (because I don't use it), and it kept unfreezing itself (never saw that before!) when I was trying to mess with the circle widget and sms notifications. Basically, if sms notifications are enabled I circle, you can't freeze the stock sms app. What the F is this behavior ?!?
[RAZR HD General] TonyCarbot:
Ask

do u send me the OTA?? i have razr Hd (xt925) and i want to try the update.. thx!
[RAZR HD General] hbenz2008:
Dude, are you tripping :confused:
[RAZR HD General] SalJR:
Does someone tried using ART mode (for apps) after KK ota ?? What were the first impressions?
[RAZR HD General] navi7512:
How you do that?
[RAZR HD General] SalJR:
Settings\Developer Options\Select runtime - You can keep Dalvik or choose ART.

;)
[RAZR HD General] SalJR:
Hey Orphee,

Is there a valid root process for xt925? I tried Towel Root (v3) with no success.

Tks!!
[RAZR HD General] Jeferex:
Any news for my Razr HD with this settings? [emoji22]
[RAZR HD General] andreluigo:
Hi, buddy!

I am not getting install succefully. I did what you said (Installed custom recovery for JB, wipes, and instal (your) zip from sdcard) but keeps getting error STATUS 7.

Could you help me?!

Olá, amigo!

Eu não estou conseguindo instalar. Fiz tudo como você disse (instalei o Custom Recovery citado aqui no tópico, dei os wipes, e em seguida apliquei a rom que vc upou) mas não está dando certo e continua com erro STATUS 7.

Você poderia me ajudar?!

Desde já agradeço.
[RAZR HD General] Hydr0id:
This is a LATAM version, I think the Brazil kk rom could work, it worked in JB. I have the same version, for Claro PR; you will be better off waiting.
[RAZR HD General] andreluigo:
I need help!

After a lot of trials i got install stock 98.50.26.Brasil.en_BR.zip, and after that installed this recovery cwmrecovery6028-xt925_20130219-epinter.img (as said by CoinCoin88 here http://xdaforums.com/showpost.php?p=55340580&postcount=358) and then installed from zip this Edit.Blur_Version.98.50.26.XT925.Brasil.en.BR from JoseBerga.

But finished with some errors and STATUS 7, and don't turn on.

After that i have to reflash it to work!

How can i finish installation successfully to KK?