OTA asked me to upgrade to 4.1.1 Jelly Bean today but as in all previous attempts to upgrade via OTA it failed again. So here is the manual way to upgrade from 4.0.4 to 4.1.1. How to get there can be found in previous posts in this blog. Of course you follow my steps on your own risk.
I first downloaded all files I needed
- On http://forum.xda-developers.com/showthread.php?t=1736645 I found the link to the OTA package from google for my device (I9023).
Then I rebooted my phone into bootloader and flashed the recovery image to the actual version via
sudo ./fastboot flash recovery ~/recovery-clockwork-18.104.22.168-crespo.img
Then i directly started recovery mode, mounted the sdcard and installed the OTA package followed by the SuperUser package. Then I mounted /system and moved the install recovery script as usual by
./adb shell cd /system/etc rm install-recovery.sh.old mv install-recovery.sh install-recovery.sh.old
Then just reboot the phone into the new 4.1.1 Jelly Bean which updates your apps at first boot and all your config and apps should stay in place and the recovery is still working after a boot of the system and is rooted. So my phone is working as expected and the upgrade took me about 30min including searching for the needed files.