• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE] [Maxx XT1225] Install Lollipop OTA if you have Rooted - no Wipe necessary

Search This thread

respider

Senior Member
Sep 18, 2008
703
237
Sao Paulo
as always I'm not responsible for any damage in your device (or lost files)
Always backup everything first - nandroid and titanium.


TL;DR for more experienced users: flash stock boot, stock recovery and stock system images (system via mfastboot since its chunks) and then install OTA zip file in the stock recovery (via sd or sideload)

If you have rooted your Moto Maxx and are trying to install the OTA for Lollipop, you are probably getting errors due to modifications on you system.

Simply removing SuperSU doesnt work, you have to restore your system to stock.

If you received the OTA notification, download it and don't install.

0- After downloading, grab the zip file from /cache/ and save it on your computer.
Filename will be something like Blur_Version.XX.XX.XX.quark_retbr.retbr.en.BR.zip

1- Download brazilian retbr full 4.4.4 firmware from here
http://forum.xda-developers.com/dro...tbrxt12254-4-4kxg21-50-9cid12subsidy-t2992444

Decompress it and you should see these files:

system.img_sparsechunk.0
system.img_sparsechunk.1
system.img_sparsechunk.2
system.img_sparsechunk.3
system.img_sparsechunk.4
recovery.img
boot.img

2- Download mfastboot (google it) (I used both regular fastboot and mfastboot)


3- Decompress mfastboot and put all files in the decompressed folder above

All files should be in the same folder: mfastboot.exe, boot.img, recovery.img and all system sparsechunks.
Of course they can be in different folders if you know how to use paths in command :p

4- Unroot

Go to SuperSU app -> configurations -> uninstall root

I recommend uninstalling xposed, busybox etc (I didnt have those, not sure if they will mess with something)

5- Put your phone in bootloader mode

adb reboot bootloader

5- Flash stock kernel, recovery using regular fastboot:

fastboot flash recovery recovery.img
fastboot flash boot boot.img

6- flash stock system to fix install-recovery.sh bug/validation, using mfastboot:

Flashing stock boot and recovery was not enough for me. I was getting an error saying /system/etc/install-recovery.sh has unexpected contents.

To solve this, I flashed the stock system image by using mfastboot:

mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash system system.img_sparsechunk.4

Code:
C:\mfastboot.exe flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (259107 KB)...
OKAY [  8.130s]
writing 'system'...
OKAY [  4.122s]
finished. total time: 12.259s

C:\mfastboot.exe flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (254153 KB)...
OKAY [  7.958s]
writing 'system'...
OKAY [  3.282s]
finished. total time: 11.250s

C:\mfastboot.exe flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (262141 KB)...
OKAY [  8.208s]
writing 'system'...
OKAY [  3.719s]
finished. total time: 11.937s

C:\mfastboot.exe flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (262142 KB)...
OKAY [  8.207s]
writing 'system'...
OKAY [  3.880s]
finished. total time: 12.098s

C:\mfastboot.exe flash system system.img_sparsechunk.4
target max-sparse-size: 256MB
sending 'system' (144756 KB)...
OKAY [  4.533s]
writing 'system'...
OKAY [  2.330s]
finished. total time: 6.871s

After this your system is back to stock.

All you have to do now is enter in stock recovery, go to "install zip from adb" and sideload the zip you saved in step 0.

1.2- Reboot your phone to stock recovery

You should see a broken android laying on the floor

in this screen, press Power+VOL UP together and hold for like 2 seconds and release.
A menu should appear. If it doesnt, try again many times - it can be tricky

2.2- Select install zip from ADB or something like that

Now you should be able to see your device in your computer via adb devices command

You should see your device ID and a sideload string when you type this. If you dont, you have incorrect drivers

3.2- Sideload the OTA zip file

In your command prompt find the OTA file you saved in step 0 and then
adb sideload filename.zip, exemple:

adb sideload Blur_Version.XX.XX.X.quark_retbr.retbr.en.BR.zip

If everything goes ok, just wait and relax, if could take a while for the first boot.
Phone will hang on a blank screen with motorola Logo for a while. Dont panic.

Obviously you will lose root by doing this.
 
Last edited:

matheus_sc

Senior Member
Mar 27, 2011
2,322
612
36
Barretos-SP
Very good i need do that, but i do full wipe for test all, you can flash from sd its works too only need copy file in sd when software release.
 

flowserver

Senior Member
Oct 9, 2010
225
13
matamoros
I have stock recovery, only I have root, with a simply factory reset I can erase root?
Can I leave boot loader unlocked? Or I need lock the boot loader?

Sent from my XT1225 using XDA Free mobile app
 

respider

Senior Member
Sep 18, 2008
703
237
Sao Paulo
I have stock recovery, only I have root, with a simply factory reset I can erase root?
Can I leave boot loader unlocked? Or I need lock the boot loader?

Sent from my XT1225 using XDA Free mobile app

you dont need to relock your bootloader

I havent tried to just factory reset, but I saw people trying just this without succcess, because seems like super su modifies some files and after uninstalling supersu they're not the same anymore, so when you try to install the OTA you will get an error since validation for file md5/sha will fail
 

Gundabolu SC

Senior Member
Sep 9, 2013
495
309
you dont need to relock your bootloader

I havent tried to just factory reset, but I saw people trying just this without succcess, because seems like super su modifies some files and after uninstalling supersu they're not the same anymore, so when you try to install the OTA you will get an error since validation for file md5/sha will fail
Does anyone have the OTA yet? Or is this just prep for the future?
 

respider

Senior Member
Sep 18, 2008
703
237
Sao Paulo
this is a guide to install OTA zip If you received the OTA notification and if you have a rooted phone

this is not a rom, this is a guide/howto
 
  • Like
Reactions: danger2u

Quetzalfp

Member
May 4, 2012
42
5
Mexico Maxx

Great tutorial, maybe a dumb question, the BR image file works the same on the MX Maxx? Or do I need to download the mexican retail image?

Thanks!
 

danger2u

Senior Member
Jan 24, 2010
1,071
237
maybe this will help to someone who received Lollipop and wants to share with us the OTA
:)
 

Quetzalfp

Member
May 4, 2012
42
5
I think should works fine, but motorola said mexican already have soak too so.

Thanks, I know that is coming to Mexico too, but from the tutorial says that we need some files from the brazillian image to return to pure stock before the update, this files works for the mexican devices or I need to download the MX image?
 

respider

Senior Member
Sep 18, 2008
703
237
Sao Paulo
Thanks, I know that is coming to Mexico too, but from the tutorial says that we need some files from the brazillian image to return to pure stock before the update, this files works for the mexican devices or I need to download the MX image?

probably you just need to replace with mexican images
I'm not sure if recovery/boot/system are all the same, but if you use everything from mexico you should be fine
 
  • Like
Reactions: Quetzalfp

Atrix_Lover

Member
Jan 16, 2012
41
11
Boca Raton
I have 2 questions sorry for my ignorance.

1 is there a link to download the other zip?

2 is this update compatible with the xt1225 Puerto Rico version?

Sent from my XT1225 using XDA Free mobile app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    as always I'm not responsible for any damage in your device (or lost files)
    Always backup everything first - nandroid and titanium.


    TL;DR for more experienced users: flash stock boot, stock recovery and stock system images (system via mfastboot since its chunks) and then install OTA zip file in the stock recovery (via sd or sideload)

    If you have rooted your Moto Maxx and are trying to install the OTA for Lollipop, you are probably getting errors due to modifications on you system.

    Simply removing SuperSU doesnt work, you have to restore your system to stock.

    If you received the OTA notification, download it and don't install.

    0- After downloading, grab the zip file from /cache/ and save it on your computer.
    Filename will be something like Blur_Version.XX.XX.XX.quark_retbr.retbr.en.BR.zip

    1- Download brazilian retbr full 4.4.4 firmware from here
    http://forum.xda-developers.com/dro...tbrxt12254-4-4kxg21-50-9cid12subsidy-t2992444

    Decompress it and you should see these files:

    system.img_sparsechunk.0
    system.img_sparsechunk.1
    system.img_sparsechunk.2
    system.img_sparsechunk.3
    system.img_sparsechunk.4
    recovery.img
    boot.img

    2- Download mfastboot (google it) (I used both regular fastboot and mfastboot)


    3- Decompress mfastboot and put all files in the decompressed folder above

    All files should be in the same folder: mfastboot.exe, boot.img, recovery.img and all system sparsechunks.
    Of course they can be in different folders if you know how to use paths in command :p

    4- Unroot

    Go to SuperSU app -> configurations -> uninstall root

    I recommend uninstalling xposed, busybox etc (I didnt have those, not sure if they will mess with something)

    5- Put your phone in bootloader mode

    adb reboot bootloader

    5- Flash stock kernel, recovery using regular fastboot:

    fastboot flash recovery recovery.img
    fastboot flash boot boot.img

    6- flash stock system to fix install-recovery.sh bug/validation, using mfastboot:

    Flashing stock boot and recovery was not enough for me. I was getting an error saying /system/etc/install-recovery.sh has unexpected contents.

    To solve this, I flashed the stock system image by using mfastboot:

    mfastboot.exe flash system system.img_sparsechunk.0
    mfastboot.exe flash system system.img_sparsechunk.1
    mfastboot.exe flash system system.img_sparsechunk.2
    mfastboot.exe flash system system.img_sparsechunk.3
    mfastboot.exe flash system system.img_sparsechunk.4

    Code:
    C:\mfastboot.exe flash system system.img_sparsechunk.0
    target max-sparse-size: 256MB
    sending 'system' (259107 KB)...
    OKAY [  8.130s]
    writing 'system'...
    OKAY [  4.122s]
    finished. total time: 12.259s
    
    C:\mfastboot.exe flash system system.img_sparsechunk.1
    target max-sparse-size: 256MB
    sending 'system' (254153 KB)...
    OKAY [  7.958s]
    writing 'system'...
    OKAY [  3.282s]
    finished. total time: 11.250s
    
    C:\mfastboot.exe flash system system.img_sparsechunk.2
    target max-sparse-size: 256MB
    sending 'system' (262141 KB)...
    OKAY [  8.208s]
    writing 'system'...
    OKAY [  3.719s]
    finished. total time: 11.937s
    
    C:\mfastboot.exe flash system system.img_sparsechunk.3
    target max-sparse-size: 256MB
    sending 'system' (262142 KB)...
    OKAY [  8.207s]
    writing 'system'...
    OKAY [  3.880s]
    finished. total time: 12.098s
    
    C:\mfastboot.exe flash system system.img_sparsechunk.4
    target max-sparse-size: 256MB
    sending 'system' (144756 KB)...
    OKAY [  4.533s]
    writing 'system'...
    OKAY [  2.330s]
    finished. total time: 6.871s

    After this your system is back to stock.

    All you have to do now is enter in stock recovery, go to "install zip from adb" and sideload the zip you saved in step 0.

    1.2- Reboot your phone to stock recovery

    You should see a broken android laying on the floor

    in this screen, press Power+VOL UP together and hold for like 2 seconds and release.
    A menu should appear. If it doesnt, try again many times - it can be tricky

    2.2- Select install zip from ADB or something like that

    Now you should be able to see your device in your computer via adb devices command

    You should see your device ID and a sideload string when you type this. If you dont, you have incorrect drivers

    3.2- Sideload the OTA zip file

    In your command prompt find the OTA file you saved in step 0 and then
    adb sideload filename.zip, exemple:

    adb sideload Blur_Version.XX.XX.X.quark_retbr.retbr.en.BR.zip

    If everything goes ok, just wait and relax, if could take a while for the first boot.
    Phone will hang on a blank screen with motorola Logo for a while. Dont panic.

    Obviously you will lose root by doing this.
    6
    Christ whoever is posting these articles on the XDA homepage saying this will work for the Turbo has to stop. The Maxx and the Turbo are two separate devices. Someone please fix this it's annoying.

    I edited it as requested. We are sorry for the inconvenience. I posted the link and I had mistaken both devices as one with different localization names, and given this was featured under the Droid Turbo forum I intuitively (and mistakenly) reassured that notion so I accidentally mistook them for synonyms. It won't happen again and please do not think less of us, we have to be aware or review almost every new mod entry for every device that has a forum (well, I try to do that to possible extents), so someone is bound to make a mistake every now and then... and sadly this time it was me. It's on me guys, sorry about the misunderstanding, and I hope no phones were hurt because of this :( Well, given it can only be triggered if you get the Maxx-specific OTA I am sure nobody got problems, but still, very sorry!
    4
    some good news here
    Lollipop instaled on Moto Maxx
    root working

    Screenshot_2015_02_13_02_21_16.png


    Screenshot_2015_02_13_01_59_25.png
    2
    [MOD EDIT:]SHAME SHAME SHAME. Signing an NDA means you're agreeing to not share details of the special program you are in.

    This has been removed at the request of Motorola due to your negligence in violating the terms of your agreement.
    2
    i m having the Puerto Rico version of Moto maxx. i flashed the Retail Brasil 4.4.4 then install the ota zip.