[ROM][PEREGRINE][5.1][STOCK] Stock Motorola 4G Lollipop ROM Collection

Search This thread

lost101

Inactive Recognized Contributor
May 30, 2008
7,417
9,305
Hey there,
I have a XT1039 in Brazil (retail), then I flashed the 4.4.4 from XT1040, after that installed the zip 5.1 from this thread (from XT1040 as well). All was going smooth, but something has to happen lol. I noticed that my phone is droping the wifi connection after a while with the screen turned off, and only connects again when I turn the screen on again. And of course it is set to keep the wifi always turned on in the advanced settings.
I'm still on warranty, so I don't want to unlock the bootloader. Do you guys know if when the 5.1 for XT1039 (Brazilian Retail) becomes avaible could I flash the zip on top of the 5.1 that I'm using right now without unlocking the bootloader, using the stock recovery?
These ROMs cannot be flashed with Stock Recovery.

I'm not sure what happened in your case, but I suspect the ROM is only installed partially or not installed at all.

I get numerous issues reported about the Stock Optimized ROMs and it's almost always nothing to do with the ROM. User has either not flashed correctly, used a bad recovery or has not done a factory reset in custom recovery and / or not wiped /data (userdata).
 
  • Like
Reactions: rodsayd and vinimdi

vinimdi

Member
Nov 30, 2012
28
6
These ROMs cannot be flashed with Stock Recovery.

I'm not sure what happened in your case, but I suspect the ROM is only installed partially or not installed at all.

I get numerous issues reported about the Stock Optimized ROMs and it's almost always nothing to do with the ROM. User has either not flashed correctly, used a bad recovery or has not done a factory reset in custom recovery and / or not wiped /data (userdata).

Thanks for the answer.
Even the stock roms(untouched) cannot be flashed with stock recovery? oO
I followed a tutorial. I flashed the stock 4.4.4 of XT1040 using mfastboot commands, then following the tutorial I rebooted on fastboot mode and flashed the 5.1 stock (zip archive) using the stock recovery, finished the installation I did the wipe. I don't know where I did wrong. Sorry I'm a little noob at this.
 
  • Like
Reactions: J0kker

J0kker

Senior Member
Mar 15, 2012
442
202
Amazon Fire TV
Google Pixel 4a 5G
Thanks for the answer.
Even the stock roms(untouched) cannot be flashed with stock recovery? oO
I followed a tutorial. I flashed the stock 4.4.4 of XT1040 using mfastboot commands, then following the tutorial I rebooted on fastboot mode and flashed the 5.1 stock (zip archive) using the stock recovery, finished the installation I did the wipe. I don't know where I did wrong. Sorry I'm a little noob at this.

You need to flash a custom recovery before flashing 5.1.
Twrp for exemple.

Sent from my XT1039 using XDA Free mobile app
 

bkr32

Senior Member
Apr 21, 2012
507
318
trying to flash XT1040 untouched version onto my XT1040 canadian carrier device and it fails, do i have to wait for the canadian veriant?
 
  • Like
Reactions: treesus

DeX1009

Senior Member
Feb 15, 2012
148
32
Napoli
Hi, I see in 1.0a we have "original dialer restored"... that means we had a customized dialer in optimized 1.0? Is it the stock Lollipop dialer or Motorola customized it? Thanks, I'm simply curious :)
 

cpvm

Senior Member
Sep 1, 2011
397
86
Moto G6
Hi, I see in 1.0a we have "original dialer restored"... that means we had a customized dialer in optimized 1.0? Is it the stock Lollipop dialer or Motorola customized it? Thanks, I'm simply curious :)
Lost101 modify the dialer but it was broken so he restored the Motorola's original dialer in v1.0a

Enviado desde mi XT1045 mediante Tapatalk
 
  • Like
Reactions: DeX1009

lost101

Inactive Recognized Contributor
May 30, 2008
7,417
9,305
This means I gonna have to unlock the bootloader right?
Yes. Unlocking Bootloader is essential if you want to live life to the max.
Hi, I see in 1.0a we have "original dialer restored"... that means we had a customized dialer in optimized 1.0? Is it the stock Lollipop dialer or Motorola customized it? Thanks, I'm simply curious :)
In v1.0, I added a Stock Dialer that included a search nearby function. While it worked on Moto G Falcon, Peregrine was another matter. v1.0a replaces that Dialer with the one that is included in the 5.1 Stock Firmware image.
 
Last edited:
  • Like
Reactions: vinimdi and DeX1009

ChriZz13

New member
Nov 29, 2013
4
0
i have the xt1040 and i flashed the xt1040 stock rom using twrp, i was on cm12.1 btw. I also flashed the radio firmware for it but when it boots i get "unfortunately dmservice has stopped working" and it won't recognise the sim. what should i do?
 

lost101

Inactive Recognized Contributor
May 30, 2008
7,417
9,305
i have the xt1040 and i flashed the xt1040 stock rom using twrp, i was on cm12.1 btw. I also flashed the radio firmware for it but when it boots i get "unfortunately dmservice has stopped working" and it won't recognise the sim. what should i do?
Maybe there are still some left over files from CM12.1. Try formatting /data. This will wipe internal storage entirely, including any app data, photos, music etc.
 

DeX1009

Senior Member
Feb 15, 2012
148
32
Napoli
In v1.0, I added a Stock Dialer that included a search nearby function. While it worked on Moto G Falcon, Peregrine was another matter. v1.0a replaces that Dialer with the one that is included in the 5.1 Stock Firmware image.
Thanks. That means Motorola slightly customized the stock Lollipop dialer?
 

cpvm

Senior Member
Sep 1, 2011
397
86
Moto G6
Wipe -> Advanced Wipe -> selected Dalvik Cache, Data, Cache and System and swiped to execute.

I just seen that Wipe -> Format Data seems different... and seems to fix (and wipe the sdcard, yay ...)
I have the same problem and I fix it by updating the recovery.


Enviado desde mi XT1045 mediante Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 84
    Disclaimer: I am not responsible for anything that happens as a result of flashing these files. Your destiny is your own.


    Stock Motorola 4G Lollipop ROM Collection

    Lollipop Bootloader not required

    All ROMs are based on Stock Firmware Images. Each zip contains ROM and Kernel only.​

    First boot can take a while, don't panic.​

    Untouched Version:
    Nothing removed, nothing added. Pure Stock.​

    Optimized Version:
    Stock Kernel | Debloated | Zipaligned | Rooted | Busybox | init.d Script Support
    OTA Updates Disabled | Non-essential Motorola Services removed | More RAM available
    Deodexed | 'Cast Screen' Enabled | Post-install zipaligning (Darky / Fly-On Mod™)
    MultiROM Compatible | Improved Battery Life | Lock-screen rotation​

    How to flash:
    1) Boot into latest TWRP and Format Data (Wipe > Format DATA > Yes) - This step is essential, and will wipe Internal Storage (Downloads, Music, Photos etc, **backup important files**)
    2) Transfer ROM to SDCARD or Internal Storage. This may be done in Windows via MTP, or using adb sideload or adb push ROM.zip /sdcard/
    3) TWRP > Wipe > Factory reset and flash ROM.
    4) Reboot.
    5) Call / WiFi issues can be solved by flashing 5.1 Radio Firmware (Below) for your Model.​

    Miscellaneous: -= Flash via TWRP =-
    Updated Google Dialer
    XT1039 Stock 5.1 Dialer | Messenger (Clear Dalvik Cache after flashing)
    XT1045 Stock 5.1 Dialer | Messenger (Clear Dalvik Cache after flashing)
    Full Stagefright Patch (Dec 2015) - [Download]


    XT1039

    Retail EU 5.1 ROM (Untouched) (543mb) [Download] (Partially 'Stagefright' Patched)
    Retail EU 5.1 ROM (Optimized) v1.0a (315mb) [Download]
    Retail EU 5.1 ROM (Optimized) v1.0b (314mb) [Download]
    Retail EU 5.1 ROM (Optimized) v1.1 (324mb) [Download] [Mirror]

    Retail Germany 5.1 ROM (Untouched) (539mb) [Download] (Partially 'Stagefright' Patched)
    Retail Germany 5.1 ROM (Optimized) v1.0a (315mb) [Download]
    Retail Germany 5.1 ROM (Optimized) v1.0b (310mb) [Download]
    Retail Germany 5.1 ROM (Optimized) v1.1 (324mb) [Download]

    Retail Spain 5.1 ROM (Untouched) (543mb) [Download] (Partially 'Stagefright' Patched)
    Retail Spain 5.1 ROM (Optimized) v1.0b (315mb) [Download]
    Retail Spain 5.1 ROM (Optimized) v1.0c (314mb) [Download]
    Retail Spain 5.1 ROM (Optimized) v1.1 (324mb) [Download]

    Retail Brazil 5.1 ROM (Untouched) (532mb) [Download]
    Retail Brazil 5.1 ROM (Optimized) v1.0 (313mb) [Download]
    Retail Brazil 5.1 ROM (Optimized) v1.0a (312mb) [Download]
    Retail Brazil 5.1 ROM (Optimized) v1.1 (324mb) [Download]

    XT1040
    Retail Canada 5.1 ROM (Untouched) (531mb) [Download]
    Retail Canada 5.1 ROM (Optimized) v1.0 (313mb) [Download]
    Retail Canada 5.1 ROM (Optimized) v1.0a (312mb) [Download]
    Retail Canada 5.1 ROM (Optimized) v1.1 (324mb) [Download]

    Retail Brazil 5.1 ROM (Untouched) (533mb) [Download]
    Retail Brazil 5.1 ROM (Optimized) v1.0b (312mb) [Download]
    Retail Brazil 5.1 ROM (Optimized) v1.0c (312mb) [Download]
    Retail Brazil 5.1 ROM (Optimized) v1.1 (324mb) [Download]

    Retail Latin America 5.1 ROM (Untouched) (541mb) [Download]
    Retail Latin America 5.1 ROM (Optimized) v1.0a (331mb) [Download]


    XT1042
    US Cellular 5.1 ROM (Untouched) (546mb) [Download]
    US Cellular 5.1 ROM (Optimized) v1.0 (336mb) [Download]


    XT1045
    Retail US 5.1 ROM (Untouched) (534mb) [Download]
    Retail US 5.1 ROM (Optimized) v1.0a (314mb) [Download]
    Retail US 5.1 ROM (Optimized) v1.0b (312mb) [Download]
    Retail US 5.1 ROM (Optimized) v1.1 (323mb) [Download]


    Lollipop Radio Firmware:
    Phone must be in Bootloader Mode.

    [Android 5.1]
    XT1039 - Retail Brazil: [Fastboot] [Fastboot Mirror #1]
    XT1039 - Retail EU: [TWRP] [TWRP Mirror #1] [Fastboot] [Fastboot Mirror #1]
    XT1039 - Retail Germany: [Fastboot] [Fastboot Mirror #1]
    XT1039 - Retail Spain: [TWRP] [Fastboot] [Fastboot Mirror #1]
    XT1040 - Retail Canada: [Fastboot] [Fastboot Mirror #1]
    XT1040 - Retail Latin America: [Fastboot] [Fastboot Mirror #1]
    XT1040 - Retail Brazil: [TWRP] [ [TWRP Mirror #1] Fastboot] [Fastboot Mirror #1]
    XT1042 - US Cellular: [Fastboot]
    XT1045 - Retail US: [TWRP] [Fastboot] [Fastboot Mirror #1]



    XDA:DevDB Information
    Stock Motorola 4G Lollipop ROM Collection, ROM for the Moto G

    Contributors
    lost101
    ROM OS Version: 5.1.x Lollipop
    ROM Kernel: Linux 3.4.x
    Based On: Stock Motorola 4G Lollipop Firmware Images

    Version Information
    Status: Stable

    Created 2015-06-25
    Last Updated 2017-12-05
    28
    ROM Release Log:
    02/02/16 - Added Stock 5.1 Dialer | Messenger flashable zips (All models)
    31/01/16 - Added XT1040 Retail Latin America 5.1 (Optimized) v1.0a (Changelog)
    10/01/16 - Added XT1040 Retail Latin America 5.1 (Optimized) v1.0 (Changelog)
    09/01/16 - Added XT1040 Retail Latin America 5.1 (Untouched)
    09/01/16 - Added XT1042 US Cellular 5.1 (Optimized) v1.0
    08/11/15 - Added XT1042 US Cellular 5.1 Radio Firmware
    08/11/15 - Added XT1042 US Cellular 5.1 (Untouched)
    11/10/15 - Added XT1039 Retail Spain 5.1 (Untouched) with Stagefright Patch
    11/10/15 - Added XT1039 Retail Germany 5.1 (Untouched) with Stagefright Patch
    11/10/15 - Added XT1039 Retail EU 5.1 (Untouched) with Stagefright Patch
    01/09/15 - Added XT1045 Retail US Radio Firmware (custom Recovery flashable)
    01/09/15 - Added XT1039 Retail Spain Radio Firmware (custom Recovery flashable)
    30/08/15 - Added XT1045 Retail US 5.1 (Optimized) v1.1 (Changelog)
    30/08/15 - Added XT1040 Retail Brazil 5.1 (Optimized) v1.1 (Changelog)
    30/08/15 - Added XT1040 Retail Canada 5.1 (Optimized) v1.1 (Changelog)
    30/08/15 - Added XT1039 Retail Brazil 5.1 (Optimized) v1.1 (Changelog)
    30/08/15 - Added XT1039 Retail Spain 5.1 (Optimized) v1.1 (Changelog)
    30/08/15 - Added XT1039 Retail Germany 5.1 (Optimized) v1.1 (Changelog)
    30/08/15 - Added XT1039 Retail EU 5.1 (Optimized) v1.1 (Changelog)
    01/08/15 - Added XT1040 Retail Canada 5.1 (Optimized) v1.0a (Changelog)
    01/08/15 - Added XT1040 Retail Brazil 5.1 (Optimized) v1.0c (Changelog)
    31/07/15 - Added XT1039 Retail Brazil 5.1 (Optimized) v1.0a (Changelog)
    31/07/15 - Added XT1039 Retail Spain 5.1 (Optimized) v1.0c (Changelog)
    31/07/15 - Added XT1039 Retail Germany 5.1 (Optimized) v1.0b (Changelog)
    31/07/15 - Added XT1039 Retail EU 5.1 (Optimized) v1.0b (Changelog)
    31/07/15 - Added XT1045 Retail US 5.1 (Optimized) v1.0b (Changelog)
    27/07/15 - Added XT1040 Retail Brazil Radio Firmware (custom Recovery flashable)
    27/07/15 - Added XT1039 Retail EU Radio Firmware (custom Recovery flashable)
    23/07/15 - Added XT1040 Retail Canada 5.1 (Optimized) v1.0
    23/07/15 - Added XT1040 Retail Canada 5.1 (Untouched)
    23/07/15 - Added XT1040 Retail Canada 5.1 Radio
    23/07/15 - Added XT1045 Retail US 5.1 (Optimized) v1.0a (Changelog)
    23/07/15 - Added XT1040 Retail Brazil 5.1 (Optimized) v1.0b (Changelog)
    23/07/15 - Added XT1039 Retail Spain 5.1 (Optimized) v1.0b (Changelog)
    23/07/15 - Added XT1039 Retail Germany 5.1 (Optimized) v1.0a (Changelog)
    23/07/15 - Added XT1039 Retail EU 5.1 (Optimized) v1.0a (Changelog)
    23/07/15 - Added XT1039 Retail Brazil 5.1 (Optimized) v1.0
    22/07/15 - Added XT1039 Retail Brazil 5.1 (Untouched)
    22/07/15 - Added XT1039 Retail Brazil 5.1 Radio
    22/07/15 - Added XT1045 Retail US 5.1 (Optimized) v1.0
    22/07/15 - Added XT1045 Retail US 5.1 Radio
    22/07/15 - Added XT1045 Retail US 5.1 (Untouched)
    06/07/15 - Added XT1039 Retail Germany 5.1 (Optimized) v1.0
    06/07/15 - Added XT1039 Retail EU 5.1 (Optimized) v1.0
    06/07/15 - Added XT1039 Retail Germany 5.1 (Untouched)
    06/07/15 - Added XT1039 Retail EU 5.1 (Untouched)
    06/07/15 - Added XT1039 Retail Germany 5.1 Radio
    06/07/15 - Added XT1039 Retail EU 5.1 Radio
    28/06/16 - Added XT1040 Retail Brazil 5.1 (Optimized) v1.0a (Changelog)
    28/06/16 - Added XT1039 Retail Spain 5.1 (Optimized) v1.0a (Changelog)
    25/06/15 - Added XT1039 Retail Spain 5.1 (Optimized) v1.0
    25/06/15 - Added XT1039 Retail Spain 5.1 (Untouched)
    24/06/15 - Added XT1040 Retail Brazil 5.1 (Optimized) v1.0
    24/06/15 - Added XT1040 Retail Brazil 5.1 (Untouched)

    Recommended Settings:
    All Animations speed: 0.5x (Changed via Developer options)
    Wi-Fi Sleep policy: Never. (Changed via Settings > Wi-Fi > Advanced) - Check Battery stats occasionally | some Apps will force Wi-Fi to be always on​

    Bugs:
    When flashing, I get the following: "E:Error executing updater binary in zip"
    This is a custom recovery bug. Try restarting recovery and flashing again. Alternatively you may need to:

    TWRP > Wipe > Format Data > Yes​

    Note: This will delete anything on internal storage - photos, music, videos etc.

    Calls, Data or WiFi not working?
    These ROMs require the latest Radio Firmware included with Lollipop. See instructions in FAQ below and OP for new Radio files.

    Xposed Framework and Android 5.1
    I cannot provide support for the use of Xposed Framework. It is still a highly experimental work-in-progress MOD with no official release.

    The thread for reporting issues related to Xposed is here: [UNOFFICIAL] Xposed for Android 5.1

    Frequently Asked Questions:
    What is this Collection?
    All of these ROMs are created from the Motorola 4G Factory Firmware images. A pure source, unlike a dump of an OTA Updated system; the upgrading process patches, moves or deletes system files. The result is possibly bugs being introduced, and files being left over. These ROMs are completely clean, and any bugs you find are genuine Android issues.

    Why does my screen ripple | flicker?
    This is due to compatibility issues between KitKat Bootloader and the Lollipop Kernel. Turn screen off once to fix. Upgrade Bootloader easily with: Bootloader Upgrader Tool

    How do I update to the Lollipop Radio Firmware?
    Note: Phone must be in Bootloader mode.

    Update your current Radio Firmware by downloading and extracting the correct file from OP, and using the following mFastboot commands: (Simply put all files together in same folder - SDK not required) (USB Drivers (Windows))
    mfastboot flash modem NON-HLOS.bin
    mfastboot erase modemst1
    mfastboot erase modemst2
    mfastboot flash fsg fsg.mbn​

    Related: Minimal ADB and Fastboot

    How to hide the Network | Carrier name in the status bar?
    Settings > More > Mobile network > Show mobile network​

    How to turn off Lock-screen rotation?
    This setting is a built.prop edit. Use a text editor with root access to open: /system/build.prop - remove the last line, or change to 'false':
    lockscreen.rot_override=true​

    What is 'Zipaligining' | Post-install zipaligning?
    Zipaligining
    It makes app use less RAM. Longer answer.

    Post-install zipaligning
    Newly installed apps are zip-aligned after reboot. This process occurs only once per app, as a database exists in /system/usr. When an app is updated, the new apk will also be zip-aligned and added to the database.​
    13
    Here is a flashable zip to fully patch Stock ROMs for all currently known Stagefright exploits. Test with Stagefright Detector. The files originate from a Falcon 5.1 Stock Firmware, but I expect they are compatible with these ROMs. Do a nandroid backup just in case. Feedback appreciated.
    8
    Right now I'm preparing a new method of flashing ROMs. I will build some new ROMs when I manage to sort that out, but it takes time. Maybe this weekend I will make substantial progress.
    6
    XT1039 Retail EU 5.1 Optimized ROM v1.0 and XT1039 Retail Germany 5.1 Optimized ROM v1.0 are now available.