Peregrine Help Error 7 When I Attempt to Flash Any Other ROM Other Than SlimKat 4.4.4 - Moto G Q&A, Help & Troubleshooting

Hi guys, I have a Moto G 4G LTE Peregrine XT1045 that I've been using for over almost 2 years, I really like smaller phones and this one has been reliable. I rooted, unlocked bootloader and flashed TWRP 2.7.1.0 almost as soon as I got phone and installed SlimKat ROM (4.4.4). At the time I got phone I believe stock ROM was 4.4.3. I have tried with no success to move away from SlimKat and try other ROMs, every time I attempt flash a new ROM on TWRP 2.7.1.0 I get a error about zip binarys. I thought maybe I should update TWRP and tried version 2.8.X.X and 3.0.0.0 but both of those have graphical issues on screen when I boot to recovery, the screen becomes shacky and staticky, I attempt to flash any ROM other than SlimKat (including stock 4.4.4 and 5.X.X) and now I get a "Error 7..." (When using TWRP 2.8.X.X or 3.0.0.0) which from the research I've done seems to tell me that this means the ROM does not go with phone. I'm no expert but I have been rooting and flashing ROMs since my original G1 (First Android phone ever). I've since gone back to TWRP 2.7.1.0 and SlimKat 4.4.4 until I find a solution. I suspect I need to get new baseband that came with stock 5.1 update but I'm open to any help, thanks guys.

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**)
The graphical issue is due to having an older Bootloader version. This utility will upgrade your phone to latest Bootloader (v41.1A): http://forum.xda-developers.com/moto-g/general/falcon-bootloader-upgrader-tool-t3093793​
5.1 Radio / Baseband Firmware are here:
http://forum.xda-developers.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816​

lost101 said:
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**)
The graphical issue is due to having an older Bootloader version. This utility will upgrade your phone to latest Bootloader (v41.1A): http://forum.xda-developers.com/moto-g/general/falcon-bootloader-upgrader-tool-t3093793​
5.1 Radio / Baseband Firmware are here:
http://forum.xda-developers.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816​
Click to expand...
Click to collapse
:good: no more to add...

lost101 said:
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**)
The graphical issue is due to having an older Bootloader version. This utility will upgrade your phone to latest Bootloader (v41.1A): http://forum.xda-developers.com/moto-g/general/falcon-bootloader-upgrader-tool-t3093793​
5.1 Radio / Baseband Firmware are here:
http://forum.xda-developers.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816​
Click to expand...
Click to collapse
Thanks for the suggestions, I did do full format, three times before I flash but I hadn't considered the bootloader, will try that next. Thank you very much.

UberGabe said:
Thanks for the suggestions, I did do full format, three times before I flash but I hadn't considered the bootloader, will try that next. Thank you very much.
Click to expand...
Click to collapse
Just to be clear, that format option is specific. A factory reset is not the same thing.

lost101 said:
Just to be clear, that format option is specific. A factory reset is not the same thing.
Click to expand...
Click to collapse
Yea, full format so that even file scructured are wiped lol. Like I said I'm no expert but I'm no noob, I've hacked around with every android device I've had since my G1. I suspect the bootloader will have been the issue all along, thanks.

lost101 said:
Just to be clear, that format option is specific. A factory reset is not the same thing.
Click to expand...
Click to collapse
Thanks again, new bootloader did the trick :laugh: , installed it and flashed latest TWRP and no more squigly screen! I then tried a stock debloated XT1045 ROM but still "Error 7" so tried SaberMod 5.1.1 and that worked like a charm (would also "Error 7" before). Any idea why the Stock 5.1.1 wont work still?

UberGabe said:
Thanks again, new bootloader did the trick :laugh: , installed it and flashed latest TWRP and no more squigly screen! I then tried a stock debloated XT1045 ROM but still "Error 7" so tried SaberMod 5.1.1 and that worked like a charm (would also "Error 7" before). Any idea why the Stock 5.1.1 wont work still?
Click to expand...
Click to collapse
U tried installing the stock version from the fastboot?? (factory images)

UberGabe said:
I then tried a stock debloated XT1045 ROM but still "Error 7" so tried SaberMod 5.1.1 and that worked like a charm (would also "Error 7" before). Any idea why the Stock 5.1.1 wont work still?
Click to expand...
Click to collapse
Try flashing the entire XT1045 5.1 Factory Firmware Image first; then the Optimized ROM.
Firmware Images: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219

lost101 said:
Try flashing the entire XT1045 5.1 Factory Firmware Image first; then the Optimized ROM.
Firmware Images: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
Click to expand...
Click to collapse
Thnx will try that.

Related

Unable to flash any ROM on XT1031

I have XT1031 with unlocked boot loader and twrp. I tried flashing cm11 M5, C-Rom and AOSPA but the phone went to a bootloop always. I have rooted my phone. I also tried flashing with cwm philz.
Also a month ago I flashed CM11 but after that I switched to stock and on flashing now bootloop occurs
I did factory reset every time and wiped cache.
Please help
The same thing happens to me, can you send the safety copy?, I need It urgently, my telephone has remained unusable and the last option is to restore a backup with the original rom.
Please
Falcon G said:
I have XT1031 with unlocked boot loader and twrp. I tried flashing cm11 M5, C-Rom and AOSPA but the phone went to a bootloop always. I have rooted my phone. I also tried flashing with cwm philz.
Also a month ago I flashed CM11 but after that I switched to stock and on flashing now bootloop occurs
I did factory reset every time and wiped cache.
Please help
Click to expand...
Click to collapse
I do not know if my guide will work with XT1031, but you can try converting to GPE and after flashing those roms. For XT1033 this is the procedure. As XT1031 is CDMA, it is better having a backup of your stock rom and skipping the fastboot flash fsg fsg.img and modem parts.
thelegendofzeth said:
I do not know if my guide will work with XT1031, but you can try converting to GPE and after flashing those roms. For XT1033 this is the procedure. As XT1031 is CDMA, it is better having a backup of your stock rom and skipping the fastboot flash fsg fsg.img and modem parts.
Click to expand...
Click to collapse
Thanks For the reply. I tried but the GPE image does not work on CDMA version
This is usually caused by having the wrong or corrupt boot.img Try installing the stock image using one of the guides in this forum. Cheers.
thelegendofzeth said:
I do not know if my guide will work with XT1031, but you can try converting to GPE and after flashing those roms. For XT1033 this is the procedure. As XT1031 is CDMA, it is better having a backup of your stock rom and skipping the fastboot flash fsg fsg.img and modem parts.
Click to expand...
Click to collapse
Hi I was able to make GPE flash in my phone with the help of a nandroid backup. However it shows encryption when I start it. Can you tell me how to just change the partition to ex4 and then use the nandroid backup
Falcon G said:
Hi I was able to make GPE flash in my phone with the help of a nandroid backup. However it shows encryption when I start it. Can you tell me how to just change the partition to ex4 and then use the nandroid backup
Click to expand...
Click to collapse
PhilZ Touch Recovery has a f2fs to ext4 option.
Wipe and Format Options > Custom Format Options​
I've attached the gpt.bin from the 4.4.4 GPE firmware image, flashing it via fastboot should also make the userdata partition ext4, allowing you to boot. Also make sure you flash the GPE kernel here: http://forum.xda-developers.com/showthread.php?t=2649763
fastboot flash partition gpt.bin
lost101 said:
PhilZ Touch Recovery has a f2fs to ext4 option.
Wipe and Format Options > Custom Format Options​
I've attached the gpt.bin from the 4.4.4 GPE firmware image, flashing it via fastboot should also make the userdata partition ext4, allowing you to boot. Also make sure you flash the GPE kernel here: http://forum.xda-developers.com/showthread.php?t=2649763
fastboot flash partition gpt.bin
Click to expand...
Click to collapse
I think this messed up my device now I cannot flash my original partition as it says downgrade faliure. Please suggest something
The error on bootloader while flashing the gpt is version downgrade for primary_gpt
Here are some 4.4.2 XT1031 firmware images. Try flashing them in fastboot - guide if needed.
XT1031 4.4.2 Boost US
http://www.filefactory.com/file/2krak4mqeqpp/ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml.zip
http://www.filefactory.com/file/2clysykpzh85/USC_XT1031_4.4.2_KXB20.9-1.10-1.9_CFC_1FF.xml.zip​
lost101 said:
Here are some 4.4.2 XT1031 firmware images. Try flashing them in fastboot - guide if needed.
XT1031 4.4.2 Boost US
http://www.filefactory.com/file/2krak4mqeqpp/ACG_XT1031_4.4.2_KXB20.9-1.10-1.43_CFC_1FF.xml.zip
http://www.filefactory.com/file/2clysykpzh85/USC_XT1031_4.4.2_KXB20.9-1.10-1.9_CFC_1FF.xml.zip​
Click to expand...
Click to collapse
Hey it didn't work but can you give me the gpt file from 4.4.4 UK firmware. I'm sorry but I cannot download the whole firmware as my speed is really slow
Here is the one from the Retail EU firmware which is the same.

[Q][HELP] Getting Moto G back to stock

So here I am worrying about bricking my device if I go back to stock.
Here is some insight-
I have an unlocked XT1032 US retail moto g running Cyanogenmod 11 m4 snapshot. I am also running clockworkmod recovery and everything is working fine. I have heard of many people bricking their devices when they try and flash stock because the version doesnt match up with the bootloader version or something like that. My bootloader version is reported to be 4111.5 (The bootloader menu version is 41.11) from the "fastboot getvar all". So if I want to flash stock firmware what version do I need to choose. (can someone give me a link to the download?) Also is there any easier way to do this, perhaps can someone give me a clockworkmod backup of stock firmware and i can flash it via restore in the recovery. Also is there a way to get .img files of my whole phone via the dd command on the superuser shell. (Someone please give me a list of those commands to make a full image of my phone) so I can restore incase something goes wrong.
So pretty much all in all can someone please give me a link to the correct stock firmware for my phone that I can flash with NO issues and a list of commands that I can use to flash.
And just wondering what is mfastboot and how is it different from fastboot.
I should have made a backup with cwm recovery before I installed cm11 but I forgot which is why I made this thread. ALL HELP IS APPRECIATED! THANKS!
hey try downloading stock firmware from this link http://sbf.droid-developers.org/download.php?device=14&file=786
then follow instruction from this thread http://forum.xda-developers.com/showthread.php?t=2542219
if you failed once don't panic... just try another firmware from here http://sbf.droid-developers.org/phone.php?device=14
just make sure you choose firmware which is for retail US and also choose right version of android... but first try the firmware i have mentioned above...
skyguy126 said:
So here I am worrying about bricking my device if I go back to stock.
Here is some insight-
I have an unlocked XT1032 US retail moto g running Cyanogenmod 11 m4 snapshot. I am also running clockworkmod recovery and everything is working fine. I have heard of many people bricking their devices when they try and flash stock because the version doesnt match up with the bootloader version or something like that. My bootloader version is reported to be 4111.5 (The bootloader menu version is 41.11) from the "fastboot getvar all". So if I want to flash stock firmware what version do I need to choose. (can someone give me a link to the download?) Also is there any easier way to do this, perhaps can someone give me a clockworkmod backup of stock firmware and i can flash it via restore in the recovery. Also is there a way to get .img files of my whole phone via the dd command on the superuser shell. (Someone please give me a list of those commands to make a full image of my phone) so I can restore incase something goes wrong.
So pretty much all in all can someone please give me a link to the correct stock firmware for my phone that I can flash with NO issues and a list of commands that I can use to flash.
And just wondering what is mfastboot and how is it different from fastboot.
I should have made a backup with cwm recovery before I installed cm11 but I forgot which is why I made this thread. ALL HELP IS APPRECIATED! THANKS!
Click to expand...
Click to collapse
XdroidBD said:
hey try downloading stock firmware from this link http://sbf.droid-developers.org/download.php?device=14&file=786
then follow instruction from this thread http://forum.xda-developers.com/showthread.php?t=2542219
if you failed once don't panic... just try another firmware from here http://sbf.droid-developers.org/phone.php?device=14
just make sure you choose firmware which is for retail US and also choose right version of android... but first try the firmware i have mentioned above...
Click to expand...
Click to collapse
Yes what this guy says will work
Almost hard bricked my phone
Tomsgt said:
Yes what this guy says will work
Click to expand...
Click to collapse
during flash gpt.bin it said preflash valadition failed and on the bootloader screen it said partition table downgraded. Used CWM backup to restore and my phone is functioning again but I am still not stock. Please tell me what I am doing wrong? I have attached a screenshot of the command prompt screen.
Q30: i encounter '(bootloader) Preflash validation failed' error message when flashing Firmware Image
You may have updated to Android 4.4.4 via firmware image or OTA update. In this case you now also have the latest version of the Bootloader. That is why you get the above output when attempting to flash a 4.4.2 firmware image. ==> simply flash 4.4.4 images instead.
If the error still occurs, even with a 4.4.4 firmware image, then unlocking bootloader will be necessary.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2537119​
There is no 4.4.4 Retail US yet. You can flash 4.4.4 Retail EU just fine. Recovery flashable zip here:
http://forum.xda-developers.com/moto-g/development/rom-stock-motorola-rom-collection-t2854688​
I have the retail us version though. She. Will the retail us 4.4.4 be available? And one important question when I do go back to stock 4.4.4 with the link you gave me via recovery, will my custom recovery get overwritten with the stock one?
XT1032 is a Global GSM model. you can flash an XT1032 ROM from anywhere in the world and it will work.
It's currently unknown when 4.4.4 US Retail will be available, but I do not think it will take too much longer.
Those zip files only include ROM and Kernel. Recovery will not be changed.
I'll be trying that tomorrow and I'll let you know if it works or not asap. But for now thanks!
You might also need to flash the 4.4.4 EU Retail radio zip available here:
http://forum.xda-developers.com/showthread.php?t=2649763​
I read somewhere that when you flash stock ROM even though the recovery is not being changed, the stock ROM will overwrite the custom recovery in start up.
Is this true?
skyguy126 said:
I read somewhere that when you flash stock ROM even though the recovery is not being changed, the stock ROM will overwrite the custom recovery in start up.
Is this true?
Click to expand...
Click to collapse
Please help my phone is stuck in CWM recovery during the flash and I think the recovery is frozen. Can I hard reboot back to recovery or is my phone totaled? :crying:
This worked for me - http://forum.xda-developers.com/mot...-gpe-4-4-4-t2824377/post55768571#post55768571. Once back to 'base' you can update to 4.4.4 OTA or flash another ROM. And if you get stuck again, re-run this process. Three downloads, a few scripts to run; double-click easy.
Good luck.
Back at stock, just had to give CWM 10mins! Thanks everyone!

Bricked Moto G, Don't Know What to do

I wanted Lollipop on my Moto G, so I unlocked the bootloader and installed TWRP. I attempted to flash CM12, and it is stuck in a bootloop. I want to go back to stock now, but I can't because my PC won't recognize my phone in fastboot anymore. I'm freaking out here, please help! I feel really stupid and should've waited for the official OTA!
Moto G XT1034 (US GSM)
Did you do a full wipe before booting CM12?
audit13 said:
Did you do a full wipe before booting CM12?
Click to expand...
Click to collapse
I fixed the issue. I use mfastboot and flashed the stock firmware. And yes, I did use a full wipe, I've read people online having issues and apparently the correct way to flash CM12 is to flash CM11 first.
Yeah, if you directly flash cm12 over stock bootloop occurs.Clean Flashing cm11 first and then dirty flash cm12 over that solves the issue.

[Q] HELP!!! Moto G 1032 model lollipop reboot when uninstalling apps

Hello forum, basically, when I got my moto G, it was on 4.3, so I did all the bits, and the step i did after all the rooting unlocking etc was upgraded my bootloader to the lollipop one (ending in 8 i believe) - which i wish i didnt do, and cant downgrade to 4.4.4 (or can I without bricking)......right back to the story.......the problem now is, whenever i try uninstalling apps, or wiping data in any app etc, my phone does a reboot, I installed the brazillian 5.0.2 flashable rom (the optimised one) which worked perfectly, did all the correct wipes etc, but it reboots when uninstalling apps......, and thought i would try dirty unicorns....works well except the rebooting problem...... help....what can I do????????
I read somewhere that maybe to solve it, you gotta change runtime from dalvik to ART, but there is no option to change this....
There are no 5.0.2 uk images available that i have read (so i cant completely get back to complete factory settings)
I really wished i kept the KK bootloader!!!! so who can help me????? I want to try some of the great CM11 builds!!!
Since your bootloader is unlocked and you have the lollipop bootloader, I suggest flashing the stock 4.4.4 (not 4.4.2) ROM for your xt1032 (you will not be able to flash the motoboot file so don't bother trying), upgrade the Motorola apps via Play store, and take the 5.02 OTA update.
FInd your stock ROM here: http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=filename&order=ASC&show=100&page=1
audit13 said:
Since your bootloader is unlocked and you have the lollipop bootloader, I suggest flashing the stock 4.4.4 (not 4.4.2) ROM for your xt1032 (you will not be able to flash the motoboot file so don't bother trying), upgrade the Motorola apps via Play store, and take the 5.02 OTA update.
FInd your stock ROM here: http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=filename&order=ASC&show=100&page=1
Click to expand...
Click to collapse
do i have to update to 5.0.2 again? as i want to try cm11 again
@audit13 is this a flashable zip, or do you need to do it via fastboot? as its got a bootloader included in the zip (4.4.4 kitkat bootloader)
The files from filefactory need to be unzipped and flashed via fastboot or mfastboot.
You do not need to do anything with the stock ROM if you want to install a custom ROM. All you need to do is install a compatible custom recovery and a custom ROM. I suggest flashing right to the latest CM12 rather than using CM11.
I suggested flashing back to the stock for your phone and upgrading to 5.02 via OTA to see if the uninstall problem goes away.
yep understood @audit13 read your other posts on this matter too, the reason I want to use a cm11 rom, is I had a moto g about 8-9 months ago, and there was a rom i loved, and it was cm11 based......will i brick if i do flash this cm11 rom? i know about flickering bug, and possible hard brick if i went back to versions below 4.4.4 ...... and i love cyanogenmod roms, as i dont get irritating moto updates etc
Flashing CM11 should not be a problem as CM11 ROMs do not touch the bootloader or modem.
so basically, downgrade to the 4.4.4 firmware file, and cm11 and im done? yeah?
You can try to flash cm11 directly over stock 5.02. If it doesn't work, you may have to flash back to stock 4.4.4, install recovery, and then flash cm11.

Help please! Moto G stuck in bootloader, any help is appreciated!

Hey All,
I have a Moto G 2013 (1st gen I believe). A while back, I wanted to install lollipop without it being available so I flashed the Brazil 5.0 ROM. Now, for some reason it won't boot and I got my phone stuck in bootloader. I can go to TWRP and the bootloader mode right now. I'm not sure what version it is, but I think its the XT1032 (non-lte for sure) and I've used it on Bell, Canada
.
I'm trying to follow a guide to restore back to stock but im not sure which model I should be downloading the firmware for. Can anyone help?
I'm using this guide: http://forum.xda-developers.com/showthread.php?t=2542219 and I tried a XT1032 ROM (Brazil) but when following the first command "mfastboot flash partition gpt.bin" didn't work. Should I just ignore this and move forward? I believe somewhere in the thread it said to ignore it but I'm not positive. Note: I dont want service, I want to use it as a glorified mp3 player for my car
Thanks in advance and any help is appreciated!
EDIT: I tried flashing a couple of roms in bootloader mode via adb from the aformentioned tutorial, but I keep getting errors when trying to flash the recovery, boot, partition, etc. Can anyone please help? Thanks.
mohitrocks said:
EDIT: I tried flashing a couple of roms in bootloader mode via adb from the aformentioned tutorial, but I keep getting errors when trying to flash the recovery, boot, partition, etc. Can anyone please help? Thanks.
Click to expand...
Click to collapse
It is strange that you can flash ROM in recovery but cant flash rec, my suggestion is checking your rec file,substitute with a Twrp rec and flash again. if success, you can try to flash a zip ROM.
Thankyou for the response! I appreciate it. Sorry, I should've been more clear. I was trying to flash official firmwares through bootloader, not roms. I tried flashing two different firmwares (XT1032, as per the barcode setting on my bootloader mode), and I keep getting errors when trying to flash using adb commands. It sends the files correctly but fails at writing them. I'm not sure what the issue is, but it may be because I was on Android 5 (lollipop) and I was trying an older firmware (i.e. older partition table). Currently trying a 5.0 firmware (brazil XT1032!) If anyone has any advice, please let me know! Thanks again!

Categories

Resources