[Nexus 5 Q&A, Help & Troubleshooting] crobh:
nexus 5

android 4.4.2

bootloader version: HHZ11K

Secure boot: enabled

unlocked

rooted

encrypted (i have set a pattern to unlock)

TWRP 2.6.3.4

Xposed module (not sure which version or if it is relevant at all)

xprivacy (not sure which version or if it is relevant at all)

suddenly, while i was surfing twitter, the phone restarted and attempted to install an update (not sure if it was 4.4.3 or Lollipop).

The phone went into bootloop.

My concern here , for now, is not how to fix it. I just need to retrieve my data (contacts, pics, calendar,...).

I held the power button and volume down to load into bootloader. from there i started TWRP. I was greeted with "please enter your password". I entered my pattern following the below arrangement

1 2 3

4 5 6

7 8 9

after several attempts which always ended with "Password failed. Please try again" i hit "cancel". This took me to the main TWRP screen.

I was worried about my data so i tried to copy everything to my pc through "adb pull sdcard/ C:\test" through terminal but i only got two folders namely "sys" and "tmp" but none of my personal data

In TWRP i touched "mount" to find the following..

"Select Partition to Mount:"

[ ] System

[ ] Cache

[ ] Persist

[ ] firmware

[ ] USB-OTG

below them there is a line that says "Storage: Internal Storage (0 MB)"

below that it says "Decrypt Data". If i touch it, it asks to enter my password. Again, i enter my password and it says password failed.

The log has this:

Updating Partition details...

E:Unable to mount ' /cache'

E:Unable to mount ' /persist'

E:Unable to mount storage

E:Unable to mount ' /cache'

E:Unable to mount ' /cache'

E:Failed to decrypt data.

I think that i need to update TWRP to 2.8.2.0 at least in order to decrypt my data as previous versions don't support decryption and/or pattern passwords. Am i right?

if so, how can i update TWRP to the latest version ?

I tried flashing 2.8.4.0 through fastboot with no luck. I have tried the following during the flashing process:

1) flashed it and then tried starting TWRP immediately.

2) flashed it and then restarted bootloader and then tried starting TWRP

3) flashed it and then started system, which took me into bootloop, shutdown phone

and restart into bootloader then tried starting TWRP.

No matter what i do it always goes back to 2.6.3.4 :crying:

I tried to update it from within TWRP. I pushed TWRP 2.8.4.0 which was in zip format (jjd-openrecovery-twrp-2.8.4.0-hammerhead.zip which i took from this thread ) to the main directory "/". Then inside TWRP i went to install, choose the zip file, swiped right to confirm flash to only get the following:

at the top it says "Zip install complete"

then in like a feedback window this is written:

E : Mount : unable to find partition for patch '/jj

error flashing zip 'jjd-openrecovery-twrp-2.8.

updating partition details...

E:Unable to mount ' /cache'

E:Unable to mount ' /persist'

E:Unable to mount storage

finally at the bottom it says Failed (in red)

no need to say that it is still stuck on 2.6.3.4

Am i heading in the right direction ? if yes how can i update TWRP?

If not, Is there any other way to retrieve my data ?

Is it possible to fix this thing with out a wipe and keep my data intact?

Help plz