DISCLAIMER! The instructions provided below are for educational and informative purposes only! You follow them at your own risk! The author of the article can not be held responsible for any damages or trouble you get into! Rooting your phone opens up many security holes in your device and make it easier for hackers to get access to your private information stored on your device like passwords, contact lists, etc. At the time of the post, Google stores all your email passwords and credit card information as clear text on your device (no encryption). A simple root access is enough for someone to steal them.
As a lot of you guys know that ICS 4.0.4 just came out for your Galaxy Nexus. I was hesitant this morning to update as I didn't want to loose my root. After talking to my friend (he runs his own blog here), he told me that I can keep my root by installing an app from the Android Market (I prefer the old name), I immediately went and tried. To my surprise, it works! So let me tell you how it works.
I have to first tell you that this does not work with all Android devices. Just some. I only tested it on my Galaxy Nexus. Read about the compatibility on the application page. This application does not root your phone, it just protects you from loosing your root! First of all, you need to download OTA RootKeeper from the Android Market here. You can also scan the following QR code.
After you install it, open up the app, and press protect SU. Then run the OTA update. After the update finishes, open back up the app and press restore SU or restore root (I forgot what the button said). There you go! You have root again! :) I hope you have enjoyed this tutorial!