Boot Loop after Installing TWRP - Nexus 5 Q&A, Help & Troubleshooting

Hello, I am trying to root my phone for the first time and am running in to an issue where after I flash to TWRP, as soon as it boots in to TWRP is throws an error which quickly flashed on the screen before it restarts and does this in a loop. Here is information on my phone and the steps I have taken:
FASTBOOT MODE
PRODUCE_NAME - hammerhead
VARIANT - hammerhead D820 16GB (LG Nexus 5)
HW VERSION - rev_11
BOOTLOADER VERSION - HHZ11d
BASEBAND VERSION - M8974a-2.0.50.2.30
SECURE BOOT - enabled
LOCK STATE - unlocked
Android version: M (6.0.1)
Steps:
Turned on developer options
Enabled USB debugging (via LG driver found on https://forum.xda-developers.com/go...ide-nexus-5-how-to-unlock-bootloader-t2507905)
"fastboot oem unlock"
fastboot flash recovery twrp-3.1.0-0-hammerhead.img
Now, if I'm in the bootloader and select "START" it goes in to the TWRP splash screen, then throws an exception:
E:Could not mount /data and unable to find crypto footer.
E:Unable to mount '/data'
E:Unable to recreate /data/media folder.
Updating partition details...
E:Unable to mount '/data'
...done
E:Unable to mount storage
E:Unable to mount /data/media during GUI startup.
Full SELinux support is present.
E:Unable to mount /data/media/TWRP/.twrps when trying to read settings file.
Process AOSP recovery commands...
E:Unable to mount '/data'
-- Wiping Data Partition...
E:Unable to mount '/data'
Formatting Cache using make_ext4fs function.
-- Data Partition Wipe Complete!
Done process script file
Click to expand...
Click to collapse
My end goal is to root... but if I can't root and can get the phone back to how it was before... that wouldn't be bad Thanks for reading.

I say restart from scratch. Update to the latest bootloader by flashing the latest factory image(M4B30Z) with instructions found here: https://developers.google.com/android/images#hammerhead
Keep the bootloader unlocked then flash twrp and see the result.

Related

[Q] Xoom TWRP/Wingray 4.4.4 no longer boots, won't mount storage

My rooted Xoom seems to be unable to read the internal storage. Does anyone know if there is a way to recover?
Here are the details:
I have been running Wingray on my Xoom for about a year, and everything had been working fine until the last couple of weeks.
It would frequently not wake up after it went to sleep, and I would have to restart with the Power-Vol+ combination.
Yesterday, it finally would not load android at all. It displayed the animated graphic indefinitely.
I booted and started TWRP, which loads successfully. It prompts me to enter my password. Since I didn't use one, I cancel this.
When I look at the log, I see:
E:Unable to mount '/system'
E:Unable to mount '/cache'
E:Unable to mount '/cache'
...
E:Unable to set emmc bootloader message.
I then tried to format.
After typing 'yes', the log shows:
Formatting data using make_ext4fs...
E:Unable to wipe '/data'
E:Unable to format to remove encryption.
Updating partition details...
E:Unable to mount '/system'
E:Unable to mount '/cache'
E:Unable to mount internal storage
When I try to mount storage, I see:
sdcard (12772MB)
Internal Storage (0MB)
My PC does not recognize when it is powered on while connected.
Does anyone have any ideas whether or not I can get this functional again? If so, any suggestions would be appreciated.

Shield tablet bootloops after flashing Custom ROM

Shield tablet neverending loop
Hello guys,
Today I've tried flashing my Shield Tablet using Shield Custom ROM guide from by cots from gbatemp.net forums (can't post links).
Despite doing everything carefully, step by step, my Shield is now rebooting forever showing only one screen and rebooting again.
Unfortunately I can't post a picture, because forums rules don't allow me, so I wrote down the text from TWRP:
E:Could not mount /data and unable to find crypto footer.
E:Unable to mount '/data'.
E:Unable to recreate /data/media folder.
Updating partition details...
E:Unable to mount '/data'.
...done
E:Unable to mount storage.
E:Unable to mount /data/media during GUI startup.
Full SELinux support is present.
E:Unable to mount /data/media/TWRP/.twrps when trying to read settings file.
Processing AOSP recovery commands...
E:Unable to mount '/data'
--Wiping Data Partition...
Formatting Cache using make_ext4fs function.
E:Unable to mount '/data'
--Data Partition Wipe Complete!
Done processing script file
aaaaand it reboots.
Pressing "Home" and/or "Back" button at that TWRP screen does nothing, Shield is still rebooting to that screen over and over again.
Help would be greatly appreciated. Any ideas?
Best regards,
Łukasz
I had the same problem; the same thread that you referred to had a post yesterday on resolving this issue. This worked for me.
Re-do all the steps except that before doing the TWRP flash, do a fastboot -w.
Can you boot into twrp? The sequence is: Volume DOWN (keep pressed) + Power (click and release keeping VDOWN pressed)
This should give you access to bootloader mode, where you can eventually reboot into recovery or enable fastboot protocol. So if twrp works you should be able to use the "format" which will fix your corrupted filesystem. Once you've done that you can restore your official OTA, copy your custom rom files again somewhere inside the now-restored filesystem, go back into recovery and flash again (just wipe system, cache and dalvik, nothing else).
If you cannot access twrp, once in bootloader mode you can enable fastboot and flash twrp again via adb from your pc.
Just to clarify, once you're in the bootloader, fastboot is ALREADY enabled and you will need to use fastboot, NOT adb, to flash anything.

Facing issues in rooting Nexus 5 for Marshmallow

Hi Guys,
I was trying to root my Nexus 5 on marshmallow. I was able to run all the TWRP commands by connecting the device. I was able to run all the commands but during bootup I am getting below errors.
Error:
E: Unable to recreate /data/media folder.
E. Unable to mount '/data'
....done
E. Unable to mount storage.
E. Unable to mount /data/media/TWRP/.twrps when trying to read settings file.
Processing AOSP recovery commands.
E. Unable to mount '/data'
--- Wiping Data Partition .....
E. Unable to mount '/data'
Formatting Cache using make_ext4fs function.
-- Data Partition Wipe Complete!
Done processing script file
Renamed stock recovery file in /system to prevent
the stock ROM from replacing TWRP.
Please help guys phone isn't starting up, everytime it boots up and shows this errors and then boots again. :crying::crying:
parasmani said:
Hi Guys,
I was trying to root my Nexus 5 on marshmallow. I was able to run all the TWRP commands by connecting the device. I was able to run all the commands but during bootup I am getting below errors.
Error:
E: Unable to recreate /data/media folder.
E. Unable to mount '/data'
....done
E. Unable to mount storage.
E. Unable to mount /data/media/TWRP/.twrps when trying to read settings file.
Processing AOSP recovery commands.
E. Unable to mount '/data'
--- Wiping Data Partition .....
E. Unable to mount '/data'
Formatting Cache using make_ext4fs function.
-- Data Partition Wipe Complete!
Done processing script file
Renamed stock recovery file in /system to prevent
the stock ROM from replacing TWRP.
Please help guys phone isn't starting up, everytime it boots up and shows this errors and then boots again. :crying::crying:
Click to expand...
Click to collapse
It's not nexus 5 forum and reflash stock rom again..
Sent from my GT-I9500 using XDA Free mobile app

Nexus 5 turns on but cannot access anything

I have a Nexus 5 rooted and running Catacalysm 5.1.1 Lollipop (Sep 27, 2015 Stable final release)
Yesterday while I was on my phone all of a sudden it froze for a couple of seconds and then restarted.
When it booted it says "To start Android, Enter your Password"
I can type in literally any password and it will go to the next screen and say
"Decryption Unsuccessful"
The password you entered is correct, but unfortunately your data is corrupt.
To resume using your phone, you need to perform a factory reset. When you set up your phone after the reset, you'll have an opportunity to restore any data that was backed up to your google account.
Click to expand...
Click to collapse
Then the only thing I can select is "reset phone."
The thing is I never encrypted my phone. I don’t want to do a factory reset as I have some things in my phone that I need
When I go into recovery this is what I get:
E:Could not mount /data and unable to find crypto footer.
E:Unable to mount ‘/data’
E:Unable to recreate /data/media folder
Updating partition details…
E:Unable to mount ‘/data’
…done
E:Unable to mount storage.
E:Unable to mount /data/media during GUI startup.
Full SELinux support is present
E:Unable to mount /data/media/TWRP/.twrps when trying to read settings file.
E:Unable to mount ‘/data’
MTP enabled
E:Unable to mount ‘/data’
Click to expand...
Click to collapse
Also the internal storage shows 0 MB.
When I go into backup these are the sizes that are shown:
System (882MB)
Data (0MB)
Cache (12MB)
Boot (22MB)
EFS (6MB)
Click to expand...
Click to collapse
I’m using TWRP
I was wondering if anyone ran into this issue or knew anything about what is going on in my phone.
Is my phone dead? Can I get it to work again? Is there any way I can access the internal storage and retrieve my files?
Any help would be appreciated. Thank you

Ulefone Armor 11 stucked on logo

After the update of two Magisk scritp my telephone on reboot is stucked on logo.
By long pressing Vol Up + Power I can enter in recovery or fastboot mode.
I need to recover my data, I found a TWRP recovery that was ported to this phone but it is unable to decrypt my data.
I was able to perform a dump of all the data following this post:
Backup full firmware(ROM) of any MediaTek device using MTK client| Oppo reno6 5G | MT6877​https://forum.xda-developers.com/t/...sing-mtk-client-oppo-reno6-5g-mt6877.4406069/
When I boot in TWRP the recovery say:
Could not mount /data and unable to find crypto footer
Failed to mount '/data' (invalid argument)
Unable to recreate /data/media folder
Unable to mount /data/media/TWRP/.twrps
Failed to mount '/data' (invalid argument)
Failed to mount '/system_root' (Permission denied)
Click to expand...
Click to collapse
Can somebody help me to correct the TWRP?
If I reinstall the OS with SP flash without deleting the user partition could I have access to all my data?
The system use an MT6873 chipset
Thanks
Reflashing an OS doesn't affect the user-data stored.
Reflashing change nothing, the phone is always stucked on Ulefone logo after reboot

Categories

Resources