Moto Z no OS and stuck on TWRP boot loop

forcedv

Senior Member
Mar 7, 2006
417
17
38
Hi guys

Can't install any OS (tried via ADB commands and flashing custom roms via TWRP).

Whatever I try, it just boots to TWRP.

ADB commands do work because I managed to install TWRP 3.0 and 3.1 for the Moto Z Griffin

Bootloader is unlocked

This device was working fine on Stock Noughat (installed via ADB) and AOKP (installed via TWRP).
Problems began when the camera "failed to start" and in my frustration, I wiped everything via TWRP including system, so now I have no OS.

Not sure why I can't get anything to install.
 

ryanwv24

Senior Member
Oct 29, 2010
175
0
0
Charleston
followed that guide

Had this working for months and needed to wipe so I did a factory reset and all my phone does is boot to twrp

I tried this process again and all goes good or so it seems but just boots to twrp

I tried a restore from my backup from twrp and get all the way done and it fails on "unable to wipe Fsg."

Above there is a bunch of red failed:
Could not mount /data and unable to find crypto foooter
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder
Failed to mount'/cache' (invalid argument)
failed to mount'/system'(invalid argument)
Failed to mount storage
failed to mount'/data'(invalid argument)
failed to mount'/cache'(invalid argument)
failed to mount'/data/media/twrp'(invalid argument)
unable to wipe fsg.

any ideas? right now just a brick here. i have tried flashing roms from twrp and still just boot to twrp
 

D13H4RD2L1V3

Senior Member
Mar 23, 2015
79
28
0
I'm assuming you tried to flash the stock ROM via fastboot?

If so, I'm a little at a loss here. Although since you have TWRP, try flashing the stock ROM along with its recovery following the guide linked below;
https://forum.xda-developers.com/moto-z/development/android-nougat-moto-z-versions-t3506342

And grab the firmware for your device here;
https://firmware.center/firmware/Motorola/Moto Z/Stock/XT1650-03/

Make sure it's the correct firmware for your device. If you updated to Nougat via an OTA, you have to flash a Nougat ROM. You may also use the one linked in the XDA article, although I can't guarantee its stability.
 

royalflush5

Senior Member
Apr 12, 2013
51
6
0
I'm assuming you tried to flash the stock ROM via fastboot?

If so, I'm a little at a loss here. Although since you have TWRP, try flashing the stock ROM along with its recovery following the guide linked below;
https://forum.xda-developers.com/moto-z/development/android-nougat-moto-z-versions-t3506342

And grab the firmware for your device here;
https://firmware.center/firmware/Motorola/Moto Z/Stock/XT1650-03/

Make sure it's the correct firmware for your device. If you updated to Nougat via an OTA, you have to flash a Nougat ROM. You may also use the one linked in the XDA article, although I can't guarantee its stability.
Maybe it's because I haven't had my coffee yet, but is there a US 7.0 file on that site? I can only find the 6.0 version. I'm on Rodgers nougat rom I flashed a couple weeks ago and I'd like to get on the US version since I've been having apn issues
 

D13H4RD2L1V3

Senior Member
Mar 23, 2015
79
28
0
Maybe it's because I haven't had my coffee yet, but is there a US 7.0 file on that site? I can only find the 6.0 version. I'm on Rodgers nougat rom I flashed a couple weeks ago and I'd like to get on the US version since I've been having apn issues
Sadly, no.

As of right now, there's only a Marshmallow-based RETUS firmware. It'll take a while for someone to post firmware that's Nougat-based for RETUS.
 

raymccoy

Member
Aug 23, 2008
32
15
0
I know this thread is old but maybe this will help someone out. I had the exact same problem after a Factory Reset my phone went on a TWRP bootloop. To resolve it, just reboot into Bootloader and then select Factory Mode. My phone just started as new.
Thank you for this!!!!!!! It solved my boot loop problem too after installing stock via fastboot. Only thing that worked.
 

kethsawant

Senior Member
Nov 20, 2012
137
28
0
Mumbai
Thank you for this!!!!!!! It solved my boot loop problem too after installing stock via fastboot. Only thing that worked.
thanks for the Rescue same trick work for me though as i was been stuck on TWRP after flashing stock firmware via fastboot , so i manage to flash irfan v4 stock rom and booted to factory image to get it resolved , But now i want to move to complete stock without twrp as i think Oreo update is near by but i get the same issue again, Just wanna ask can u help me out with the process to go back to stock Rom
 

sergiobaiao

New member
Jul 16, 2008
4
0
0
I know this thread is old but maybe this will help someone out. I had the exact same problem after a Factory Reset my phone went on a TWRP bootloop. To resolve it, just reboot into Bootloader and then select Factory Mode. My phone just started as new.
that worked for me also, but it's not a fix, its a workaround. is there an actual fix for this? I've tried the Verity_FE_patcher but that didn't work also.