Correção do erro de atualização do Nexus 4 OTA na recuperação personalizada “set_metadata_recursive: algumas alterações falharam”

Atualizar dispositivos Android com o sistema operacional Android mais recente o mais rápido possível sempre foi a ruína da Linha Nexus.

O Google Nexus 4 recentemente teve a atualização OTA para KitKat (Android 4.4) lançada recentemente e para aqueles com dispositivos enraizados que após tentarem atualizar por meio de sua recuperação personalizada e falharam travaram na inicialização, aqui está uma correção que funcionou para mim. Tudo isso é baseado na suposição de que o seu dispositivo já foi enraizado e tem uma recuperação personalizada (ClockWork) instalada. Caso contrário, você deve visitar este link: Link

O que você precisa:

1. A Linux O.S (In my case ubuntu).
2. The Android SDK (adb specifically) installed on the OS.
3. The .zip containing the update Link : **WARNING : THIS IS SPECIFICALLY FOR THE NEXUS 4** [Link](http://goo.gl/kQN38z) (Copy this file and put it in the root directory of your device)
4. Fastboot : This can be installed using **sudo apt-get install android-tools-fastboot** on Ubuntu.
5. ClockWork Touch 6.0.4.3 : [Link](http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-6.0.4.3-mako.img)

COMO

1. Boot your device into the Fastboot menu. (Pressing the Volume Down and Power Button)
2. Once in the Fastboot menu, run **fastboot flash recovery recovery-clockwork-touch-6.0.4.3-mako.img**
3. Then run **fastboot reboot-bootloader**
4. Once in the recovery, use the **install update from zip** option and select the downloaded zip OTA. This should install the update.
5. Restart your device. There is a probability that you would lose root access after this, that can be fixed by checking out [Link](http://goo.gl/pvLxlq).

Voila !! Deixe-me saber se você tiver qualquer problema na caixa de comentários.